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

View File

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

View File

@ -1,4 +1,5 @@
"vChewing" = "vChewing"; "vChewing" = "vChewing";
"Alvin Liu (Imitative)" = "Alvin Liu (Imitative)";
"Previous intonation has been overridden." = "Previous intonation has been overridden."; "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."; "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."; "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"; "vChewing" = "vChewing";
"Alvin Liu (Imitative)" = "Alvin Liu (Imitative)";
"Previous intonation has been overridden." = "Previous intonation has been overridden."; "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."; "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."; "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)" = "劉又銘擬音注音配列";
"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." = "音調記号。ENTER で送り出す。\nSPACE で入力緩衝列に挿入。"; "Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "音調記号。ENTER で送り出す。\nSPACE で入力緩衝列に挿入。";

View File

@ -1,4 +1,5 @@
"vChewing" = "威注音输入法"; "vChewing" = "威注音输入法";
"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." = "声调符号。敲 Enter 以递交。\n敲空格键以插入组字区。"; "Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "声调符号。敲 Enter 以递交。\n敲空格键以插入组字区。";

View File

@ -1,4 +1,5 @@
"vChewing" = "威注音輸入法"; "vChewing" = "威注音輸入法";
"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." = "聲調符號。敲 Enter 以遞交。\n敲空格鍵以插入組字區。"; "Intonation mark. ENTER to commit.\nSPACE to insert into composition buffer." = "聲調符號。敲 Enter 以遞交。\n敲空格鍵以插入組字區。";