Documentation
¶
Overview ¶
Package l10n holds Golet's own strings, those of the controls of package ui, of the code editor and the diff viewer, and of the roles of menus, in the languages Golet is translated to: a library's catalog (see i18n.NewLibraryCatalog) of the namespace golet, whose functions say them in the language the app shows. An app changes them, or translates them to its other languages, with keys "golet.<key>" in its own catalogs, as "golet.cancel" in its de.json.
en.json, the source, is always linked, as messages/en.json: its messages without their descriptions, which only `golet generate` reads. The translations to the other languages (Languages) are packages of their own, in locales/<tag> at the root of the module, which an app imports for the languages it ships, as the code `golet generate` writes for its catalogs does: an app does not carry the translations to languages it does not show. catalog_gen.go, languages_gen.go and the packages of the translations are generated by `go generate`, with the code generator of apps' catalogs (internal/i18ngen).
Index ¶
- Constants
- Variables
- func Add(fsys fs.FS)
- func AlreadyExists(name string) string
- func AlreadyExistsDetail() string
- func CamelCase() string
- func Cancel() string
- func ChangedOnDisk(name string) string
- func ChangedOnDiskDetail() string
- func ChangesLost() string
- func Clear() string
- func ClearTerminal() string
- func ClipboardRead() string
- func ClipboardReadAllow() string
- func ClipboardReadDeny() string
- func ClipboardReadEmpty() string
- func Close() string
- func CodeEditor() string
- func ColorName(color string) string
- func ColorValue(saturation float64, brightness float64) string
- func Completions() string
- func Copied() string
- func Copy() string
- func CopyAsMarkdown() string
- func CopyCode() string
- func CurrentLine(line int, lines int, column int) string
- func Cut() string
- func DayPeriod() string
- func DecimalAtLeast(min string) string
- func DecimalAtMost(max string) string
- func DecimalInvalid() string
- func DecimalPlaces(n int) string
- func DecimalWhole() string
- func Delete() string
- func DeleteDocument() string
- func DesktopShortcut() string
- func DeveloperTools() string
- func DiscardChanges() string
- func Divider() string
- func DocumentFailed(action string, name string) string
- func Done() string
- func DontSave() string
- func Elements() string
- func Expand(what string) string
- func ExpandAll() string
- func ExpandDown() string
- func ExpandSelection() string
- func ExpandUp() string
- func FS() fs.FS
- func Find() string
- func FindInSelection() string
- func Fold() string
- func FoldAll() string
- func Folding() string
- func GoToDefinition() string
- func GoToLine() string
- func Hex() string
- func Hours() string
- func HunkAction(action string) string
- func Image() string
- func Invalid() string
- func JoinLines() string
- func KebabCase() string
- func Keep() string
- func KeepNewDocument(name string) string
- func KeepNewDocumentDetail() string
- func Line(n int) string
- func LineRange(lines int) string
- func LowerCase() string
- func MatchCase() string
- func MatchWholeWord() string
- func Matches(current int, total int) string
- func MatchesMore(current int, total int) string
- func MenuAbout(app string) string
- func MenuActualSize() string
- func MenuAlignLeft() string
- func MenuAlignRight() string
- func MenuBold() string
- func MenuBringAllToFront() string
- func MenuCenter() string
- func MenuClearRecent() string
- func MenuClose() string
- func MenuCloseWindow() string
- func MenuCopy() string
- func MenuCut() string
- func MenuDelete() string
- func MenuDuplicate() string
- func MenuEdit() string
- func MenuExit() string
- func MenuFile() string
- func MenuForceReload() string
- func MenuFormat() string
- func MenuHelp() string
- func MenuHide(app string) string
- func MenuHideOthers() string
- func MenuItalic() string
- func MenuMinimize() string
- func MenuMoveTo() string
- func MenuNew() string
- func MenuOpen() string
- func MenuOpenRecent() string
- func MenuPaste() string
- func MenuPasteAndMatchStyle() string
- func MenuQuit() string
- func MenuQuitApp(app string) string
- func MenuRedo() string
- func MenuReload() string
- func MenuRename() string
- func MenuRevert() string
- func MenuRevertToSaved() string
- func MenuSave() string
- func MenuSaveAs() string
- func MenuSelectAll() string
- func MenuServices() string
- func MenuShowAll() string
- func MenuSpeech() string
- func MenuStartSpeaking() string
- func MenuStopSpeaking() string
- func MenuStrikethrough() string
- func MenuToggleDevTools() string
- func MenuToggleFullScreen() string
- func MenuUnderline() string
- func MenuUndo() string
- func MenuView() string
- func MenuWindow() string
- func MenuZoom() string
- func MenuZoomIn() string
- func MenuZoomOut() string
- func Minutes() string
- func More() string
- func Move() string
- func MoveTo() string
- func NewText() string
- func Next() string
- func NextMatch() string
- func NextMonth() string
- func NoMatches() string
- func NoResults() string
- func Ok() string
- func OldText() string
- func Open() string
- func PascalCase() string
- func Paste() string
- func Previous() string
- func PreviousMatch() string
- func PreviousMonth() string
- func ReadOnly(name string) string
- func ReadOnlyDetail() string
- func RemoveToken(token string) string
- func Rename() string
- func RenameTo() string
- func Replace() string
- func ReplaceAll() string
- func ReplaceFile() string
- func ReverseLines() string
- func Revert() string
- func RevertDetail() string
- func RevertDocument() string
- func RevertQuestion(name string) string
- func ReviewBeforeQuitting(n int, app string) string
- func ReviewBeforeQuittingDetail() string
- func ReviewChanges() string
- func RichText() string
- func Saturation() string
- func Save() string
- func SaveAll() string
- func SaveAnyway() string
- func SaveAs() string
- func SaveChanges(name string) string
- func SaveEllipsis() string
- func SaveManyChanges(n int) string
- func Search() string
- func SelectAll() string
- func SelectAllOccurrences() string
- func SelectFolder() string
- func SelectNextOccurrence() string
- func Selected() string
- func Selection() string
- func SnakeCase() string
- func SortLines() string
- func SplitIntoLines() string
- func TitleCase() string
- func ToggleComment() string
- func Transform() string
- func TrimTrailingWhitespace() string
- func Undo() string
- func Unfold() string
- func UnfoldAll() string
- func UniqueLines() string
- func UnmodifiedLines(n int) string
- func Untitled() string
- func UntitledNumbered(n int) string
- func UpperCase() string
- func UseRegularExpression() string
- type Messages
- func (msgs Messages) AlreadyExists(name string) string
- func (msgs Messages) AlreadyExistsDetail() string
- func (msgs Messages) CamelCase() string
- func (msgs Messages) Cancel() string
- func (msgs Messages) ChangedOnDisk(name string) string
- func (msgs Messages) ChangedOnDiskDetail() string
- func (msgs Messages) ChangesLost() string
- func (msgs Messages) Clear() string
- func (msgs Messages) ClearTerminal() string
- func (msgs Messages) ClipboardRead() string
- func (msgs Messages) ClipboardReadAllow() string
- func (msgs Messages) ClipboardReadDeny() string
- func (msgs Messages) ClipboardReadEmpty() string
- func (msgs Messages) Close() string
- func (msgs Messages) CodeEditor() string
- func (msgs Messages) ColorName(color string) string
- func (msgs Messages) ColorValue(saturation float64, brightness float64) string
- func (msgs Messages) Completions() string
- func (msgs Messages) Copied() string
- func (msgs Messages) Copy() string
- func (msgs Messages) CopyAsMarkdown() string
- func (msgs Messages) CopyCode() string
- func (msgs Messages) CurrentLine(line int, lines int, column int) string
- func (msgs Messages) Cut() string
- func (msgs Messages) DayPeriod() string
- func (msgs Messages) DecimalAtLeast(min string) string
- func (msgs Messages) DecimalAtMost(max string) string
- func (msgs Messages) DecimalInvalid() string
- func (msgs Messages) DecimalPlaces(n int) string
- func (msgs Messages) DecimalWhole() string
- func (msgs Messages) Delete() string
- func (msgs Messages) DeleteDocument() string
- func (msgs Messages) DesktopShortcut() string
- func (msgs Messages) DeveloperTools() string
- func (msgs Messages) DiscardChanges() string
- func (msgs Messages) Divider() string
- func (msgs Messages) DocumentFailed(action string, name string) string
- func (msgs Messages) Done() string
- func (msgs Messages) DontSave() string
- func (msgs Messages) Elements() string
- func (msgs Messages) Expand(what string) string
- func (msgs Messages) ExpandAll() string
- func (msgs Messages) ExpandDown() string
- func (msgs Messages) ExpandSelection() string
- func (msgs Messages) ExpandUp() string
- func (msgs Messages) Find() string
- func (msgs Messages) FindInSelection() string
- func (msgs Messages) Fold() string
- func (msgs Messages) FoldAll() string
- func (msgs Messages) Folding() string
- func (msgs Messages) GoToDefinition() string
- func (msgs Messages) GoToLine() string
- func (msgs Messages) Hex() string
- func (msgs Messages) Hours() string
- func (msgs Messages) HunkAction(action string) string
- func (msgs Messages) Image() string
- func (msgs Messages) Invalid() string
- func (msgs Messages) JoinLines() string
- func (msgs Messages) KebabCase() string
- func (msgs Messages) Keep() string
- func (msgs Messages) KeepNewDocument(name string) string
- func (msgs Messages) KeepNewDocumentDetail() string
- func (msgs Messages) Line(n int) string
- func (msgs Messages) LineRange(lines int) string
- func (msgs Messages) LowerCase() string
- func (msgs Messages) MatchCase() string
- func (msgs Messages) MatchWholeWord() string
- func (msgs Messages) Matches(current int, total int) string
- func (msgs Messages) MatchesMore(current int, total int) string
- func (msgs Messages) MenuAbout(app string) string
- func (msgs Messages) MenuActualSize() string
- func (msgs Messages) MenuAlignLeft() string
- func (msgs Messages) MenuAlignRight() string
- func (msgs Messages) MenuBold() string
- func (msgs Messages) MenuBringAllToFront() string
- func (msgs Messages) MenuCenter() string
- func (msgs Messages) MenuClearRecent() string
- func (msgs Messages) MenuClose() string
- func (msgs Messages) MenuCloseWindow() string
- func (msgs Messages) MenuCopy() string
- func (msgs Messages) MenuCut() string
- func (msgs Messages) MenuDelete() string
- func (msgs Messages) MenuDuplicate() string
- func (msgs Messages) MenuEdit() string
- func (msgs Messages) MenuExit() string
- func (msgs Messages) MenuFile() string
- func (msgs Messages) MenuForceReload() string
- func (msgs Messages) MenuFormat() string
- func (msgs Messages) MenuHelp() string
- func (msgs Messages) MenuHide(app string) string
- func (msgs Messages) MenuHideOthers() string
- func (msgs Messages) MenuItalic() string
- func (msgs Messages) MenuMinimize() string
- func (msgs Messages) MenuMoveTo() string
- func (msgs Messages) MenuNew() string
- func (msgs Messages) MenuOpen() string
- func (msgs Messages) MenuOpenRecent() string
- func (msgs Messages) MenuPaste() string
- func (msgs Messages) MenuPasteAndMatchStyle() string
- func (msgs Messages) MenuQuit() string
- func (msgs Messages) MenuQuitApp(app string) string
- func (msgs Messages) MenuRedo() string
- func (msgs Messages) MenuReload() string
- func (msgs Messages) MenuRename() string
- func (msgs Messages) MenuRevert() string
- func (msgs Messages) MenuRevertToSaved() string
- func (msgs Messages) MenuSave() string
- func (msgs Messages) MenuSaveAs() string
- func (msgs Messages) MenuSelectAll() string
- func (msgs Messages) MenuServices() string
- func (msgs Messages) MenuShowAll() string
- func (msgs Messages) MenuSpeech() string
- func (msgs Messages) MenuStartSpeaking() string
- func (msgs Messages) MenuStopSpeaking() string
- func (msgs Messages) MenuStrikethrough() string
- func (msgs Messages) MenuToggleDevTools() string
- func (msgs Messages) MenuToggleFullScreen() string
- func (msgs Messages) MenuUnderline() string
- func (msgs Messages) MenuUndo() string
- func (msgs Messages) MenuView() string
- func (msgs Messages) MenuWindow() string
- func (msgs Messages) MenuZoom() string
- func (msgs Messages) MenuZoomIn() string
- func (msgs Messages) MenuZoomOut() string
- func (msgs Messages) Minutes() string
- func (msgs Messages) More() string
- func (msgs Messages) Move() string
- func (msgs Messages) MoveTo() string
- func (msgs Messages) NewText() string
- func (msgs Messages) Next() string
- func (msgs Messages) NextMatch() string
- func (msgs Messages) NextMonth() string
- func (msgs Messages) NoMatches() string
- func (msgs Messages) NoResults() string
- func (msgs Messages) Ok() string
- func (msgs Messages) OldText() string
- func (msgs Messages) Open() string
- func (msgs Messages) PascalCase() string
- func (msgs Messages) Paste() string
- func (msgs Messages) Previous() string
- func (msgs Messages) PreviousMatch() string
- func (msgs Messages) PreviousMonth() string
- func (msgs Messages) ReadOnly(name string) string
- func (msgs Messages) ReadOnlyDetail() string
- func (msgs Messages) RemoveToken(token string) string
- func (msgs Messages) Rename() string
- func (msgs Messages) RenameTo() string
- func (msgs Messages) Replace() string
- func (msgs Messages) ReplaceAll() string
- func (msgs Messages) ReplaceFile() string
- func (msgs Messages) ReverseLines() string
- func (msgs Messages) Revert() string
- func (msgs Messages) RevertDetail() string
- func (msgs Messages) RevertDocument() string
- func (msgs Messages) RevertQuestion(name string) string
- func (msgs Messages) ReviewBeforeQuitting(n int, app string) string
- func (msgs Messages) ReviewBeforeQuittingDetail() string
- func (msgs Messages) ReviewChanges() string
- func (msgs Messages) RichText() string
- func (msgs Messages) Saturation() string
- func (msgs Messages) Save() string
- func (msgs Messages) SaveAll() string
- func (msgs Messages) SaveAnyway() string
- func (msgs Messages) SaveAs() string
- func (msgs Messages) SaveChanges(name string) string
- func (msgs Messages) SaveEllipsis() string
- func (msgs Messages) SaveManyChanges(n int) string
- func (msgs Messages) Search() string
- func (msgs Messages) SelectAll() string
- func (msgs Messages) SelectAllOccurrences() string
- func (msgs Messages) SelectFolder() string
- func (msgs Messages) SelectNextOccurrence() string
- func (msgs Messages) Selected() string
- func (msgs Messages) Selection() string
- func (msgs Messages) SnakeCase() string
- func (msgs Messages) SortLines() string
- func (msgs Messages) SplitIntoLines() string
- func (msgs Messages) TitleCase() string
- func (msgs Messages) ToggleComment() string
- func (msgs Messages) Transform() string
- func (msgs Messages) TrimTrailingWhitespace() string
- func (msgs Messages) Undo() string
- func (msgs Messages) Unfold() string
- func (msgs Messages) UnfoldAll() string
- func (msgs Messages) UniqueLines() string
- func (msgs Messages) UnmodifiedLines(n int) string
- func (msgs Messages) Untitled() string
- func (msgs Messages) UntitledNumbered(n int) string
- func (msgs Messages) UpperCase() string
- func (msgs Messages) UseRegularExpression() string
Constants ¶
const Namespace = "golet"
Namespace is the namespace of the keys with which apps change Golet's strings: "golet.<key>".
Variables ¶
var Catalog *i18n.Catalog
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 "golet.<key>" in their catalogs.
var Languages = []string{"ja", "zh-Hans", "zh-Hant"}
Languages are those Golet's own strings are translated to besides English, each in a package an app imports, as github.com/HyperparameterSI/golet/backend/locales/zh-Hans.
Functions ¶
func Add ¶
Add adds the translations of fsys, "<tag>.json", to Golet's strings: the package of each translation adds its own as it is imported.
func AlreadyExists ¶
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 AlreadyExistsDetail ¶
func AlreadyExistsDetail() string
AlreadyExistsDetail says "Replacing it overwrites its current contents." in the language the app shows.
Explains alreadyExists.
func CamelCase ¶
func CamelCase() string
CamelCase says "Camel Case" in the language the app shows.
An item of the code editor's Transform menu.
func Cancel ¶
func Cancel() string
Cancel says "Cancel" in the language the app shows.
A button of a dialog that cancels what it asks about.
func ChangedOnDisk ¶
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 ChangedOnDiskDetail ¶
func ChangedOnDiskDetail() string
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 ChangesLost ¶
func ChangesLost() string
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 Clear ¶
func Clear() string
Clear says "Clear" in the language the app shows.
Labels the button that clears a search field.
func ClearTerminal ¶ added in v0.1.8
func ClearTerminal() string
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 ClipboardRead ¶
func ClipboardRead() string
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 ClipboardReadAllow ¶
func ClipboardReadAllow() string
ClipboardReadAllow says "Allow" in the language the app shows.
The button of the terminal's clipboard prompt that lets the program read.
func ClipboardReadDeny ¶
func ClipboardReadDeny() string
ClipboardReadDeny says "Deny" in the language the app shows.
The button of the terminal's clipboard prompt that refuses the program.
func ClipboardReadEmpty ¶
func ClipboardReadEmpty() string
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 Close ¶
func Close() string
Close says "Close" in the language the app shows.
Labels the button that closes a find bar.
func CodeEditor ¶
func CodeEditor() string
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 ColorName ¶
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 ColorValue ¶
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 Completions ¶
func Completions() string
Completions says "Completions" in the language the app shows.
Labels the code editor's list of completions.
func Copied ¶
func Copied() string
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 Copy ¶
func Copy() string
Copy says "Copy" in the language the app shows.
An item of the menu of a text field.
func CopyAsMarkdown ¶
func CopyAsMarkdown() string
CopyAsMarkdown says "Copy as Markdown" in the language the app shows.
An item of the menu of a view of Markdown.
func CopyCode ¶
func CopyCode() string
CopyCode says "Copy code" in the language the app shows.
Labels the button of a code block of Markdown that copies its code.
func CurrentLine ¶
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 Cut ¶
func Cut() string
Cut says "Cut" in the language the app shows.
An item of the menu of a text field.
func DayPeriod ¶
func DayPeriod() string
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 DecimalAtLeast ¶ added in v0.1.15
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 DecimalAtMost ¶ added in v0.1.15
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 DecimalInvalid ¶ added in v0.1.15
func DecimalInvalid() string
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 DecimalPlaces ¶ added in v0.1.15
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 DecimalWhole ¶ added in v0.1.15
func DecimalWhole() string
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 Delete ¶
func Delete() string
Delete says "Delete" in the language the app shows.
An item of the menu of a text field.
func DeleteDocument ¶
func DeleteDocument() string
DeleteDocument says "Delete" in the language the app shows.
A button of a dialog that deletes a new document instead of saving it.
func DesktopShortcut ¶ added in v0.1.15
func DesktopShortcut() string
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 DeveloperTools ¶
func DeveloperTools() string
DeveloperTools says "Developer tools" in the language the app shows.
Labels the inspector of native UI.
func DiscardChanges ¶
func DiscardChanges() string
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 Divider ¶
func Divider() string
Divider says "Divider" in the language the app shows.
Labels the line between the panes of a split view.
func DocumentFailed ¶
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 Done ¶
func Done() string
Done says "Done" in the language the app shows.
The button that closes a find bar.
func DontSave ¶
func DontSave() string
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 Elements ¶
func Elements() string
Elements says "Elements" in the language the app shows.
Labels the inspector's list of the elements of the window.
func Expand ¶
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 ExpandAll ¶
func ExpandAll() string
ExpandAll says "Expand all" in the language the app shows.
Labels the button of a diff viewer that shows all the unchanged lines.
func ExpandDown ¶
func ExpandDown() string
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 ExpandSelection ¶
func ExpandSelection() string
ExpandSelection says "Expand Selection" in the language the app shows.
An item of the code editor's Selection menu.
func ExpandUp ¶
func ExpandUp() string
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 FS ¶
FS returns the catalogs as they are written, which `golet generate` checks the keys "golet.<key>" of apps against: only it links them.
func Find ¶
func Find() string
Find says "Find" in the language the app shows.
Labels the bar that searches text, and is what its empty field shows.
func FindInSelection ¶
func FindInSelection() string
FindInSelection says "Find in selection" in the language the app shows.
An option of a find bar.
func Fold ¶
func Fold() string
Fold says "Fold" in the language the app shows.
An item of the code editor's Folding menu.
func FoldAll ¶
func FoldAll() string
FoldAll says "Fold All" in the language the app shows.
An item of the code editor's Folding menu.
func Folding ¶
func Folding() string
Folding says "Folding" in the language the app shows.
A submenu of the code editor's menu.
func GoToDefinition ¶
func GoToDefinition() string
GoToDefinition says "Go to Definition" in the language the app shows.
An item of the code editor's menu.
func GoToLine ¶
func GoToLine() string
GoToLine says "Go to line" in the language the app shows.
Labels the bar that goes to a line.
func Hex ¶
func Hex() string
Hex says "Hex" in the language the app shows.
Labels the field of a color picker that holds the color as hexadecimal.
func Hours ¶
func Hours() string
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 HunkAction ¶
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 Image ¶
func Image() string
Image says "Image" in the language the app shows.
Names an image of Markdown without a description to assistive technology.
func Invalid ¶
func Invalid() string
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 JoinLines ¶
func JoinLines() string
JoinLines says "Join Lines" in the language the app shows.
An item of the code editor's Transform menu.
func KebabCase ¶
func KebabCase() string
KebabCase says "Kebab Case" in the language the app shows.
An item of the code editor's Transform menu.
func Keep ¶
func Keep() string
Keep says "Keep" in the language the app shows.
An action of a diff viewer on a change.
func KeepNewDocument ¶
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 KeepNewDocumentDetail ¶
func KeepNewDocumentDetail() string
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 Line ¶
Line says "Line {n, number, ::group-off}" in the language the app shows.
The line a gutter button of a diff viewer adds a line at, as assistive technology reads it.
func LineRange ¶
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 LowerCase ¶
func LowerCase() string
LowerCase says "Lower Case" in the language the app shows.
An item of the code editor's Transform menu.
func MatchCase ¶
func MatchCase() string
MatchCase says "Match case" in the language the app shows.
An option of a find bar.
func MatchWholeWord ¶
func MatchWholeWord() string
MatchWholeWord says "Match whole word" in the language the app shows.
An option of a find bar.
func Matches ¶
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 MatchesMore ¶
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 MenuAbout ¶
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 MenuActualSize ¶
func MenuActualSize() string
MenuActualSize says "Actual Size" in the language the app shows.
The label of the menu items of the role resetZoom (MenuItem.Role).
func MenuAlignLeft ¶
func MenuAlignLeft() string
MenuAlignLeft says "Align Left" in the language the app shows.
The label of the menu items of the role alignLeft (MenuItem.Role).
func MenuAlignRight ¶
func MenuAlignRight() string
MenuAlignRight says "Align Right" in the language the app shows.
The label of the menu items of the role alignRight (MenuItem.Role).
func MenuBold ¶
func MenuBold() string
MenuBold says "Bold" in the language the app shows.
The label of the menu items of the role bold (MenuItem.Role).
func MenuBringAllToFront ¶
func MenuBringAllToFront() string
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 MenuCenter ¶
func MenuCenter() string
MenuCenter says "Center" in the language the app shows.
The label of the menu items of the role alignCenter (MenuItem.Role).
func MenuClearRecent ¶
func MenuClearRecent() string
MenuClearRecent says "Clear Menu" in the language the app shows.
The last item of the menu of recent documents, which empties it.
func MenuClose ¶
func MenuClose() string
MenuClose says "Close" in the language the app shows.
The item that closes a document's window.
func MenuCloseWindow ¶
func MenuCloseWindow() string
MenuCloseWindow says "Close Window" in the language the app shows.
The item that closes a window.
func MenuCopy ¶
func MenuCopy() string
MenuCopy says "Copy" in the language the app shows.
The label of the menu items of the role copy (MenuItem.Role).
func MenuCut ¶
func MenuCut() string
MenuCut says "Cut" in the language the app shows.
The label of the menu items of the role cut (MenuItem.Role).
func MenuDelete ¶
func MenuDelete() string
MenuDelete says "Delete" in the language the app shows.
The label of the menu items of the role delete (MenuItem.Role).
func MenuDuplicate ¶
func MenuDuplicate() string
MenuDuplicate says "Duplicate" in the language the app shows.
The label of the menu items of the role duplicate (MenuItem.Role).
func MenuEdit ¶
func MenuEdit() string
MenuEdit says "Edit" in the language the app shows.
A menu of the menu bar.
func MenuExit ¶
func MenuExit() string
MenuExit says "Exit" in the language the app shows.
The item that quits the app on Windows.
func MenuFile ¶
func MenuFile() string
MenuFile says "File" in the language the app shows.
A menu of the menu bar.
func MenuForceReload ¶
func MenuForceReload() string
MenuForceReload says "Force Reload" in the language the app shows.
The label of the menu items of the role forceReload (MenuItem.Role).
func MenuFormat ¶
func MenuFormat() string
MenuFormat says "Format" in the language the app shows.
A menu of the menu bar.
func MenuHelp ¶
func MenuHelp() string
MenuHelp says "Help" in the language the app shows.
A menu of the menu bar.
func MenuHide ¶
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 MenuHideOthers ¶
func MenuHideOthers() string
MenuHideOthers says "Hide Others" in the language the app shows.
The label of the menu items of the role hideOthers (MenuItem.Role).
func MenuItalic ¶
func MenuItalic() string
MenuItalic says "Italic" in the language the app shows.
The label of the menu items of the role italic (MenuItem.Role).
func MenuMinimize ¶
func MenuMinimize() string
MenuMinimize says "Minimize" in the language the app shows.
The label of the menu items of the role minimize (MenuItem.Role).
func MenuMoveTo ¶
func MenuMoveTo() string
MenuMoveTo says "Move To…" in the language the app shows.
The label of the menu items of the role moveTo (MenuItem.Role).
func MenuNew ¶
func MenuNew() string
MenuNew says "New" in the language the app shows.
The label of the menu items of the role new (MenuItem.Role).
func MenuOpen ¶
func MenuOpen() string
MenuOpen says "Open…" in the language the app shows.
The label of the menu items of the role open (MenuItem.Role).
func MenuOpenRecent ¶
func MenuOpenRecent() string
MenuOpenRecent says "Open Recent" in the language the app shows.
The label of the menu items of the role openRecent (MenuItem.Role).
func MenuPaste ¶
func MenuPaste() string
MenuPaste says "Paste" in the language the app shows.
The label of the menu items of the role paste (MenuItem.Role).
func MenuPasteAndMatchStyle ¶
func MenuPasteAndMatchStyle() string
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 MenuQuit ¶
func MenuQuit() string
MenuQuit says "Quit" in the language the app shows.
The item that quits the app on Linux.
func MenuQuitApp ¶
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 MenuRedo ¶
func MenuRedo() string
MenuRedo says "Redo" in the language the app shows.
The label of the menu items of the role redo (MenuItem.Role).
func MenuReload ¶
func MenuReload() string
MenuReload says "Reload" in the language the app shows.
The label of the menu items of the role reload (MenuItem.Role).
func MenuRename ¶
func MenuRename() string
MenuRename says "Rename…" in the language the app shows.
The label of the menu items of the role rename (MenuItem.Role).
func MenuRevert ¶
func MenuRevert() string
MenuRevert says "Revert" in the language the app shows.
The item that reverts a document to its saved version.
func MenuRevertToSaved ¶
func MenuRevertToSaved() string
MenuRevertToSaved says "Revert to Saved" in the language the app shows.
macOS's item that reverts a document to its saved version.
func MenuSave ¶
func MenuSave() string
MenuSave says "Save" in the language the app shows.
The label of the menu items of the role save (MenuItem.Role).
func MenuSaveAs ¶
func MenuSaveAs() string
MenuSaveAs says "Save As…" in the language the app shows.
The label of the menu items of the role saveAs (MenuItem.Role).
func MenuSelectAll ¶
func MenuSelectAll() string
MenuSelectAll says "Select All" in the language the app shows.
The label of the menu items of the role selectAll (MenuItem.Role).
func MenuServices ¶
func MenuServices() string
MenuServices says "Services" in the language the app shows.
The label of the menu items of the role services (MenuItem.Role).
func MenuShowAll ¶
func MenuShowAll() string
MenuShowAll says "Show All" in the language the app shows.
The label of the menu items of the role unhide (MenuItem.Role).
func MenuSpeech ¶
func MenuSpeech() string
MenuSpeech says "Speech" in the language the app shows.
The submenu of macOS's Edit menu with the items that speak the selection.
func MenuStartSpeaking ¶
func MenuStartSpeaking() string
MenuStartSpeaking says "Start Speaking" in the language the app shows.
The label of the menu items of the role startSpeaking (MenuItem.Role).
func MenuStopSpeaking ¶
func MenuStopSpeaking() string
MenuStopSpeaking says "Stop Speaking" in the language the app shows.
The label of the menu items of the role stopSpeaking (MenuItem.Role).
func MenuStrikethrough ¶
func MenuStrikethrough() string
MenuStrikethrough says "Strikethrough" in the language the app shows.
The label of the menu items of the role strikethrough (MenuItem.Role).
func MenuToggleDevTools ¶
func MenuToggleDevTools() string
MenuToggleDevTools says "Toggle Developer Tools" in the language the app shows.
The label of the menu items of the role toggleDevTools (MenuItem.Role).
func MenuToggleFullScreen ¶
func MenuToggleFullScreen() string
MenuToggleFullScreen says "Toggle Full Screen" in the language the app shows.
The label of the menu items of the role togglefullscreen (MenuItem.Role).
func MenuUnderline ¶
func MenuUnderline() string
MenuUnderline says "Underline" in the language the app shows.
The label of the menu items of the role underline (MenuItem.Role).
func MenuUndo ¶
func MenuUndo() string
MenuUndo says "Undo" in the language the app shows.
The label of the menu items of the role undo (MenuItem.Role).
func MenuView ¶
func MenuView() string
MenuView says "View" in the language the app shows.
A menu of the menu bar.
func MenuWindow ¶
func MenuWindow() string
MenuWindow says "Window" in the language the app shows.
A menu of the menu bar.
func MenuZoom ¶
func MenuZoom() string
MenuZoom says "Zoom" in the language the app shows.
The label of the menu items of the role zoom (MenuItem.Role).
func MenuZoomIn ¶
func MenuZoomIn() string
MenuZoomIn says "Zoom In" in the language the app shows.
The label of the menu items of the role zoomIn (MenuItem.Role).
func MenuZoomOut ¶
func MenuZoomOut() string
MenuZoomOut says "Zoom Out" in the language the app shows.
The label of the menu items of the role zoomOut (MenuItem.Role).
func Minutes ¶
func Minutes() string
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 More ¶
func More() string
More says "More" in the language the app shows.
Labels the button of a toolbar that opens what the toolbar hides.
func Move ¶
func Move() string
Move says "Move" in the language the app shows.
The button of the dialog that moves a document to another folder.
func MoveTo ¶
func MoveTo() string
MoveTo says "Move To" in the language the app shows.
The title of the dialog that moves a document to another folder.
func NewText ¶
func NewText() string
NewText says "New text" in the language the app shows.
Names the side of a diff viewer with the text as it is.
func Next ¶
func Next() string
Next says "Next" in the language the app shows.
Labels the button of a find bar that goes to the next match.
func NextMatch ¶
func NextMatch() string
NextMatch says "Next match" in the language the app shows.
Labels the button of a find bar that goes to the next match.
func NextMonth ¶
func NextMonth() string
NextMonth says "Next month" in the language the app shows.
Labels the button of a calendar that shows the next month.
func NoMatches ¶
func NoMatches() string
NoMatches says "No matches" in the language the app shows.
What a find bar says of a query that matches nothing.
func NoResults ¶
func NoResults() string
NoResults says "No results" in the language the app shows.
What a find bar says of a query that matches nothing.
func Ok ¶
func Ok() string
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 OldText ¶
func OldText() string
OldText says "Old text" in the language the app shows.
Names the side of a diff viewer with the text as it was.
func Open ¶
func Open() string
Open says "Open" in the language the app shows.
The title and the button of the dialog that opens files.
func PascalCase ¶
func PascalCase() string
PascalCase says "Pascal Case" in the language the app shows.
An item of the code editor's Transform menu.
func Paste ¶
func Paste() string
Paste says "Paste" in the language the app shows.
An item of the menu of a text field.
func Previous ¶
func Previous() string
Previous says "Previous" in the language the app shows.
Labels the button of a find bar that goes to the previous match.
func PreviousMatch ¶
func PreviousMatch() string
PreviousMatch says "Previous match" in the language the app shows.
Labels the button of a find bar that goes to the previous match.
func PreviousMonth ¶
func PreviousMonth() string
PreviousMonth says "Previous month" in the language the app shows.
Labels the button of a calendar that shows the previous month.
func ReadOnly ¶
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 ReadOnlyDetail ¶
func ReadOnlyDetail() string
ReadOnlyDetail says "Save it as another file to keep your changes." in the language the app shows.
Explains readOnly.
func RemoveToken ¶
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 Rename ¶
func Rename() string
Rename says "Rename" in the language the app shows.
The title and the button of the dialog that renames a document.
func RenameTo ¶
func RenameTo() string
RenameTo says "Rename To:" in the language the app shows.
Labels the field of the name of the dialog that renames a document.
func Replace ¶
func Replace() string
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 ReplaceAll ¶
func ReplaceAll() string
ReplaceAll says "Replace All" in the language the app shows.
Labels the button of a find bar that replaces every match.
func ReplaceFile ¶
func ReplaceFile() string
ReplaceFile says "Replace" in the language the app shows.
A button of a dialog that replaces a file with a document.
func ReverseLines ¶
func ReverseLines() string
ReverseLines says "Reverse Lines" in the language the app shows.
An item of the code editor's Transform menu.
func Revert ¶
func Revert() string
Revert says "Revert" in the language the app shows.
An action of a diff viewer on a change.
func RevertDetail ¶
func RevertDetail() string
RevertDetail says "Your current changes will be lost." in the language the app shows.
Explains revertQuestion.
func RevertDocument ¶
func RevertDocument() string
RevertDocument says "Revert" in the language the app shows.
A button of a dialog that reverts a document to its file.
func RevertQuestion ¶
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 ReviewBeforeQuitting ¶
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 ReviewBeforeQuittingDetail ¶
func ReviewBeforeQuittingDetail() string
ReviewBeforeQuittingDetail says "If you don’t review your documents, all your changes will be lost." in the language the app shows.
Explains reviewBeforeQuitting.
func ReviewChanges ¶
func ReviewChanges() string
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 RichText ¶
func RichText() string
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 Saturation ¶
func Saturation() string
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 Save ¶
func Save() string
Save says "Save" in the language the app shows.
A button of a dialog that saves a document.
func SaveAll ¶
func SaveAll() string
SaveAll says "Save All" in the language the app shows.
A button of a dialog that saves every document with changes.
func SaveAnyway ¶
func SaveAnyway() string
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 SaveAs ¶
func SaveAs() string
SaveAs says "Save As…" in the language the app shows.
A button of a dialog that saves a document as another file.
func SaveChanges ¶
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 SaveEllipsis ¶
func SaveEllipsis() string
SaveEllipsis says "Save…" in the language the app shows.
A button of a dialog that saves a new document, after asking where.
func SaveManyChanges ¶
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 Search ¶
func Search() string
Search says "Search" in the language the app shows.
What an empty search field shows.
func SelectAll ¶
func SelectAll() string
SelectAll says "Select All" in the language the app shows.
An item of the menu of a text field.
func SelectAllOccurrences ¶
func SelectAllOccurrences() string
SelectAllOccurrences says "Select All Occurrences" in the language the app shows.
An item of the code editor's Selection menu.
func SelectFolder ¶
func SelectFolder() string
SelectFolder says "Select Folder" in the language the app shows.
The title of the dialog that chooses a folder.
func SelectNextOccurrence ¶
func SelectNextOccurrence() string
SelectNextOccurrence says "Select Next Occurrence" in the language the app shows.
An item of the code editor's Selection menu.
func Selected ¶ added in v0.1.17
func Selected() string
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 Selection ¶
func Selection() string
Selection says "Selection" in the language the app shows.
A submenu of the code editor's menu.
func SnakeCase ¶
func SnakeCase() string
SnakeCase says "Snake Case" in the language the app shows.
An item of the code editor's Transform menu.
func SortLines ¶
func SortLines() string
SortLines says "Sort Lines" in the language the app shows.
An item of the code editor's Transform menu.
func SplitIntoLines ¶
func SplitIntoLines() string
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 TitleCase ¶
func TitleCase() string
TitleCase says "Title Case" in the language the app shows.
An item of the code editor's Transform menu.
func ToggleComment ¶
func ToggleComment() string
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 Transform ¶
func Transform() string
Transform says "Transform" in the language the app shows.
A submenu of the code editor's menu.
func TrimTrailingWhitespace ¶
func TrimTrailingWhitespace() string
TrimTrailingWhitespace says "Trim Trailing Whitespace" in the language the app shows.
An item of the code editor's Transform menu.
func Undo ¶
func Undo() string
Undo says "Undo" in the language the app shows.
An item of the menu of a text field.
func Unfold ¶
func Unfold() string
Unfold says "Unfold" in the language the app shows.
An item of the code editor's Folding menu.
func UnfoldAll ¶
func UnfoldAll() string
UnfoldAll says "Unfold All" in the language the app shows.
An item of the code editor's Folding menu.
func UniqueLines ¶
func UniqueLines() string
UniqueLines says "Unique Lines" in the language the app shows.
An item of the code editor's Transform menu, which removes repeated lines.
func UnmodifiedLines ¶
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 Untitled ¶
func Untitled() string
Untitled says "Untitled" in the language the app shows.
The name of a new document before it is saved.
func UntitledNumbered ¶
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 UpperCase ¶
func UpperCase() string
UpperCase says "Upper Case" in the language the app shows.
An item of the code editor's Transform menu.
func UseRegularExpression ¶
func UseRegularExpression() string
UseRegularExpression says "Use regular expression" in the language the app shows.
An option of a find bar.
Types ¶
type Messages ¶
type Messages struct {
// contains filtered or unexported fields
}
Messages say the messages in one language.
func In ¶
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 (Messages) AlreadyExists ¶
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 (Messages) AlreadyExistsDetail ¶
AlreadyExistsDetail says "Replacing it overwrites its current contents." in the language of msgs.
Explains alreadyExists.
func (Messages) CamelCase ¶
CamelCase says "Camel Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) Cancel ¶
Cancel says "Cancel" in the language of msgs.
A button of a dialog that cancels what it asks about.
func (Messages) ChangedOnDisk ¶
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 (Messages) 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 (Messages) 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 (Messages) Clear ¶
Clear says "Clear" in the language of msgs.
Labels the button that clears a search field.
func (Messages) ClearTerminal ¶ added in v0.1.8
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 (Messages) 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 (Messages) ClipboardReadAllow ¶
ClipboardReadAllow says "Allow" in the language of msgs.
The button of the terminal's clipboard prompt that lets the program read.
func (Messages) ClipboardReadDeny ¶
ClipboardReadDeny says "Deny" in the language of msgs.
The button of the terminal's clipboard prompt that refuses the program.
func (Messages) 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 (Messages) Close ¶
Close says "Close" in the language of msgs.
Labels the button that closes a find bar.
func (Messages) 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 (Messages) ColorName ¶
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 (Messages) ColorValue ¶
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 (Messages) Completions ¶
Completions says "Completions" in the language of msgs.
Labels the code editor's list of completions.
func (Messages) 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 (Messages) Copy ¶
Copy says "Copy" in the language of msgs.
An item of the menu of a text field.
func (Messages) CopyAsMarkdown ¶
CopyAsMarkdown says "Copy as Markdown" in the language of msgs.
An item of the menu of a view of Markdown.
func (Messages) CopyCode ¶
CopyCode says "Copy code" in the language of msgs.
Labels the button of a code block of Markdown that copies its code.
func (Messages) CurrentLine ¶
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 (Messages) 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 (Messages) DecimalAtLeast ¶ added in v0.1.15
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 (Messages) DecimalAtMost ¶ added in v0.1.15
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 (Messages) DecimalInvalid ¶ added in v0.1.15
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 (Messages) DecimalPlaces ¶ added in v0.1.15
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 (Messages) DecimalWhole ¶ added in v0.1.15
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 (Messages) Delete ¶
Delete says "Delete" in the language of msgs.
An item of the menu of a text field.
func (Messages) DeleteDocument ¶
DeleteDocument says "Delete" in the language of msgs.
A button of a dialog that deletes a new document instead of saving it.
func (Messages) DesktopShortcut ¶ added in v0.1.15
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 (Messages) DeveloperTools ¶
DeveloperTools says "Developer tools" in the language of msgs.
Labels the inspector of native UI.
func (Messages) 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 (Messages) Divider ¶
Divider says "Divider" in the language of msgs.
Labels the line between the panes of a split view.
func (Messages) DocumentFailed ¶
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 (Messages) 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 (Messages) Elements ¶
Elements says "Elements" in the language of msgs.
Labels the inspector's list of the elements of the window.
func (Messages) Expand ¶
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 (Messages) ExpandAll ¶
ExpandAll says "Expand all" in the language of msgs.
Labels the button of a diff viewer that shows all the unchanged lines.
func (Messages) 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 (Messages) ExpandSelection ¶
ExpandSelection says "Expand Selection" in the language of msgs.
An item of the code editor's Selection menu.
func (Messages) 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 (Messages) Find ¶
Find says "Find" in the language of msgs.
Labels the bar that searches text, and is what its empty field shows.
func (Messages) FindInSelection ¶
FindInSelection says "Find in selection" in the language of msgs.
An option of a find bar.
func (Messages) Fold ¶
Fold says "Fold" in the language of msgs.
An item of the code editor's Folding menu.
func (Messages) FoldAll ¶
FoldAll says "Fold All" in the language of msgs.
An item of the code editor's Folding menu.
func (Messages) Folding ¶
Folding says "Folding" in the language of msgs.
A submenu of the code editor's menu.
func (Messages) GoToDefinition ¶
GoToDefinition says "Go to Definition" in the language of msgs.
An item of the code editor's menu.
func (Messages) GoToLine ¶
GoToLine says "Go to line" in the language of msgs.
Labels the bar that goes to a line.
func (Messages) Hex ¶
Hex says "Hex" in the language of msgs.
Labels the field of a color picker that holds the color as hexadecimal.
func (Messages) 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 (Messages) HunkAction ¶
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 (Messages) Image ¶
Image says "Image" in the language of msgs.
Names an image of Markdown without a description to assistive technology.
func (Messages) 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 (Messages) JoinLines ¶
JoinLines says "Join Lines" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) KebabCase ¶
KebabCase says "Kebab Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) Keep ¶
Keep says "Keep" in the language of msgs.
An action of a diff viewer on a change.
func (Messages) KeepNewDocument ¶
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 (Messages) 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 (Messages) Line ¶
Line says "Line {n, number, ::group-off}" in the language of msgs.
The line a gutter button of a diff viewer adds a line at, as assistive technology reads it.
func (Messages) LineRange ¶
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 (Messages) LowerCase ¶
LowerCase says "Lower Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) MatchCase ¶
MatchCase says "Match case" in the language of msgs.
An option of a find bar.
func (Messages) MatchWholeWord ¶
MatchWholeWord says "Match whole word" in the language of msgs.
An option of a find bar.
func (Messages) Matches ¶
Matches says "{current} of {total}" in the language of msgs.
Which of the matches a find bar is at, as "3 of 12".
func (Messages) MatchesMore ¶
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 (Messages) MenuAbout ¶
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 (Messages) MenuActualSize ¶
MenuActualSize says "Actual Size" in the language of msgs.
The label of the menu items of the role resetZoom (MenuItem.Role).
func (Messages) MenuAlignLeft ¶
MenuAlignLeft says "Align Left" in the language of msgs.
The label of the menu items of the role alignLeft (MenuItem.Role).
func (Messages) MenuAlignRight ¶
MenuAlignRight says "Align Right" in the language of msgs.
The label of the menu items of the role alignRight (MenuItem.Role).
func (Messages) MenuBold ¶
MenuBold says "Bold" in the language of msgs.
The label of the menu items of the role bold (MenuItem.Role).
func (Messages) 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 (Messages) MenuCenter ¶
MenuCenter says "Center" in the language of msgs.
The label of the menu items of the role alignCenter (MenuItem.Role).
func (Messages) MenuClearRecent ¶
MenuClearRecent says "Clear Menu" in the language of msgs.
The last item of the menu of recent documents, which empties it.
func (Messages) MenuClose ¶
MenuClose says "Close" in the language of msgs.
The item that closes a document's window.
func (Messages) MenuCloseWindow ¶
MenuCloseWindow says "Close Window" in the language of msgs.
The item that closes a window.
func (Messages) MenuCopy ¶
MenuCopy says "Copy" in the language of msgs.
The label of the menu items of the role copy (MenuItem.Role).
func (Messages) MenuCut ¶
MenuCut says "Cut" in the language of msgs.
The label of the menu items of the role cut (MenuItem.Role).
func (Messages) MenuDelete ¶
MenuDelete says "Delete" in the language of msgs.
The label of the menu items of the role delete (MenuItem.Role).
func (Messages) MenuDuplicate ¶
MenuDuplicate says "Duplicate" in the language of msgs.
The label of the menu items of the role duplicate (MenuItem.Role).
func (Messages) MenuExit ¶
MenuExit says "Exit" in the language of msgs.
The item that quits the app on Windows.
func (Messages) MenuForceReload ¶
MenuForceReload says "Force Reload" in the language of msgs.
The label of the menu items of the role forceReload (MenuItem.Role).
func (Messages) MenuFormat ¶
MenuFormat says "Format" in the language of msgs.
A menu of the menu bar.
func (Messages) MenuHide ¶
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 (Messages) MenuHideOthers ¶
MenuHideOthers says "Hide Others" in the language of msgs.
The label of the menu items of the role hideOthers (MenuItem.Role).
func (Messages) MenuItalic ¶
MenuItalic says "Italic" in the language of msgs.
The label of the menu items of the role italic (MenuItem.Role).
func (Messages) MenuMinimize ¶
MenuMinimize says "Minimize" in the language of msgs.
The label of the menu items of the role minimize (MenuItem.Role).
func (Messages) MenuMoveTo ¶
MenuMoveTo says "Move To…" in the language of msgs.
The label of the menu items of the role moveTo (MenuItem.Role).
func (Messages) MenuNew ¶
MenuNew says "New" in the language of msgs.
The label of the menu items of the role new (MenuItem.Role).
func (Messages) MenuOpen ¶
MenuOpen says "Open…" in the language of msgs.
The label of the menu items of the role open (MenuItem.Role).
func (Messages) MenuOpenRecent ¶
MenuOpenRecent says "Open Recent" in the language of msgs.
The label of the menu items of the role openRecent (MenuItem.Role).
func (Messages) MenuPaste ¶
MenuPaste says "Paste" in the language of msgs.
The label of the menu items of the role paste (MenuItem.Role).
func (Messages) 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 (Messages) MenuQuit ¶
MenuQuit says "Quit" in the language of msgs.
The item that quits the app on Linux.
func (Messages) MenuQuitApp ¶
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 (Messages) MenuRedo ¶
MenuRedo says "Redo" in the language of msgs.
The label of the menu items of the role redo (MenuItem.Role).
func (Messages) MenuReload ¶
MenuReload says "Reload" in the language of msgs.
The label of the menu items of the role reload (MenuItem.Role).
func (Messages) MenuRename ¶
MenuRename says "Rename…" in the language of msgs.
The label of the menu items of the role rename (MenuItem.Role).
func (Messages) MenuRevert ¶
MenuRevert says "Revert" in the language of msgs.
The item that reverts a document to its saved version.
func (Messages) MenuRevertToSaved ¶
MenuRevertToSaved says "Revert to Saved" in the language of msgs.
macOS's item that reverts a document to its saved version.
func (Messages) MenuSave ¶
MenuSave says "Save" in the language of msgs.
The label of the menu items of the role save (MenuItem.Role).
func (Messages) MenuSaveAs ¶
MenuSaveAs says "Save As…" in the language of msgs.
The label of the menu items of the role saveAs (MenuItem.Role).
func (Messages) MenuSelectAll ¶
MenuSelectAll says "Select All" in the language of msgs.
The label of the menu items of the role selectAll (MenuItem.Role).
func (Messages) MenuServices ¶
MenuServices says "Services" in the language of msgs.
The label of the menu items of the role services (MenuItem.Role).
func (Messages) MenuShowAll ¶
MenuShowAll says "Show All" in the language of msgs.
The label of the menu items of the role unhide (MenuItem.Role).
func (Messages) MenuSpeech ¶
MenuSpeech says "Speech" in the language of msgs.
The submenu of macOS's Edit menu with the items that speak the selection.
func (Messages) MenuStartSpeaking ¶
MenuStartSpeaking says "Start Speaking" in the language of msgs.
The label of the menu items of the role startSpeaking (MenuItem.Role).
func (Messages) MenuStopSpeaking ¶
MenuStopSpeaking says "Stop Speaking" in the language of msgs.
The label of the menu items of the role stopSpeaking (MenuItem.Role).
func (Messages) MenuStrikethrough ¶
MenuStrikethrough says "Strikethrough" in the language of msgs.
The label of the menu items of the role strikethrough (MenuItem.Role).
func (Messages) MenuToggleDevTools ¶
MenuToggleDevTools says "Toggle Developer Tools" in the language of msgs.
The label of the menu items of the role toggleDevTools (MenuItem.Role).
func (Messages) MenuToggleFullScreen ¶
MenuToggleFullScreen says "Toggle Full Screen" in the language of msgs.
The label of the menu items of the role togglefullscreen (MenuItem.Role).
func (Messages) MenuUnderline ¶
MenuUnderline says "Underline" in the language of msgs.
The label of the menu items of the role underline (MenuItem.Role).
func (Messages) MenuUndo ¶
MenuUndo says "Undo" in the language of msgs.
The label of the menu items of the role undo (MenuItem.Role).
func (Messages) MenuWindow ¶
MenuWindow says "Window" in the language of msgs.
A menu of the menu bar.
func (Messages) MenuZoom ¶
MenuZoom says "Zoom" in the language of msgs.
The label of the menu items of the role zoom (MenuItem.Role).
func (Messages) MenuZoomIn ¶
MenuZoomIn says "Zoom In" in the language of msgs.
The label of the menu items of the role zoomIn (MenuItem.Role).
func (Messages) MenuZoomOut ¶
MenuZoomOut says "Zoom Out" in the language of msgs.
The label of the menu items of the role zoomOut (MenuItem.Role).
func (Messages) 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 (Messages) More ¶
More says "More" in the language of msgs.
Labels the button of a toolbar that opens what the toolbar hides.
func (Messages) Move ¶
Move says "Move" in the language of msgs.
The button of the dialog that moves a document to another folder.
func (Messages) MoveTo ¶
MoveTo says "Move To" in the language of msgs.
The title of the dialog that moves a document to another folder.
func (Messages) NewText ¶
NewText says "New text" in the language of msgs.
Names the side of a diff viewer with the text as it is.
func (Messages) Next ¶
Next says "Next" in the language of msgs.
Labels the button of a find bar that goes to the next match.
func (Messages) NextMatch ¶
NextMatch says "Next match" in the language of msgs.
Labels the button of a find bar that goes to the next match.
func (Messages) NextMonth ¶
NextMonth says "Next month" in the language of msgs.
Labels the button of a calendar that shows the next month.
func (Messages) NoMatches ¶
NoMatches says "No matches" in the language of msgs.
What a find bar says of a query that matches nothing.
func (Messages) NoResults ¶
NoResults says "No results" in the language of msgs.
What a find bar says of a query that matches nothing.
func (Messages) 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 (Messages) OldText ¶
OldText says "Old text" in the language of msgs.
Names the side of a diff viewer with the text as it was.
func (Messages) Open ¶
Open says "Open" in the language of msgs.
The title and the button of the dialog that opens files.
func (Messages) PascalCase ¶
PascalCase says "Pascal Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) Paste ¶
Paste says "Paste" in the language of msgs.
An item of the menu of a text field.
func (Messages) Previous ¶
Previous says "Previous" in the language of msgs.
Labels the button of a find bar that goes to the previous match.
func (Messages) PreviousMatch ¶
PreviousMatch says "Previous match" in the language of msgs.
Labels the button of a find bar that goes to the previous match.
func (Messages) PreviousMonth ¶
PreviousMonth says "Previous month" in the language of msgs.
Labels the button of a calendar that shows the previous month.
func (Messages) ReadOnly ¶
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 (Messages) ReadOnlyDetail ¶
ReadOnlyDetail says "Save it as another file to keep your changes." in the language of msgs.
Explains readOnly.
func (Messages) RemoveToken ¶
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 (Messages) Rename ¶
Rename says "Rename" in the language of msgs.
The title and the button of the dialog that renames a document.
func (Messages) RenameTo ¶
RenameTo says "Rename To:" in the language of msgs.
Labels the field of the name of the dialog that renames a document.
func (Messages) 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 (Messages) ReplaceAll ¶
ReplaceAll says "Replace All" in the language of msgs.
Labels the button of a find bar that replaces every match.
func (Messages) ReplaceFile ¶
ReplaceFile says "Replace" in the language of msgs.
A button of a dialog that replaces a file with a document.
func (Messages) ReverseLines ¶
ReverseLines says "Reverse Lines" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) Revert ¶
Revert says "Revert" in the language of msgs.
An action of a diff viewer on a change.
func (Messages) RevertDetail ¶
RevertDetail says "Your current changes will be lost." in the language of msgs.
Explains revertQuestion.
func (Messages) RevertDocument ¶
RevertDocument says "Revert" in the language of msgs.
A button of a dialog that reverts a document to its file.
func (Messages) RevertQuestion ¶
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 (Messages) ReviewBeforeQuitting ¶
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 (Messages) ReviewBeforeQuittingDetail ¶
ReviewBeforeQuittingDetail says "If you don’t review your documents, all your changes will be lost." in the language of msgs.
Explains reviewBeforeQuitting.
func (Messages) 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 (Messages) 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 (Messages) 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 (Messages) Save ¶
Save says "Save" in the language of msgs.
A button of a dialog that saves a document.
func (Messages) SaveAll ¶
SaveAll says "Save All" in the language of msgs.
A button of a dialog that saves every document with changes.
func (Messages) 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 (Messages) SaveAs ¶
SaveAs says "Save As…" in the language of msgs.
A button of a dialog that saves a document as another file.
func (Messages) SaveChanges ¶
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 (Messages) SaveEllipsis ¶
SaveEllipsis says "Save…" in the language of msgs.
A button of a dialog that saves a new document, after asking where.
func (Messages) SaveManyChanges ¶
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 (Messages) Search ¶
Search says "Search" in the language of msgs.
What an empty search field shows.
func (Messages) SelectAll ¶
SelectAll says "Select All" in the language of msgs.
An item of the menu of a text field.
func (Messages) SelectAllOccurrences ¶
SelectAllOccurrences says "Select All Occurrences" in the language of msgs.
An item of the code editor's Selection menu.
func (Messages) SelectFolder ¶
SelectFolder says "Select Folder" in the language of msgs.
The title of the dialog that chooses a folder.
func (Messages) SelectNextOccurrence ¶
SelectNextOccurrence says "Select Next Occurrence" in the language of msgs.
An item of the code editor's Selection menu.
func (Messages) Selected ¶ added in v0.1.17
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 (Messages) Selection ¶
Selection says "Selection" in the language of msgs.
A submenu of the code editor's menu.
func (Messages) SnakeCase ¶
SnakeCase says "Snake Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) SortLines ¶
SortLines says "Sort Lines" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) 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 (Messages) TitleCase ¶
TitleCase says "Title Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) 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 (Messages) Transform ¶
Transform says "Transform" in the language of msgs.
A submenu of the code editor's menu.
func (Messages) TrimTrailingWhitespace ¶
TrimTrailingWhitespace says "Trim Trailing Whitespace" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) Undo ¶
Undo says "Undo" in the language of msgs.
An item of the menu of a text field.
func (Messages) Unfold ¶
Unfold says "Unfold" in the language of msgs.
An item of the code editor's Folding menu.
func (Messages) UnfoldAll ¶
UnfoldAll says "Unfold All" in the language of msgs.
An item of the code editor's Folding menu.
func (Messages) UniqueLines ¶
UniqueLines says "Unique Lines" in the language of msgs.
An item of the code editor's Transform menu, which removes repeated lines.
func (Messages) UnmodifiedLines ¶
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 (Messages) Untitled ¶
Untitled says "Untitled" in the language of msgs.
The name of a new document before it is saved.
func (Messages) UntitledNumbered ¶
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 (Messages) UpperCase ¶
UpperCase says "Upper Case" in the language of msgs.
An item of the code editor's Transform menu.
func (Messages) UseRegularExpression ¶
UseRegularExpression says "Use regular expression" in the language of msgs.
An option of a find bar.