[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
This commit is contained in:
parent
37574d67d1
commit
d0a35cd7da
6 changed files with 2773 additions and 2489 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue