From f1fefc5a36c44c22fc3853ebbe14bf6bdb27aeab Mon Sep 17 00:00:00 2001 From: Thomas Zemp Date: Fri, 15 Dec 2023 16:22:53 +0100 Subject: [PATCH] chore: update allow list language [DHIS2-10247] --- i18n/en.pot | 104 +++++++------------------------------- src/settingsKeyMapping.js | 2 +- 2 files changed, 20 insertions(+), 86 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index f3760541..5793e553 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: 2023-08-24T10:48:48.806Z\n" -"PO-Revision-Date: 2023-08-24T10:48:48.806Z\n" +"POT-Creation-Date: 2023-12-15T15:25:33.200Z\n" +"PO-Revision-Date: 2023-12-15T15:25:33.200Z\n" msgid "Failed to load: {{error}}" msgstr "Failed to load: {{error}}" @@ -89,84 +89,6 @@ msgstr "Don't sync metadata if DHIS versions differ" msgid "Metadata Versioning" msgstr "Metadata Versioning" -msgid "This client ID is already taken" -msgstr "This client ID is already taken" - -msgid "Name" -msgstr "Name" - -msgid "Required" -msgstr "Required" - -msgid "Client ID" -msgstr "Client ID" - -msgid "Client Secret" -msgstr "Client Secret" - -msgid "Grant Types" -msgstr "Grant Types" - -msgid "Password" -msgstr "Password" - -msgid "Refresh token" -msgstr "Refresh token" - -msgid "Authorization code" -msgstr "Authorization code" - -msgid "One URL per line" -msgstr "One URL per line" - -msgid "Redirect URIs" -msgstr "Redirect URIs" - -msgid "This field should contain a list of URLs" -msgstr "This field should contain a list of URLs" - -msgid "Create new OAuth2 Client" -msgstr "Create new OAuth2 Client" - -msgid "Edit OAuth2 Client" -msgstr "Edit OAuth2 Client" - -msgid "Save" -msgstr "Save" - -msgid "Cancel" -msgstr "Cancel" - -msgid "There are currently no OAuth2 clients registered" -msgstr "There are currently no OAuth2 clients registered" - -msgid "Edit" -msgstr "Edit" - -msgid "Delete" -msgstr "Delete" - -msgid "OAuth2 client saved" -msgstr "OAuth2 client saved" - -msgid "Failed to save OAuth2 client" -msgstr "Failed to save OAuth2 client" - -msgid "Add OAuth2 client" -msgstr "Add OAuth2 client" - -msgid "Yes" -msgstr "Yes" - -msgid "No" -msgstr "No" - -msgid "OAuth2 client deleted" -msgstr "OAuth2 client deleted" - -msgid "Failed to delete OAuth2 client" -msgstr "Failed to delete OAuth2 client" - msgid "Settings updated" msgstr "Settings updated" @@ -224,15 +146,15 @@ msgstr "Synchronization" msgid "Synchronization settings" msgstr "Synchronization settings" -msgid "OAuth2 Clients" -msgstr "OAuth2 Clients" - msgid "This field is required" msgstr "This field is required" msgid "This field should be a URL" msgstr "This field should be a URL" +msgid "This field should contain a list of URLs" +msgstr "This field should contain a list of URLs" + msgid "This field should be a number" msgstr "This field should be a number" @@ -632,6 +554,9 @@ msgstr "Database language" msgid "Property to display in analysis modules" msgstr "Property to display in analysis modules" +msgid "Name" +msgstr "Name" + msgid "Short name" msgstr "Short name" @@ -674,6 +599,9 @@ msgstr "Port" msgid "Username" msgstr "Username" +msgid "Password" +msgstr "Password" + msgid "TLS" msgstr "TLS" @@ -734,8 +662,11 @@ msgstr "Number of days before password expiry to send reminder (1–28)" msgid "Minimum characters in password" msgstr "Minimum characters in password" -msgid "CORS whitelist" -msgstr "CORS whitelist" +msgid "CORS allowlist" +msgstr "CORS allowlist" + +msgid "One URL per line" +msgstr "One URL per line" msgid "reCAPTCHA Site Key" msgstr "reCAPTCHA Site Key" @@ -782,6 +713,9 @@ msgstr "" "system unusable. If you have entered data, it is strongly recommended that " "you do not change your calendar setting." +msgid "Cancel" +msgstr "Cancel" + msgid "Yes, change calendar" msgstr "Yes, change calendar" diff --git a/src/settingsKeyMapping.js b/src/settingsKeyMapping.js index 3c27dabb..79372c72 100644 --- a/src/settingsKeyMapping.js +++ b/src/settingsKeyMapping.js @@ -585,7 +585,7 @@ const settingsKeyMapping = { }, }, corsWhitelist: { - label: i18n.t('CORS whitelist'), + label: i18n.t('CORS allowlist'), configuration: true, multiLine: true, hintText: i18n.t('One URL per line'),