mgrPrefs // Add options for 2ndary / Yale / Hualuo / Univ. pinyin.

This commit is contained in:
ShikiSuen 2022-05-18 15:37:05 +08:00
parent a6177fe0aa
commit e0ca2874da
1 changed files with 12 additions and 0 deletions

View File

@ -176,6 +176,10 @@ struct ComposingBufferSize {
case ofFakeSeigyou = 6
case ofDachen26 = 7
case ofHanyuPinyin = 10
case ofSecondaryPinyin = 11
case ofYalePinyin = 12
case ofHualuoPinyin = 13
case ofUniversalPinyin = 14
var name: String {
switch self {
@ -197,6 +201,14 @@ struct ComposingBufferSize {
return "Dachen26"
case .ofHanyuPinyin:
return "HanyuPinyin"
case .ofSecondaryPinyin:
return "SecondaryPinyin"
case .ofYalePinyin:
return "YalePinyin"
case .ofHualuoPinyin:
return "HualuoPinyin"
case .ofUniversalPinyin:
return "UniversalPinyin"
}
}
}