Skip to content

Commit

Permalink
fix: translations (frappe#18765) (frappe#18782)
Browse files Browse the repository at this point in the history
* fix: add missing translations

* fix: capitalize label

* fix: translate label on summary item

(cherry picked from commit e3a0b00)

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
mergify[bot] and barredterra authored Nov 6, 2022
1 parent a27c42e commit aa68138
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ Object.assign(frappe.utils, {
: "";

return $(`<div class="summary-item">
<span class="summary-label">${summary.label}</span>
<span class="summary-label">${__(summary.label)}</span>
<div class="summary-value ${color}">${value}</div>
</div>`);
},
Expand Down
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/views/reports/query_report.js
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
{
fieldname: "sb_1",
fieldtype: "Section Break",
label: "Y axis",
label: "Y Axis",
},
{
fieldname: "y_axis_fields",
Expand Down
7 changes: 6 additions & 1 deletion frappe/translations/de.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4079,7 +4079,7 @@ Scheduler Event,Scheduler-Ereignis,
Select Event Type,Wählen Sie den Ereignistyp,
Schedule Script,Zeitplan-Skript,
Duration,Dauer,
Donut,Krapfen,
Donut,Donut,
Custom Options,Benutzerdefinierte Optionen,
"Ex: ""colors"": [""#d1d8dd"", ""#ff5858""]","Beispiel: &quot;Farben&quot;: [&quot;# d1d8dd&quot;, &quot;# ff5858&quot;]",
Confirmation Email Template,Bestätigungs-E-Mail-Vorlage,
Expand Down Expand Up @@ -4813,3 +4813,8 @@ K,Tsd,Number system
M,Mio,Number system
B,Mrd,Number system
T,Bio,Number system
Type of Chart,Diagrammtyp,
Preview Chart,Vorschau erzeugen,
Please select X and Y fields,Bitte Felder für die X- und Y-Achse wählen,
Notification sent to,Benachrichtigung gesendet an,
Add to this activity by mailing to {0},"Senden Sie eine E-Mail an {0}, damit sie hier erscheint",

0 comments on commit aa68138

Please sign in to comment.