Skip to content

Commit

Permalink
add translations for subnational dataSet
Browse files Browse the repository at this point in the history
  • Loading branch information
eperedo committed Jun 28, 2024
1 parent 4e25fba commit 0511740
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 18 deletions.
10 changes: 8 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<No value>"
msgstr ""
Expand Down Expand Up @@ -41,6 +41,12 @@ msgstr ""
msgid "View comment and audit history"
msgstr ""

msgid "Occupation"
msgstr ""

msgid "Subnational level name"
msgstr ""

msgid "Upload file"
msgstr ""

Expand Down
20 changes: 7 additions & 13 deletions i18n/es.po
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"

Expand All @@ -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"
8 changes: 7 additions & 1 deletion i18n/fr.po
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -44,10 +45,10 @@ const GridWithSubNational: React.FC<GridWithSubNationalProps> = props => {

<DataTableRow>
<DataTableColumnHeader fixed top={topValue}>
Occupation
{i18n.t("Occupation")}
</DataTableColumnHeader>
<DataTableColumnHeader fixed top={topValue}>
Subnational level name
{i18n.t("Subnational level name")}
</DataTableColumnHeader>

{grid.columns.map(column => (
Expand Down

0 comments on commit 0511740

Please sign in to comment.