Switch from Asuka to MyGo, keeping the API client and the feature set: - servers: saved servers, passwordless and password login, proxy, self-signed certificates, per-server device tokens (Keystore), connect form, instance list sheet with switch/disconnect - sessions: virtualized list, search, new session, rename/archive/delete, running indicator, event stream keeps it live - chat: pushed window with system back bar, streaming Markdown via ui/markdown, reasoning and tool rows with image previews, footer menu (read aloud via a Kotlin TTS plugin, copy, fork), user message menu (copy, revert, fork), context usage ring and detail sheet, attachments (photos/files via the document picker), permissions - release builds allow plain http:// LAN servers (Go's net/http dials directly, no cleartext manifest needed) - a local fork of MyGo (third_party/mygo) lowers the Android host's minSdk to 24 (Android 7.0); Go 1.27.4 via mise Version 0.3.0.
3100 lines
98 KiB
Go
3100 lines
98 KiB
Go
// Code generated by mygo generate from the catalogs in this directory. DO NOT EDIT.
|
||
|
||
package l10n
|
||
|
||
import (
|
||
"embed"
|
||
"io/fs"
|
||
|
||
"github.com/egoist/mygo/i18n"
|
||
"github.com/egoist/mygo/internal/i18nlink"
|
||
)
|
||
|
||
// messages holds messages/en.json, the messages of en without their
|
||
// descriptions, which go generate writes for the catalog: every app carries
|
||
// it.
|
||
//
|
||
//go:embed messages/*.json
|
||
var messages embed.FS
|
||
|
||
// Catalog holds the messages in en, the source language, and those of the
|
||
// translations added to it (Catalog.Add). Apps change them, or translate
|
||
// them, with keys "mygo.<key>" in their catalogs.
|
||
var Catalog *i18n.Catalog
|
||
|
||
func init() {
|
||
files, err := fs.Sub(messages, "messages")
|
||
if err != nil {
|
||
panic(err)
|
||
}
|
||
c, err := i18nlink.NewLibraryCatalog(files, "en", "mygo")
|
||
if err != nil {
|
||
panic(err)
|
||
}
|
||
Catalog = c.(*i18n.Catalog)
|
||
}
|
||
|
||
// Messages say the messages in one language.
|
||
type Messages struct{ locale string }
|
||
|
||
// In returns the messages in the language of locale, as "de" or
|
||
// "zh-Hant", or of the catalog's language that suits it best, "" for the
|
||
// source language.
|
||
func In(locale string) Messages { return Messages{locale} }
|
||
|
||
// PreviousMonth says "Previous month"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a calendar that shows the previous month.
|
||
func PreviousMonth() string { return In(i18n.Locale()).PreviousMonth() }
|
||
|
||
// PreviousMonth says "Previous month"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a calendar that shows the previous month.
|
||
func (msgs Messages) PreviousMonth() string {
|
||
return Catalog.Format(msgs.locale, "previousMonth", nil)
|
||
}
|
||
|
||
// NextMonth says "Next month"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a calendar that shows the next month.
|
||
func NextMonth() string { return In(i18n.Locale()).NextMonth() }
|
||
|
||
// NextMonth says "Next month"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a calendar that shows the next month.
|
||
func (msgs Messages) NextMonth() string {
|
||
return Catalog.Format(msgs.locale, "nextMonth", nil)
|
||
}
|
||
|
||
// Undo says "Undo"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func Undo() string { return In(i18n.Locale()).Undo() }
|
||
|
||
// Undo says "Undo"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) Undo() string {
|
||
return Catalog.Format(msgs.locale, "undo", nil)
|
||
}
|
||
|
||
// Cut says "Cut"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func Cut() string { return In(i18n.Locale()).Cut() }
|
||
|
||
// Cut says "Cut"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) Cut() string {
|
||
return Catalog.Format(msgs.locale, "cut", nil)
|
||
}
|
||
|
||
// Copy says "Copy"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func Copy() string { return In(i18n.Locale()).Copy() }
|
||
|
||
// Copy says "Copy"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) Copy() string {
|
||
return Catalog.Format(msgs.locale, "copy", nil)
|
||
}
|
||
|
||
// Paste says "Paste"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func Paste() string { return In(i18n.Locale()).Paste() }
|
||
|
||
// Paste says "Paste"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) Paste() string {
|
||
return Catalog.Format(msgs.locale, "paste", nil)
|
||
}
|
||
|
||
// Delete says "Delete"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func Delete() string { return In(i18n.Locale()).Delete() }
|
||
|
||
// Delete says "Delete"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) Delete() string {
|
||
return Catalog.Format(msgs.locale, "delete", nil)
|
||
}
|
||
|
||
// SelectAll says "Select All"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func SelectAll() string { return In(i18n.Locale()).SelectAll() }
|
||
|
||
// SelectAll says "Select All"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a text field.
|
||
func (msgs Messages) SelectAll() string {
|
||
return Catalog.Format(msgs.locale, "selectAll", nil)
|
||
}
|
||
|
||
// Find says "Find"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the bar that searches text, and is what its empty field shows.
|
||
func Find() string { return In(i18n.Locale()).Find() }
|
||
|
||
// Find says "Find"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the bar that searches text, and is what its empty field shows.
|
||
func (msgs Messages) Find() string {
|
||
return Catalog.Format(msgs.locale, "find", nil)
|
||
}
|
||
|
||
// Search says "Search"
|
||
// in the language the app shows.
|
||
//
|
||
// What an empty search field shows.
|
||
func Search() string { return In(i18n.Locale()).Search() }
|
||
|
||
// Search says "Search"
|
||
// in the language of msgs.
|
||
//
|
||
// What an empty search field shows.
|
||
func (msgs Messages) Search() string {
|
||
return Catalog.Format(msgs.locale, "search", nil)
|
||
}
|
||
|
||
// Clear says "Clear"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button that clears a search field.
|
||
func Clear() string { return In(i18n.Locale()).Clear() }
|
||
|
||
// Clear says "Clear"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button that clears a search field.
|
||
func (msgs Messages) Clear() string {
|
||
return Catalog.Format(msgs.locale, "clear", nil)
|
||
}
|
||
|
||
// RemoveToken says "Remove {token}"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button that removes a token of a token field, as in "Remove
|
||
// Ada".
|
||
func RemoveToken(token string) string { return In(i18n.Locale()).RemoveToken(token) }
|
||
|
||
// RemoveToken says "Remove {token}"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button that removes a token of a token field, as in "Remove
|
||
// Ada".
|
||
func (msgs Messages) RemoveToken(token string) string {
|
||
return Catalog.Format(msgs.locale, "removeToken", map[string]any{"token": token})
|
||
}
|
||
|
||
// Saturation says "Saturation and brightness"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the area of a color picker that sets the saturation and the
|
||
// brightness.
|
||
func Saturation() string { return In(i18n.Locale()).Saturation() }
|
||
|
||
// Saturation says "Saturation and brightness"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the area of a color picker that sets the saturation and the
|
||
// brightness.
|
||
func (msgs Messages) Saturation() string {
|
||
return Catalog.Format(msgs.locale, "saturation", nil)
|
||
}
|
||
|
||
// Hex says "Hex"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the field of a color picker that holds the color as hexadecimal.
|
||
func Hex() string { return In(i18n.Locale()).Hex() }
|
||
|
||
// Hex says "Hex"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the field of a color picker that holds the color as hexadecimal.
|
||
func (msgs Messages) Hex() string {
|
||
return Catalog.Format(msgs.locale, "hex", nil)
|
||
}
|
||
|
||
// Divider says "Divider"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the line between the panes of a split view.
|
||
func Divider() string { return In(i18n.Locale()).Divider() }
|
||
|
||
// Divider says "Divider"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the line between the panes of a split view.
|
||
func (msgs Messages) Divider() string {
|
||
return Catalog.Format(msgs.locale, "divider", nil)
|
||
}
|
||
|
||
// DeveloperTools says "Developer tools"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the inspector of native UI.
|
||
func DeveloperTools() string { return In(i18n.Locale()).DeveloperTools() }
|
||
|
||
// DeveloperTools says "Developer tools"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the inspector of native UI.
|
||
func (msgs Messages) DeveloperTools() string {
|
||
return Catalog.Format(msgs.locale, "developerTools", nil)
|
||
}
|
||
|
||
// Elements says "Elements"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the inspector's list of the elements of the window.
|
||
func Elements() string { return In(i18n.Locale()).Elements() }
|
||
|
||
// Elements says "Elements"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the inspector's list of the elements of the window.
|
||
func (msgs Messages) Elements() string {
|
||
return Catalog.Format(msgs.locale, "elements", nil)
|
||
}
|
||
|
||
// More says "More"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a toolbar that opens what the toolbar hides.
|
||
func More() string { return In(i18n.Locale()).More() }
|
||
|
||
// More says "More"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a toolbar that opens what the toolbar hides.
|
||
func (msgs Messages) More() string {
|
||
return Catalog.Format(msgs.locale, "more", nil)
|
||
}
|
||
|
||
// MoreOptions says "More options"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the arrow of a split button, which opens a menu of actions related
|
||
// to the button's.
|
||
func MoreOptions() string { return In(i18n.Locale()).MoreOptions() }
|
||
|
||
// MoreOptions says "More options"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the arrow of a split button, which opens a menu of actions related
|
||
// to the button's.
|
||
func (msgs Messages) MoreOptions() string {
|
||
return Catalog.Format(msgs.locale, "moreOptions", nil)
|
||
}
|
||
|
||
// CodeEditor says "Code editor"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the code editor to assistive technology when the app gives it no
|
||
// label.
|
||
func CodeEditor() string { return In(i18n.Locale()).CodeEditor() }
|
||
|
||
// CodeEditor says "Code editor"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the code editor to assistive technology when the app gives it no
|
||
// label.
|
||
func (msgs Messages) CodeEditor() string {
|
||
return Catalog.Format(msgs.locale, "codeEditor", nil)
|
||
}
|
||
|
||
// GoToDefinition says "Go to Definition"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's menu.
|
||
func GoToDefinition() string { return In(i18n.Locale()).GoToDefinition() }
|
||
|
||
// GoToDefinition says "Go to Definition"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's menu.
|
||
func (msgs Messages) GoToDefinition() string {
|
||
return Catalog.Format(msgs.locale, "goToDefinition", nil)
|
||
}
|
||
|
||
// ToggleComment says "Toggle Comment"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's menu, which comments out the selection or
|
||
// its lines.
|
||
func ToggleComment() string { return In(i18n.Locale()).ToggleComment() }
|
||
|
||
// ToggleComment says "Toggle Comment"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's menu, which comments out the selection or
|
||
// its lines.
|
||
func (msgs Messages) ToggleComment() string {
|
||
return Catalog.Format(msgs.locale, "toggleComment", nil)
|
||
}
|
||
|
||
// Selection says "Selection"
|
||
// in the language the app shows.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func Selection() string { return In(i18n.Locale()).Selection() }
|
||
|
||
// Selection says "Selection"
|
||
// in the language of msgs.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func (msgs Messages) Selection() string {
|
||
return Catalog.Format(msgs.locale, "selection", nil)
|
||
}
|
||
|
||
// Transform says "Transform"
|
||
// in the language the app shows.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func Transform() string { return In(i18n.Locale()).Transform() }
|
||
|
||
// Transform says "Transform"
|
||
// in the language of msgs.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func (msgs Messages) Transform() string {
|
||
return Catalog.Format(msgs.locale, "transform", nil)
|
||
}
|
||
|
||
// Folding says "Folding"
|
||
// in the language the app shows.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func Folding() string { return In(i18n.Locale()).Folding() }
|
||
|
||
// Folding says "Folding"
|
||
// in the language of msgs.
|
||
//
|
||
// A submenu of the code editor's menu.
|
||
func (msgs Messages) Folding() string {
|
||
return Catalog.Format(msgs.locale, "folding", nil)
|
||
}
|
||
|
||
// SelectNextOccurrence says "Select Next Occurrence"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func SelectNextOccurrence() string { return In(i18n.Locale()).SelectNextOccurrence() }
|
||
|
||
// SelectNextOccurrence says "Select Next Occurrence"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func (msgs Messages) SelectNextOccurrence() string {
|
||
return Catalog.Format(msgs.locale, "selectNextOccurrence", nil)
|
||
}
|
||
|
||
// SelectAllOccurrences says "Select All Occurrences"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func SelectAllOccurrences() string { return In(i18n.Locale()).SelectAllOccurrences() }
|
||
|
||
// SelectAllOccurrences says "Select All Occurrences"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func (msgs Messages) SelectAllOccurrences() string {
|
||
return Catalog.Format(msgs.locale, "selectAllOccurrences", nil)
|
||
}
|
||
|
||
// ExpandSelection says "Expand Selection"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func ExpandSelection() string { return In(i18n.Locale()).ExpandSelection() }
|
||
|
||
// ExpandSelection says "Expand Selection"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Selection menu.
|
||
func (msgs Messages) ExpandSelection() string {
|
||
return Catalog.Format(msgs.locale, "expandSelection", nil)
|
||
}
|
||
|
||
// SplitIntoLines says "Split into Lines"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Selection menu, which splits a selection of
|
||
// several lines into one selection a line.
|
||
func SplitIntoLines() string { return In(i18n.Locale()).SplitIntoLines() }
|
||
|
||
// SplitIntoLines says "Split into Lines"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Selection menu, which splits a selection of
|
||
// several lines into one selection a line.
|
||
func (msgs Messages) SplitIntoLines() string {
|
||
return Catalog.Format(msgs.locale, "splitIntoLines", nil)
|
||
}
|
||
|
||
// UpperCase says "Upper Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func UpperCase() string { return In(i18n.Locale()).UpperCase() }
|
||
|
||
// UpperCase says "Upper Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) UpperCase() string {
|
||
return Catalog.Format(msgs.locale, "upperCase", nil)
|
||
}
|
||
|
||
// LowerCase says "Lower Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func LowerCase() string { return In(i18n.Locale()).LowerCase() }
|
||
|
||
// LowerCase says "Lower Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) LowerCase() string {
|
||
return Catalog.Format(msgs.locale, "lowerCase", nil)
|
||
}
|
||
|
||
// TitleCase says "Title Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func TitleCase() string { return In(i18n.Locale()).TitleCase() }
|
||
|
||
// TitleCase says "Title Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) TitleCase() string {
|
||
return Catalog.Format(msgs.locale, "titleCase", nil)
|
||
}
|
||
|
||
// SnakeCase says "Snake Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func SnakeCase() string { return In(i18n.Locale()).SnakeCase() }
|
||
|
||
// SnakeCase says "Snake Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) SnakeCase() string {
|
||
return Catalog.Format(msgs.locale, "snakeCase", nil)
|
||
}
|
||
|
||
// KebabCase says "Kebab Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func KebabCase() string { return In(i18n.Locale()).KebabCase() }
|
||
|
||
// KebabCase says "Kebab Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) KebabCase() string {
|
||
return Catalog.Format(msgs.locale, "kebabCase", nil)
|
||
}
|
||
|
||
// CamelCase says "Camel Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func CamelCase() string { return In(i18n.Locale()).CamelCase() }
|
||
|
||
// CamelCase says "Camel Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) CamelCase() string {
|
||
return Catalog.Format(msgs.locale, "camelCase", nil)
|
||
}
|
||
|
||
// PascalCase says "Pascal Case"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func PascalCase() string { return In(i18n.Locale()).PascalCase() }
|
||
|
||
// PascalCase says "Pascal Case"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) PascalCase() string {
|
||
return Catalog.Format(msgs.locale, "pascalCase", nil)
|
||
}
|
||
|
||
// SortLines says "Sort Lines"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func SortLines() string { return In(i18n.Locale()).SortLines() }
|
||
|
||
// SortLines says "Sort Lines"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) SortLines() string {
|
||
return Catalog.Format(msgs.locale, "sortLines", nil)
|
||
}
|
||
|
||
// ReverseLines says "Reverse Lines"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func ReverseLines() string { return In(i18n.Locale()).ReverseLines() }
|
||
|
||
// ReverseLines says "Reverse Lines"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) ReverseLines() string {
|
||
return Catalog.Format(msgs.locale, "reverseLines", nil)
|
||
}
|
||
|
||
// UniqueLines says "Unique Lines"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu, which removes repeated
|
||
// lines.
|
||
func UniqueLines() string { return In(i18n.Locale()).UniqueLines() }
|
||
|
||
// UniqueLines says "Unique Lines"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu, which removes repeated
|
||
// lines.
|
||
func (msgs Messages) UniqueLines() string {
|
||
return Catalog.Format(msgs.locale, "uniqueLines", nil)
|
||
}
|
||
|
||
// JoinLines says "Join Lines"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func JoinLines() string { return In(i18n.Locale()).JoinLines() }
|
||
|
||
// JoinLines says "Join Lines"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) JoinLines() string {
|
||
return Catalog.Format(msgs.locale, "joinLines", nil)
|
||
}
|
||
|
||
// TrimTrailingWhitespace says "Trim Trailing Whitespace"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func TrimTrailingWhitespace() string { return In(i18n.Locale()).TrimTrailingWhitespace() }
|
||
|
||
// TrimTrailingWhitespace says "Trim Trailing Whitespace"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Transform menu.
|
||
func (msgs Messages) TrimTrailingWhitespace() string {
|
||
return Catalog.Format(msgs.locale, "trimTrailingWhitespace", nil)
|
||
}
|
||
|
||
// Fold says "Fold"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func Fold() string { return In(i18n.Locale()).Fold() }
|
||
|
||
// Fold says "Fold"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func (msgs Messages) Fold() string {
|
||
return Catalog.Format(msgs.locale, "fold", nil)
|
||
}
|
||
|
||
// Unfold says "Unfold"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func Unfold() string { return In(i18n.Locale()).Unfold() }
|
||
|
||
// Unfold says "Unfold"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func (msgs Messages) Unfold() string {
|
||
return Catalog.Format(msgs.locale, "unfold", nil)
|
||
}
|
||
|
||
// FoldAll says "Fold All"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func FoldAll() string { return In(i18n.Locale()).FoldAll() }
|
||
|
||
// FoldAll says "Fold All"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func (msgs Messages) FoldAll() string {
|
||
return Catalog.Format(msgs.locale, "foldAll", nil)
|
||
}
|
||
|
||
// UnfoldAll says "Unfold All"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func UnfoldAll() string { return In(i18n.Locale()).UnfoldAll() }
|
||
|
||
// UnfoldAll says "Unfold All"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the code editor's Folding menu.
|
||
func (msgs Messages) UnfoldAll() string {
|
||
return Catalog.Format(msgs.locale, "unfoldAll", nil)
|
||
}
|
||
|
||
// ExpandUp says "Expand up"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a diff viewer that shows the unchanged lines above a
|
||
// change.
|
||
func ExpandUp() string { return In(i18n.Locale()).ExpandUp() }
|
||
|
||
// ExpandUp says "Expand up"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a diff viewer that shows the unchanged lines above a
|
||
// change.
|
||
func (msgs Messages) ExpandUp() string {
|
||
return Catalog.Format(msgs.locale, "expandUp", nil)
|
||
}
|
||
|
||
// ExpandDown says "Expand down"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a diff viewer that shows the unchanged lines below a
|
||
// change.
|
||
func ExpandDown() string { return In(i18n.Locale()).ExpandDown() }
|
||
|
||
// ExpandDown says "Expand down"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a diff viewer that shows the unchanged lines below a
|
||
// change.
|
||
func (msgs Messages) ExpandDown() string {
|
||
return Catalog.Format(msgs.locale, "expandDown", nil)
|
||
}
|
||
|
||
// ExpandAll says "Expand all"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a diff viewer that shows all the unchanged lines.
|
||
func ExpandAll() string { return In(i18n.Locale()).ExpandAll() }
|
||
|
||
// ExpandAll says "Expand all"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a diff viewer that shows all the unchanged lines.
|
||
func (msgs Messages) ExpandAll() string {
|
||
return Catalog.Format(msgs.locale, "expandAll", nil)
|
||
}
|
||
|
||
// Expand says "Expand {what}"
|
||
// in the language the app shows.
|
||
//
|
||
// What assistive technology calls a button of a diff viewer that shows
|
||
// unchanged lines, as in "Expand 4 unmodified lines".
|
||
func Expand(what string) string { return In(i18n.Locale()).Expand(what) }
|
||
|
||
// Expand says "Expand {what}"
|
||
// in the language of msgs.
|
||
//
|
||
// What assistive technology calls a button of a diff viewer that shows
|
||
// unchanged lines, as in "Expand 4 unmodified lines".
|
||
func (msgs Messages) Expand(what string) string {
|
||
return Catalog.Format(msgs.locale, "expand", map[string]any{"what": what})
|
||
}
|
||
|
||
// UnmodifiedLines says "{n, plural, one {# unmodified line} other {# unmodified lines}}"
|
||
// in the language the app shows.
|
||
//
|
||
// The unchanged lines a separator of a diff viewer collapses.
|
||
func UnmodifiedLines(n int) string { return In(i18n.Locale()).UnmodifiedLines(n) }
|
||
|
||
// UnmodifiedLines says "{n, plural, one {# unmodified line} other {# unmodified lines}}"
|
||
// in the language of msgs.
|
||
//
|
||
// The unchanged lines a separator of a diff viewer collapses.
|
||
func (msgs Messages) UnmodifiedLines(n int) string {
|
||
return Catalog.Format(msgs.locale, "unmodifiedLines", map[string]any{"n": n})
|
||
}
|
||
|
||
// UnmodifiedLineNumbers says "Lines {from, number, ::group-off} to {to, number, ::group-off}"
|
||
// in the language the app shows.
|
||
//
|
||
// Which lines a separator of a diff viewer collapses, as assistive
|
||
// technology reads it after "12 unmodified lines", when they have the same
|
||
// numbers in the old and the new text.
|
||
func UnmodifiedLineNumbers(from int, to int) string {
|
||
return In(i18n.Locale()).UnmodifiedLineNumbers(from, to)
|
||
}
|
||
|
||
// UnmodifiedLineNumbers says "Lines {from, number, ::group-off} to {to, number, ::group-off}"
|
||
// in the language of msgs.
|
||
//
|
||
// Which lines a separator of a diff viewer collapses, as assistive
|
||
// technology reads it after "12 unmodified lines", when they have the same
|
||
// numbers in the old and the new text.
|
||
func (msgs Messages) UnmodifiedLineNumbers(from int, to int) string {
|
||
return Catalog.Format(msgs.locale, "unmodifiedLineNumbers", map[string]any{"from": from, "to": to})
|
||
}
|
||
|
||
// UnmodifiedLineNumbersOldNew says "Old lines {oldFrom, number, ::group-off} to {oldTo, number, ::group-off}, new lines {newFrom, number, ::group-off} to…"
|
||
// in the language the app shows.
|
||
//
|
||
// Which lines a separator of a diff viewer collapses, as assistive
|
||
// technology reads it after "12 unmodified lines", when their numbers
|
||
// differ in the old and the new text.
|
||
func UnmodifiedLineNumbersOldNew(oldFrom int, oldTo int, newFrom int, newTo int) string {
|
||
return In(i18n.Locale()).UnmodifiedLineNumbersOldNew(oldFrom, oldTo, newFrom, newTo)
|
||
}
|
||
|
||
// UnmodifiedLineNumbersOldNew says "Old lines {oldFrom, number, ::group-off} to {oldTo, number, ::group-off}, new lines {newFrom, number, ::group-off} to…"
|
||
// in the language of msgs.
|
||
//
|
||
// Which lines a separator of a diff viewer collapses, as assistive
|
||
// technology reads it after "12 unmodified lines", when their numbers
|
||
// differ in the old and the new text.
|
||
func (msgs Messages) UnmodifiedLineNumbersOldNew(oldFrom int, oldTo int, newFrom int, newTo int) string {
|
||
return Catalog.Format(msgs.locale, "unmodifiedLineNumbersOldNew", map[string]any{"oldFrom": oldFrom, "oldTo": oldTo, "newFrom": newFrom, "newTo": newTo})
|
||
}
|
||
|
||
// NoNewlineAtEnd says "No newline at end of file"
|
||
// in the language the app shows.
|
||
//
|
||
// Marks the last line of a text in a diff viewer when the text does not end
|
||
// with a newline, as git diff's "\ No newline at end of file" line.
|
||
func NoNewlineAtEnd() string { return In(i18n.Locale()).NoNewlineAtEnd() }
|
||
|
||
// NoNewlineAtEnd says "No newline at end of file"
|
||
// in the language of msgs.
|
||
//
|
||
// Marks the last line of a text in a diff viewer when the text does not end
|
||
// with a newline, as git diff's "\ No newline at end of file" line.
|
||
func (msgs Messages) NoNewlineAtEnd() string {
|
||
return Catalog.Format(msgs.locale, "noNewlineAtEnd", nil)
|
||
}
|
||
|
||
// Revert says "Revert"
|
||
// in the language the app shows.
|
||
//
|
||
// An action of a diff viewer on a change.
|
||
func Revert() string { return In(i18n.Locale()).Revert() }
|
||
|
||
// Revert says "Revert"
|
||
// in the language of msgs.
|
||
//
|
||
// An action of a diff viewer on a change.
|
||
func (msgs Messages) Revert() string {
|
||
return Catalog.Format(msgs.locale, "revert", nil)
|
||
}
|
||
|
||
// Keep says "Keep"
|
||
// in the language the app shows.
|
||
//
|
||
// An action of a diff viewer on a change.
|
||
func Keep() string { return In(i18n.Locale()).Keep() }
|
||
|
||
// Keep says "Keep"
|
||
// in the language of msgs.
|
||
//
|
||
// An action of a diff viewer on a change.
|
||
func (msgs Messages) Keep() string {
|
||
return Catalog.Format(msgs.locale, "keep", nil)
|
||
}
|
||
|
||
// HunkAction says "{action} change"
|
||
// in the language the app shows.
|
||
//
|
||
// What assistive technology calls a button that takes an action on a
|
||
// change, as in "Revert change".
|
||
func HunkAction(action string) string { return In(i18n.Locale()).HunkAction(action) }
|
||
|
||
// HunkAction says "{action} change"
|
||
// in the language of msgs.
|
||
//
|
||
// What assistive technology calls a button that takes an action on a
|
||
// change, as in "Revert change".
|
||
func (msgs Messages) HunkAction(action string) string {
|
||
return Catalog.Format(msgs.locale, "hunkAction", map[string]any{"action": action})
|
||
}
|
||
|
||
// Line says "Line {n, number, ::group-off}"
|
||
// in the language the app shows.
|
||
//
|
||
// A line of a diff viewer, as assistive technology reads it: the line a
|
||
// gutter button adds a line at, and the number of each line it shows.
|
||
func Line(n int) string { return In(i18n.Locale()).Line(n) }
|
||
|
||
// Line says "Line {n, number, ::group-off}"
|
||
// in the language of msgs.
|
||
//
|
||
// A line of a diff viewer, as assistive technology reads it: the line a
|
||
// gutter button adds a line at, and the number of each line it shows.
|
||
func (msgs Messages) Line(n int) string {
|
||
return Catalog.Format(msgs.locale, "line", map[string]any{"n": n})
|
||
}
|
||
|
||
// OldLine says "Old line {n, number, ::group-off}"
|
||
// in the language the app shows.
|
||
//
|
||
// A deleted line a unified diff viewer shows among the new text's, as
|
||
// assistive technology reads its number, which is the old text's.
|
||
func OldLine(n int) string { return In(i18n.Locale()).OldLine(n) }
|
||
|
||
// OldLine says "Old line {n, number, ::group-off}"
|
||
// in the language of msgs.
|
||
//
|
||
// A deleted line a unified diff viewer shows among the new text's, as
|
||
// assistive technology reads its number, which is the old text's.
|
||
func (msgs Messages) OldLine(n int) string {
|
||
return Catalog.Format(msgs.locale, "oldLine", map[string]any{"n": n})
|
||
}
|
||
|
||
// NewText says "New text"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the side of a diff viewer with the text as it is.
|
||
func NewText() string { return In(i18n.Locale()).NewText() }
|
||
|
||
// NewText says "New text"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the side of a diff viewer with the text as it is.
|
||
func (msgs Messages) NewText() string {
|
||
return Catalog.Format(msgs.locale, "newText", nil)
|
||
}
|
||
|
||
// OldText says "Old text"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the side of a diff viewer with the text as it was.
|
||
func OldText() string { return In(i18n.Locale()).OldText() }
|
||
|
||
// OldText says "Old text"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the side of a diff viewer with the text as it was.
|
||
func (msgs Messages) OldText() string {
|
||
return Catalog.Format(msgs.locale, "oldText", nil)
|
||
}
|
||
|
||
// Invalid says "Invalid"
|
||
// in the language the app shows.
|
||
//
|
||
// What a find bar says of a query that is not a valid regular expression.
|
||
func Invalid() string { return In(i18n.Locale()).Invalid() }
|
||
|
||
// Invalid says "Invalid"
|
||
// in the language of msgs.
|
||
//
|
||
// What a find bar says of a query that is not a valid regular expression.
|
||
func (msgs Messages) Invalid() string {
|
||
return Catalog.Format(msgs.locale, "invalid", nil)
|
||
}
|
||
|
||
// NoResults says "No results"
|
||
// in the language the app shows.
|
||
//
|
||
// What a find bar says of a query that matches nothing.
|
||
func NoResults() string { return In(i18n.Locale()).NoResults() }
|
||
|
||
// NoResults says "No results"
|
||
// in the language of msgs.
|
||
//
|
||
// What a find bar says of a query that matches nothing.
|
||
func (msgs Messages) NoResults() string {
|
||
return Catalog.Format(msgs.locale, "noResults", nil)
|
||
}
|
||
|
||
// Matches says "{current} of {total}"
|
||
// in the language the app shows.
|
||
//
|
||
// Which of the matches a find bar is at, as "3 of 12".
|
||
func Matches(current int, total int) string { return In(i18n.Locale()).Matches(current, total) }
|
||
|
||
// Matches says "{current} of {total}"
|
||
// in the language of msgs.
|
||
//
|
||
// Which of the matches a find bar is at, as "3 of 12".
|
||
func (msgs Messages) Matches(current int, total int) string {
|
||
return Catalog.Format(msgs.locale, "matches", map[string]any{"current": current, "total": total})
|
||
}
|
||
|
||
// MatchesMore says "{current} of {total}+"
|
||
// in the language the app shows.
|
||
//
|
||
// Which of the matches a find bar is at, when it stopped counting them, as
|
||
// "3 of 1000+".
|
||
func MatchesMore(current int, total int) string { return In(i18n.Locale()).MatchesMore(current, total) }
|
||
|
||
// MatchesMore says "{current} of {total}+"
|
||
// in the language of msgs.
|
||
//
|
||
// Which of the matches a find bar is at, when it stopped counting them, as
|
||
// "3 of 1000+".
|
||
func (msgs Messages) MatchesMore(current int, total int) string {
|
||
return Catalog.Format(msgs.locale, "matchesMore", map[string]any{"current": current, "total": total})
|
||
}
|
||
|
||
// MatchCase says "Match case"
|
||
// in the language the app shows.
|
||
//
|
||
// An option of a find bar.
|
||
func MatchCase() string { return In(i18n.Locale()).MatchCase() }
|
||
|
||
// MatchCase says "Match case"
|
||
// in the language of msgs.
|
||
//
|
||
// An option of a find bar.
|
||
func (msgs Messages) MatchCase() string {
|
||
return Catalog.Format(msgs.locale, "matchCase", nil)
|
||
}
|
||
|
||
// MatchWholeWord says "Match whole word"
|
||
// in the language the app shows.
|
||
//
|
||
// An option of a find bar.
|
||
func MatchWholeWord() string { return In(i18n.Locale()).MatchWholeWord() }
|
||
|
||
// MatchWholeWord says "Match whole word"
|
||
// in the language of msgs.
|
||
//
|
||
// An option of a find bar.
|
||
func (msgs Messages) MatchWholeWord() string {
|
||
return Catalog.Format(msgs.locale, "matchWholeWord", nil)
|
||
}
|
||
|
||
// UseRegularExpression says "Use regular expression"
|
||
// in the language the app shows.
|
||
//
|
||
// An option of a find bar.
|
||
func UseRegularExpression() string { return In(i18n.Locale()).UseRegularExpression() }
|
||
|
||
// UseRegularExpression says "Use regular expression"
|
||
// in the language of msgs.
|
||
//
|
||
// An option of a find bar.
|
||
func (msgs Messages) UseRegularExpression() string {
|
||
return Catalog.Format(msgs.locale, "useRegularExpression", nil)
|
||
}
|
||
|
||
// FindInSelection says "Find in selection"
|
||
// in the language the app shows.
|
||
//
|
||
// An option of a find bar.
|
||
func FindInSelection() string { return In(i18n.Locale()).FindInSelection() }
|
||
|
||
// FindInSelection says "Find in selection"
|
||
// in the language of msgs.
|
||
//
|
||
// An option of a find bar.
|
||
func (msgs Messages) FindInSelection() string {
|
||
return Catalog.Format(msgs.locale, "findInSelection", nil)
|
||
}
|
||
|
||
// PreviousMatch says "Previous match"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that goes to the previous match.
|
||
func PreviousMatch() string { return In(i18n.Locale()).PreviousMatch() }
|
||
|
||
// PreviousMatch says "Previous match"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that goes to the previous match.
|
||
func (msgs Messages) PreviousMatch() string {
|
||
return Catalog.Format(msgs.locale, "previousMatch", nil)
|
||
}
|
||
|
||
// NextMatch says "Next match"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that goes to the next match.
|
||
func NextMatch() string { return In(i18n.Locale()).NextMatch() }
|
||
|
||
// NextMatch says "Next match"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that goes to the next match.
|
||
func (msgs Messages) NextMatch() string {
|
||
return Catalog.Format(msgs.locale, "nextMatch", nil)
|
||
}
|
||
|
||
// Replace says "Replace"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that replaces the match it is at, and is
|
||
// what the empty replacement field shows.
|
||
func Replace() string { return In(i18n.Locale()).Replace() }
|
||
|
||
// Replace says "Replace"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that replaces the match it is at, and is
|
||
// what the empty replacement field shows.
|
||
func (msgs Messages) Replace() string {
|
||
return Catalog.Format(msgs.locale, "replace", nil)
|
||
}
|
||
|
||
// ReplaceAll says "Replace All"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that replaces every match.
|
||
func ReplaceAll() string { return In(i18n.Locale()).ReplaceAll() }
|
||
|
||
// ReplaceAll says "Replace All"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that replaces every match.
|
||
func (msgs Messages) ReplaceAll() string {
|
||
return Catalog.Format(msgs.locale, "replaceAll", nil)
|
||
}
|
||
|
||
// Close says "Close"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button that closes a find bar.
|
||
func Close() string { return In(i18n.Locale()).Close() }
|
||
|
||
// Close says "Close"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button that closes a find bar.
|
||
func (msgs Messages) Close() string {
|
||
return Catalog.Format(msgs.locale, "close", nil)
|
||
}
|
||
|
||
// GoToLine says "Go to line"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the bar that goes to a line.
|
||
func GoToLine() string { return In(i18n.Locale()).GoToLine() }
|
||
|
||
// GoToLine says "Go to line"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the bar that goes to a line.
|
||
func (msgs Messages) GoToLine() string {
|
||
return Catalog.Format(msgs.locale, "goToLine", nil)
|
||
}
|
||
|
||
// LineRange says "Line 1 to {lines, number, ::group-off}, then :column"
|
||
// in the language the app shows.
|
||
//
|
||
// What the empty field of the go to line bar shows.
|
||
func LineRange(lines int) string { return In(i18n.Locale()).LineRange(lines) }
|
||
|
||
// LineRange says "Line 1 to {lines, number, ::group-off}, then :column"
|
||
// in the language of msgs.
|
||
//
|
||
// What the empty field of the go to line bar shows.
|
||
func (msgs Messages) LineRange(lines int) string {
|
||
return Catalog.Format(msgs.locale, "lineRange", map[string]any{"lines": lines})
|
||
}
|
||
|
||
// CurrentLine says "Current line {line, number, ::group-off} of {lines, number, ::group-off}, column {column, number, ::group-off}"
|
||
// in the language the app shows.
|
||
//
|
||
// Where the caret is, which the go to line bar says.
|
||
func CurrentLine(line int, lines int, column int) string {
|
||
return In(i18n.Locale()).CurrentLine(line, lines, column)
|
||
}
|
||
|
||
// CurrentLine says "Current line {line, number, ::group-off} of {lines, number, ::group-off}, column {column, number, ::group-off}"
|
||
// in the language of msgs.
|
||
//
|
||
// Where the caret is, which the go to line bar says.
|
||
func (msgs Messages) CurrentLine(line int, lines int, column int) string {
|
||
return Catalog.Format(msgs.locale, "currentLine", map[string]any{"line": line, "lines": lines, "column": column})
|
||
}
|
||
|
||
// Completions says "Completions"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the code editor's list of completions.
|
||
func Completions() string { return In(i18n.Locale()).Completions() }
|
||
|
||
// Completions says "Completions"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the code editor's list of completions.
|
||
func (msgs Messages) Completions() string {
|
||
return Catalog.Format(msgs.locale, "completions", nil)
|
||
}
|
||
|
||
// MenuUndo says "Undo"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role undo (MenuItem.Role).
|
||
func MenuUndo() string { return In(i18n.Locale()).MenuUndo() }
|
||
|
||
// MenuUndo says "Undo"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role undo (MenuItem.Role).
|
||
func (msgs Messages) MenuUndo() string {
|
||
return Catalog.Format(msgs.locale, "menuUndo", nil)
|
||
}
|
||
|
||
// MenuRedo says "Redo"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role redo (MenuItem.Role).
|
||
func MenuRedo() string { return In(i18n.Locale()).MenuRedo() }
|
||
|
||
// MenuRedo says "Redo"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role redo (MenuItem.Role).
|
||
func (msgs Messages) MenuRedo() string {
|
||
return Catalog.Format(msgs.locale, "menuRedo", nil)
|
||
}
|
||
|
||
// MenuCut says "Cut"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role cut (MenuItem.Role).
|
||
func MenuCut() string { return In(i18n.Locale()).MenuCut() }
|
||
|
||
// MenuCut says "Cut"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role cut (MenuItem.Role).
|
||
func (msgs Messages) MenuCut() string {
|
||
return Catalog.Format(msgs.locale, "menuCut", nil)
|
||
}
|
||
|
||
// MenuCopy says "Copy"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role copy (MenuItem.Role).
|
||
func MenuCopy() string { return In(i18n.Locale()).MenuCopy() }
|
||
|
||
// MenuCopy says "Copy"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role copy (MenuItem.Role).
|
||
func (msgs Messages) MenuCopy() string {
|
||
return Catalog.Format(msgs.locale, "menuCopy", nil)
|
||
}
|
||
|
||
// MenuPaste says "Paste"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role paste (MenuItem.Role).
|
||
func MenuPaste() string { return In(i18n.Locale()).MenuPaste() }
|
||
|
||
// MenuPaste says "Paste"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role paste (MenuItem.Role).
|
||
func (msgs Messages) MenuPaste() string {
|
||
return Catalog.Format(msgs.locale, "menuPaste", nil)
|
||
}
|
||
|
||
// MenuPasteAndMatchStyle says "Paste and Match Style"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role pasteAndMatchStyle
|
||
// (MenuItem.Role).
|
||
func MenuPasteAndMatchStyle() string { return In(i18n.Locale()).MenuPasteAndMatchStyle() }
|
||
|
||
// MenuPasteAndMatchStyle says "Paste and Match Style"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role pasteAndMatchStyle
|
||
// (MenuItem.Role).
|
||
func (msgs Messages) MenuPasteAndMatchStyle() string {
|
||
return Catalog.Format(msgs.locale, "menuPasteAndMatchStyle", nil)
|
||
}
|
||
|
||
// MenuDelete says "Delete"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role delete (MenuItem.Role).
|
||
func MenuDelete() string { return In(i18n.Locale()).MenuDelete() }
|
||
|
||
// MenuDelete says "Delete"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role delete (MenuItem.Role).
|
||
func (msgs Messages) MenuDelete() string {
|
||
return Catalog.Format(msgs.locale, "menuDelete", nil)
|
||
}
|
||
|
||
// MenuSelectAll says "Select All"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role selectAll (MenuItem.Role).
|
||
func MenuSelectAll() string { return In(i18n.Locale()).MenuSelectAll() }
|
||
|
||
// MenuSelectAll says "Select All"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role selectAll (MenuItem.Role).
|
||
func (msgs Messages) MenuSelectAll() string {
|
||
return Catalog.Format(msgs.locale, "menuSelectAll", nil)
|
||
}
|
||
|
||
// MenuReload says "Reload"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role reload (MenuItem.Role).
|
||
func MenuReload() string { return In(i18n.Locale()).MenuReload() }
|
||
|
||
// MenuReload says "Reload"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role reload (MenuItem.Role).
|
||
func (msgs Messages) MenuReload() string {
|
||
return Catalog.Format(msgs.locale, "menuReload", nil)
|
||
}
|
||
|
||
// MenuForceReload says "Force Reload"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role forceReload (MenuItem.Role).
|
||
func MenuForceReload() string { return In(i18n.Locale()).MenuForceReload() }
|
||
|
||
// MenuForceReload says "Force Reload"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role forceReload (MenuItem.Role).
|
||
func (msgs Messages) MenuForceReload() string {
|
||
return Catalog.Format(msgs.locale, "menuForceReload", nil)
|
||
}
|
||
|
||
// MenuToggleDevTools says "Toggle Developer Tools"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role toggleDevTools (MenuItem.Role).
|
||
func MenuToggleDevTools() string { return In(i18n.Locale()).MenuToggleDevTools() }
|
||
|
||
// MenuToggleDevTools says "Toggle Developer Tools"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role toggleDevTools (MenuItem.Role).
|
||
func (msgs Messages) MenuToggleDevTools() string {
|
||
return Catalog.Format(msgs.locale, "menuToggleDevTools", nil)
|
||
}
|
||
|
||
// MenuActualSize says "Actual Size"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role resetZoom (MenuItem.Role).
|
||
func MenuActualSize() string { return In(i18n.Locale()).MenuActualSize() }
|
||
|
||
// MenuActualSize says "Actual Size"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role resetZoom (MenuItem.Role).
|
||
func (msgs Messages) MenuActualSize() string {
|
||
return Catalog.Format(msgs.locale, "menuActualSize", nil)
|
||
}
|
||
|
||
// MenuZoomIn says "Zoom In"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role zoomIn (MenuItem.Role).
|
||
func MenuZoomIn() string { return In(i18n.Locale()).MenuZoomIn() }
|
||
|
||
// MenuZoomIn says "Zoom In"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role zoomIn (MenuItem.Role).
|
||
func (msgs Messages) MenuZoomIn() string {
|
||
return Catalog.Format(msgs.locale, "menuZoomIn", nil)
|
||
}
|
||
|
||
// MenuZoomOut says "Zoom Out"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role zoomOut (MenuItem.Role).
|
||
func MenuZoomOut() string { return In(i18n.Locale()).MenuZoomOut() }
|
||
|
||
// MenuZoomOut says "Zoom Out"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role zoomOut (MenuItem.Role).
|
||
func (msgs Messages) MenuZoomOut() string {
|
||
return Catalog.Format(msgs.locale, "menuZoomOut", nil)
|
||
}
|
||
|
||
// MenuToggleFullScreen says "Toggle Full Screen"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role togglefullscreen (MenuItem.Role).
|
||
func MenuToggleFullScreen() string { return In(i18n.Locale()).MenuToggleFullScreen() }
|
||
|
||
// MenuToggleFullScreen says "Toggle Full Screen"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role togglefullscreen (MenuItem.Role).
|
||
func (msgs Messages) MenuToggleFullScreen() string {
|
||
return Catalog.Format(msgs.locale, "menuToggleFullScreen", nil)
|
||
}
|
||
|
||
// MenuMinimize says "Minimize"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role minimize (MenuItem.Role).
|
||
func MenuMinimize() string { return In(i18n.Locale()).MenuMinimize() }
|
||
|
||
// MenuMinimize says "Minimize"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role minimize (MenuItem.Role).
|
||
func (msgs Messages) MenuMinimize() string {
|
||
return Catalog.Format(msgs.locale, "menuMinimize", nil)
|
||
}
|
||
|
||
// MenuZoom says "Zoom"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role zoom (MenuItem.Role).
|
||
func MenuZoom() string { return In(i18n.Locale()).MenuZoom() }
|
||
|
||
// MenuZoom says "Zoom"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role zoom (MenuItem.Role).
|
||
func (msgs Messages) MenuZoom() string {
|
||
return Catalog.Format(msgs.locale, "menuZoom", nil)
|
||
}
|
||
|
||
// MenuBringAllToFront says "Bring All to Front"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role front (MenuItem.Role).
|
||
func MenuBringAllToFront() string { return In(i18n.Locale()).MenuBringAllToFront() }
|
||
|
||
// MenuBringAllToFront says "Bring All to Front"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role front (MenuItem.Role).
|
||
func (msgs Messages) MenuBringAllToFront() string {
|
||
return Catalog.Format(msgs.locale, "menuBringAllToFront", nil)
|
||
}
|
||
|
||
// MenuClose says "Close"
|
||
// in the language the app shows.
|
||
//
|
||
// The item that closes a document's window.
|
||
func MenuClose() string { return In(i18n.Locale()).MenuClose() }
|
||
|
||
// MenuClose says "Close"
|
||
// in the language of msgs.
|
||
//
|
||
// The item that closes a document's window.
|
||
func (msgs Messages) MenuClose() string {
|
||
return Catalog.Format(msgs.locale, "menuClose", nil)
|
||
}
|
||
|
||
// MenuCloseWindow says "Close Window"
|
||
// in the language the app shows.
|
||
//
|
||
// The item that closes a window.
|
||
func MenuCloseWindow() string { return In(i18n.Locale()).MenuCloseWindow() }
|
||
|
||
// MenuCloseWindow says "Close Window"
|
||
// in the language of msgs.
|
||
//
|
||
// The item that closes a window.
|
||
func (msgs Messages) MenuCloseWindow() string {
|
||
return Catalog.Format(msgs.locale, "menuCloseWindow", nil)
|
||
}
|
||
|
||
// MenuNew says "New"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role new (MenuItem.Role).
|
||
func MenuNew() string { return In(i18n.Locale()).MenuNew() }
|
||
|
||
// MenuNew says "New"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role new (MenuItem.Role).
|
||
func (msgs Messages) MenuNew() string {
|
||
return Catalog.Format(msgs.locale, "menuNew", nil)
|
||
}
|
||
|
||
// MenuOpen says "Open…"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role open (MenuItem.Role).
|
||
func MenuOpen() string { return In(i18n.Locale()).MenuOpen() }
|
||
|
||
// MenuOpen says "Open…"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role open (MenuItem.Role).
|
||
func (msgs Messages) MenuOpen() string {
|
||
return Catalog.Format(msgs.locale, "menuOpen", nil)
|
||
}
|
||
|
||
// MenuOpenRecent says "Open Recent"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role openRecent (MenuItem.Role).
|
||
func MenuOpenRecent() string { return In(i18n.Locale()).MenuOpenRecent() }
|
||
|
||
// MenuOpenRecent says "Open Recent"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role openRecent (MenuItem.Role).
|
||
func (msgs Messages) MenuOpenRecent() string {
|
||
return Catalog.Format(msgs.locale, "menuOpenRecent", nil)
|
||
}
|
||
|
||
// MenuSave says "Save"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role save (MenuItem.Role).
|
||
func MenuSave() string { return In(i18n.Locale()).MenuSave() }
|
||
|
||
// MenuSave says "Save"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role save (MenuItem.Role).
|
||
func (msgs Messages) MenuSave() string {
|
||
return Catalog.Format(msgs.locale, "menuSave", nil)
|
||
}
|
||
|
||
// MenuSaveAs says "Save As…"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role saveAs (MenuItem.Role).
|
||
func MenuSaveAs() string { return In(i18n.Locale()).MenuSaveAs() }
|
||
|
||
// MenuSaveAs says "Save As…"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role saveAs (MenuItem.Role).
|
||
func (msgs Messages) MenuSaveAs() string {
|
||
return Catalog.Format(msgs.locale, "menuSaveAs", nil)
|
||
}
|
||
|
||
// MenuDuplicate says "Duplicate"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role duplicate (MenuItem.Role).
|
||
func MenuDuplicate() string { return In(i18n.Locale()).MenuDuplicate() }
|
||
|
||
// MenuDuplicate says "Duplicate"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role duplicate (MenuItem.Role).
|
||
func (msgs Messages) MenuDuplicate() string {
|
||
return Catalog.Format(msgs.locale, "menuDuplicate", nil)
|
||
}
|
||
|
||
// MenuRename says "Rename…"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role rename (MenuItem.Role).
|
||
func MenuRename() string { return In(i18n.Locale()).MenuRename() }
|
||
|
||
// MenuRename says "Rename…"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role rename (MenuItem.Role).
|
||
func (msgs Messages) MenuRename() string {
|
||
return Catalog.Format(msgs.locale, "menuRename", nil)
|
||
}
|
||
|
||
// MenuMoveTo says "Move To…"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role moveTo (MenuItem.Role).
|
||
func MenuMoveTo() string { return In(i18n.Locale()).MenuMoveTo() }
|
||
|
||
// MenuMoveTo says "Move To…"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role moveTo (MenuItem.Role).
|
||
func (msgs Messages) MenuMoveTo() string {
|
||
return Catalog.Format(msgs.locale, "menuMoveTo", nil)
|
||
}
|
||
|
||
// MenuRevert says "Revert"
|
||
// in the language the app shows.
|
||
//
|
||
// The item that reverts a document to its saved version.
|
||
func MenuRevert() string { return In(i18n.Locale()).MenuRevert() }
|
||
|
||
// MenuRevert says "Revert"
|
||
// in the language of msgs.
|
||
//
|
||
// The item that reverts a document to its saved version.
|
||
func (msgs Messages) MenuRevert() string {
|
||
return Catalog.Format(msgs.locale, "menuRevert", nil)
|
||
}
|
||
|
||
// MenuRevertToSaved says "Revert to Saved"
|
||
// in the language the app shows.
|
||
//
|
||
// macOS's item that reverts a document to its saved version.
|
||
func MenuRevertToSaved() string { return In(i18n.Locale()).MenuRevertToSaved() }
|
||
|
||
// MenuRevertToSaved says "Revert to Saved"
|
||
// in the language of msgs.
|
||
//
|
||
// macOS's item that reverts a document to its saved version.
|
||
func (msgs Messages) MenuRevertToSaved() string {
|
||
return Catalog.Format(msgs.locale, "menuRevertToSaved", nil)
|
||
}
|
||
|
||
// MenuQuitApp says "Quit {app}"
|
||
// in the language the app shows.
|
||
//
|
||
// The item of macOS's app menu that quits the app, with the app's name.
|
||
func MenuQuitApp(app string) string { return In(i18n.Locale()).MenuQuitApp(app) }
|
||
|
||
// MenuQuitApp says "Quit {app}"
|
||
// in the language of msgs.
|
||
//
|
||
// The item of macOS's app menu that quits the app, with the app's name.
|
||
func (msgs Messages) MenuQuitApp(app string) string {
|
||
return Catalog.Format(msgs.locale, "menuQuitApp", map[string]any{"app": app})
|
||
}
|
||
|
||
// MenuAbout says "About {app}"
|
||
// in the language the app shows.
|
||
//
|
||
// The item of macOS's app menu that shows the app's about panel, with the
|
||
// app's name.
|
||
func MenuAbout(app string) string { return In(i18n.Locale()).MenuAbout(app) }
|
||
|
||
// MenuAbout says "About {app}"
|
||
// in the language of msgs.
|
||
//
|
||
// The item of macOS's app menu that shows the app's about panel, with the
|
||
// app's name.
|
||
func (msgs Messages) MenuAbout(app string) string {
|
||
return Catalog.Format(msgs.locale, "menuAbout", map[string]any{"app": app})
|
||
}
|
||
|
||
// MenuHide says "Hide {app}"
|
||
// in the language the app shows.
|
||
//
|
||
// The item of macOS's app menu that hides the app, with the app's name.
|
||
func MenuHide(app string) string { return In(i18n.Locale()).MenuHide(app) }
|
||
|
||
// MenuHide says "Hide {app}"
|
||
// in the language of msgs.
|
||
//
|
||
// The item of macOS's app menu that hides the app, with the app's name.
|
||
func (msgs Messages) MenuHide(app string) string {
|
||
return Catalog.Format(msgs.locale, "menuHide", map[string]any{"app": app})
|
||
}
|
||
|
||
// MenuQuit says "Quit"
|
||
// in the language the app shows.
|
||
//
|
||
// The item that quits the app on Linux.
|
||
func MenuQuit() string { return In(i18n.Locale()).MenuQuit() }
|
||
|
||
// MenuQuit says "Quit"
|
||
// in the language of msgs.
|
||
//
|
||
// The item that quits the app on Linux.
|
||
func (msgs Messages) MenuQuit() string {
|
||
return Catalog.Format(msgs.locale, "menuQuit", nil)
|
||
}
|
||
|
||
// MenuExit says "Exit"
|
||
// in the language the app shows.
|
||
//
|
||
// The item that quits the app on Windows.
|
||
func MenuExit() string { return In(i18n.Locale()).MenuExit() }
|
||
|
||
// MenuExit says "Exit"
|
||
// in the language of msgs.
|
||
//
|
||
// The item that quits the app on Windows.
|
||
func (msgs Messages) MenuExit() string {
|
||
return Catalog.Format(msgs.locale, "menuExit", nil)
|
||
}
|
||
|
||
// MenuHideOthers says "Hide Others"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role hideOthers (MenuItem.Role).
|
||
func MenuHideOthers() string { return In(i18n.Locale()).MenuHideOthers() }
|
||
|
||
// MenuHideOthers says "Hide Others"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role hideOthers (MenuItem.Role).
|
||
func (msgs Messages) MenuHideOthers() string {
|
||
return Catalog.Format(msgs.locale, "menuHideOthers", nil)
|
||
}
|
||
|
||
// MenuShowAll says "Show All"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role unhide (MenuItem.Role).
|
||
func MenuShowAll() string { return In(i18n.Locale()).MenuShowAll() }
|
||
|
||
// MenuShowAll says "Show All"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role unhide (MenuItem.Role).
|
||
func (msgs Messages) MenuShowAll() string {
|
||
return Catalog.Format(msgs.locale, "menuShowAll", nil)
|
||
}
|
||
|
||
// MenuServices says "Services"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role services (MenuItem.Role).
|
||
func MenuServices() string { return In(i18n.Locale()).MenuServices() }
|
||
|
||
// MenuServices says "Services"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role services (MenuItem.Role).
|
||
func (msgs Messages) MenuServices() string {
|
||
return Catalog.Format(msgs.locale, "menuServices", nil)
|
||
}
|
||
|
||
// MenuStartSpeaking says "Start Speaking"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role startSpeaking (MenuItem.Role).
|
||
func MenuStartSpeaking() string { return In(i18n.Locale()).MenuStartSpeaking() }
|
||
|
||
// MenuStartSpeaking says "Start Speaking"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role startSpeaking (MenuItem.Role).
|
||
func (msgs Messages) MenuStartSpeaking() string {
|
||
return Catalog.Format(msgs.locale, "menuStartSpeaking", nil)
|
||
}
|
||
|
||
// MenuStopSpeaking says "Stop Speaking"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role stopSpeaking (MenuItem.Role).
|
||
func MenuStopSpeaking() string { return In(i18n.Locale()).MenuStopSpeaking() }
|
||
|
||
// MenuStopSpeaking says "Stop Speaking"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role stopSpeaking (MenuItem.Role).
|
||
func (msgs Messages) MenuStopSpeaking() string {
|
||
return Catalog.Format(msgs.locale, "menuStopSpeaking", nil)
|
||
}
|
||
|
||
// MenuFile says "File"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuFile() string { return In(i18n.Locale()).MenuFile() }
|
||
|
||
// MenuFile says "File"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuFile() string {
|
||
return Catalog.Format(msgs.locale, "menuFile", nil)
|
||
}
|
||
|
||
// MenuEdit says "Edit"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuEdit() string { return In(i18n.Locale()).MenuEdit() }
|
||
|
||
// MenuEdit says "Edit"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuEdit() string {
|
||
return Catalog.Format(msgs.locale, "menuEdit", nil)
|
||
}
|
||
|
||
// MenuView says "View"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuView() string { return In(i18n.Locale()).MenuView() }
|
||
|
||
// MenuView says "View"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuView() string {
|
||
return Catalog.Format(msgs.locale, "menuView", nil)
|
||
}
|
||
|
||
// MenuFormat says "Format"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuFormat() string { return In(i18n.Locale()).MenuFormat() }
|
||
|
||
// MenuFormat says "Format"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuFormat() string {
|
||
return Catalog.Format(msgs.locale, "menuFormat", nil)
|
||
}
|
||
|
||
// MenuWindow says "Window"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuWindow() string { return In(i18n.Locale()).MenuWindow() }
|
||
|
||
// MenuWindow says "Window"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuWindow() string {
|
||
return Catalog.Format(msgs.locale, "menuWindow", nil)
|
||
}
|
||
|
||
// MenuHelp says "Help"
|
||
// in the language the app shows.
|
||
//
|
||
// A menu of the menu bar.
|
||
func MenuHelp() string { return In(i18n.Locale()).MenuHelp() }
|
||
|
||
// MenuHelp says "Help"
|
||
// in the language of msgs.
|
||
//
|
||
// A menu of the menu bar.
|
||
func (msgs Messages) MenuHelp() string {
|
||
return Catalog.Format(msgs.locale, "menuHelp", nil)
|
||
}
|
||
|
||
// MenuBold says "Bold"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role bold (MenuItem.Role).
|
||
func MenuBold() string { return In(i18n.Locale()).MenuBold() }
|
||
|
||
// MenuBold says "Bold"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role bold (MenuItem.Role).
|
||
func (msgs Messages) MenuBold() string {
|
||
return Catalog.Format(msgs.locale, "menuBold", nil)
|
||
}
|
||
|
||
// MenuItalic says "Italic"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role italic (MenuItem.Role).
|
||
func MenuItalic() string { return In(i18n.Locale()).MenuItalic() }
|
||
|
||
// MenuItalic says "Italic"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role italic (MenuItem.Role).
|
||
func (msgs Messages) MenuItalic() string {
|
||
return Catalog.Format(msgs.locale, "menuItalic", nil)
|
||
}
|
||
|
||
// MenuUnderline says "Underline"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role underline (MenuItem.Role).
|
||
func MenuUnderline() string { return In(i18n.Locale()).MenuUnderline() }
|
||
|
||
// MenuUnderline says "Underline"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role underline (MenuItem.Role).
|
||
func (msgs Messages) MenuUnderline() string {
|
||
return Catalog.Format(msgs.locale, "menuUnderline", nil)
|
||
}
|
||
|
||
// MenuStrikethrough says "Strikethrough"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role strikethrough (MenuItem.Role).
|
||
func MenuStrikethrough() string { return In(i18n.Locale()).MenuStrikethrough() }
|
||
|
||
// MenuStrikethrough says "Strikethrough"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role strikethrough (MenuItem.Role).
|
||
func (msgs Messages) MenuStrikethrough() string {
|
||
return Catalog.Format(msgs.locale, "menuStrikethrough", nil)
|
||
}
|
||
|
||
// MenuAlignLeft says "Align Left"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role alignLeft (MenuItem.Role).
|
||
func MenuAlignLeft() string { return In(i18n.Locale()).MenuAlignLeft() }
|
||
|
||
// MenuAlignLeft says "Align Left"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role alignLeft (MenuItem.Role).
|
||
func (msgs Messages) MenuAlignLeft() string {
|
||
return Catalog.Format(msgs.locale, "menuAlignLeft", nil)
|
||
}
|
||
|
||
// MenuCenter says "Center"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role alignCenter (MenuItem.Role).
|
||
func MenuCenter() string { return In(i18n.Locale()).MenuCenter() }
|
||
|
||
// MenuCenter says "Center"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role alignCenter (MenuItem.Role).
|
||
func (msgs Messages) MenuCenter() string {
|
||
return Catalog.Format(msgs.locale, "menuCenter", nil)
|
||
}
|
||
|
||
// MenuAlignRight says "Align Right"
|
||
// in the language the app shows.
|
||
//
|
||
// The label of the menu items of the role alignRight (MenuItem.Role).
|
||
func MenuAlignRight() string { return In(i18n.Locale()).MenuAlignRight() }
|
||
|
||
// MenuAlignRight says "Align Right"
|
||
// in the language of msgs.
|
||
//
|
||
// The label of the menu items of the role alignRight (MenuItem.Role).
|
||
func (msgs Messages) MenuAlignRight() string {
|
||
return Catalog.Format(msgs.locale, "menuAlignRight", nil)
|
||
}
|
||
|
||
// NoMatches says "No matches"
|
||
// in the language the app shows.
|
||
//
|
||
// What a find bar says of a query that matches nothing.
|
||
func NoMatches() string { return In(i18n.Locale()).NoMatches() }
|
||
|
||
// NoMatches says "No matches"
|
||
// in the language of msgs.
|
||
//
|
||
// What a find bar says of a query that matches nothing.
|
||
func (msgs Messages) NoMatches() string {
|
||
return Catalog.Format(msgs.locale, "noMatches", nil)
|
||
}
|
||
|
||
// Previous says "Previous"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that goes to the previous match.
|
||
func Previous() string { return In(i18n.Locale()).Previous() }
|
||
|
||
// Previous says "Previous"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that goes to the previous match.
|
||
func (msgs Messages) Previous() string {
|
||
return Catalog.Format(msgs.locale, "previous", nil)
|
||
}
|
||
|
||
// Next says "Next"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a find bar that goes to the next match.
|
||
func Next() string { return In(i18n.Locale()).Next() }
|
||
|
||
// Next says "Next"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a find bar that goes to the next match.
|
||
func (msgs Messages) Next() string {
|
||
return Catalog.Format(msgs.locale, "next", nil)
|
||
}
|
||
|
||
// Done says "Done"
|
||
// in the language the app shows.
|
||
//
|
||
// The button that closes a find bar.
|
||
func Done() string { return In(i18n.Locale()).Done() }
|
||
|
||
// Done says "Done"
|
||
// in the language of msgs.
|
||
//
|
||
// The button that closes a find bar.
|
||
func (msgs Messages) Done() string {
|
||
return Catalog.Format(msgs.locale, "done", nil)
|
||
}
|
||
|
||
// ColorValue says "{saturation, number, percent} saturation, {brightness, number, percent} brightness"
|
||
// in the language the app shows.
|
||
//
|
||
// What assistive technology reads of the area of a color picker that sets
|
||
// the saturation and the brightness, as "40% saturation, 75% brightness".
|
||
func ColorValue(saturation float64, brightness float64) string {
|
||
return In(i18n.Locale()).ColorValue(saturation, brightness)
|
||
}
|
||
|
||
// ColorValue says "{saturation, number, percent} saturation, {brightness, number, percent} brightness"
|
||
// in the language of msgs.
|
||
//
|
||
// What assistive technology reads of the area of a color picker that sets
|
||
// the saturation and the brightness, as "40% saturation, 75% brightness".
|
||
func (msgs Messages) ColorValue(saturation float64, brightness float64) string {
|
||
return Catalog.Format(msgs.locale, "colorValue", map[string]any{"saturation": saturation, "brightness": brightness})
|
||
}
|
||
|
||
// Hours says "hours"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the hours of a time field to assistive technology, after the
|
||
// field's label.
|
||
func Hours() string { return In(i18n.Locale()).Hours() }
|
||
|
||
// Hours says "hours"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the hours of a time field to assistive technology, after the
|
||
// field's label.
|
||
func (msgs Messages) Hours() string {
|
||
return Catalog.Format(msgs.locale, "hours", nil)
|
||
}
|
||
|
||
// Minutes says "minutes"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the minutes of a time field to assistive technology, after the
|
||
// field's label.
|
||
func Minutes() string { return In(i18n.Locale()).Minutes() }
|
||
|
||
// Minutes says "minutes"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the minutes of a time field to assistive technology, after the
|
||
// field's label.
|
||
func (msgs Messages) Minutes() string {
|
||
return Catalog.Format(msgs.locale, "minutes", nil)
|
||
}
|
||
|
||
// DayPeriod says "AM/PM"
|
||
// in the language the app shows.
|
||
//
|
||
// Names the part of a time field that says AM or PM to assistive
|
||
// technology, after the field's label.
|
||
func DayPeriod() string { return In(i18n.Locale()).DayPeriod() }
|
||
|
||
// DayPeriod says "AM/PM"
|
||
// in the language of msgs.
|
||
//
|
||
// Names the part of a time field that says AM or PM to assistive
|
||
// technology, after the field's label.
|
||
func (msgs Messages) DayPeriod() string {
|
||
return Catalog.Format(msgs.locale, "dayPeriod", nil)
|
||
}
|
||
|
||
// RichText says "Rich text"
|
||
// in the language the app shows.
|
||
//
|
||
// Names a rich text editor to assistive technology when the app gives it no
|
||
// label.
|
||
func RichText() string { return In(i18n.Locale()).RichText() }
|
||
|
||
// RichText says "Rich text"
|
||
// in the language of msgs.
|
||
//
|
||
// Names a rich text editor to assistive technology when the app gives it no
|
||
// label.
|
||
func (msgs Messages) RichText() string {
|
||
return Catalog.Format(msgs.locale, "richText", nil)
|
||
}
|
||
|
||
// CopyCode says "Copy code"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the button of a code block of Markdown that copies its code.
|
||
func CopyCode() string { return In(i18n.Locale()).CopyCode() }
|
||
|
||
// CopyCode says "Copy code"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the button of a code block of Markdown that copies its code.
|
||
func (msgs Messages) CopyCode() string {
|
||
return Catalog.Format(msgs.locale, "copyCode", nil)
|
||
}
|
||
|
||
// Copied says "Copied"
|
||
// in the language the app shows.
|
||
//
|
||
// What the copy button of a code block of Markdown says once it copied the
|
||
// code.
|
||
func Copied() string { return In(i18n.Locale()).Copied() }
|
||
|
||
// Copied says "Copied"
|
||
// in the language of msgs.
|
||
//
|
||
// What the copy button of a code block of Markdown says once it copied the
|
||
// code.
|
||
func (msgs Messages) Copied() string {
|
||
return Catalog.Format(msgs.locale, "copied", nil)
|
||
}
|
||
|
||
// CopyAsMarkdown says "Copy as Markdown"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of the menu of a view of Markdown.
|
||
func CopyAsMarkdown() string { return In(i18n.Locale()).CopyAsMarkdown() }
|
||
|
||
// CopyAsMarkdown says "Copy as Markdown"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of the menu of a view of Markdown.
|
||
func (msgs Messages) CopyAsMarkdown() string {
|
||
return Catalog.Format(msgs.locale, "copyAsMarkdown", nil)
|
||
}
|
||
|
||
// Image says "Image"
|
||
// in the language the app shows.
|
||
//
|
||
// Names an image of Markdown without a description to assistive technology.
|
||
func Image() string { return In(i18n.Locale()).Image() }
|
||
|
||
// Image says "Image"
|
||
// in the language of msgs.
|
||
//
|
||
// Names an image of Markdown without a description to assistive technology.
|
||
func (msgs Messages) Image() string {
|
||
return Catalog.Format(msgs.locale, "image", nil)
|
||
}
|
||
|
||
// MenuSpeech says "Speech"
|
||
// in the language the app shows.
|
||
//
|
||
// The submenu of macOS's Edit menu with the items that speak the selection.
|
||
func MenuSpeech() string { return In(i18n.Locale()).MenuSpeech() }
|
||
|
||
// MenuSpeech says "Speech"
|
||
// in the language of msgs.
|
||
//
|
||
// The submenu of macOS's Edit menu with the items that speak the selection.
|
||
func (msgs Messages) MenuSpeech() string {
|
||
return Catalog.Format(msgs.locale, "menuSpeech", nil)
|
||
}
|
||
|
||
// MenuClearRecent says "Clear Menu"
|
||
// in the language the app shows.
|
||
//
|
||
// The last item of the menu of recent documents, which empties it.
|
||
func MenuClearRecent() string { return In(i18n.Locale()).MenuClearRecent() }
|
||
|
||
// MenuClearRecent says "Clear Menu"
|
||
// in the language of msgs.
|
||
//
|
||
// The last item of the menu of recent documents, which empties it.
|
||
func (msgs Messages) MenuClearRecent() string {
|
||
return Catalog.Format(msgs.locale, "menuClearRecent", nil)
|
||
}
|
||
|
||
// Untitled says "Untitled"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of a new document before it is saved.
|
||
func Untitled() string { return In(i18n.Locale()).Untitled() }
|
||
|
||
// Untitled says "Untitled"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of a new document before it is saved.
|
||
func (msgs Messages) Untitled() string {
|
||
return Catalog.Format(msgs.locale, "untitled", nil)
|
||
}
|
||
|
||
// UntitledNumbered says "Untitled {n, number, ::group-off}"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the second and later new documents before they are saved, as
|
||
// "Untitled 2".
|
||
func UntitledNumbered(n int) string { return In(i18n.Locale()).UntitledNumbered(n) }
|
||
|
||
// UntitledNumbered says "Untitled {n, number, ::group-off}"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the second and later new documents before they are saved, as
|
||
// "Untitled 2".
|
||
func (msgs Messages) UntitledNumbered(n int) string {
|
||
return Catalog.Format(msgs.locale, "untitledNumbered", map[string]any{"n": n})
|
||
}
|
||
|
||
// Cancel says "Cancel"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that cancels what it asks about.
|
||
func Cancel() string { return In(i18n.Locale()).Cancel() }
|
||
|
||
// Cancel says "Cancel"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that cancels what it asks about.
|
||
func (msgs Messages) Cancel() string {
|
||
return Catalog.Format(msgs.locale, "cancel", nil)
|
||
}
|
||
|
||
// Save says "Save"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that saves a document.
|
||
func Save() string { return In(i18n.Locale()).Save() }
|
||
|
||
// Save says "Save"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that saves a document.
|
||
func (msgs Messages) Save() string {
|
||
return Catalog.Format(msgs.locale, "save", nil)
|
||
}
|
||
|
||
// SaveEllipsis says "Save…"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that saves a new document, after asking where.
|
||
func SaveEllipsis() string { return In(i18n.Locale()).SaveEllipsis() }
|
||
|
||
// SaveEllipsis says "Save…"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that saves a new document, after asking where.
|
||
func (msgs Messages) SaveEllipsis() string {
|
||
return Catalog.Format(msgs.locale, "saveEllipsis", nil)
|
||
}
|
||
|
||
// SaveAs says "Save As…"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that saves a document as another file.
|
||
func SaveAs() string { return In(i18n.Locale()).SaveAs() }
|
||
|
||
// SaveAs says "Save As…"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that saves a document as another file.
|
||
func (msgs Messages) SaveAs() string {
|
||
return Catalog.Format(msgs.locale, "saveAs", nil)
|
||
}
|
||
|
||
// SaveAnyway says "Save Anyway"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that saves a document whose file another app
|
||
// changed.
|
||
func SaveAnyway() string { return In(i18n.Locale()).SaveAnyway() }
|
||
|
||
// SaveAnyway says "Save Anyway"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that saves a document whose file another app
|
||
// changed.
|
||
func (msgs Messages) SaveAnyway() string {
|
||
return Catalog.Format(msgs.locale, "saveAnyway", nil)
|
||
}
|
||
|
||
// SaveAll says "Save All"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that saves every document with changes.
|
||
func SaveAll() string { return In(i18n.Locale()).SaveAll() }
|
||
|
||
// SaveAll says "Save All"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that saves every document with changes.
|
||
func (msgs Messages) SaveAll() string {
|
||
return Catalog.Format(msgs.locale, "saveAll", nil)
|
||
}
|
||
|
||
// DontSave says "Don’t Save"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that closes a document without saving its changes.
|
||
func DontSave() string { return In(i18n.Locale()).DontSave() }
|
||
|
||
// DontSave says "Don’t Save"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that closes a document without saving its changes.
|
||
func (msgs Messages) DontSave() string {
|
||
return Catalog.Format(msgs.locale, "dontSave", nil)
|
||
}
|
||
|
||
// DeleteDocument says "Delete"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that deletes a new document instead of saving it.
|
||
func DeleteDocument() string { return In(i18n.Locale()).DeleteDocument() }
|
||
|
||
// DeleteDocument says "Delete"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that deletes a new document instead of saving it.
|
||
func (msgs Messages) DeleteDocument() string {
|
||
return Catalog.Format(msgs.locale, "deleteDocument", nil)
|
||
}
|
||
|
||
// RevertDocument says "Revert"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that reverts a document to its file.
|
||
func RevertDocument() string { return In(i18n.Locale()).RevertDocument() }
|
||
|
||
// RevertDocument says "Revert"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that reverts a document to its file.
|
||
func (msgs Messages) RevertDocument() string {
|
||
return Catalog.Format(msgs.locale, "revertDocument", nil)
|
||
}
|
||
|
||
// ReplaceFile says "Replace"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of a dialog that replaces a file with a document.
|
||
func ReplaceFile() string { return In(i18n.Locale()).ReplaceFile() }
|
||
|
||
// ReplaceFile says "Replace"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of a dialog that replaces a file with a document.
|
||
func (msgs Messages) ReplaceFile() string {
|
||
return Catalog.Format(msgs.locale, "replaceFile", nil)
|
||
}
|
||
|
||
// Rename says "Rename"
|
||
// in the language the app shows.
|
||
//
|
||
// The title and the button of the dialog that renames a document.
|
||
func Rename() string { return In(i18n.Locale()).Rename() }
|
||
|
||
// Rename says "Rename"
|
||
// in the language of msgs.
|
||
//
|
||
// The title and the button of the dialog that renames a document.
|
||
func (msgs Messages) Rename() string {
|
||
return Catalog.Format(msgs.locale, "rename", nil)
|
||
}
|
||
|
||
// RenameTo says "Rename To:"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the field of the name of the dialog that renames a document.
|
||
func RenameTo() string { return In(i18n.Locale()).RenameTo() }
|
||
|
||
// RenameTo says "Rename To:"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the field of the name of the dialog that renames a document.
|
||
func (msgs Messages) RenameTo() string {
|
||
return Catalog.Format(msgs.locale, "renameTo", nil)
|
||
}
|
||
|
||
// MoveTo says "Move To"
|
||
// in the language the app shows.
|
||
//
|
||
// The title of the dialog that moves a document to another folder.
|
||
func MoveTo() string { return In(i18n.Locale()).MoveTo() }
|
||
|
||
// MoveTo says "Move To"
|
||
// in the language of msgs.
|
||
//
|
||
// The title of the dialog that moves a document to another folder.
|
||
func (msgs Messages) MoveTo() string {
|
||
return Catalog.Format(msgs.locale, "moveTo", nil)
|
||
}
|
||
|
||
// Move says "Move"
|
||
// in the language the app shows.
|
||
//
|
||
// The button of the dialog that moves a document to another folder.
|
||
func Move() string { return In(i18n.Locale()).Move() }
|
||
|
||
// Move says "Move"
|
||
// in the language of msgs.
|
||
//
|
||
// The button of the dialog that moves a document to another folder.
|
||
func (msgs Messages) Move() string {
|
||
return Catalog.Format(msgs.locale, "move", nil)
|
||
}
|
||
|
||
// ReviewChanges says "Review Changes…"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of the dialog asking about the documents with changes as the app
|
||
// quits.
|
||
func ReviewChanges() string { return In(i18n.Locale()).ReviewChanges() }
|
||
|
||
// ReviewChanges says "Review Changes…"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of the dialog asking about the documents with changes as the app
|
||
// quits.
|
||
func (msgs Messages) ReviewChanges() string {
|
||
return Catalog.Format(msgs.locale, "reviewChanges", nil)
|
||
}
|
||
|
||
// DiscardChanges says "Discard Changes"
|
||
// in the language the app shows.
|
||
//
|
||
// A button of the dialog asking about the documents with changes as the app
|
||
// quits.
|
||
func DiscardChanges() string { return In(i18n.Locale()).DiscardChanges() }
|
||
|
||
// DiscardChanges says "Discard Changes"
|
||
// in the language of msgs.
|
||
//
|
||
// A button of the dialog asking about the documents with changes as the app
|
||
// quits.
|
||
func (msgs Messages) DiscardChanges() string {
|
||
return Catalog.Format(msgs.locale, "discardChanges", nil)
|
||
}
|
||
|
||
// KeepNewDocument says "Do you want to keep this new document “{name}”?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks, as a new document closes, whether to keep it.
|
||
func KeepNewDocument(name string) string { return In(i18n.Locale()).KeepNewDocument(name) }
|
||
|
||
// KeepNewDocument says "Do you want to keep this new document “{name}”?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks, as a new document closes, whether to keep it.
|
||
func (msgs Messages) KeepNewDocument(name string) string {
|
||
return Catalog.Format(msgs.locale, "keepNewDocument", map[string]any{"name": name})
|
||
}
|
||
|
||
// KeepNewDocumentDetail says "You can choose to save your changes, or delete this document immediately. You can’t undo this action."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains the question of keepNewDocument.
|
||
func KeepNewDocumentDetail() string { return In(i18n.Locale()).KeepNewDocumentDetail() }
|
||
|
||
// KeepNewDocumentDetail says "You can choose to save your changes, or delete this document immediately. You can’t undo this action."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains the question of keepNewDocument.
|
||
func (msgs Messages) KeepNewDocumentDetail() string {
|
||
return Catalog.Format(msgs.locale, "keepNewDocumentDetail", nil)
|
||
}
|
||
|
||
// SaveChanges says "Do you want to save the changes made to the document “{name}”?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks, as a document with changes closes, whether to save them.
|
||
func SaveChanges(name string) string { return In(i18n.Locale()).SaveChanges(name) }
|
||
|
||
// SaveChanges says "Do you want to save the changes made to the document “{name}”?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks, as a document with changes closes, whether to save them.
|
||
func (msgs Messages) SaveChanges(name string) string {
|
||
return Catalog.Format(msgs.locale, "saveChanges", map[string]any{"name": name})
|
||
}
|
||
|
||
// ChangesLost says "Your changes will be lost if you don’t save them."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains the question of saveChanges.
|
||
func ChangesLost() string { return In(i18n.Locale()).ChangesLost() }
|
||
|
||
// ChangesLost says "Your changes will be lost if you don’t save them."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains the question of saveChanges.
|
||
func (msgs Messages) ChangesLost() string {
|
||
return Catalog.Format(msgs.locale, "changesLost", nil)
|
||
}
|
||
|
||
// ReadOnly says "The document “{name}” can’t be saved because its file is read-only."
|
||
// in the language the app shows.
|
||
//
|
||
// Says a document cannot be saved in its file.
|
||
func ReadOnly(name string) string { return In(i18n.Locale()).ReadOnly(name) }
|
||
|
||
// ReadOnly says "The document “{name}” can’t be saved because its file is read-only."
|
||
// in the language of msgs.
|
||
//
|
||
// Says a document cannot be saved in its file.
|
||
func (msgs Messages) ReadOnly(name string) string {
|
||
return Catalog.Format(msgs.locale, "readOnly", map[string]any{"name": name})
|
||
}
|
||
|
||
// ReadOnlyDetail says "Save it as another file to keep your changes."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains readOnly.
|
||
func ReadOnlyDetail() string { return In(i18n.Locale()).ReadOnlyDetail() }
|
||
|
||
// ReadOnlyDetail says "Save it as another file to keep your changes."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains readOnly.
|
||
func (msgs Messages) ReadOnlyDetail() string {
|
||
return Catalog.Format(msgs.locale, "readOnlyDetail", nil)
|
||
}
|
||
|
||
// ChangedOnDisk says "The file “{name}” has been changed by another application."
|
||
// in the language the app shows.
|
||
//
|
||
// Says another app changed the file of a document being saved.
|
||
func ChangedOnDisk(name string) string { return In(i18n.Locale()).ChangedOnDisk(name) }
|
||
|
||
// ChangedOnDisk says "The file “{name}” has been changed by another application."
|
||
// in the language of msgs.
|
||
//
|
||
// Says another app changed the file of a document being saved.
|
||
func (msgs Messages) ChangedOnDisk(name string) string {
|
||
return Catalog.Format(msgs.locale, "changedOnDisk", map[string]any{"name": name})
|
||
}
|
||
|
||
// ChangedOnDiskDetail says "Save Anyway replaces it with your version. Revert discards your changes and shows the version on disk."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains the buttons saveAnyway and revertDocument.
|
||
func ChangedOnDiskDetail() string { return In(i18n.Locale()).ChangedOnDiskDetail() }
|
||
|
||
// ChangedOnDiskDetail says "Save Anyway replaces it with your version. Revert discards your changes and shows the version on disk."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains the buttons saveAnyway and revertDocument.
|
||
func (msgs Messages) ChangedOnDiskDetail() string {
|
||
return Catalog.Format(msgs.locale, "changedOnDiskDetail", nil)
|
||
}
|
||
|
||
// AlreadyExists says "An item named “{name}” already exists in this location. Do you want to replace it?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks whether to replace a file as a document moves.
|
||
func AlreadyExists(name string) string { return In(i18n.Locale()).AlreadyExists(name) }
|
||
|
||
// AlreadyExists says "An item named “{name}” already exists in this location. Do you want to replace it?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks whether to replace a file as a document moves.
|
||
func (msgs Messages) AlreadyExists(name string) string {
|
||
return Catalog.Format(msgs.locale, "alreadyExists", map[string]any{"name": name})
|
||
}
|
||
|
||
// AlreadyExistsDetail says "Replacing it overwrites its current contents."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains alreadyExists.
|
||
func AlreadyExistsDetail() string { return In(i18n.Locale()).AlreadyExistsDetail() }
|
||
|
||
// AlreadyExistsDetail says "Replacing it overwrites its current contents."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains alreadyExists.
|
||
func (msgs Messages) AlreadyExistsDetail() string {
|
||
return Catalog.Format(msgs.locale, "alreadyExistsDetail", nil)
|
||
}
|
||
|
||
// RevertQuestion says "Do you want to revert “{name}” to the last saved version?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks whether to revert a document to its file.
|
||
func RevertQuestion(name string) string { return In(i18n.Locale()).RevertQuestion(name) }
|
||
|
||
// RevertQuestion says "Do you want to revert “{name}” to the last saved version?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks whether to revert a document to its file.
|
||
func (msgs Messages) RevertQuestion(name string) string {
|
||
return Catalog.Format(msgs.locale, "revertQuestion", map[string]any{"name": name})
|
||
}
|
||
|
||
// RevertDetail says "Your current changes will be lost."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains revertQuestion.
|
||
func RevertDetail() string { return In(i18n.Locale()).RevertDetail() }
|
||
|
||
// RevertDetail says "Your current changes will be lost."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains revertQuestion.
|
||
func (msgs Messages) RevertDetail() string {
|
||
return Catalog.Format(msgs.locale, "revertDetail", nil)
|
||
}
|
||
|
||
// ReviewBeforeQuitting says "You have {n} {app} documents with unsaved changes. Do you want to review these changes before quitting?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks on macOS, as the app quits, about its documents with changes, two or
|
||
// more.
|
||
func ReviewBeforeQuitting(n int, app string) string {
|
||
return In(i18n.Locale()).ReviewBeforeQuitting(n, app)
|
||
}
|
||
|
||
// ReviewBeforeQuitting says "You have {n} {app} documents with unsaved changes. Do you want to review these changes before quitting?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks on macOS, as the app quits, about its documents with changes, two or
|
||
// more.
|
||
func (msgs Messages) ReviewBeforeQuitting(n int, app string) string {
|
||
return Catalog.Format(msgs.locale, "reviewBeforeQuitting", map[string]any{"n": n, "app": app})
|
||
}
|
||
|
||
// ReviewBeforeQuittingDetail says "If you don’t review your documents, all your changes will be lost."
|
||
// in the language the app shows.
|
||
//
|
||
// Explains reviewBeforeQuitting.
|
||
func ReviewBeforeQuittingDetail() string { return In(i18n.Locale()).ReviewBeforeQuittingDetail() }
|
||
|
||
// ReviewBeforeQuittingDetail says "If you don’t review your documents, all your changes will be lost."
|
||
// in the language of msgs.
|
||
//
|
||
// Explains reviewBeforeQuitting.
|
||
func (msgs Messages) ReviewBeforeQuittingDetail() string {
|
||
return Catalog.Format(msgs.locale, "reviewBeforeQuittingDetail", nil)
|
||
}
|
||
|
||
// SaveManyChanges says "Do you want to save the changes to the following {n} documents?"
|
||
// in the language the app shows.
|
||
//
|
||
// Asks, as the app quits, about its documents with changes, two or more,
|
||
// which the dialog lists.
|
||
func SaveManyChanges(n int) string { return In(i18n.Locale()).SaveManyChanges(n) }
|
||
|
||
// SaveManyChanges says "Do you want to save the changes to the following {n} documents?"
|
||
// in the language of msgs.
|
||
//
|
||
// Asks, as the app quits, about its documents with changes, two or more,
|
||
// which the dialog lists.
|
||
func (msgs Messages) SaveManyChanges(n int) string {
|
||
return Catalog.Format(msgs.locale, "saveManyChanges", map[string]any{"n": n})
|
||
}
|
||
|
||
// DocumentFailed says "{action, select, opened {The document “{name}” could not be opened.} renamed {The document “{name}” could not…"
|
||
// in the language the app shows.
|
||
//
|
||
// Says what failed of a document: opened, renamed, moved, reverted, or
|
||
// saved (other).
|
||
func DocumentFailed(action string, name string) string {
|
||
return In(i18n.Locale()).DocumentFailed(action, name)
|
||
}
|
||
|
||
// DocumentFailed says "{action, select, opened {The document “{name}” could not be opened.} renamed {The document “{name}” could not…"
|
||
// in the language of msgs.
|
||
//
|
||
// Says what failed of a document: opened, renamed, moved, reverted, or
|
||
// saved (other).
|
||
func (msgs Messages) DocumentFailed(action string, name string) string {
|
||
return Catalog.Format(msgs.locale, "documentFailed", map[string]any{"action": action, "name": name})
|
||
}
|
||
|
||
// ColorName says "{color, select, red {Red} orange {Orange} yellow {Yellow} green {Green} teal {Teal} blue {Blue} indigo {Indigo} purpl…"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of a swatch of a color picker, by its color: red, orange,
|
||
// yellow, green, teal, blue, indigo, purple, pink, brown, gray or black.
|
||
func ColorName(color string) string { return In(i18n.Locale()).ColorName(color) }
|
||
|
||
// ColorName says "{color, select, red {Red} orange {Orange} yellow {Yellow} green {Green} teal {Teal} blue {Blue} indigo {Indigo} purpl…"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of a swatch of a color picker, by its color: red, orange,
|
||
// yellow, green, teal, blue, indigo, purple, pink, brown, gray or black.
|
||
func (msgs Messages) ColorName(color string) string {
|
||
return Catalog.Format(msgs.locale, "colorName", map[string]any{"color": color})
|
||
}
|
||
|
||
// Ok says "OK"
|
||
// in the language the app shows.
|
||
//
|
||
// The button of a dialog that only tells something, and of a page's alert,
|
||
// confirm and prompt.
|
||
func Ok() string { return In(i18n.Locale()).Ok() }
|
||
|
||
// Ok says "OK"
|
||
// in the language of msgs.
|
||
//
|
||
// The button of a dialog that only tells something, and of a page's alert,
|
||
// confirm and prompt.
|
||
func (msgs Messages) Ok() string {
|
||
return Catalog.Format(msgs.locale, "ok", nil)
|
||
}
|
||
|
||
// Open says "Open"
|
||
// in the language the app shows.
|
||
//
|
||
// The title and the button of the dialog that opens files.
|
||
func Open() string { return In(i18n.Locale()).Open() }
|
||
|
||
// Open says "Open"
|
||
// in the language of msgs.
|
||
//
|
||
// The title and the button of the dialog that opens files.
|
||
func (msgs Messages) Open() string {
|
||
return Catalog.Format(msgs.locale, "open", nil)
|
||
}
|
||
|
||
// SelectFolder says "Select Folder"
|
||
// in the language the app shows.
|
||
//
|
||
// The title of the dialog that chooses a folder.
|
||
func SelectFolder() string { return In(i18n.Locale()).SelectFolder() }
|
||
|
||
// SelectFolder says "Select Folder"
|
||
// in the language of msgs.
|
||
//
|
||
// The title of the dialog that chooses a folder.
|
||
func (msgs Messages) SelectFolder() string {
|
||
return Catalog.Format(msgs.locale, "selectFolder", nil)
|
||
}
|
||
|
||
// ClearTerminal says "Clear"
|
||
// in the language the app shows.
|
||
//
|
||
// An item of a terminal's menu, which clears the lines scrolled out of view
|
||
// and the screen above the prompt, as Command-K does.
|
||
func ClearTerminal() string { return In(i18n.Locale()).ClearTerminal() }
|
||
|
||
// ClearTerminal says "Clear"
|
||
// in the language of msgs.
|
||
//
|
||
// An item of a terminal's menu, which clears the lines scrolled out of view
|
||
// and the screen above the prompt, as Command-K does.
|
||
func (msgs Messages) ClearTerminal() string {
|
||
return Catalog.Format(msgs.locale, "clearTerminal", nil)
|
||
}
|
||
|
||
// ClipboardRead says "A program wants to read the clipboard"
|
||
// in the language the app shows.
|
||
//
|
||
// The title of the terminal's prompt about a program's read of the
|
||
// clipboard.
|
||
func ClipboardRead() string { return In(i18n.Locale()).ClipboardRead() }
|
||
|
||
// ClipboardRead says "A program wants to read the clipboard"
|
||
// in the language of msgs.
|
||
//
|
||
// The title of the terminal's prompt about a program's read of the
|
||
// clipboard.
|
||
func (msgs Messages) ClipboardRead() string {
|
||
return Catalog.Format(msgs.locale, "clipboardRead", nil)
|
||
}
|
||
|
||
// ClipboardReadAllow says "Allow"
|
||
// in the language the app shows.
|
||
//
|
||
// The button of the terminal's clipboard prompt that lets the program read.
|
||
func ClipboardReadAllow() string { return In(i18n.Locale()).ClipboardReadAllow() }
|
||
|
||
// ClipboardReadAllow says "Allow"
|
||
// in the language of msgs.
|
||
//
|
||
// The button of the terminal's clipboard prompt that lets the program read.
|
||
func (msgs Messages) ClipboardReadAllow() string {
|
||
return Catalog.Format(msgs.locale, "clipboardReadAllow", nil)
|
||
}
|
||
|
||
// ClipboardReadDeny says "Deny"
|
||
// in the language the app shows.
|
||
//
|
||
// The button of the terminal's clipboard prompt that refuses the program.
|
||
func ClipboardReadDeny() string { return In(i18n.Locale()).ClipboardReadDeny() }
|
||
|
||
// ClipboardReadDeny says "Deny"
|
||
// in the language of msgs.
|
||
//
|
||
// The button of the terminal's clipboard prompt that refuses the program.
|
||
func (msgs Messages) ClipboardReadDeny() string {
|
||
return Catalog.Format(msgs.locale, "clipboardReadDeny", nil)
|
||
}
|
||
|
||
// ClipboardReadEmpty says "The clipboard is empty."
|
||
// in the language the app shows.
|
||
//
|
||
// What the terminal's clipboard prompt shows when the clipboard holds no
|
||
// text.
|
||
func ClipboardReadEmpty() string { return In(i18n.Locale()).ClipboardReadEmpty() }
|
||
|
||
// ClipboardReadEmpty says "The clipboard is empty."
|
||
// in the language of msgs.
|
||
//
|
||
// What the terminal's clipboard prompt shows when the clipboard holds no
|
||
// text.
|
||
func (msgs Messages) ClipboardReadEmpty() string {
|
||
return Catalog.Format(msgs.locale, "clipboardReadEmpty", nil)
|
||
}
|
||
|
||
// DecimalInvalid says "Enter a number"
|
||
// in the language the app shows.
|
||
//
|
||
// What a decimal input says of text that is not a number, as "1,2x".
|
||
func DecimalInvalid() string { return In(i18n.Locale()).DecimalInvalid() }
|
||
|
||
// DecimalInvalid says "Enter a number"
|
||
// in the language of msgs.
|
||
//
|
||
// What a decimal input says of text that is not a number, as "1,2x".
|
||
func (msgs Messages) DecimalInvalid() string {
|
||
return Catalog.Format(msgs.locale, "decimalInvalid", nil)
|
||
}
|
||
|
||
// DecimalWhole says "Enter a whole number"
|
||
// in the language the app shows.
|
||
//
|
||
// What a decimal input whose step has no decimals says of a number with
|
||
// some.
|
||
func DecimalWhole() string { return In(i18n.Locale()).DecimalWhole() }
|
||
|
||
// DecimalWhole says "Enter a whole number"
|
||
// in the language of msgs.
|
||
//
|
||
// What a decimal input whose step has no decimals says of a number with
|
||
// some.
|
||
func (msgs Messages) DecimalWhole() string {
|
||
return Catalog.Format(msgs.locale, "decimalWhole", nil)
|
||
}
|
||
|
||
// DecimalPlaces says "{n, plural, one {Use at most # decimal place} other {Use at most # decimal places}}"
|
||
// in the language the app shows.
|
||
//
|
||
// What a decimal input says of a number with more decimals than its step
|
||
// has, which it does not round.
|
||
func DecimalPlaces(n int) string { return In(i18n.Locale()).DecimalPlaces(n) }
|
||
|
||
// DecimalPlaces says "{n, plural, one {Use at most # decimal place} other {Use at most # decimal places}}"
|
||
// in the language of msgs.
|
||
//
|
||
// What a decimal input says of a number with more decimals than its step
|
||
// has, which it does not round.
|
||
func (msgs Messages) DecimalPlaces(n int) string {
|
||
return Catalog.Format(msgs.locale, "decimalPlaces", map[string]any{"n": n})
|
||
}
|
||
|
||
// DecimalAtLeast says "Enter {min} or more"
|
||
// in the language the app shows.
|
||
//
|
||
// What a decimal input says of a number below its lowest, as "Enter 0.00 or
|
||
// more".
|
||
func DecimalAtLeast(min string) string { return In(i18n.Locale()).DecimalAtLeast(min) }
|
||
|
||
// DecimalAtLeast says "Enter {min} or more"
|
||
// in the language of msgs.
|
||
//
|
||
// What a decimal input says of a number below its lowest, as "Enter 0.00 or
|
||
// more".
|
||
func (msgs Messages) DecimalAtLeast(min string) string {
|
||
return Catalog.Format(msgs.locale, "decimalAtLeast", map[string]any{"min": min})
|
||
}
|
||
|
||
// DecimalAtMost says "Enter {max} or less"
|
||
// in the language the app shows.
|
||
//
|
||
// What a decimal input says of a number above its highest, as "Enter 100.00
|
||
// or less".
|
||
func DecimalAtMost(max string) string { return In(i18n.Locale()).DecimalAtMost(max) }
|
||
|
||
// DecimalAtMost says "Enter {max} or less"
|
||
// in the language of msgs.
|
||
//
|
||
// What a decimal input says of a number above its highest, as "Enter 100.00
|
||
// or less".
|
||
func (msgs Messages) DecimalAtMost(max string) string {
|
||
return Catalog.Format(msgs.locale, "decimalAtMost", map[string]any{"max": max})
|
||
}
|
||
|
||
// DesktopShortcut says "Create a desktop shortcut"
|
||
// in the language the app shows.
|
||
//
|
||
// Labels the check box on the finish page of an app's Windows installer,
|
||
// which puts a shortcut to the app on the desktop.
|
||
func DesktopShortcut() string { return In(i18n.Locale()).DesktopShortcut() }
|
||
|
||
// DesktopShortcut says "Create a desktop shortcut"
|
||
// in the language of msgs.
|
||
//
|
||
// Labels the check box on the finish page of an app's Windows installer,
|
||
// which puts a shortcut to the app on the desktop.
|
||
func (msgs Messages) DesktopShortcut() string {
|
||
return Catalog.Format(msgs.locale, "desktopShortcut", nil)
|
||
}
|
||
|
||
// Selected says "selected"
|
||
// in the language the app shows.
|
||
//
|
||
// What VoiceOver reads after the name of a cell of a grid that is chosen,
|
||
// as a calendar's day picked, where it reads no chosen state of cells
|
||
// itself.
|
||
func Selected() string { return In(i18n.Locale()).Selected() }
|
||
|
||
// Selected says "selected"
|
||
// in the language of msgs.
|
||
//
|
||
// What VoiceOver reads after the name of a cell of a grid that is chosen,
|
||
// as a calendar's day picked, where it reads no chosen state of cells
|
||
// itself.
|
||
func (msgs Messages) Selected() string {
|
||
return Catalog.Format(msgs.locale, "selected", nil)
|
||
}
|
||
|
||
// PermissionAccessibility says "Accessibility"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Accessibility permission in System Settings.
|
||
func PermissionAccessibility() string { return In(i18n.Locale()).PermissionAccessibility() }
|
||
|
||
// PermissionAccessibility says "Accessibility"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Accessibility permission in System Settings.
|
||
func (msgs Messages) PermissionAccessibility() string {
|
||
return Catalog.Format(msgs.locale, "permissionAccessibility", nil)
|
||
}
|
||
|
||
// PermissionDeviceControlAndDataAccess says "Device Control and Data Access"
|
||
// in the language the app shows.
|
||
//
|
||
// The macOS 27 name of the Accessibility permission in System Settings.
|
||
func PermissionDeviceControlAndDataAccess() string {
|
||
return In(i18n.Locale()).PermissionDeviceControlAndDataAccess()
|
||
}
|
||
|
||
// PermissionDeviceControlAndDataAccess says "Device Control and Data Access"
|
||
// in the language of msgs.
|
||
//
|
||
// The macOS 27 name of the Accessibility permission in System Settings.
|
||
func (msgs Messages) PermissionDeviceControlAndDataAccess() string {
|
||
return Catalog.Format(msgs.locale, "permissionDeviceControlAndDataAccess", nil)
|
||
}
|
||
|
||
// PermissionScreenRecording says "Screen Recording"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Screen Recording permission in System Settings.
|
||
func PermissionScreenRecording() string { return In(i18n.Locale()).PermissionScreenRecording() }
|
||
|
||
// PermissionScreenRecording says "Screen Recording"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Screen Recording permission in System Settings.
|
||
func (msgs Messages) PermissionScreenRecording() string {
|
||
return Catalog.Format(msgs.locale, "permissionScreenRecording", nil)
|
||
}
|
||
|
||
// PermissionInputMonitoring says "Input Monitoring"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Input Monitoring permission in System Settings.
|
||
func PermissionInputMonitoring() string { return In(i18n.Locale()).PermissionInputMonitoring() }
|
||
|
||
// PermissionInputMonitoring says "Input Monitoring"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Input Monitoring permission in System Settings.
|
||
func (msgs Messages) PermissionInputMonitoring() string {
|
||
return Catalog.Format(msgs.locale, "permissionInputMonitoring", nil)
|
||
}
|
||
|
||
// PermissionFullDiskAccess says "Full Disk Access"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Full Disk Access permission in System Settings.
|
||
func PermissionFullDiskAccess() string { return In(i18n.Locale()).PermissionFullDiskAccess() }
|
||
|
||
// PermissionFullDiskAccess says "Full Disk Access"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Full Disk Access permission in System Settings.
|
||
func (msgs Messages) PermissionFullDiskAccess() string {
|
||
return Catalog.Format(msgs.locale, "permissionFullDiskAccess", nil)
|
||
}
|
||
|
||
// PermissionAppManagement says "App Management"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the App Management permission in System Settings.
|
||
func PermissionAppManagement() string { return In(i18n.Locale()).PermissionAppManagement() }
|
||
|
||
// PermissionAppManagement says "App Management"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the App Management permission in System Settings.
|
||
func (msgs Messages) PermissionAppManagement() string {
|
||
return Catalog.Format(msgs.locale, "permissionAppManagement", nil)
|
||
}
|
||
|
||
// PermissionDeveloperTools says "Developer Tools"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Developer Tools permission in System Settings.
|
||
func PermissionDeveloperTools() string { return In(i18n.Locale()).PermissionDeveloperTools() }
|
||
|
||
// PermissionDeveloperTools says "Developer Tools"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Developer Tools permission in System Settings.
|
||
func (msgs Messages) PermissionDeveloperTools() string {
|
||
return Catalog.Format(msgs.locale, "permissionDeveloperTools", nil)
|
||
}
|
||
|
||
// PermissionMicrophone says "Microphone"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Microphone permission in System Settings.
|
||
func PermissionMicrophone() string { return In(i18n.Locale()).PermissionMicrophone() }
|
||
|
||
// PermissionMicrophone says "Microphone"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Microphone permission in System Settings.
|
||
func (msgs Messages) PermissionMicrophone() string {
|
||
return Catalog.Format(msgs.locale, "permissionMicrophone", nil)
|
||
}
|
||
|
||
// PermissionCamera says "Camera"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Camera permission in System Settings.
|
||
func PermissionCamera() string { return In(i18n.Locale()).PermissionCamera() }
|
||
|
||
// PermissionCamera says "Camera"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Camera permission in System Settings.
|
||
func (msgs Messages) PermissionCamera() string {
|
||
return Catalog.Format(msgs.locale, "permissionCamera", nil)
|
||
}
|
||
|
||
// PermissionCalendars says "Calendars"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Calendars permission in System Settings.
|
||
func PermissionCalendars() string { return In(i18n.Locale()).PermissionCalendars() }
|
||
|
||
// PermissionCalendars says "Calendars"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Calendars permission in System Settings.
|
||
func (msgs Messages) PermissionCalendars() string {
|
||
return Catalog.Format(msgs.locale, "permissionCalendars", nil)
|
||
}
|
||
|
||
// PermissionReminders says "Reminders"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Reminders permission in System Settings.
|
||
func PermissionReminders() string { return In(i18n.Locale()).PermissionReminders() }
|
||
|
||
// PermissionReminders says "Reminders"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Reminders permission in System Settings.
|
||
func (msgs Messages) PermissionReminders() string {
|
||
return Catalog.Format(msgs.locale, "permissionReminders", nil)
|
||
}
|
||
|
||
// PermissionBluetooth says "Bluetooth"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Bluetooth permission in System Settings.
|
||
func PermissionBluetooth() string { return In(i18n.Locale()).PermissionBluetooth() }
|
||
|
||
// PermissionBluetooth says "Bluetooth"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Bluetooth permission in System Settings.
|
||
func (msgs Messages) PermissionBluetooth() string {
|
||
return Catalog.Format(msgs.locale, "permissionBluetooth", nil)
|
||
}
|
||
|
||
// PermissionMediaAppleMusic says "Media & Apple Music"
|
||
// in the language the app shows.
|
||
//
|
||
// The name of the Media & Apple Music permission in System Settings.
|
||
func PermissionMediaAppleMusic() string { return In(i18n.Locale()).PermissionMediaAppleMusic() }
|
||
|
||
// PermissionMediaAppleMusic says "Media & Apple Music"
|
||
// in the language of msgs.
|
||
//
|
||
// The name of the Media & Apple Music permission in System Settings.
|
||
func (msgs Messages) PermissionMediaAppleMusic() string {
|
||
return Catalog.Format(msgs.locale, "permissionMediaAppleMusic", nil)
|
||
}
|
||
|
||
// GuideDrag says "Drag {app} to the list above to allow {permission}."
|
||
// in the language the app shows.
|
||
//
|
||
// The sentence the permissionflow Guide panel shows above the app card.
|
||
// 'app' is the name of the app to drag, 'permission' is the name of the
|
||
// permission, as 'Accessibility'.
|
||
func GuideDrag(app string, permission string) string {
|
||
return In(i18n.Locale()).GuideDrag(app, permission)
|
||
}
|
||
|
||
// GuideDrag says "Drag {app} to the list above to allow {permission}."
|
||
// in the language of msgs.
|
||
//
|
||
// The sentence the permissionflow Guide panel shows above the app card.
|
||
// 'app' is the name of the app to drag, 'permission' is the name of the
|
||
// permission, as 'Accessibility'.
|
||
func (msgs Messages) GuideDrag(app string, permission string) string {
|
||
return Catalog.Format(msgs.locale, "guideDrag", map[string]any{"app": app, "permission": permission})
|
||
}
|
||
|
||
// GuideDragHint says "Drag"
|
||
// in the language the app shows.
|
||
//
|
||
// The small hint label on the app card of the permissionflow Guide panel,
|
||
// next to the hand icon, telling the user to drag the app.
|
||
func GuideDragHint() string { return In(i18n.Locale()).GuideDragHint() }
|
||
|
||
// GuideDragHint says "Drag"
|
||
// in the language of msgs.
|
||
//
|
||
// The small hint label on the app card of the permissionflow Guide panel,
|
||
// next to the hand icon, telling the user to drag the app.
|
||
func (msgs Messages) GuideDragHint() string {
|
||
return Catalog.Format(msgs.locale, "guideDragHint", nil)
|
||
}
|