From 051174040dbc1948d15f3a9e79df8467875fd03b Mon Sep 17 00:00:00 2001 From: Eduardo Peredo Rivero Date: Thu, 27 Jun 2024 21:15:37 -0500 Subject: [PATCH] add translations for subnational dataSet --- i18n/en.pot | 10 ++++++++-- i18n/es.po | 20 +++++++------------ i18n/fr.po | 8 +++++++- .../GridWithSubNational.tsx | 5 +++-- 4 files changed, 25 insertions(+), 18 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index 22716b4..3c6e6ee 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-05-17T12:55:28.391Z\n" -"PO-Revision-Date: 2024-05-17T12:55:28.391Z\n" +"POT-Creation-Date: 2024-06-28T02:05:53.601Z\n" +"PO-Revision-Date: 2024-06-28T02:05:53.601Z\n" msgid "" msgstr "" @@ -41,6 +41,12 @@ msgstr "" msgid "View comment and audit history" msgstr "" +msgid "Occupation" +msgstr "" + +msgid "Subnational level name" +msgstr "" + msgid "Upload file" msgstr "" diff --git a/i18n/es.po b/i18n/es.po index 1f7ba5c..3025a36 100644 --- a/i18n/es.po +++ b/i18n/es.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" -"POT-Creation-Date: 2024-05-17T12:55:28.391Z\n" +"POT-Creation-Date: 2024-06-28T02:05:53.601Z\n" "PO-Revision-Date: 2018-10-25T09:02:35.143Z\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -41,6 +41,12 @@ msgstr "" msgid "View comment and audit history" msgstr "" +msgid "Occupation" +msgstr "Ocupación" + +msgid "Subnational level name" +msgstr "Nombre del nivel subnacional" + msgid "Upload file" msgstr "Subir fichero" @@ -52,15 +58,3 @@ msgstr "" msgid "Data set" msgstr "" - -#~ msgid "Add" -#~ msgstr "Añadir" - -#~ msgid "List" -#~ msgstr "Listar" - -#~ msgid "Click to show feedback" -#~ msgstr "Toca para ver feedback" - -#~ msgid "configuration" -#~ msgstr "Configuración" diff --git a/i18n/fr.po b/i18n/fr.po index fbc62e3..fc0612b 100644 --- a/i18n/fr.po +++ b/i18n/fr.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" -"POT-Creation-Date: 2024-05-17T12:55:28.391Z\n" +"POT-Creation-Date: 2024-06-28T02:05:53.601Z\n" "PO-Revision-Date: 2018-10-25T09:02:35.143Z\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -41,6 +41,12 @@ msgstr "" msgid "View comment and audit history" msgstr "" +msgid "Occupation" +msgstr "Profession" + +msgid "Subnational level name" +msgstr "Nom du niveau infranational" + msgid "Upload file" msgstr "Téléverser fichier" diff --git a/src/webapp/reports/autogenerated-forms/GridWithSubNational.tsx b/src/webapp/reports/autogenerated-forms/GridWithSubNational.tsx index 75e3b45..29c5c81 100644 --- a/src/webapp/reports/autogenerated-forms/GridWithSubNational.tsx +++ b/src/webapp/reports/autogenerated-forms/GridWithSubNational.tsx @@ -14,6 +14,7 @@ import { DataElementItem } from "./DataElementItem"; import { makeStyles } from "@material-ui/core"; import DataTableSection from "./DataTableSection"; import { GridWithSubNationalViewModel } from "./GridWithSubNationalViewModel"; +import i18n from "../../../locales"; export interface GridWithSubNationalProps { dataFormInfo: DataFormInfo; @@ -44,10 +45,10 @@ const GridWithSubNational: React.FC = props => { - Occupation + {i18n.t("Occupation")} - Subnational level name + {i18n.t("Subnational level name")} {grid.columns.map(column => (