Add question namespace and its translations

This commit is contained in:
Nicola Benaglia
2025-05-22 09:28:18 +02:00
parent df65004597
commit 26587bd3b0
6 changed files with 329 additions and 66 deletions

View File

@@ -45,7 +45,7 @@ i18n
fallbackLng: 'en',
lng: navigator.language,
supportedLngs: Object.keys(supportedLanguages),
ns: ['core', 'auth', 'group', 'tutorial'],
ns: ['auth', 'core', 'group', 'question', 'tutorial'],
defaultNS: 'core',
interpolation: { escapeValue: false },
react: { useSuspense: false },

View File

@@ -0,0 +1,19 @@
{
"always_authenticate": "always authenticate automatically",
"authenticate": "Do you give this application permission to authenticate?",
"description": "description: {{ description }}",
"message": {
"error": {
"failed_cancel_sell_order": "failed to Cancel Sell Order. Try again!",
"unable_create_tradebot": "unable to create tradebot",
"unable_process_transaction": "unable to process transaction",
"user_declined_request": "user declined request"
},
"generic": {
"max_retry_transaction": "max retries reached. Skipping transaction."
}
},
"options": "options: {{ optionList }}",
"poll": "poll: {{ name }}",
"request_create_poll": "you are requesting to create the poll below:"
}

View File

@@ -0,0 +1,4 @@
{
"always_authenticate": "always authenticate automatically",
"authenticate": "Concedi all'applicazione il permesso di autenticarsi?"
}