Export translation message IDs for shared presentation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
03896de84e
commit
8a61bfff04
11 files changed
+335
-19
No files matched your search
@@ -6,3 +6,21 @@ package internalui
|
||||
import "git.stormux.org/storm/screenreader-common/internalui/message"
|
||||
|
||||
type Messages = message.Messages
|
||||
|
||||
// Mark flags a message ID chosen before translation; see message.Mark.
|
||||
func Mark(id string) string { return message.Mark(id) }
|
||||
|
||||
// MessageIDs lists the toolkit's own English messages for translation
|
||||
// catalogs. Hosts add their form titles, labels and choices separately.
|
||||
func MessageIDs() []string {
|
||||
return []string{
|
||||
" (selected {0} characters)", "1 character", "Copy and cut are unavailable for password fields",
|
||||
"Deleted {0}", "End of text", "Hidden character", "Inserted {0}", "Invalid text", "No matches",
|
||||
"Only single-line text is accepted", "Search cleared", "Search {0}", "Selected all",
|
||||
"Text limit reached", "checked", "unavailable", "unchecked", "{0} button", "{0} characters",
|
||||
"{0} combo box {1}", "{0} entry {1}", "{0} grid. {1}", "{0} is required", "{0} tab",
|
||||
"{0}, button", "{0}, edit: {1}", "{0}, password edit, {1}", "{0}, password edit: {1}",
|
||||
"{0}, selected", "{0}. row {1}, column {2}", "{0}. row {1}, column {2}. {3} of {4}",
|
||||
"{0}. {1} of {2}", "{0}: {1}, {2} of {3}",
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user