From 4ce67275f491b5396c1c2421f68e43070c4e8431 Mon Sep 17 00:00:00 2001 From: Max Chopart Date: Thu, 30 Nov 2023 14:38:11 +0100 Subject: [PATCH] [Upd #18] Added i18n for specific buttons --- js/components/record/Record.js | 6 +++--- js/i18n/cs.js | 3 +++ js/i18n/en.js | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/js/components/record/Record.js b/js/components/record/Record.js index 3cfe955d..1de24004 100644 --- a/js/components/record/Record.js +++ b/js/components/record/Record.js @@ -122,12 +122,12 @@ class Record extends React.Component { return <> {EXTENSIONS === EXTENSION_CONSTANTS.SUPPLIER && <> - - + + } {EXTENSIONS === EXTENSION_CONSTANTS.OPERATOR && - } + } ; } diff --git a/js/i18n/cs.js b/js/i18n/cs.js index fb047b78..069c7e1d 100644 --- a/js/i18n/cs.js +++ b/js/i18n/cs.js @@ -33,6 +33,9 @@ export default { 'please-wait': 'Prosím, čekejte...', 'actions': 'Akce', 'required': 'Políčka označená * jsou povinná', + 'reject': 'Odmítnout', + 'accept':'Přijmout', + 'complete': 'Dokončit', 'login.title': Constants.APP_NAME + ' - Přihlášení', 'login.username': 'Uživatelské jméno', diff --git a/js/i18n/en.js b/js/i18n/en.js index b1740ae9..6f0b12eb 100644 --- a/js/i18n/en.js +++ b/js/i18n/en.js @@ -33,6 +33,9 @@ export default { 'please-wait': 'Please wait...', 'actions': 'Actions', 'required': 'Fields marked with * are required', + 'reject': 'Reject', + 'accept':'Accept', + 'complete': 'Complete', 'login.title': Constants.APP_NAME + ' - Login', 'login.username': 'Username',