KeyHandler // Tooltip for JIS / KangXi mode (not ready yet).

This commit is contained in:
ShikiSuen 2022-04-22 11:51:59 +08:00
parent 4ecba7e6ab
commit 75eb053165
1 changed files with 15 additions and 0 deletions

View File

@ -45,6 +45,21 @@ import Cocoa
//
var tooltip = ""
//
// TODO:
// if ctlInputMethod.currentKeyHandler.inputMode == InputMode.imeModeCHT {
// if mgrPrefs.chineseConversionEnabled && !mgrPrefs.shiftJISShinjitaiOutputEnabled {
// tooltip = String(
// format: "%@%@%@", NSLocalizedString("Force KangXi Writing", comment: ""), "\n",
// NSLocalizedString("NotificationSwitchON", comment: ""))
// } else if mgrPrefs.shiftJISShinjitaiOutputEnabled {
// tooltip = String(
// format: "%@%@%@", NSLocalizedString("JIS Shinjitai Output", comment: ""), "\n",
// NSLocalizedString("NotificationSwitchON", comment: ""))
// }
// }
// NSString Emoji
//
if resultOfRear != "" || resultOfFront != "" {