hex/ios/HEXWidgets/Localizable.xcstrings
Ryan Vogel caadb1e09c iOS: keep the privacy facts in the copy pass; translate the keyboard strip
Review on #2345: for Hex, "on this iPhone", "never leaves" and "not sent"
are facts people need at that moment, not reassurance.

Restored:
- Microphone prompt: "...Audio never leaves it and is deleted once it's
  transcribed." Speech Recognition prompt keeps "Nothing you say is sent to
  a server." (Info.plist, project.yml, zh-Hans InfoPlist.strings)
- Learn how I type and Record typing logs say "on this iPhone" again.
- Clean up what I say is back to "Drops ums, repeats and corrected words".
- "Allow Speech Recognition. It stays on this iPhone." and "...in Settings.
  It runs on this iPhone." back to the originals.
- On-device put back in the shortest form: Checking on-device speech
  recognition; the Parakeet memory fallback names Apple's on-device speech
  recognition; Adaptive touch learns "on this iPhone"; the Shortcut, Control
  Center and Live Activity descriptions say "on device" / "on-device" (not
  "iPhone": KeyboardBridgeTests forbids Apple platform names in intent
  strings).

Keyboard strip: Undo dictation, Paste, Paste dictation, Code from Messages
(and its VoiceOver hint), Undoes the autocorrection, the Full Access hint
(title, Settings path, spoken path, Open Hex, its hint) and the dictation
bar's Full Access path were plain strings, so Chinese users saw English.
They now go through String(localized:); the keyboard extension already
bundles HEXMobile/Localizable.xcstrings, so no wiring was needed. 10 new
catalog entries with zh-Hans, using the app's terms (粘贴听写, 完全访问).

Verified: the built HEXKeyboard.appex zh-Hans Localizable.strings carries the
new keys; zh screenshots show 撤销听写 in the strip and the translated path
in the dictation bar; scripts/code-shape.py has no hard problems;
xcodebuild test on a fresh iPhone 17 Pro sim: TEST SUCCEEDED.
2026-11-22 03:40:58 -05:00

109 lines
2.3 KiB
Text

{
"sourceLanguage" : "en",
"strings" : {
"Cancel" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "取消"
}
}
}
},
"Cancel dictation" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "取消听写"
}
}
}
},
"Copied" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "已拷贝"
}
}
}
},
"Dictate" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "听写"
}
}
}
},
"Dictate with Hex" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "用 Hex 听写"
}
}
}
},
"Discards the recording." : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "丢弃录音。"
}
}
}
},
"Done" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "完成"
}
}
}
},
"Finish dictation" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "完成听写"
}
}
}
},
"Hex" : {
"shouldTranslate" : false
},
"Starts or finishes on-device dictation and copies the text." : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "开始或结束设备端听写,并拷贝文字。"
}
}
}
},
"Stops recording, transcribes on device and copies the text." : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "停止录音,在设备端转录并拷贝文字。"
}
}
}
}
},
"version" : "1.0"
}