Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DE Keyboard Merge #346

Merged
merged 6 commits into from
Jul 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ public enum GermanKeyboardConstants {
["selectKeyboard", "ABC", "space", "ABC", "hideKeyboard"], // "undoArrow"
]

//added for expanded keyboard
static let letterKeysPadExpanded = [
["^", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "ß", "'", "delete"],
andrewtavis marked this conversation as resolved.
Show resolved Hide resolved
["indent", "q", "w", "e", "r", "t", "z", "u", "i", "o", "p", "ü", "+", "return"],
["uppercase", "a", "s", "d", "f", "g", "h", "j", "k", "l", "ö", "ä", "#", "return"],
["shift", "<", "y", "x", "c", "v", "b", "n", "m", ",", ".", "-", "shift"],
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"], // "undoArrow"
andrewtavis marked this conversation as resolved.
Show resolved Hide resolved
]

//added for symbolKeysPadExpanded
static let symbolKeysPadExpanded = [
["'", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "<", ">", "delete"],
andrewtavis marked this conversation as resolved.
Show resolved Hide resolved
["indent", "[", "]", "{", "}", "#", "%", "^", "*", "+", "=", "\"", "|", "return"],
["undo", "-", "/", ":", ";", "(", ")", "$", "&", "@", "£", "¥", "~", "return"],
["redo", " ", "...", ".", ",", "?", "!", "'", '"', "_", "€"],
andrewtavis marked this conversation as resolved.
Show resolved Hide resolved
["selectKeyboard", ".?123", "microphone", "space", ".?123", "scribble", "hideKeyboard"],
andrewtavis marked this conversation as resolved.
Show resolved Hide resolved
]

// Alternate key vars.
static let keysWithAlternates = ["a", "e", "i", "o", "u", "y", "s", "l", "z", "c", "n"]
static let keysWithAlternatesLeft = ["a", "e", "y", "s", "z", "c"]
Expand Down Expand Up @@ -160,4 +178,4 @@ func setDEKeyboardLayout() {
pluralPromptAndColorPlaceholder = NSMutableAttributedString(string: pluralPromptAndPlaceholder)
pluralPromptAndColorPlaceholder.setColorForText(textForAttribute: pluralPlaceholder, withColor: UIColor(cgColor: commandBarBorderColor))
alreadyPluralMsg = "Schon Plural"
}
}