feat(keyboard): harden clipboard command and add What's New sheet
Stabilize clipboard long-press prepare/resume across paste alerts and cold start, add an in-app release-notes sheet with remote bilingual HTML, localize typing input settings, and bump build to 55.
This commit is contained in:
@@ -22,6 +22,7 @@ public enum TypingInputSchema: String, CaseIterable, Identifiable, Codable, Send
|
||||
}
|
||||
}
|
||||
|
||||
/// Stable Rime schema `name:` (not UI copy). Keep Chinese so redeploy fingerprints stay stable.
|
||||
public var displayName: String {
|
||||
switch self {
|
||||
case .fullPinyin: return "全拼"
|
||||
@@ -29,6 +30,15 @@ public enum TypingInputSchema: String, CaseIterable, Identifiable, Codable, Send
|
||||
case .sogouDoublePinyin: return "搜狗双拼"
|
||||
}
|
||||
}
|
||||
|
||||
/// Localizable UI label key (`AppL10n` / `SharedL10n`).
|
||||
public var labelKey: String {
|
||||
switch self {
|
||||
case .fullPinyin: return "typing.schema.fullPinyin"
|
||||
case .microsoftDoublePinyin: return "typing.schema.microsoftDoublePinyin"
|
||||
case .sogouDoublePinyin: return "typing.schema.sogouDoublePinyin"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public enum PinyinFuzzyPair: String, CaseIterable, Identifiable, Codable, Sendable {
|
||||
|
||||
Reference in New Issue
Block a user