From a05c56cd4c6dd0368f3dbbb80da2e4cdd4521e24 Mon Sep 17 00:00:00 2001 From: Mino Togna Date: Tue, 17 Dec 2024 18:31:20 +0100 Subject: [PATCH] 4032 - add user i18n --- src/i18n/resources/ar.ts | 9 +++------ src/i18n/resources/ar/other.json | 20 -------------------- src/i18n/resources/ar/user.json | 20 ++++++++++++++++++++ src/i18n/resources/en.ts | 9 +++------ src/i18n/resources/en/other.json | 22 ---------------------- src/i18n/resources/en/user.json | 22 ++++++++++++++++++++++ src/i18n/resources/es.ts | 9 +++------ src/i18n/resources/es/other.json | 20 -------------------- src/i18n/resources/es/user.json | 21 +++++++++++++++++++++ src/i18n/resources/fr.ts | 9 +++------ src/i18n/resources/fr/other.json | 20 -------------------- src/i18n/resources/fr/user.json | 21 +++++++++++++++++++++ src/i18n/resources/ru.ts | 9 +++------ src/i18n/resources/ru/other.json | 20 -------------------- src/i18n/resources/ru/user.json | 20 ++++++++++++++++++++ src/i18n/resources/zh.ts | 9 +++------ src/i18n/resources/zh/other.json | 20 -------------------- src/i18n/resources/zh/user.json | 20 ++++++++++++++++++++ 18 files changed, 142 insertions(+), 158 deletions(-) create mode 100644 src/i18n/resources/ar/user.json create mode 100644 src/i18n/resources/en/user.json create mode 100644 src/i18n/resources/es/user.json create mode 100644 src/i18n/resources/fr/user.json create mode 100644 src/i18n/resources/ru/user.json create mode 100644 src/i18n/resources/zh/user.json diff --git a/src/i18n/resources/ar.ts b/src/i18n/resources/ar.ts index 5a77b78a8e..aaaa638a16 100644 --- a/src/i18n/resources/ar.ts +++ b/src/i18n/resources/ar.ts @@ -18,6 +18,7 @@ import * as nationalDataPoint from './ar/nationalDataPoint.json' import * as other from './ar/other.json' import * as statisticalFactsheets from './ar/statisticalFactsheets.json' import * as uc from './ar/uc.json' +import * as user from './ar/user.json' export const arTranslation = { admin, @@ -36,13 +37,9 @@ export const arTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, statisticalFactsheets, uc, - + user, ...other, } diff --git a/src/i18n/resources/ar/other.json b/src/i18n/resources/ar/other.json index 71f122ad49..fa694e48fc 100644 --- a/src/i18n/resources/ar/other.json +++ b/src/i18n/resources/ar/other.json @@ -643,26 +643,6 @@ "thousandPersons": "1000 شخص", "tonnesPerHa": "طن/هـ" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "عزيزي {{user}}\n

\nتلقينا طلباً بإعادة ضبط كلمة المرور إلى حساب تقييم الموارد الحرجية الخاص بك. \n
\nإن لم تقدم هذا الطلب، يمكنك تجاهل هذه الرسالة بأمان.\n


\nClick here to reset your password\n


