From e1dcdae549d2454df512f5171b363f91ded6e917 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Wed, 17 Oct 2018 17:45:37 +0200 Subject: [PATCH] [fix] Add missing graph i18n --- www/plugins/graph/i18n/locale-en-GB.json | 40 +++++++++++++++---- www/plugins/graph/i18n/locale-en.json | 26 ++++++------ www/plugins/graph/i18n/locale-es-ES.json | 15 +++---- www/plugins/graph/i18n/locale-fr-FR.json | 23 ++++++----- www/plugins/graph/i18n/locale-it-IT.json | 17 ++++---- www/plugins/graph/i18n/locale-nl-NL.json | 19 ++++----- .../common/popover_range_actions.html | 8 ++-- 7 files changed, 87 insertions(+), 61 deletions(-) diff --git a/www/plugins/graph/i18n/locale-en-GB.json b/www/plugins/graph/i18n/locale-en-GB.json index 85cb9b5c..ab129a8e 100644 --- a/www/plugins/graph/i18n/locale-en-GB.json +++ b/www/plugins/graph/i18n/locale-en-GB.json @@ -9,7 +9,13 @@ "LINEAR_SCALE" : "Linear scale", "LOGARITHMIC_SCALE" : "Logarithmic scale", "BTN_SHOW_STATS": "See statistics", - "BTN_SHOW_DETAILED_STATS": "Detailed statistics" + "BTN_SHOW_DETAILED_STATS": "Detailed statistics", + "RANGE_DURATION_DIVIDER": "Step unit:", + "RANGE_DURATION": { + "HOUR": "Group by <b>hour</b>", + "DAY": "Group by <b>day</b>", + "MONTH": "Group by <b>month</b>" + } }, "ACCOUNT": { "TITLE": "Statistics", @@ -35,13 +41,7 @@ "TX_AMOUNT_LABEL": "Exchange volume", "TX_COUNT_TITLE": "Number of written transactions", "TX_COUNT_LABEL": "Number of transactions", - "TX_AVG_BY_BLOCK": "Average per block", - "TX_RANGE_DURATION_DIVIDER": "Step unit:", - "TX_RANGE_DURATION": { - "HOUR": "Group by <b>hour</b>", - "DAY": "Group by <b>day</b>", - "MONTH": "Group by <b>month</b>" - } + "TX_AVG_BY_BLOCK": "Average per block" }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evolution of the monetary mass", @@ -57,6 +57,30 @@ "BLOCK_COUNT": "{{count}} blocks", "NO_BLOCK": "No block" } + }, + "DOC_STATS": { + "TITLE": "Data storage statistics", + "USER": { + "TITLE": "Number of documents linked to an account", + "USER_PROFILE": "User profiles", + "USER_SETTINGS": "Saved settings" + }, + "MESSAGE": { + "TITLE": "Number of documents related to the communication", + "MESSAGE_INBOX": "Messages in inbox", + "MESSAGE_OUTBOX": "Messages in outbox", + "INVITATION_CERTIFICATION": "Invitations to certify" + }, + "SOCIAL": { + "TITLE": "Number of page or group", + "PAGE_COMMENT": "Comments", + "PAGE_RECORD": "Pages", + "GROUP_RECORD": "Groups" + }, + "OTHER": { + "TITLE": "Other documents", + "HISTORY_DELETE": "Deletion of documents" + } } } } diff --git a/www/plugins/graph/i18n/locale-en.json b/www/plugins/graph/i18n/locale-en.json index 5ecac739..ab129a8e 100644 --- a/www/plugins/graph/i18n/locale-en.json +++ b/www/plugins/graph/i18n/locale-en.json @@ -9,7 +9,13 @@ "LINEAR_SCALE" : "Linear scale", "LOGARITHMIC_SCALE" : "Logarithmic scale", "BTN_SHOW_STATS": "See statistics", - "BTN_SHOW_DETAILED_STATS": "Detailed statistics" + "BTN_SHOW_DETAILED_STATS": "Detailed statistics", + "RANGE_DURATION_DIVIDER": "Step unit:", + "RANGE_DURATION": { + "HOUR": "Group by <b>hour</b>", + "DAY": "Group by <b>day</b>", + "MONTH": "Group by <b>month</b>" + } }, "ACCOUNT": { "TITLE": "Statistics", @@ -35,13 +41,7 @@ "TX_AMOUNT_LABEL": "Exchange volume", "TX_COUNT_TITLE": "Number of written transactions", "TX_COUNT_LABEL": "Number of transactions", - "TX_AVG_BY_BLOCK": "Average per block", - "TX_RANGE_DURATION_DIVIDER": "Step unit:", - "TX_RANGE_DURATION": { - "HOUR": "Group by <b>hour</b>", - "DAY": "Group by <b>day</b>", - "MONTH": "Group by <b>month</b>" - } + "TX_AVG_BY_BLOCK": "Average per block" }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evolution of the monetary mass", @@ -59,11 +59,11 @@ } }, "DOC_STATS": { - "TITLE": "Data storage statistitics", + "TITLE": "Data storage statistics", "USER": { "TITLE": "Number of documents linked to an account", - "USER_PROFILE": "User profiles utilisateur", - "USER_SETTINGS": "Saved settings", + "USER_PROFILE": "User profiles", + "USER_SETTINGS": "Saved settings" }, "MESSAGE": { "TITLE": "Number of documents related to the communication", @@ -75,11 +75,11 @@ "TITLE": "Number of page or group", "PAGE_COMMENT": "Comments", "PAGE_RECORD": "Pages", - "GROUP_RECORD": "Groups", + "GROUP_RECORD": "Groups" }, "OTHER": { "TITLE": "Other documents", - "HISTORY_DELETE": "Deletion of documents", + "HISTORY_DELETE": "Deletion of documents" } } } diff --git a/www/plugins/graph/i18n/locale-es-ES.json b/www/plugins/graph/i18n/locale-es-ES.json index e59f9224..1bf03bf2 100644 --- a/www/plugins/graph/i18n/locale-es-ES.json +++ b/www/plugins/graph/i18n/locale-es-ES.json @@ -9,7 +9,13 @@ "LINEAR_SCALE" : "Escala lineal", "LOGARITHMIC_SCALE" : "Escala logarÃtmica", "BTN_SHOW_STATS": "Ver estadÃsticas", - "BTN_SHOW_DETAILED_STATS": "EstadÃsticas detalladas" + "BTN_SHOW_DETAILED_STATS": "EstadÃsticas detalladas", + "RANGE_DURATION_DIVIDER": "Unidad de paso:", + "RANGE_DURATION": { + "HOUR": "Grupo por <b>hora</b>", + "DAY": "Grupo por <b>dÃa</b>", + "MONTH": "Grupo por <b>mes</b>" + } }, "ACCOUNT": { "INPUT_CHART_TITLE": "Suma del flujo entrante, por el transmisor:", @@ -27,12 +33,7 @@ "TX_AMOUNT_LABEL": "Volumen negociado", "TX_COUNT_TITLE": "Número de transacciones escritas", "TX_COUNT_LABEL": "Número de transacciones", - "TX_AVG_BY_BLOCK": "Promedio por bloque", - "TX_RANGE_DURATION": { - "HOUR": "Grupo por <b>hora</b>", - "DAY": "Grupo por <b>dÃa</b>", - "MONTH": "Grupo por <b>mes</b>" - } + "TX_AVG_BY_BLOCK": "Promedio por bloque" }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evolución de la masa monetaria", diff --git a/www/plugins/graph/i18n/locale-fr-FR.json b/www/plugins/graph/i18n/locale-fr-FR.json index 00de906b..857864a3 100644 --- a/www/plugins/graph/i18n/locale-fr-FR.json +++ b/www/plugins/graph/i18n/locale-fr-FR.json @@ -9,7 +9,13 @@ "LINEAR_SCALE" : "Echelle linéaire", "LOGARITHMIC_SCALE" : "Echelle logarithmique", "BTN_SHOW_STATS": "Voir les statistiques", - "BTN_SHOW_DETAILED_STATS": "Statistiques détaillées" + "BTN_SHOW_DETAILED_STATS": "Statistiques détaillées", + "RANGE_DURATION_DIVIDER": "Unité de temps :", + "RANGE_DURATION": { + "HOUR": "Heure", + "DAY": "Jour", + "MONTH": "Mois" + } }, "ACCOUNT": { "TITLE": "Statistiques", @@ -43,13 +49,8 @@ "TX_AMOUNT_LABEL": "Volume échangé", "TX_COUNT_TITLE": "Nombre de transactions écrites", "TX_COUNT_LABEL": "Nombre de transactions", - "TX_AVG_BY_BLOCK": "Nombre moyen de transactions / bloc", - "TX_RANGE_DURATION_DIVIDER": "Unité de temps :", - "TX_RANGE_DURATION": { - "HOUR": "Heure", - "DAY": "Jour", - "MONTH": "Mois" - } + "TX_AVG_BY_BLOCK": "Nombre moyen de transactions / bloc" + }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evolution de la masse monétaire", @@ -71,7 +72,7 @@ "USER": { "TITLE": "Nombre de documents liés à un compte", "USER_PROFILE": "Profils utilisateur", - "USER_SETTINGS": "Paramètres sauvegardés", + "USER_SETTINGS": "Paramètres sauvegardés" }, "MESSAGE": { "TITLE": "Nombre de documents lié à la communication", @@ -83,11 +84,11 @@ "TITLE": "Nombre de pages ou groupes", "PAGE_COMMENT": "Commentaires", "PAGE_RECORD": "Pages", - "GROUP_RECORD": "Groupes", + "GROUP_RECORD": "Groupes" }, "OTHER": { "TITLE": "Autres documents", - "HISTORY_DELETE": "Suppressions de documents", + "HISTORY_DELETE": "Suppressions de documents" } }, "SYNCHRO": { diff --git a/www/plugins/graph/i18n/locale-it-IT.json b/www/plugins/graph/i18n/locale-it-IT.json index 76310c65..69bd0e1a 100644 --- a/www/plugins/graph/i18n/locale-it-IT.json +++ b/www/plugins/graph/i18n/locale-it-IT.json @@ -9,7 +9,13 @@ "LINEAR_SCALE" : "Scala lineare", "LOGARITHMIC_SCALE" : "Scala logaritmica", "BTN_SHOW_STATS": "Vedere le statistiche", - "BTN_SHOW_DETAILED_STATS": "Statistiche dettagliate" + "BTN_SHOW_DETAILED_STATS": "Statistiche dettagliate", + "RANGE_DURATION_DIVIDER": "Unità di tempo :", + "RANGE_DURATION": { + "HOUR": "Ora", + "DAY": "Giorno", + "MONTH": "Mese" + } }, "ACCOUNT": { "TITLE": "Statistiche", @@ -43,13 +49,7 @@ "TX_AMOUNT_LABEL": "Volume scambiato", "TX_COUNT_TITLE": "Numero di transazioni scritte", "TX_COUNT_LABEL": "Numero di transazioni", - "TX_AVG_BY_BLOCK": "Numero medio di transazioni / blocco", - "TX_RANGE_DURATION_DIVIDER": "Unità di tempo :", - "TX_RANGE_DURATION": { - "HOUR": "Ora", - "DAY": "Giorno", - "MONTH": "Mese" - } + "TX_AVG_BY_BLOCK": "Numero medio di transazioni / blocco" }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evoluzione della massa monetaria", @@ -110,4 +110,3 @@ } } } - \ No newline at end of file diff --git a/www/plugins/graph/i18n/locale-nl-NL.json b/www/plugins/graph/i18n/locale-nl-NL.json index 4370a964..cec6d859 100644 --- a/www/plugins/graph/i18n/locale-nl-NL.json +++ b/www/plugins/graph/i18n/locale-nl-NL.json @@ -9,11 +9,17 @@ "LINEAR_SCALE" : "Lineaire schaal", "LOGARITHMIC_SCALE" : "Logaritmische schaal", "BTN_SHOW_STATS": "Zie statistieken", - "BTN_SHOW_DETAILED_STATS": "Gedetailleerde statistieken" + "BTN_SHOW_DETAILED_STATS": "Gedetailleerde statistieken", + "RANGE_DURATION_DIVIDER": "Stap eenheid:", + "RANGE_DURATION": { + "HOUR": "Groep per <b>uur</b>", + "DAY": "Groep per <b>dag</b>", + "MONTH": "Groep per <b>maand</b>" + } }, "ACCOUNT": { - "INPUT_CHART_TITLE": "Som van de binnenkomende stroom, door de zender:", - "OUTPUT_CHART_TITLE": "Som van de uitstroom per bestemming:" + "INPUT_CHART_TITLE": "Som van de binnenkomende stroom, door de zender:", + "OUTPUT_CHART_TITLE": "Som van de uitstroom per bestemming:" }, "BLOCKCHAIN": { "TITLE": "Statistieken", @@ -27,12 +33,7 @@ "TX_AMOUNT_LABEL": "Verhandeld volume", "TX_COUNT_TITLE": "Aantal schriftelijke transacties", "TX_COUNT_LABEL": "Aantal transacties", - "TX_AVG_BY_BLOCK": "Gemiddeld aantal transacties / blok", - "TX_RANGE_DURATION": { - "HOUR": "Groep per <b>uur</b>", - "DAY": "Groep per <b>dag</b>", - "MONTH": "Groep per <b>maand</b>" - } + "TX_AVG_BY_BLOCK": "Gemiddeld aantal transacties / blok" }, "CURRENCY": { "MONETARY_MASS_TITLE": "Evolutie van de monetaire massa", diff --git a/www/plugins/graph/templates/common/popover_range_actions.html b/www/plugins/graph/templates/common/popover_range_actions.html index 8342186d..cf8893b8 100644 --- a/www/plugins/graph/templates/common/popover_range_actions.html +++ b/www/plugins/graph/templates/common/popover_range_actions.html @@ -14,28 +14,28 @@ <!-- duration divider --> <div class="item item-divider"> - {{'GRAPH.BLOCKCHAIN.TX_RANGE_DURATION_DIVIDER'|translate}} + {{'GRAPH.COMMON.RANGE_DURATION_DIVIDER'|translate}} </div> <!-- duration: hour --> <a class="item item-icon-left ink" ng-click="setRangeDuration('hour')"> <i class="icon ion-ios-checkmark-empty" ng-show="formData.rangeDuration=='hour'"></i> - <span ng-bind-html="'GRAPH.BLOCKCHAIN.TX_RANGE_DURATION.HOUR' | translate"></span> + <span ng-bind-html="'GRAPH.COMMON.RANGE_DURATION.HOUR' | translate"></span> </a> <!-- duration: day --> <a class="item item-icon-left ink" ng-click="setRangeDuration('day')"> <i class="icon ion-ios-checkmark-empty" ng-show="formData.rangeDuration=='day'"></i> - <span ng-bind-html="'GRAPH.BLOCKCHAIN.TX_RANGE_DURATION.DAY' | translate"></span> + <span ng-bind-html="'GRAPH.COMMON.RANGE_DURATION.DAY' | translate"></span> </a> <!-- duration: month --> <a class="item item-icon-left ink" ng-click="setRangeDuration('month')"> <i class="icon ion-ios-checkmark-empty" ng-show="formData.rangeDuration=='month'"></i> - <span ng-bind-html="'GRAPH.BLOCKCHAIN.TX_RANGE_DURATION.MONTH' | translate"></span> + <span ng-bind-html="'GRAPH.COMMON.RANGE_DURATION.MONTH' | translate"></span> </a> </div> -- GitLab