Skip to content

Commit

Permalink
chore: update allow list language [DHIS2-10247]
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Dec 15, 2023
1 parent a47a6bb commit f1fefc5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 86 deletions.
104 changes: 19 additions & 85 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: 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}}"
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -674,6 +599,9 @@ msgstr "Port"
msgid "Username"
msgstr "Username"

msgid "Password"
msgstr "Password"

msgid "TLS"
msgstr "TLS"

Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/settingsKeyMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit f1fefc5

Please sign in to comment.