\nThanks,\n
\nفريق تقييم الموارد الحرجية fra@fao.org\n
\n{{- url}}\n ", - "subject": "منصة تقييم الموارد الحرجية، إعادة ضبط كلمة المرور", - "textMessage": "عزيزي {{user}}\n\nتلقينا طلباً بإعادة ضبط كلمة المرور إلى حساب تقييم الموارد الحرجية الخاص بك. إذا لم تقدم هذا الطلب يمكنك تجاهل هذه الرسالة بأمان.\nانقر على الرابط التالي لإعادة ضبط كلمة المرور{{- link}}\n\nClick the following link to reset your password\n{{- link}}\n\n\nشكراً\nفريق تقييم الموارد الحرجية fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "مدير", - "ALTERNATE_NATIONAL_CORRESPONDENT": "مراسل وطني بديل", - "COLLABORATOR": "متعاون", - "NATIONAL_CORRESPONDENT": "مراسل وطني", - "REVIEWER": "مُراجع", - "VIEWER": "مشاهد", - "alternateNationalCorrespondent_plural": "المراسلون الوطنيون المناوبون", - "collaborator_plural": "المتعاونين", - "nationalCorrespondent_plural": "المراسلون الوطنيون", - "noRole": "", - "reviewer_plural": "المراجعين" - } - }, "userChat": { "cancel": "إلغاء", "chatHeader": "رسائل مع {{user}}", diff --git a/src/i18n/resources/ar/user.json b/src/i18n/resources/ar/user.json new file mode 100644 index 0000000000..68e7f2318c --- /dev/null +++ b/src/i18n/resources/ar/user.json @@ -0,0 +1,20 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "عزيزي {{user}}\n

\nتلقينا طلباً بإعادة ضبط كلمة المرور إلى حساب تقييم الموارد الحرجية الخاص بك. \n
\nإن لم تقدم هذا الطلب، يمكنك تجاهل هذه الرسالة بأمان.\n


\nClick here to reset your password\n


\nThanks,\n
\nفريق تقييم الموارد الحرجية fra@fao.org\n
\n{{- url}}\n ", + "subject": "منصة تقييم الموارد الحرجية، إعادة ضبط كلمة المرور", + "textMessage": "عزيزي {{user}}\n\nتلقينا طلباً بإعادة ضبط كلمة المرور إلى حساب تقييم الموارد الحرجية الخاص بك. إذا لم تقدم هذا الطلب يمكنك تجاهل هذه الرسالة بأمان.\nانقر على الرابط التالي لإعادة ضبط كلمة المرور{{- link}}\n\nClick the following link to reset your password\n{{- link}}\n\n\nشكراً\nفريق تقييم الموارد الحرجية fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "مدير", + "ALTERNATE_NATIONAL_CORRESPONDENT": "مراسل وطني بديل", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "المراسلون الوطنيون المناوبون", + "COLLABORATOR": "متعاون", + "NATIONAL_CORRESPONDENT": "مراسل وطني", + "NATIONAL_CORRESPONDENT_other": "المراسلون الوطنيون", + "REVIEWER": "مُراجع", + "REVIEWER_plural": "المراجعين", + "VIEWER": "مشاهد", + "COLLABORATOR_other": "المتعاونين", + "noRole": "" + } +} diff --git a/src/i18n/resources/en.ts b/src/i18n/resources/en.ts index 006ab067ca..860d7eb395 100644 --- a/src/i18n/resources/en.ts +++ b/src/i18n/resources/en.ts @@ -19,6 +19,7 @@ import * as other from './en/other.json' import * as panEuropean from './en/panEuropean/panEuropean.json' import * as statisticalFactsheets from './en/statisticalFactsheets.json' import * as uc from './en/uc.json' +import * as user from './en/user.json' import * as validation from './en/validation.json' export const enTranslation = { @@ -38,15 +39,11 @@ export const enTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, panEuropean, statisticalFactsheets, uc, + user, validation, - ...other, } diff --git a/src/i18n/resources/en/other.json b/src/i18n/resources/en/other.json index a648b374b6..3c8a9a2ea4 100644 --- a/src/i18n/resources/en/other.json +++ b/src/i18n/resources/en/other.json @@ -643,28 +643,6 @@ "thousandPersons": "1 000 persons", "tonnesPerHa": "tonnes/ha" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "Dear {{user}}\n

\nWe have received a request to reset your password for your FRA account. \n
\nIf you didn't make this request, you can safely ignore this email.\n


\nClick here to reset your password\n


