Repo // Integrate Alvin Liu parser support.

This commit is contained in:
ShikiSuen 2023-05-23 20:05:16 +08:00
parent a1fd56b872
commit 8811613b10
7 changed files with 10 additions and 0 deletions

View File

@ -178,6 +178,7 @@ public enum KeyboardParser: Int, CaseIterable {
case ofETen26 = 3
case ofHsu = 2
case ofStarlight = 9
case ofAlvinLiu = 10
case ofHanyuPinyin = 100
case ofSecondaryPinyin = 101
case ofYalePinyin = 102
@ -198,6 +199,7 @@ public enum KeyboardParser: Int, CaseIterable {
case .ofETen26: return "Eten 26"
case .ofHsu: return "Hsu"
case .ofStarlight: return "Starlight"
case .ofAlvinLiu: return "Alvin Liu (Imitative)"
case .ofHanyuPinyin: return "Hanyu Pinyin with Numeral Intonation"
case .ofSecondaryPinyin: return "Secondary Pinyin with Numeral Intonation"
case .ofYalePinyin: return "Yale Pinyin with Numeral Intonation"
@ -231,6 +233,8 @@ public enum KeyboardParser: Int, CaseIterable {
return "Seigyou"
case .ofStarlight:
return "Starlight"
case .ofAlvinLiu:
return "AlvinLiu"
case .ofHanyuPinyin:
return "HanyuPinyin"
case .ofSecondaryPinyin:

View File

@ -460,6 +460,7 @@ public class InputHandler: InputHandlerProtocol {
case .ofFakeSeigyou: composer.ensureParser(arrange: .ofFakeSeigyou)
case .ofSeigyou: composer.ensureParser(arrange: .ofSeigyou)
case .ofStarlight: composer.ensureParser(arrange: .ofStarlight)
case .ofAlvinLiu: composer.ensureParser(arrange: .ofAlvinLiu)
case .ofHanyuPinyin: composer.ensureParser(arrange: .ofHanyuPinyin)
case .ofSecondaryPinyin: composer.ensureParser(arrange: .ofSecondaryPinyin)
case .ofYalePinyin: composer.ensureParser(arrange: .ofYalePinyin)

View File

@ -1,4 +1,5 @@
"vChewing" = "vChewing";
"Alvin Liu (Imitative)" = "Alvin Liu (Imitative)";
"Previous intonation has been overridden." = "Previous intonation has been overridden.";
"It will attempt to combine with the incoming phonabet input." = "It will attempt to combine with the incoming phonabet input.";
"Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer.";

View File

@ -1,4 +1,5 @@
"vChewing" = "vChewing";
"Alvin Liu (Imitative)" = "Alvin Liu (Imitative)";
"Previous intonation has been overridden." = "Previous intonation has been overridden.";
"It will attempt to combine with the incoming phonabet input." = "It will attempt to combine with the incoming phonabet input.";
"Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer.";

View File

@ -1,4 +1,5 @@
"vChewing" = "威注音入力アプリ";
"Alvin Liu (Imitative)" = "劉又銘擬音注音配列";
"Previous intonation has been overridden." = "後ろ側の漢字の音調を書き直しました。";
"It will attempt to combine with the incoming phonabet input." = "この音調は次の注音入力と組み合わす。";
"Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "音調記号。ENTER で送り出す。\nSPACE で入力緩衝列に挿入。";

View File

@ -1,4 +1,5 @@
"vChewing" = "威注音输入法";
"Alvin Liu (Imitative)" = "刘又铭拟音注音排列";
"Previous intonation has been overridden." = "已覆写游标身后的汉字的音调。";
"It will attempt to combine with the incoming phonabet input." = "该声调亦会尝试与接下来输入的注音相组合。";
"Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "声调符号。敲 Enter 以递交。\n敲空格键以插入组字区。";

View File

@ -1,4 +1,5 @@
"vChewing" = "威注音輸入法";
"Alvin Liu (Imitative)" = "劉又銘擬音注音排列";
"Previous intonation has been overridden." = "已覆寫游標身後的漢字的音調。";
"It will attempt to combine with the incoming phonabet input." = "該聲調亦會嘗試與接下來輸入的注音相組合。";
"Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "聲調符號。敲 Enter 以遞交。\n敲空格鍵以插入組字區。";