From 6e37aa4caa0737436f1f91e353bca3b31804d2a2 Mon Sep 17 00:00:00 2001 From: nyfz18 <121454847+nyfz18@users.noreply.github.com> Date: Fri, 28 Jul 2023 13:56:03 -0400 Subject: [PATCH] Keyboards Update French, Italian, Portuguese, Russian, Spanish, Swedish --- .../French/FRInterfaceVariables.swift | 18 ++++++++++++++++++ .../Italian/ITInterfaceVariables.swift | 18 ++++++++++++++++++ .../Portuguese/PTInterfaceVariables.swift | 19 +++++++++++++++++++ .../Russian/RUInterfaceVariables.swift | 19 +++++++++++++++++++ .../Spanish/ESInterfaceVariables.swift | 19 +++++++++++++++++++ .../Swedish/SVInterfaceVariables.swift | 18 ++++++++++++++++++ 6 files changed, 111 insertions(+) diff --git a/Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift b/Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift index 8bfcc0f2..68919ee3 100644 --- a/Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/French/FRInterfaceVariables.swift @@ -51,6 +51,24 @@ public enum FrenchKeyboardConstants { ["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["#", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "°", "–", "delete"], + ["indent", "a", "z", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"], + ["uppercase", "q", "s", "d", "f", "g", "h", "j", "k", "l", "m", "%", "£", "return"], + ["shift", ">", "w", "x", "c", "v", "b", "n", "?", ".", "/", "+", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + // Alternate key vars. static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "c", "n"] static let keysWithAlternatesLeft = ["a", "e", "y", "c"] diff --git a/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift index 6fb2028d..9dae7728 100644 --- a/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Italian/ITInterfaceVariables.swift @@ -51,6 +51,24 @@ public enum ItalianKeyboardConstants { ["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["|", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "^", "delete"], + ["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "é", "*", "return"], + ["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ç", "°", "§", "return"], + ["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "–", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + // Alternate key vars. static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "c", "n"] static let keysWithAlternatesLeft = ["a", "e", "s", "c"] diff --git a/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift index 52b56a74..d2f2b67b 100644 --- a/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Portuguese/PTInterfaceVariables.swift @@ -51,6 +51,25 @@ public enum PortugueseKeyboardConstants { ["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["~", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "–", "+", "delete"], + ["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "{", "}", "|"], + ["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", ":", '"', "return"], + ["shift", "z", "x", "c", "v", "b", "n", "m", "<", ">", "?", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + + // Alternate key vars. static let keysWithAlternates = ["a", "e", "i", "o", "u", "c", "n"] static let keysWithAlternatesLeft = ["a", "e", "c"] diff --git a/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift index 5585c0d7..3deaa918 100644 --- a/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Russian/RUInterfaceVariables.swift @@ -51,6 +51,25 @@ public enum RussianKeyboardConstants { ["selectKeyboard", "АБВ", "space", "АБВ", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["<", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "–", "+", "delete"], + ["indent", "й", "ц", "у", "к", "е", "н", "г", "ш", "щ", "з", "х", "ъ", "return"], + ["uppercase", "ф", "ы", "в", "а", "п", "р", "о", "л", "д", "ж", "э", "Ё" "return"], + ["shift", "[", "я", "ч", "с", "м", "и", "т", "ь", "б", "ю", "?", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + + // Alternate key vars. static let keysWithAlternates = ["е", "ь"] static let keysWithAlternatesLeft = ["е"] diff --git a/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift index 92ebbccc..7e62c87f 100644 --- a/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Spanish/ESInterfaceVariables.swift @@ -51,6 +51,25 @@ public enum SpanishKeyboardConstants { ["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "i", "delete"], + ["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "¨", "*", "return"], + ["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ñ", "[", "]" "return"], + ["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "–", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + + // Alternate key vars. static let keysWithAlternates = ["a", "e", "i", "o", "u", "s", "d", "c", "n"] static let keysWithAlternatesLeft = ["a", "e", "s", "d", "c"] diff --git a/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift b/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift index 78d9c9e0..521ab687 100644 --- a/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift +++ b/Keyboards/LanguageKeyboards/Swedish/SVInterfaceVariables.swift @@ -51,6 +51,24 @@ public enum SwedishKeyboardConstants { ["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow" ] + //added for expanded keyboard + static let letterKeysPadExpanded = [ + ["°", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "?", "'", "delete"], + ["indent", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "Å", "^", "return"], + ["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "Ö", "Ä", "return"], + ["shift", ">", "z", "x", "c", "v", "b", "n", "m", ";", ":", "–", "shift"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow" + ] + + //added for symbolKeysPadExpanded + static let symbolKeysPadExpanded = [ + ["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"], + ["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "~"], + ["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "return"], + ["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"], + ["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], + ] + // Alternate key vars. static let keysWithAlternates = ["a", "e", "i", "o", "u", "ä", "ö", "s", "c", "n"] static let keysWithAlternatesLeft = ["a", "e", "s", "c"]