\nThanks,\n
\nThe FRA team fra@fao.org\n
\n{{- url}}\n ", - "subject": "FRA platform - Reset password", - "textMessage": "Dear {{user}}\n\nWe have received a request to reset your password for your FRA account. \nIf you didn't make this request, you can safely ignore this email.\n\nClick the following link to reset your password\n{{- link}}\n\n\nThanks,\nThe FRA team fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "Administrator", - "ADMINISTRATOR_other": "Administrators", - "ALTERNATE_NATIONAL_CORRESPONDENT": "Alternate national correspondent", - "ALTERNATE_NATIONAL_CORRESPONDENT_other": "Alternate national correspondents", - "COLLABORATOR": "Collaborator", - "COLLABORATOR_other": "Collaborators", - "NATIONAL_CORRESPONDENT": "National correspondent", - "NATIONAL_CORRESPONDENT_other": "National correspondents", - "REVIEWER": "Reviewer", - "REVIEWER_other": "Reviewers", - "VIEWER": "Viewer", - "VIEWER_other": "Viewers", - "noRole": "" - } - }, "userChat": { "cancel": "Cancel", "chatHeader": "Messages with {{user}}", diff --git a/src/i18n/resources/en/user.json b/src/i18n/resources/en/user.json new file mode 100644 index 0000000000..2599a2ca63 --- /dev/null +++ b/src/i18n/resources/en/user.json @@ -0,0 +1,22 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "Dear {{user}}\n

\nWe have received a request to reset your password for your FRA account. \n
\nIf you didn't make this request, you can safely ignore this email.\n


\nClick here to reset your password\n


\nThanks,\n
\nThe FRA team fra@fao.org\n
\n{{- url}}\n ", + "subject": "FRA platform - Reset password", + "textMessage": "Dear {{user}}\n\nWe have received a request to reset your password for your FRA account. \nIf you didn't make this request, you can safely ignore this email.\n\nClick the following link to reset your password\n{{- link}}\n\n\nThanks,\nThe FRA team fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "Administrator", + "ADMINISTRATOR_other": "Administrators", + "ALTERNATE_NATIONAL_CORRESPONDENT": "Alternate national correspondent", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "Alternate national correspondents", + "COLLABORATOR": "Collaborator", + "COLLABORATOR_other": "Collaborators", + "NATIONAL_CORRESPONDENT": "National correspondent", + "NATIONAL_CORRESPONDENT_other": "National correspondents", + "REVIEWER": "Reviewer", + "REVIEWER_other": "Reviewers", + "VIEWER": "Viewer", + "VIEWER_other": "Viewers", + "noRole": "" + } +} diff --git a/src/i18n/resources/es.ts b/src/i18n/resources/es.ts index b13abd3ca8..aa05cb8579 100644 --- a/src/i18n/resources/es.ts +++ b/src/i18n/resources/es.ts @@ -16,6 +16,7 @@ import * as nationalDataPoint from './es/nationalDataPoint.json' import * as other from './es/other.json' import * as statisticalFactsheets from './es/statisticalFactsheets.json' import * as uc from './es/uc.json' +import * as user from './es/user.json' export const esTranslation = { admin, @@ -32,13 +33,9 @@ export const esTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, statisticalFactsheets, uc, - + user, ...other, } diff --git a/src/i18n/resources/es/other.json b/src/i18n/resources/es/other.json index 967b944044..bd9493200a 100644 --- a/src/i18n/resources/es/other.json +++ b/src/i18n/resources/es/other.json @@ -643,26 +643,6 @@ "thousandPersons": "1 000 personas", "tonnesPerHa": "toneladas / ha" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "Estimado/a {{user}}\n

\nHemos recibido una solicitud para restablecer la contraseña de su cuenta de FRA. \n
\nSi no ha realizado esta solicitud, puede ignorar este correo electrónico.\n


\nHaga clic aquí para restablecer su contraseña\n


