Skip to content

Commit

Permalink
#33 comment fixes and adding WIP entry to the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Apr 22, 2023
1 parent cceb80e commit c946a0e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Keyboards/KeyboardsBase/InterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,14 @@ func getENKeys() {
numberKeys = EnglishKeyboardConstants.numberKeysPad
symbolKeys = EnglishKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "1"]
// TODO: add "p" to rightKeyChar if has 4 rows
// TODO: add "p" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ func getFRAZERTYKeys() {
numberKeys = FrenchAZERTYKeyboardConstants.numberKeysPad
symbolKeys = FrenchAZERTYKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "a", "1", "@", "~"]
// TODO: add "p" to rightKeyChar if has 4 rows
// TODO: add "p" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func getFRQWERTYKeys() {
numberKeys = FrenchQWERTYKeyboardConstants.numberKeysPad
symbolKeys = FrenchQWERTYKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

Expand Down
4 changes: 2 additions & 2 deletions Keyboards/LanguageKeyboards/German/DEInterfaceVariables.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ func getDEKeys() {
numberKeys = GermanKeyboardConstants.numberKeysPad
symbolKeys = GermanKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "a", "1", "\"", "$"]
// TODO: add "ü" to rightKeyChar if has 4 rows
// TODO: add "ü" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ func getITKeys() {
numberKeys = ItalianKeyboardConstants.numberKeysPad
symbolKeys = ItalianKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "1"]
// TODO: add "p" to rightKeyChar if has 4 rows
// TODO: add "p" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ func getPTKeys() {
numberKeys = PortugueseKeyboardConstants.numberKeysPad
symbolKeys = PortugueseKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "1"]
// TODO: add "p" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
// TODO: add "p" to rightKeyChar if has 4 rows
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ func getRUKeys() {
numberKeys = RussianKeyboardConstants.numberKeysPad
symbolKeys = RussianKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["й", "ф", "1", "@", "$"]
// TODO: add "х" to rightKeyChar if the keyboard has 4 rows
rightKeyChars = []
// TODO: add "х" to rightKeyChar if has 4 rows
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ func getESKeys() {
numberKeys = SpanishKeyboardConstants.numberKeysPad
symbolKeys = SpanishKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "a", "1", "@", ""]
// TODO: add "p" to rightKeyChar if has 4 rows
rightKeyChars = [""]
// TODO: add "p" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ func getSVKeys() {
numberKeys = SwedishKeyboardConstants.numberKeysPad
symbolKeys = SwedishKeyboardConstants.symbolKeysPad

//if the ipad is too samll for numbers
// If the iPad is too small to have a numbers row.
letterKeys.removeFirst(1)
letterKeys[0].append("delete")

allKeys = Array(letterKeys.joined()) + Array(numberKeys.joined()) + Array(symbolKeys.joined())

leftKeyChars = ["q", "a", "1", "@", ""]
// TODO: add "å" to rightKeyChar if the keyboard has 4 rows.
rightKeyChars = []
// TODO: add "å" to rightKeyChar if has 4 rows
centralKeyChars = allKeys.filter { !leftKeyChars.contains($0) && !rightKeyChars.contains($0) }
}

Expand Down

0 comments on commit c946a0e

Please sign in to comment.