27 lines
1.2 KiB
Go
27 lines
1.2 KiB
Go
// Copyright (c) 2026 Storm Dragon
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
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}",
|
|
}
|
|
}
|