\nGracias,\n
\nEl equipo de FRA fra@fao. rg\n
\n{{- url}}\n ", - "subject": "Plataforma FRA - Restablecer contraseña", - "textMessage": "Estimado/a {{user}}\n\nHemos recibido una solicitud para restablecer la contraseña de su cuenta de FRA.\nSi usted no hizo esta solicitud, puede ignorar este correo electrónico.\n\nHaga clic en el siguiente enlace para restablecer su contraseña:\n{{- link}}\n\nGracias,\nEl equipo de FRA fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "Administrador", - "ALTERNATE_NATIONAL_CORRESPONDENT": "Corresponsal Nacional alterno", - "COLLABORATOR": "Colaborador", - "NATIONAL_CORRESPONDENT": "Corresponsal Nacional", - "REVIEWER": "Evaluador", - "VIEWER": "Observador", - "alternateNationalCorrespondent_plural": "Corresponsales nacionales suplentes", - "collaborator_plural": "Colaboradores", - "nationalCorrespondent_plural": "Corresponsales nacionales", - "noRole": "", - "reviewer_plural": "Revisores" - } - }, "userChat": { "cancel": "Cancelar", "chatHeader": "Mensajes con {{user}}", diff --git a/src/i18n/resources/es/user.json b/src/i18n/resources/es/user.json new file mode 100644 index 0000000000..aa237dbaff --- /dev/null +++ b/src/i18n/resources/es/user.json @@ -0,0 +1,21 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "Estimado/a {{user}}\n

\nHemos recibido una solicitud para restablecer la contraseña de su cuenta de FRA. \n
\nSi no ha realizado esta solicitud, puede ignorar este correo electrónico.\n


\nHaga clic aquí para restablecer su contraseña\n


\nGracias,\n
\nEl equipo de FRA fra@fao. rg\n
\n{{- url}}\n ", + "subject": "Plataforma FRA - Restablecer contraseña", + "textMessage": "Estimado/a {{user}}\n\nHemos recibido una solicitud para restablecer la contraseña de su cuenta de FRA.\nSi usted no hizo esta solicitud, puede ignorar este correo electrónico.\n\nHaga clic en el siguiente enlace para restablecer su contraseña:\n{{- link}}\n\nGracias,\nEl equipo de FRA fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "Administrador", + "ALTERNATE_NATIONAL_CORRESPONDENT": "Corresponsal Nacional alterno", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "Corresponsales nacionales suplentes", + "COLLABORATOR": "Colaborador", + "COLLABORATOR_other": "Colaboradores", + "NATIONAL_CORRESPONDENT": "Corresponsal Nacional", + "NATIONAL_CORRESPONDENT_other": "Corresponsales nacionales", + "REVIEWER": "Evaluador", + "REVIEWER_other": "Revisores", + "VIEWER": "Observador", + "VIEWER_other": "Observadores", + "noRole": "" + } +} diff --git a/src/i18n/resources/fr.ts b/src/i18n/resources/fr.ts index 3bce1a48b7..f06f5da64a 100644 --- a/src/i18n/resources/fr.ts +++ b/src/i18n/resources/fr.ts @@ -17,6 +17,7 @@ import * as nationalDataPoint from './fr/nationalDataPoint.json' import * as other from './fr/other.json' import * as statisticalFactsheets from './fr/statisticalFactsheets.json' import * as uc from './fr/uc.json' +import * as user from './fr/user.json' export const frTranslation = { admin, @@ -34,13 +35,9 @@ export const frTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, statisticalFactsheets, uc, - + user, ...other, } diff --git a/src/i18n/resources/fr/other.json b/src/i18n/resources/fr/other.json index 17b6f68fc8..cb7b51e54b 100644 --- a/src/i18n/resources/fr/other.json +++ b/src/i18n/resources/fr/other.json @@ -643,26 +643,6 @@ "thousandPersons": "1 000 personnes", "tonnesPerHa": "tonnes / ha" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "Cher/Chère {{user}}\n

