From 429edbf897fd288a9893104fe7ea6a91bcb761f2 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Mon, 2 Dec 2024 22:12:35 +0100 Subject: [PATCH] Convert command cursor variable string to static placeholder string --- .../java/be/scri/helpers/english/ENInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/french/FRInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/german/DEInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/italian/ITInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/portugese/PTInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/russian/RUInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/spanish/ESInterfaceVariables.kt | 6 +++--- .../java/be/scri/helpers/swedish/SVInterfaceVariables.kt | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt index 02dea874..c0d75fc7 100644 --- a/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/english/ENInterfaceVariables.kt @@ -36,7 +36,7 @@ object ENInterfaceVariables { const val TRANSLATE_KEY_LBL = "Translate" const val TRANSLATE_PLACEHOLDER = "Enter a word" const val TRANSLATE_PROMPT = " en -› ${"targetLanguage()"}" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -44,7 +44,7 @@ object ENInterfaceVariables { const val CONJUGATE_KEY_LBL = "Conjugate" const val CONJUGATE_PLACEHOLDER = "Enter a verb" const val CONJUGATE_PROMPT = "Conjugate: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -52,7 +52,7 @@ object ENInterfaceVariables { const val PLURAL_KEY_LBL = "Plural" const val PLURAL_PLACEHOLDER = "Enter a noun" const val PLURAL_PROMPT = "Plural: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Already plural" } diff --git a/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt index 8cafa200..bdf47676 100644 --- a/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/french/FRInterfaceVariables.kt @@ -38,7 +38,7 @@ object FRInterfaceVariables { const val TRANSLATE_KEY_LBL = "Traduire" const val TRANSLATE_PLACEHOLDER = "Entrez un mot" const val TRANSLATE_PROMPT = "fr -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -46,7 +46,7 @@ object FRInterfaceVariables { const val CONJUGATE_KEY_LBL = "Conjuguer" const val CONJUGATE_PLACEHOLDER = "Entrez un verbe" const val CONJUGATE_PROMPT = "Conjuguer: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -54,7 +54,7 @@ object FRInterfaceVariables { const val PLURAL_KEY_LBL = "Pluriel" const val PLURAL_PLACEHOLDER = "Entrez un nom" const val PLURAL_PROMPT = "Pluriel: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Déjà pluriel" } diff --git a/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt index 0977b4bb..0c24272d 100644 --- a/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/german/DEInterfaceVariables.kt @@ -37,7 +37,7 @@ object DEInterfaceVariables { const val TRANSLATE_KEY_LBL = "Übersetzen" const val TRANSLATE_PLACEHOLDER = "Wort eingeben" const val TRANSLATE_PROMPT = "de -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -45,7 +45,7 @@ object DEInterfaceVariables { const val CONJUGATE_KEY_LBL = "Konjugieren" const val CONJUGATE_PLACEHOLDER = "Verb eingeben" const val CONJUGATE_PROMPT = "Konjugieren: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -53,7 +53,7 @@ object DEInterfaceVariables { const val PLURAL_KEY_LBL = "Plural" const val PLURAL_PLACEHOLDER = "Nomen eingeben" const val PLURAL_PROMPT = "Plural: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Schon Plural" } diff --git a/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt index a724fa4f..41fe9edc 100644 --- a/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/italian/ITInterfaceVariables.kt @@ -19,7 +19,7 @@ object ITInterfaceVariables { const val TRANSLATE_KEY_LBL = "Tradurre" const val TRANSLATE_PLACEHOLDER = "Inserisci una parola" const val TRANSLATE_PROMPT = "it -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -27,7 +27,7 @@ object ITInterfaceVariables { const val CONJUGATE_KEY_LBL = "Coniugare" const val CONJUGATE_PLACEHOLDER = "Inserisci un verbo" const val CONJUGATE_PROMPT = "Coniugare: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -35,7 +35,7 @@ object ITInterfaceVariables { const val PLURAL_KEY_LBL = "Plurale" const val PLURAL_PLACEHOLDER = "Inserisci un nome" const val PLURAL_PROMPT = "Plurale: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Già plurale" } diff --git a/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt index ad8e2ebc..c9b071ff 100644 --- a/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/portugese/PTInterfaceVariables.kt @@ -19,7 +19,7 @@ object PTInterfaceVariables { const val TRANSLATE_KEY_LBL = "Traduzir" const val TRANSLATE_PLACEHOLDER = "Digite uma palavra" const val TRANSLATE_PROMPT = "pt -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -27,7 +27,7 @@ object PTInterfaceVariables { const val CONJUGATE_KEY_LBL = "Conjugar" const val CONJUGATE_PLACEHOLDER = "Digite um verbo" const val CONJUGATE_PROMPT = "Conjugar: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -35,7 +35,7 @@ object PTInterfaceVariables { const val PLURAL_KEY_LBL = "Plural" const val PLURAL_PLACEHOLDER = "Digite um substantivo" const val PLURAL_PROMPT = "Plural: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Já plural" } diff --git a/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt index 84ff1c76..f59fe27f 100644 --- a/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/russian/RUInterfaceVariables.kt @@ -19,7 +19,7 @@ object RUInterfaceVariables { const val TRANSLATE_KEY_LBL = "Перевести" const val TRANSLATE_PLACEHOLDER = "Введите слово" const val TRANSLATE_PROMPT = "ru -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -27,7 +27,7 @@ object RUInterfaceVariables { const val CONJUGATE_KEY_LBL = "Спрягать" const val CONJUGATE_PLACEHOLDER = "Введите глагол" const val CONJUGATE_PROMPT = "Спрягать: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -35,7 +35,7 @@ object RUInterfaceVariables { const val PLURAL_KEY_LBL = "Множ-ое" const val PLURAL_PLACEHOLDER = "Введите существительное" const val PLURAL_PROMPT = "Множ-ое: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Уже во множ-ом" } diff --git a/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt index dc0f3117..0407554f 100644 --- a/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/spanish/ESInterfaceVariables.kt @@ -40,7 +40,7 @@ object ESInterfaceVariables { const val TRANSLATE_KEY_LBL = "Traducir" const val TRANSLATE_PLACEHOLDER = "Ingrese una palabra" const val TRANSLATE_PROMPT = " es -› ${"targetLanguage()"}" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -48,7 +48,7 @@ object ESInterfaceVariables { const val CONJUGATE_KEY_LBL = "Conjugar" const val CONJUGATE_PLACEHOLDER = "Ingrese un verbo" const val CONJUGATE_PROMPT = "Conjugar: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -56,7 +56,7 @@ object ESInterfaceVariables { const val PLURAL_KEY_LBL = "Plural" const val PLURAL_PLACEHOLDER = "Ingrese un sustantivo" const val PLURAL_PROMPT = "Plural: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Ya en plural" } diff --git a/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt b/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt index 835e2ad7..3e43af90 100644 --- a/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt +++ b/app/src/main/java/be/scri/helpers/swedish/SVInterfaceVariables.kt @@ -19,7 +19,7 @@ object SVInterfaceVariables { const val TRANSLATE_KEY_LBL = "Översätt" const val TRANSLATE_PLACEHOLDER = "Ange ett ord" const val TRANSLATE_PROMPT = "sv -› targetLanguage()" - const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "$COMMAND_CURSOR" + const val TRANSLATE_PROMPT_AND_CURSOR = TRANSLATE_PROMPT + "COMMAND_CURSOR" const val TRANSLATE_PROMPT_AND_PLACEHOLDER = TRANSLATE_PROMPT_AND_CURSOR + "$TRANSLATE_PLACEHOLDER" // MARK: Conjugate Command @@ -27,7 +27,7 @@ object SVInterfaceVariables { const val CONJUGATE_KEY_LBL = "Konjugera" const val CONJUGATE_PLACEHOLDER = "Ange ett verb" const val CONJUGATE_PROMPT = "Konjugera: " - const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "$COMMAND_CURSOR" + const val CONJUGATE_PROMPT_AND_CURSOR = CONJUGATE_PROMPT + "COMMAND_CURSOR" const val CONJUGATE_PROMPT_AND_PLACEHOLDER = CONJUGATE_PROMPT_AND_CURSOR + "$CONJUGATE_PLACEHOLDER" // MARK: Plural Command @@ -35,7 +35,7 @@ object SVInterfaceVariables { const val PLURAL_KEY_LBL = "Plural" const val PLURAL_PLACEHOLDER = "Ange ett substantiv" const val PLURAL_PROMPT = "Plural: " - const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "$COMMAND_CURSOR" + const val PLURAL_PROMPT_AND_CURSOR = PLURAL_PROMPT + "COMMAND_CURSOR" const val PLURAL_PROMPT_AND_PLACEHOLDER = PLURAL_PROMPT_AND_CURSOR + "$PLURAL_PLACEHOLDER" const val ALREADY_PLURAL_MSG = "Redan plural" }