Sfoglia il codice sorgente

[Minor] fix of translatable strings ("No Tags", "Profile") (#2892)

* Slovak translations

* New strings pulled

* Slovak translations for Desktop terms

* Slovak translations'

* Slovak translations

* Slovak translations

* Slovak translations

* Slovak translations

* Quick entry window now with translatable footer notes

* Slovak translation waits for bulk pull request

* Slovak translations

* Slovak translations

* Slovak translations

* Slovak translations

* Button Make a new {0} in list view - which is already translated string

* Translatable strings 'No Tags' and 'Profile'

* Minor fix of translatable strings (No Tags, Profile)

* [fix] translations for strings in templates
version-14
robulik 8 anni fa
committed by Rushabh Mehta
parent
commit
d0a35cd7da
6 ha cambiato i file con 2749 aggiunte e 2465 eliminazioni
  1. +1
    -1
      frappe/desk/reportview.py
  2. +1
    -1
      frappe/templates/includes/breadcrumbs.html
  3. +1
    -1
      frappe/templates/includes/search_box.html
  4. +2742
    -2458
      frappe/translations/sk.csv
  5. +3
    -3
      frappe/website/doctype/web_form/templates/web_form.html
  6. +1
    -1
      frappe/www/me.html

+ 1
- 1
frappe/desk/reportview.py Vedi File

@@ -226,7 +226,7 @@ def get_stats(stats, doctype, filters=[]):

if tag=='_user_tags':
stats[tag] = scrub_user_tags(tagcount)
stats[tag].append(["No Tags", frappe.get_list(doctype,
stats[tag].append([_("No Tags"), frappe.get_list(doctype,
fields=[tag, "count(*)"],
filters=filters +["({0} = ',' or {0} is null)".format(tag)], as_list=True)[0][1]])
else:


+ 1
- 1
frappe/templates/includes/breadcrumbs.html Vedi File

@@ -3,7 +3,7 @@
<li>
<span class="fa fa-angle-left"></span>
<a href="{{ url_prefix }}{{ parents[-1].route | abs_url }}">
{{ parents[-1].title or parents[-1].label or "" }}</a>
{{ _(parents[-1].title) or _(parents[-1].label) or "" }}</a>
</li>
{#
<!-- {% for parent in parents %}


+ 1
- 1
frappe/templates/includes/search_box.html Vedi File

@@ -8,7 +8,7 @@
<div class="clearfix pull-right" style="width:100%;">
<h5 class="item-search-results" style="margin-right: 30px;"></h5>
<p class="pull-right" style="margin-top: -28px;">
<a style="display: none;" href="javascript:history.back();" class="octicon octicon-x text-extra-muted clear" title="Clear Search" ></a>
<a style="display: none;" href="javascript:history.back();" class="octicon octicon-x text-extra-muted clear" title="{{ _("Clear Search") }}" ></a>
</p>
</div>



+ 2742
- 2458
frappe/translations/sk.csv
File diff soppresso perché troppo grande
Vedi File


+ 3
- 3
frappe/website/doctype/web_form/templates/web_form.html Vedi File

@@ -1,9 +1,9 @@
{% extends "templates/web.html" %}

{% block title %}{{ title }}{% endblock %}
{% block title %}{{ _(title) }}{% endblock %}

{% block header %}
<h1>{{ title }}</h1>
<h1>{{ _(title) }}</h1>
{% endblock %}

{% block breadcrumbs %}
@@ -158,7 +158,7 @@
{{ _doc.get(field.fieldname) }}
</a>
<br><button class="btn btn-small btn-default btn-xs
change-attach" style="margin-top: 5px;">Change</button>
change-attach" style="margin-top: 5px;">{{ _("Change") }}</button>
</p>
{%- endif %}
<p class="{{ value(field, _doc) and 'hide' or '' }} attach-input-wrap">


+ 1
- 1
frappe/www/me.html Vedi File

@@ -35,7 +35,7 @@
<div class="col-xs-12 visible-xs" style="min-height: 400px; padding: 10px 0 0 0">
<ul class="list-group">
<a class="list-group-item" href="/profile">
Profile
{{ _("Profile") }}
</a>
{% for item in sidebar_items -%}
<a class="list-group-item" href="{{ item.route }}"


Caricamento…
Annulla
Salva