\nNous avons reçu une demande pour réinitialiser votre mot de passe pour votre compte FRA.\n
\nSi vous n'avez pas effectué cette demande, vous pouvez ignorer cet e-mail en toute sécurité.\n


\nCliquez ici pour réinitialiser votre mot de passe\n


\nMerci,\n
\nL'équipe FRA fra@fao.org\n
\n{{- url}}\n ", - "subject": "Plateforme FRA - Réinitialiser le mot de passe", - "textMessage": "Cher/Chère {{user}}\n\nNous avons reçu une demande pour réinitialiser votre mot de passe pour votre compte FRA.\nSi vous n'avez pas effectué cette demande, vous pouvez ignorer cet e-mail en toute sécurité.\n\nCliquez ici pour réinitialiser votre mot de passe\n{{- link}}\n\nMerci,\nL'équipe FRA fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "Administrateur", - "ALTERNATE_NATIONAL_CORRESPONDENT": "Correspondant national suppléant", - "COLLABORATOR": "Collaborateur", - "NATIONAL_CORRESPONDENT": "Correspondant national", - "REVIEWER": "Examinateur", - "VIEWER": "Visionneur", - "alternateNationalCorrespondent_plural": "Correspondants nationaux suppléants", - "collaborator_plural": "Collaborateurs", - "nationalCorrespondent_plural": "Correspondants nationaux", - "noRole": "", - "reviewer_plural": "Examinateurs" - } - }, "userChat": { "cancel": "Effacer", "chatHeader": "Échange de messages avec {{user}}", diff --git a/src/i18n/resources/fr/user.json b/src/i18n/resources/fr/user.json new file mode 100644 index 0000000000..2a48abec13 --- /dev/null +++ b/src/i18n/resources/fr/user.json @@ -0,0 +1,21 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "Cher/Chère {{user}}\n

\nNous avons reçu une demande pour réinitialiser votre mot de passe pour votre compte FRA.\n
\nSi vous n'avez pas effectué cette demande, vous pouvez ignorer cet e-mail en toute sécurité.\n


\nCliquez ici pour réinitialiser votre mot de passe\n


\nMerci,\n
\nL'équipe FRA fra@fao.org\n
\n{{- url}}\n ", + "subject": "Plateforme FRA - Réinitialiser le mot de passe", + "textMessage": "Cher/Chère {{user}}\n\nNous avons reçu une demande pour réinitialiser votre mot de passe pour votre compte FRA.\nSi vous n'avez pas effectué cette demande, vous pouvez ignorer cet e-mail en toute sécurité.\n\nCliquez ici pour réinitialiser votre mot de passe\n{{- link}}\n\nMerci,\nL'équipe FRA fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "Administrateur", + "ALTERNATE_NATIONAL_CORRESPONDENT": "Correspondant national suppléant", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "Correspondants nationaux suppléants", + "COLLABORATOR": "Collaborateur", + "COLLABORATOR_other": "Collaborateurs", + "NATIONAL_CORRESPONDENT": "Correspondant national", + "NATIONAL_CORRESPONDENT_other": "Correspondants nationaux", + "REVIEWER": "Examinateur", + "REVIEWER_other": "Examinateurs", + "VIEWER": "Visionneur", + "VIEWER_other": "Visionneurs", + "noRole": "" + } +} \ No newline at end of file diff --git a/src/i18n/resources/ru.ts b/src/i18n/resources/ru.ts index 4e4fb6fd45..f464f72582 100644 --- a/src/i18n/resources/ru.ts +++ b/src/i18n/resources/ru.ts @@ -17,6 +17,7 @@ import * as nationalDataPoint from './ru/nationalDataPoint.json' import * as other from './ru/other.json' import * as statisticalFactsheets from './ru/statisticalFactsheets.json' import * as uc from './ru/uc.json' +import * as user from './ru/user.json' export const ruTranslation = { admin, @@ -34,13 +35,9 @@ export const ruTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, statisticalFactsheets, uc, - + user, ...other, } diff --git a/src/i18n/resources/ru/other.json b/src/i18n/resources/ru/other.json index 155e292341..1d08c81642 100644 --- a/src/i18n/resources/ru/other.json +++ b/src/i18n/resources/ru/other.json @@ -643,26 +643,6 @@ "thousandPersons": "1 000 человек", "tonnesPerHa": "тонн/га" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "Уважаемый (ая) {{user}}\n

\nМы получили запрос на сброс пароля для вашей учетной записи в FRA. \n
\nЕсли вы не делали этого запроса, вы можете проигнорировать это письмо.\n


\nНажмите здесь, чтобы сбросить свой пароль\n


\nСпасибо,\n
\nГруппа по ОЛР fra@fao.org\n
\n{{- url}}\n ", - "subject": "Платформа ОЛР - сменить пароль", - "textMessage": "Уважаемый (ая) {{user}}\n\nМы получили запрос на сброс пароля для вашей учетной записи в FRA. \nЕсли вы не делали этого запроса, вы можете проигнорировать это письмо.\n\nНажмите здесь, чтобы сбросить свой пароль\n{{- link}}\n\n\nСпасибо,\nГруппа по ОЛР fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "Администратор", - "ALTERNATE_NATIONAL_CORRESPONDENT": "Помощник национального корреспондента", - "COLLABORATOR": "Сотрудник", - "NATIONAL_CORRESPONDENT": "Национальный корреспондент", - "REVIEWER": "Рецензент", - "VIEWER": "Наблюдатель", - "alternateNationalCorrespondent_plural": "Заместители национального корреспондента", - "collaborator_plural": "Сотрудники", - "nationalCorrespondent_plural": "Национальные корреспонденты", - "noRole": "", - "reviewer_plural": "Рецензенты" - } - }, "userChat": { "cancel": "Отмена", "chatHeader": "Сообщения от {{user}}", diff --git a/src/i18n/resources/ru/user.json b/src/i18n/resources/ru/user.json new file mode 100644 index 0000000000..1834a00fbb --- /dev/null +++ b/src/i18n/resources/ru/user.json @@ -0,0 +1,20 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "Уважаемый (ая) {{user}}\n

\nМы получили запрос на сброс пароля для вашей учетной записи в FRA. \n
\nЕсли вы не делали этого запроса, вы можете проигнорировать это письмо.\n


\nНажмите здесь, чтобы сбросить свой пароль\n


\nСпасибо,\n
\nГруппа по ОЛР fra@fao.org\n
\n{{- url}}\n ", + "subject": "Платформа ОЛР - сменить пароль", + "textMessage": "Уважаемый (ая) {{user}}\n\nМы получили запрос на сброс пароля для вашей учетной записи в FRA. \nЕсли вы не делали этого запроса, вы можете проигнорировать это письмо.\n\nНажмите здесь, чтобы сбросить свой пароль\n{{- link}}\n\n\nСпасибо,\nГруппа по ОЛР fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "Администратор", + "ALTERNATE_NATIONAL_CORRESPONDENT": "Помощник национального корреспондента", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "Заместители национального корреспондента", + "COLLABORATOR": "Сотрудник", + "COLLABORATOR_other": "Сотрудники", + "NATIONAL_CORRESPONDENT": "Национальный корреспондент", + "NATIONAL_CORRESPONDENT_other": "Национальные корреспонденты", + "REVIEWER": "Рецензент", + "REVIEWER_other": "Рецензенты", + "VIEWER": "Наблюдатель", + "noRole": "" + } +} \ No newline at end of file diff --git a/src/i18n/resources/zh.ts b/src/i18n/resources/zh.ts index 4ec440cb1a..18fb767152 100644 --- a/src/i18n/resources/zh.ts +++ b/src/i18n/resources/zh.ts @@ -17,6 +17,7 @@ import * as nationalDataPoint from './zh/nationalDataPoint.json' import * as other from './zh/other.json' import * as statisticalFactsheets from './zh/statisticalFactsheets.json' import * as uc from './zh/uc.json' +import * as user from './zh/user.json' export const zhTranslation = { admin, @@ -34,13 +35,9 @@ export const zhTranslation = { landing, login, nationalDataPoint, - - page: { - assessmentSection, - }, - + page: { assessmentSection }, statisticalFactsheets, uc, - + user, ...other, } diff --git a/src/i18n/resources/zh/other.json b/src/i18n/resources/zh/other.json index e0ccb1e75c..2bfc14bfc4 100644 --- a/src/i18n/resources/zh/other.json +++ b/src/i18n/resources/zh/other.json @@ -643,26 +643,6 @@ "thousandPersons": "1 000 人", "tonnesPerHa": "吨/公顷" }, - "user": { - "resetPasswordEmail": { - "htmlMessage": "尊敬的 {{user}}\n

\n我们收到了一个重置您FRA账户密码的请求。 \n
\n如果您没有提出这一要求,请忽略这封邮件。\n


\n点击此处重设密码\n


\n谢谢!\n
\nFRA工作组 fra@fao.org\n
\n{{- url}}\n ", - "subject": "FRA平台 - 重置密码", - "textMessage": "尊敬的 {{user}}\n\n我们收到了一个重置您FRA账户密码的请求。\n如果您没有提出这一要求,请忽略这封邮件。\n\n\n请点击以下链接重置您的密码\n{{- link}}\n\n\n谢谢!,\nFRA工作组 fra@fao.org\n{{- url}}" - }, - "roles": { - "ADMINISTRATOR": "管理员", - "ALTERNATE_NATIONAL_CORRESPONDENT": "候补国家通讯员", - "COLLABORATOR": "合作者", - "NATIONAL_CORRESPONDENT": "国家通讯员", - "REVIEWER": "审核人", - "VIEWER": "观察者", - "alternateNationalCorrespondent_plural": "候补国家通讯员", - "collaborator_plural": "合作者", - "nationalCorrespondent_plural": "国家通讯员", - "noRole": "", - "reviewer_plural": "审查者" - } - }, "userChat": { "cancel": "取消", "chatHeader": "与 {{user}}的消息", diff --git a/src/i18n/resources/zh/user.json b/src/i18n/resources/zh/user.json new file mode 100644 index 0000000000..f0f0e1440a --- /dev/null +++ b/src/i18n/resources/zh/user.json @@ -0,0 +1,20 @@ +{ + "resetPasswordEmail": { + "htmlMessage": "尊敬的 {{user}}\n

\n我们收到了一个重置您FRA账户密码的请求。 \n
\n如果您没有提出这一要求,请忽略这封邮件。\n


\n点击此处重设密码\n


\n谢谢!\n
\nFRA工作组 fra@fao.org\n
\n{{- url}}\n ", + "subject": "FRA平台 - 重置密码", + "textMessage": "尊敬的 {{user}}\n\n我们收到了一个重置您FRA账户密码的请求。\n如果您没有提出这一要求,请忽略这封邮件。\n\n\n请点击以下链接重置您的密码\n{{- link}}\n\n\n谢谢!,\nFRA工作组 fra@fao.org\n{{- url}}" + }, + "roles": { + "ADMINISTRATOR": "管理员", + "ALTERNATE_NATIONAL_CORRESPONDENT": "候补国家通讯员", + "ALTERNATE_NATIONAL_CORRESPONDENT_other": "候补国家通讯员", + "COLLABORATOR": "合作者", + "COLLABORATOR_other": "合作者", + "NATIONAL_CORRESPONDENT": "国家通讯员", + "NATIONAL_CORRESPONDENT_other": "国家通讯员", + "REVIEWER": "审核人", + "REVIEWER_other": "审查者", + "VIEWER": "观察者", + "noRole": "" + } +}