Documentation
¶
Overview ¶
Package locales says what base/formula's formulas read as, to assistive technology, in the language the app shows. Apps supply other languages in their catalogs, under the key github.com/nsgo-dev/nsgo/base/formula/locales.
Index ¶
- Constants
- Variables
- func Above(cx *core.Scope, base string, top string) string
- func AboveAndBelow(cx *core.Scope, base string, top string, bottom string) string
- func Accent(cx *core.Scope, body string, accent string) string
- func AccentAcute(cx *core.Scope) string
- func AccentBar(cx *core.Scope) string
- func AccentBelow(cx *core.Scope, body string, accent string) string
- func AccentBreve(cx *core.Scope) string
- func AccentCaron(cx *core.Scope) string
- func AccentCedilla(cx *core.Scope) string
- func AccentDot(cx *core.Scope) string
- func AccentDoubleAcute(cx *core.Scope) string
- func AccentDoubleDot(cx *core.Scope) string
- func AccentGrave(cx *core.Scope) string
- func AccentHat(cx *core.Scope) string
- func AccentMark(cx *core.Scope, mark string) string
- func AccentOgonek(cx *core.Scope) string
- func AccentRing(cx *core.Scope) string
- func AccentTilde(cx *core.Scope) string
- func AccentVector(cx *core.Scope) string
- func Array(cx *core.Scope, count int, rows string) string
- func Below(cx *core.Scope, base string, bottom string) string
- func Binomial(cx *core.Scope, n string, k string) string
- func Bold(cx *core.Scope, letter string) string
- func Boxed(cx *core.Scope, body string) string
- func Canceled(cx *core.Scope, body string) string
- func CanceledBackslash(cx *core.Scope, body string) string
- func Cases(cx *core.Scope, count int, rows string) string
- func CellSeparator(cx *core.Scope) string
- func CrossedOut(cx *core.Scope, body string) string
- func CubeRoot(cx *core.Scope, radicand string) string
- func Cubed(cx *core.Scope, base string) string
- func DividedBy(cx *core.Scope, numerator string, denominator string) string
- func DoubleStruck(cx *core.Scope, letter string) string
- func EmptyCell(cx *core.Scope) string
- func EmptyRow(cx *core.Scope) string
- func Equation(cx *core.Scope, tag string) string
- func Error(cx *core.Scope, source string) string
- func Formula(cx *core.Scope) string
- func FourthRoot(cx *core.Scope, radicand string) string
- func Fraction(cx *core.Scope, numerator string, denominator string) string
- func Fraktur(cx *core.Scope, letter string) string
- func Labeled(cx *core.Scope, base string, label string) string
- func Limits(cx *core.Scope, base string, lower string, upper string) string
- func LowerLimit(cx *core.Scope, base string, lower string) string
- func Matrix(cx *core.Scope, count int, rows string) string
- func Missing(cx *core.Scope) string
- func Multiline(cx *core.Scope, rows string) string
- func Negated(cx *core.Scope, body string) string
- func OpArccos(cx *core.Scope) string
- func OpArccot(cx *core.Scope) string
- func OpArcsin(cx *core.Scope) string
- func OpArctan(cx *core.Scope) string
- func OpArg(cx *core.Scope) string
- func OpArgmax(cx *core.Scope) string
- func OpArgmin(cx *core.Scope) string
- func OpCos(cx *core.Scope) string
- func OpCosh(cx *core.Scope) string
- func OpCot(cx *core.Scope) string
- func OpCoth(cx *core.Scope) string
- func OpCsc(cx *core.Scope) string
- func OpCsch(cx *core.Scope) string
- func OpDeg(cx *core.Scope) string
- func OpDet(cx *core.Scope) string
- func OpDim(cx *core.Scope) string
- func OpExp(cx *core.Scope) string
- func OpGcd(cx *core.Scope) string
- func OpHom(cx *core.Scope) string
- func OpId(cx *core.Scope) string
- func OpIm(cx *core.Scope) string
- func OpInf(cx *core.Scope) string
- func OpInjlim(cx *core.Scope) string
- func OpKer(cx *core.Scope) string
- func OpLcm(cx *core.Scope) string
- func OpLg(cx *core.Scope) string
- func OpLim(cx *core.Scope) string
- func OpLiminf(cx *core.Scope) string
- func OpLimsup(cx *core.Scope) string
- func OpLn(cx *core.Scope) string
- func OpLog(cx *core.Scope) string
- func OpMax(cx *core.Scope) string
- func OpMin(cx *core.Scope) string
- func OpMod(cx *core.Scope) string
- func OpPlim(cx *core.Scope) string
- func OpPr(cx *core.Scope) string
- func OpProjlim(cx *core.Scope) string
- func OpRank(cx *core.Scope) string
- func OpSec(cx *core.Scope) string
- func OpSech(cx *core.Scope) string
- func OpSin(cx *core.Scope) string
- func OpSinc(cx *core.Scope) string
- func OpSinh(cx *core.Scope) string
- func OpSup(cx *core.Scope) string
- func OpTan(cx *core.Scope) string
- func OpTanh(cx *core.Scope) string
- func OpTr(cx *core.Scope) string
- func Overbrace(cx *core.Scope) string
- func Overbracket(cx *core.Scope) string
- func Overline(cx *core.Scope, body string) string
- func Overparen(cx *core.Scope) string
- func Overshell(cx *core.Scope) string
- func Power(cx *core.Scope, base string, exponent string) string
- func PreSubscript(cx *core.Scope, base string, script string) string
- func PreSuperscript(cx *core.Scope, base string, script string) string
- func Root(cx *core.Scope, index string, radicand string) string
- func Row(cx *core.Scope, index int, cells string) string
- func RowSeparator(cx *core.Scope) string
- func Script(cx *core.Scope, letter string) string
- func Slashed(cx *core.Scope, body string) string
- func SquareRoot(cx *core.Scope, radicand string) string
- func Squared(cx *core.Scope, base string) string
- func Subscript(cx *core.Scope, base string, script string) string
- func Supply(lang string, t Translation)
- func SymAnd(cx *core.Scope) string
- func SymAngle(cx *core.Scope) string
- func SymApproximately(cx *core.Scope) string
- func SymAsterisk(cx *core.Scope) string
- func SymColon(cx *core.Scope) string
- func SymComma(cx *core.Scope) string
- func SymComposed(cx *core.Scope) string
- func SymCongruent(cx *core.Scope) string
- func SymContains(cx *core.Scope) string
- func SymContourIntegral(cx *core.Scope) string
- func SymCoproduct(cx *core.Scope) string
- func SymDividedSign(cx *core.Scope) string
- func SymDot(cx *core.Scope) string
- func SymDoubleIntegral(cx *core.Scope) string
- func SymDoublePrime(cx *core.Scope) string
- func SymDoubleVerticalBar(cx *core.Scope) string
- func SymDownArrow(cx *core.Scope) string
- func SymElementOf(cx *core.Scope) string
- func SymEllipsis(cx *core.Scope) string
- func SymEmptySet(cx *core.Scope) string
- func SymEquals(cx *core.Scope) string
- func SymEquivalent(cx *core.Scope) string
- func SymExists(cx *core.Scope) string
- func SymFactorial(cx *core.Scope) string
- func SymForAll(cx *core.Scope) string
- func SymGreaterOrEqual(cx *core.Scope) string
- func SymGreaterThan(cx *core.Scope) string
- func SymIfAndOnlyIf(cx *core.Scope) string
- func SymImpliedBy(cx *core.Scope) string
- func SymImplies(cx *core.Scope) string
- func SymInfinity(cx *core.Scope) string
- func SymIntegral(cx *core.Scope) string
- func SymIntersection(cx *core.Scope) string
- func SymLeftAngle(cx *core.Scope) string
- func SymLeftArrow(cx *core.Scope) string
- func SymLeftBrace(cx *core.Scope) string
- func SymLeftBracket(cx *core.Scope) string
- func SymLeftCeiling(cx *core.Scope) string
- func SymLeftFloor(cx *core.Scope) string
- func SymLeftParenthesis(cx *core.Scope) string
- func SymLeftRightArrow(cx *core.Scope) string
- func SymLessOrEqual(cx *core.Scope) string
- func SymLessThan(cx *core.Scope) string
- func SymMapsTo(cx *core.Scope) string
- func SymMinus(cx *core.Scope) string
- func SymMinusPlus(cx *core.Scope) string
- func SymNabla(cx *core.Scope) string
- func SymNot(cx *core.Scope) string
- func SymNotApproximately(cx *core.Scope) string
- func SymNotContains(cx *core.Scope) string
- func SymNotElementOf(cx *core.Scope) string
- func SymNotEqual(cx *core.Scope) string
- func SymNotEquivalent(cx *core.Scope) string
- func SymNotExists(cx *core.Scope) string
- func SymNotSimilar(cx *core.Scope) string
- func SymNotSubset(cx *core.Scope) string
- func SymNotSubsetOrEqual(cx *core.Scope) string
- func SymOr(cx *core.Scope) string
- func SymParallel(cx *core.Scope) string
- func SymPartial(cx *core.Scope) string
- func SymPercent(cx *core.Scope) string
- func SymPerpendicular(cx *core.Scope) string
- func SymPlus(cx *core.Scope) string
- func SymPlusMinus(cx *core.Scope) string
- func SymPoint(cx *core.Scope) string
- func SymPrime(cx *core.Scope) string
- func SymProduct(cx *core.Scope) string
- func SymQuestionMark(cx *core.Scope) string
- func SymRightAngle(cx *core.Scope) string
- func SymRightArrow(cx *core.Scope) string
- func SymRightBrace(cx *core.Scope) string
- func SymRightBracket(cx *core.Scope) string
- func SymRightCeiling(cx *core.Scope) string
- func SymRightFloor(cx *core.Scope) string
- func SymRightParenthesis(cx *core.Scope) string
- func SymSemicolon(cx *core.Scope) string
- func SymSimilar(cx *core.Scope) string
- func SymSlash(cx *core.Scope) string
- func SymSquareRootSign(cx *core.Scope) string
- func SymSubset(cx *core.Scope) string
- func SymSubsetOrEqual(cx *core.Scope) string
- func SymSum(cx *core.Scope) string
- func SymSuperset(cx *core.Scope) string
- func SymSupersetOrEqual(cx *core.Scope) string
- func SymTimes(cx *core.Scope) string
- func SymTripleIntegral(cx *core.Scope) string
- func SymTriplePrime(cx *core.Scope) string
- func SymUnion(cx *core.Scope) string
- func SymUpArrow(cx *core.Scope) string
- func SymVerticalBar(cx *core.Scope) string
- func Symbol(cx *core.Scope, char string) string
- func Underbrace(cx *core.Scope) string
- func Underbracket(cx *core.Scope) string
- func Underline(cx *core.Scope, body string) string
- func Underparen(cx *core.Scope) string
- func Undershell(cx *core.Scope) string
- func UpperLimit(cx *core.Scope, base string, upper string) string
- func Vector(cx *core.Scope, count int, rows string) string
- type Messages
- func (msgs Messages) Above(base string, top string) string
- func (msgs Messages) AboveAndBelow(base string, top string, bottom string) string
- func (msgs Messages) Accent(body string, accent string) string
- func (msgs Messages) AccentAcute() string
- func (msgs Messages) AccentBar() string
- func (msgs Messages) AccentBelow(body string, accent string) string
- func (msgs Messages) AccentBreve() string
- func (msgs Messages) AccentCaron() string
- func (msgs Messages) AccentCedilla() string
- func (msgs Messages) AccentDot() string
- func (msgs Messages) AccentDoubleAcute() string
- func (msgs Messages) AccentDoubleDot() string
- func (msgs Messages) AccentGrave() string
- func (msgs Messages) AccentHat() string
- func (msgs Messages) AccentMark(mark string) string
- func (msgs Messages) AccentOgonek() string
- func (msgs Messages) AccentRing() string
- func (msgs Messages) AccentTilde() string
- func (msgs Messages) AccentVector() string
- func (msgs Messages) Array(count int, rows string) string
- func (msgs Messages) Below(base string, bottom string) string
- func (msgs Messages) Binomial(n string, k string) string
- func (msgs Messages) Bold(letter string) string
- func (msgs Messages) Boxed(body string) string
- func (msgs Messages) Canceled(body string) string
- func (msgs Messages) CanceledBackslash(body string) string
- func (msgs Messages) Cases(count int, rows string) string
- func (msgs Messages) CellSeparator() string
- func (msgs Messages) CrossedOut(body string) string
- func (msgs Messages) CubeRoot(radicand string) string
- func (msgs Messages) Cubed(base string) string
- func (msgs Messages) DividedBy(numerator string, denominator string) string
- func (msgs Messages) DoubleStruck(letter string) string
- func (msgs Messages) EmptyCell() string
- func (msgs Messages) EmptyRow() string
- func (msgs Messages) Equation(tag string) string
- func (msgs Messages) Error(source string) string
- func (msgs Messages) Formula() string
- func (msgs Messages) FourthRoot(radicand string) string
- func (msgs Messages) Fraction(numerator string, denominator string) string
- func (msgs Messages) Fraktur(letter string) string
- func (msgs Messages) Labeled(base string, label string) string
- func (msgs Messages) Limits(base string, lower string, upper string) string
- func (msgs Messages) LowerLimit(base string, lower string) string
- func (msgs Messages) Matrix(count int, rows string) string
- func (msgs Messages) Missing() string
- func (msgs Messages) Multiline(rows string) string
- func (msgs Messages) Negated(body string) string
- func (msgs Messages) OpArccos() string
- func (msgs Messages) OpArccot() string
- func (msgs Messages) OpArcsin() string
- func (msgs Messages) OpArctan() string
- func (msgs Messages) OpArg() string
- func (msgs Messages) OpArgmax() string
- func (msgs Messages) OpArgmin() string
- func (msgs Messages) OpCos() string
- func (msgs Messages) OpCosh() string
- func (msgs Messages) OpCot() string
- func (msgs Messages) OpCoth() string
- func (msgs Messages) OpCsc() string
- func (msgs Messages) OpCsch() string
- func (msgs Messages) OpDeg() string
- func (msgs Messages) OpDet() string
- func (msgs Messages) OpDim() string
- func (msgs Messages) OpExp() string
- func (msgs Messages) OpGcd() string
- func (msgs Messages) OpHom() string
- func (msgs Messages) OpId() string
- func (msgs Messages) OpIm() string
- func (msgs Messages) OpInf() string
- func (msgs Messages) OpInjlim() string
- func (msgs Messages) OpKer() string
- func (msgs Messages) OpLcm() string
- func (msgs Messages) OpLg() string
- func (msgs Messages) OpLim() string
- func (msgs Messages) OpLiminf() string
- func (msgs Messages) OpLimsup() string
- func (msgs Messages) OpLn() string
- func (msgs Messages) OpLog() string
- func (msgs Messages) OpMax() string
- func (msgs Messages) OpMin() string
- func (msgs Messages) OpMod() string
- func (msgs Messages) OpPlim() string
- func (msgs Messages) OpPr() string
- func (msgs Messages) OpProjlim() string
- func (msgs Messages) OpRank() string
- func (msgs Messages) OpSec() string
- func (msgs Messages) OpSech() string
- func (msgs Messages) OpSin() string
- func (msgs Messages) OpSinc() string
- func (msgs Messages) OpSinh() string
- func (msgs Messages) OpSup() string
- func (msgs Messages) OpTan() string
- func (msgs Messages) OpTanh() string
- func (msgs Messages) OpTr() string
- func (msgs Messages) Overbrace() string
- func (msgs Messages) Overbracket() string
- func (msgs Messages) Overline(body string) string
- func (msgs Messages) Overparen() string
- func (msgs Messages) Overshell() string
- func (msgs Messages) Power(base string, exponent string) string
- func (msgs Messages) PreSubscript(base string, script string) string
- func (msgs Messages) PreSuperscript(base string, script string) string
- func (msgs Messages) Root(index string, radicand string) string
- func (msgs Messages) Row(index int, cells string) string
- func (msgs Messages) RowSeparator() string
- func (msgs Messages) Script(letter string) string
- func (msgs Messages) Slashed(body string) string
- func (msgs Messages) SquareRoot(radicand string) string
- func (msgs Messages) Squared(base string) string
- func (msgs Messages) Subscript(base string, script string) string
- func (msgs Messages) SymAnd() string
- func (msgs Messages) SymAngle() string
- func (msgs Messages) SymApproximately() string
- func (msgs Messages) SymAsterisk() string
- func (msgs Messages) SymColon() string
- func (msgs Messages) SymComma() string
- func (msgs Messages) SymComposed() string
- func (msgs Messages) SymCongruent() string
- func (msgs Messages) SymContains() string
- func (msgs Messages) SymContourIntegral() string
- func (msgs Messages) SymCoproduct() string
- func (msgs Messages) SymDividedSign() string
- func (msgs Messages) SymDot() string
- func (msgs Messages) SymDoubleIntegral() string
- func (msgs Messages) SymDoublePrime() string
- func (msgs Messages) SymDoubleVerticalBar() string
- func (msgs Messages) SymDownArrow() string
- func (msgs Messages) SymElementOf() string
- func (msgs Messages) SymEllipsis() string
- func (msgs Messages) SymEmptySet() string
- func (msgs Messages) SymEquals() string
- func (msgs Messages) SymEquivalent() string
- func (msgs Messages) SymExists() string
- func (msgs Messages) SymFactorial() string
- func (msgs Messages) SymForAll() string
- func (msgs Messages) SymGreaterOrEqual() string
- func (msgs Messages) SymGreaterThan() string
- func (msgs Messages) SymIfAndOnlyIf() string
- func (msgs Messages) SymImpliedBy() string
- func (msgs Messages) SymImplies() string
- func (msgs Messages) SymInfinity() string
- func (msgs Messages) SymIntegral() string
- func (msgs Messages) SymIntersection() string
- func (msgs Messages) SymLeftAngle() string
- func (msgs Messages) SymLeftArrow() string
- func (msgs Messages) SymLeftBrace() string
- func (msgs Messages) SymLeftBracket() string
- func (msgs Messages) SymLeftCeiling() string
- func (msgs Messages) SymLeftFloor() string
- func (msgs Messages) SymLeftParenthesis() string
- func (msgs Messages) SymLeftRightArrow() string
- func (msgs Messages) SymLessOrEqual() string
- func (msgs Messages) SymLessThan() string
- func (msgs Messages) SymMapsTo() string
- func (msgs Messages) SymMinus() string
- func (msgs Messages) SymMinusPlus() string
- func (msgs Messages) SymNabla() string
- func (msgs Messages) SymNot() string
- func (msgs Messages) SymNotApproximately() string
- func (msgs Messages) SymNotContains() string
- func (msgs Messages) SymNotElementOf() string
- func (msgs Messages) SymNotEqual() string
- func (msgs Messages) SymNotEquivalent() string
- func (msgs Messages) SymNotExists() string
- func (msgs Messages) SymNotSimilar() string
- func (msgs Messages) SymNotSubset() string
- func (msgs Messages) SymNotSubsetOrEqual() string
- func (msgs Messages) SymOr() string
- func (msgs Messages) SymParallel() string
- func (msgs Messages) SymPartial() string
- func (msgs Messages) SymPercent() string
- func (msgs Messages) SymPerpendicular() string
- func (msgs Messages) SymPlus() string
- func (msgs Messages) SymPlusMinus() string
- func (msgs Messages) SymPoint() string
- func (msgs Messages) SymPrime() string
- func (msgs Messages) SymProduct() string
- func (msgs Messages) SymQuestionMark() string
- func (msgs Messages) SymRightAngle() string
- func (msgs Messages) SymRightArrow() string
- func (msgs Messages) SymRightBrace() string
- func (msgs Messages) SymRightBracket() string
- func (msgs Messages) SymRightCeiling() string
- func (msgs Messages) SymRightFloor() string
- func (msgs Messages) SymRightParenthesis() string
- func (msgs Messages) SymSemicolon() string
- func (msgs Messages) SymSimilar() string
- func (msgs Messages) SymSlash() string
- func (msgs Messages) SymSquareRootSign() string
- func (msgs Messages) SymSubset() string
- func (msgs Messages) SymSubsetOrEqual() string
- func (msgs Messages) SymSum() string
- func (msgs Messages) SymSuperset() string
- func (msgs Messages) SymSupersetOrEqual() string
- func (msgs Messages) SymTimes() string
- func (msgs Messages) SymTripleIntegral() string
- func (msgs Messages) SymTriplePrime() string
- func (msgs Messages) SymUnion() string
- func (msgs Messages) SymUpArrow() string
- func (msgs Messages) SymVerticalBar() string
- func (msgs Messages) Symbol(char string) string
- func (msgs Messages) Underbrace() string
- func (msgs Messages) Underbracket() string
- func (msgs Messages) Underline(body string) string
- func (msgs Messages) Underparen() string
- func (msgs Messages) Undershell() string
- func (msgs Messages) UpperLimit(base string, upper string) string
- func (msgs Messages) Vector(count int, rows string) string
- type Translation
Constants ¶
const Source = "en"
Source is the language the messages are written in.
Variables ¶
var Catalog = i18n.NewCatalog("en", "zh-Hans")
Catalog holds the messages' languages: en, the source, zh-Hans, and those other packages supply.
var Parameters = map[string][]string{
"Fraction": {"numerator", "denominator"},
"DividedBy": {"numerator", "denominator"},
"Binomial": {"n", "k"},
"SquareRoot": {"radicand"},
"CubeRoot": {"radicand"},
"FourthRoot": {"radicand"},
"Root": {"index", "radicand"},
"Subscript": {"base", "script"},
"Squared": {"base"},
"Cubed": {"base"},
"Power": {"base", "exponent"},
"PreSubscript": {"base", "script"},
"PreSuperscript": {"base", "script"},
"Limits": {"base", "lower", "upper"},
"LowerLimit": {"base", "lower"},
"UpperLimit": {"base", "upper"},
"Above": {"base", "top"},
"Below": {"base", "bottom"},
"AboveAndBelow": {"base", "top", "bottom"},
"Labeled": {"base", "label"},
"Accent": {"body", "accent"},
"AccentBelow": {"body", "accent"},
"AccentMark": {"mark"},
"Overline": {"body"},
"Underline": {"body"},
"Negated": {"body"},
"Canceled": {"body"},
"CrossedOut": {"body"},
"CanceledBackslash": {"body"},
"Slashed": {"body"},
"Matrix": {"count", "rows"},
"Array": {"count", "rows"},
"Cases": {"count", "rows"},
"Vector": {"count", "rows"},
"Multiline": {"rows"},
"Row": {"index", "cells"},
"Boxed": {"body"},
"Error": {"source"},
"Equation": {"tag"},
"Symbol": {"char"},
"DoubleStruck": {"letter"},
"Bold": {"letter"},
"Script": {"letter"},
"Fraktur": {"letter"},
}
Parameters names the parameters of each message that has some, by its method, for the TSX declarations of the messages (tsx.RegisterMessages).
Functions ¶
func AboveAndBelow ¶
AboveAndBelow says "{base} with {top} above and {bottom} below" in the language the app shows under cx.
func Accent ¶
Accent says "{body} with {accent}" in the language the app shows under cx.
A letter with an accent: the accent's name is one of the accent messages.
func AccentAcute ¶
AccentAcute says "acute accent" in the language the app shows under cx.
func AccentBelow ¶
AccentBelow says "{body} with {accent} below" in the language the app shows under cx.
func AccentBreve ¶
AccentBreve says "breve" in the language the app shows under cx.
func AccentCaron ¶
AccentCaron says "caron" in the language the app shows under cx.
func AccentCedilla ¶
AccentCedilla says "cedilla" in the language the app shows under cx.
func AccentDoubleAcute ¶
AccentDoubleAcute says "double acute accent" in the language the app shows under cx.
func AccentDoubleDot ¶
AccentDoubleDot says "double dot" in the language the app shows under cx.
func AccentGrave ¶
AccentGrave says "grave accent" in the language the app shows under cx.
func AccentMark ¶
AccentMark says "accent {mark}" in the language the app shows under cx.
An accent without a name: its mark.
func AccentOgonek ¶
AccentOgonek says "ogonek" in the language the app shows under cx.
func AccentRing ¶
AccentRing says "ring" in the language the app shows under cx.
func AccentTilde ¶
AccentTilde says "tilde" in the language the app shows under cx.
func AccentVector ¶
AccentVector says "vector arrow" in the language the app shows under cx.
func Array ¶
Array says "array with {count, plural, one {# row} other {# rows}}: {rows}" in the language the app shows under cx.
func Binomial ¶
Binomial says "binomial coefficient {n} choose {k}" in the language the app shows under cx.
func CanceledBackslash ¶
CanceledBackslash says "{body} canceled with a backslash" in the language the app shows under cx.
func Cases ¶
Cases says "piecewise definition with {count, plural, one {# row} other {# rows}}: {rows}" in the language the app shows under cx.
func CellSeparator ¶
CellSeparator says ", " in the language the app shows under cx.
What separates the cells of a row spoken.
func CrossedOut ¶
CrossedOut says "{body} crossed out" in the language the app shows under cx.
func DividedBy ¶
DividedBy says "{numerator} divided by {denominator}" in the language the app shows under cx.
A fraction written on one line (a/b), spoken.
func DoubleStruck ¶
DoubleStruck says "double-struck {letter}" in the language the app shows under cx.
func Equation ¶
Equation says "equation ({tag})" in the language the app shows under cx.
A formula's tag, as its number.
func Error ¶
Error says "error: {source}" in the language the app shows under cx.
Part of a formula that could not be read, with its source.
func Formula ¶
Formula says "Formula" in the language the app shows under cx.
What assistive technology calls a formula it cannot describe, such as an empty one.
func FourthRoot ¶
FourthRoot says "fourth root of {radicand}" in the language the app shows under cx.
func Fraction ¶
Fraction says "{numerator} over {denominator}" in the language the app shows under cx.
A fraction, spoken.
func Labeled ¶
Labeled says "{base} labeled {label}" in the language the app shows under cx.
A brace with a label, as an underbrace's.
func Limits ¶
Limits says "{base} from {lower} to {upper}" in the language the app shows under cx.
An operator with limits, as a sum from i = 1 to n.
func LowerLimit ¶
LowerLimit says "{base} from {lower}" in the language the app shows under cx.
func Matrix ¶
Matrix says "matrix with {count, plural, one {# row} other {# rows}}: {rows}" in the language the app shows under cx.
func Multiline ¶
Multiline says "multiline expression: {rows}" in the language the app shows under cx.
func OpInjlim ¶
OpInjlim says "direct limit" in the language the app shows under cx.
injlim, the inductive limit.
func OpLg ¶
OpLg says "common logarithm" in the language the app shows under cx.
lg, the logarithm to base 10.
func OpProjlim ¶
OpProjlim says "inverse limit" in the language the app shows under cx.
projlim, the projective limit.
func Overbracket ¶
Overbracket says "overbracket" in the language the app shows under cx.
func PreSubscript ¶
PreSubscript says "{base} with pre-subscript {script}" in the language the app shows under cx.
func PreSuperscript ¶
PreSuperscript says "{base} with pre-superscript {script}" in the language the app shows under cx.
func RowSeparator ¶
RowSeparator says "; " in the language the app shows under cx.
What separates the rows of a table spoken.
func SquareRoot ¶
SquareRoot says "square root of {radicand}" in the language the app shows under cx.
func Supply ¶
func Supply(lang string, t Translation)
Supply adds the messages t has in lang to the catalog, over its own. nsgo writes the calls, in the package that supplies them, which runs them as it initializes.
func SymApproximately ¶
SymApproximately says "approximately equal to" in the language the app shows under cx.
func SymAsterisk ¶
SymAsterisk says "asterisk" in the language the app shows under cx.
func SymComposed ¶
SymComposed says "composed with" in the language the app shows under cx.
func SymCongruent ¶
SymCongruent says "congruent to" in the language the app shows under cx.
func SymContains ¶
SymContains says "contains" in the language the app shows under cx.
func SymContourIntegral ¶
SymContourIntegral says "contour integral" in the language the app shows under cx.
func SymCoproduct ¶
SymCoproduct says "coproduct" in the language the app shows under cx.
func SymDividedSign ¶
SymDividedSign says "divided by" in the language the app shows under cx.
func SymDoubleIntegral ¶
SymDoubleIntegral says "double integral" in the language the app shows under cx.
func SymDoublePrime ¶
SymDoublePrime says "double prime" in the language the app shows under cx.
func SymDoubleVerticalBar ¶
SymDoubleVerticalBar says "double vertical bar" in the language the app shows under cx.
func SymDownArrow ¶
SymDownArrow says "down arrow" in the language the app shows under cx.
func SymElementOf ¶
SymElementOf says "element of" in the language the app shows under cx.
func SymEllipsis ¶
SymEllipsis says "ellipsis" in the language the app shows under cx.
func SymEmptySet ¶
SymEmptySet says "empty set" in the language the app shows under cx.
func SymEquivalent ¶
SymEquivalent says "equivalent to" in the language the app shows under cx.
func SymFactorial ¶
SymFactorial says "factorial" in the language the app shows under cx.
func SymGreaterOrEqual ¶
SymGreaterOrEqual says "greater than or equal to" in the language the app shows under cx.
func SymGreaterThan ¶
SymGreaterThan says "greater than" in the language the app shows under cx.
func SymIfAndOnlyIf ¶
SymIfAndOnlyIf says "if and only if" in the language the app shows under cx.
func SymImpliedBy ¶
SymImpliedBy says "implied by" in the language the app shows under cx.
func SymImplies ¶
SymImplies says "implies" in the language the app shows under cx.
func SymInfinity ¶
SymInfinity says "infinity" in the language the app shows under cx.
func SymIntegral ¶
SymIntegral says "integral" in the language the app shows under cx.
func SymIntersection ¶
SymIntersection says "intersection" in the language the app shows under cx.
func SymLeftAngle ¶
SymLeftAngle says "left angle bracket" in the language the app shows under cx.
func SymLeftArrow ¶
SymLeftArrow says "left arrow" in the language the app shows under cx.
func SymLeftBrace ¶
SymLeftBrace says "left brace" in the language the app shows under cx.
func SymLeftBracket ¶
SymLeftBracket says "left bracket" in the language the app shows under cx.
func SymLeftCeiling ¶
SymLeftCeiling says "left ceiling" in the language the app shows under cx.
func SymLeftFloor ¶
SymLeftFloor says "left floor" in the language the app shows under cx.
func SymLeftParenthesis ¶
SymLeftParenthesis says "left parenthesis" in the language the app shows under cx.
func SymLeftRightArrow ¶
SymLeftRightArrow says "left right arrow" in the language the app shows under cx.
func SymLessOrEqual ¶
SymLessOrEqual says "less than or equal to" in the language the app shows under cx.
func SymLessThan ¶
SymLessThan says "less than" in the language the app shows under cx.
func SymMinusPlus ¶
SymMinusPlus says "minus or plus" in the language the app shows under cx.
func SymNotApproximately ¶
SymNotApproximately says "not approximately equal to" in the language the app shows under cx.
func SymNotContains ¶
SymNotContains says "does not contain" in the language the app shows under cx.
func SymNotElementOf ¶
SymNotElementOf says "not an element of" in the language the app shows under cx.
func SymNotEqual ¶
SymNotEqual says "not equal to" in the language the app shows under cx.
func SymNotEquivalent ¶
SymNotEquivalent says "not equivalent to" in the language the app shows under cx.
func SymNotExists ¶
SymNotExists says "there does not exist" in the language the app shows under cx.
func SymNotSimilar ¶
SymNotSimilar says "not similar to" in the language the app shows under cx.
func SymNotSubset ¶
SymNotSubset says "not a subset of" in the language the app shows under cx.
func SymNotSubsetOrEqual ¶
SymNotSubsetOrEqual says "not a subset of or equal to" in the language the app shows under cx.
func SymParallel ¶
SymParallel says "parallel to" in the language the app shows under cx.
func SymPartial ¶
SymPartial says "partial" in the language the app shows under cx.
func SymPercent ¶
SymPercent says "percent" in the language the app shows under cx.
func SymPerpendicular ¶
SymPerpendicular says "perpendicular to" in the language the app shows under cx.
func SymPlusMinus ¶
SymPlusMinus says "plus or minus" in the language the app shows under cx.
func SymProduct ¶
SymProduct says "product" in the language the app shows under cx.
func SymQuestionMark ¶
SymQuestionMark says "question mark" in the language the app shows under cx.
func SymRightAngle ¶
SymRightAngle says "right angle bracket" in the language the app shows under cx.
func SymRightArrow ¶
SymRightArrow says "right arrow" in the language the app shows under cx.
func SymRightBrace ¶
SymRightBrace says "right brace" in the language the app shows under cx.
func SymRightBracket ¶
SymRightBracket says "right bracket" in the language the app shows under cx.
func SymRightCeiling ¶
SymRightCeiling says "right ceiling" in the language the app shows under cx.
func SymRightFloor ¶
SymRightFloor says "right floor" in the language the app shows under cx.
func SymRightParenthesis ¶
SymRightParenthesis says "right parenthesis" in the language the app shows under cx.
func SymSemicolon ¶
SymSemicolon says "semicolon" in the language the app shows under cx.
func SymSimilar ¶
SymSimilar says "similar to" in the language the app shows under cx.
func SymSquareRootSign ¶
SymSquareRootSign says "square root" in the language the app shows under cx.
func SymSubsetOrEqual ¶
SymSubsetOrEqual says "subset of or equal to" in the language the app shows under cx.
func SymSuperset ¶
SymSuperset says "superset of" in the language the app shows under cx.
func SymSupersetOrEqual ¶
SymSupersetOrEqual says "superset of or equal to" in the language the app shows under cx.
func SymTripleIntegral ¶
SymTripleIntegral says "triple integral" in the language the app shows under cx.
func SymTriplePrime ¶
SymTriplePrime says "triple prime" in the language the app shows under cx.
func SymUpArrow ¶
SymUpArrow says "up arrow" in the language the app shows under cx.
func SymVerticalBar ¶
SymVerticalBar says "vertical bar" in the language the app shows under cx.
func Symbol ¶
Symbol says "symbol {char}" in the language the app shows under cx.
A character the formula has no name for.
func Underbrace ¶
Underbrace says "underbrace" in the language the app shows under cx.
func Underbracket ¶
Underbracket says "underbracket" in the language the app shows under cx.
func Underparen ¶
Underparen says "underparen" in the language the app shows under cx.
func Undershell ¶
Undershell says "undershell" in the language the app shows under cx.
func UpperLimit ¶
UpperLimit says "{base} to {upper}" in the language the app shows under cx.
Types ¶
type Messages ¶
type Messages struct {
// contains filtered or unexported fields
}
Messages say the messages in one language, their times in the hour cycle hc the user set; with mark, the source's with their arguments marked, which a pseudo locale transforms.
func For ¶
For returns the messages in the language the app shows under cx (i18n.Language), their times as the user reads them; a binding that says them follows both as they change.
func In ¶
In returns the messages in the catalog's language that suits locale best, as zh-Hant suits zh-TW, else in the source language.
func (Messages) AboveAndBelow ¶
AboveAndBelow is the package's AboveAndBelow in the language of msgs.
func (Messages) AccentAcute ¶
AccentAcute is the package's AccentAcute in the language of msgs.
func (Messages) AccentBelow ¶
AccentBelow is the package's AccentBelow in the language of msgs.
func (Messages) AccentBreve ¶
AccentBreve is the package's AccentBreve in the language of msgs.
func (Messages) AccentCaron ¶
AccentCaron is the package's AccentCaron in the language of msgs.
func (Messages) AccentCedilla ¶
AccentCedilla is the package's AccentCedilla in the language of msgs.
func (Messages) AccentDoubleAcute ¶
AccentDoubleAcute is the package's AccentDoubleAcute in the language of msgs.
func (Messages) AccentDoubleDot ¶
AccentDoubleDot is the package's AccentDoubleDot in the language of msgs.
func (Messages) AccentGrave ¶
AccentGrave is the package's AccentGrave in the language of msgs.
func (Messages) AccentMark ¶
AccentMark is the package's AccentMark in the language of msgs.
func (Messages) AccentOgonek ¶
AccentOgonek is the package's AccentOgonek in the language of msgs.
func (Messages) AccentRing ¶
AccentRing is the package's AccentRing in the language of msgs.
func (Messages) AccentTilde ¶
AccentTilde is the package's AccentTilde in the language of msgs.
func (Messages) AccentVector ¶
AccentVector is the package's AccentVector in the language of msgs.
func (Messages) CanceledBackslash ¶
CanceledBackslash is the package's CanceledBackslash in the language of msgs.
func (Messages) CellSeparator ¶
CellSeparator is the package's CellSeparator in the language of msgs.
func (Messages) CrossedOut ¶
CrossedOut is the package's CrossedOut in the language of msgs.
func (Messages) DoubleStruck ¶
DoubleStruck is the package's DoubleStruck in the language of msgs.
func (Messages) FourthRoot ¶
FourthRoot is the package's FourthRoot in the language of msgs.
func (Messages) LowerLimit ¶
LowerLimit is the package's LowerLimit in the language of msgs.
func (Messages) Overbracket ¶
Overbracket is the package's Overbracket in the language of msgs.
func (Messages) PreSubscript ¶
PreSubscript is the package's PreSubscript in the language of msgs.
func (Messages) PreSuperscript ¶
PreSuperscript is the package's PreSuperscript in the language of msgs.
func (Messages) RowSeparator ¶
RowSeparator is the package's RowSeparator in the language of msgs.
func (Messages) SquareRoot ¶
SquareRoot is the package's SquareRoot in the language of msgs.
func (Messages) SymApproximately ¶
SymApproximately is the package's SymApproximately in the language of msgs.
func (Messages) SymAsterisk ¶
SymAsterisk is the package's SymAsterisk in the language of msgs.
func (Messages) SymComposed ¶
SymComposed is the package's SymComposed in the language of msgs.
func (Messages) SymCongruent ¶
SymCongruent is the package's SymCongruent in the language of msgs.
func (Messages) SymContains ¶
SymContains is the package's SymContains in the language of msgs.
func (Messages) SymContourIntegral ¶
SymContourIntegral is the package's SymContourIntegral in the language of msgs.
func (Messages) SymCoproduct ¶
SymCoproduct is the package's SymCoproduct in the language of msgs.
func (Messages) SymDividedSign ¶
SymDividedSign is the package's SymDividedSign in the language of msgs.
func (Messages) SymDoubleIntegral ¶
SymDoubleIntegral is the package's SymDoubleIntegral in the language of msgs.
func (Messages) SymDoublePrime ¶
SymDoublePrime is the package's SymDoublePrime in the language of msgs.
func (Messages) SymDoubleVerticalBar ¶
SymDoubleVerticalBar is the package's SymDoubleVerticalBar in the language of msgs.
func (Messages) SymDownArrow ¶
SymDownArrow is the package's SymDownArrow in the language of msgs.
func (Messages) SymElementOf ¶
SymElementOf is the package's SymElementOf in the language of msgs.
func (Messages) SymEllipsis ¶
SymEllipsis is the package's SymEllipsis in the language of msgs.
func (Messages) SymEmptySet ¶
SymEmptySet is the package's SymEmptySet in the language of msgs.
func (Messages) SymEquivalent ¶
SymEquivalent is the package's SymEquivalent in the language of msgs.
func (Messages) SymFactorial ¶
SymFactorial is the package's SymFactorial in the language of msgs.
func (Messages) SymGreaterOrEqual ¶
SymGreaterOrEqual is the package's SymGreaterOrEqual in the language of msgs.
func (Messages) SymGreaterThan ¶
SymGreaterThan is the package's SymGreaterThan in the language of msgs.
func (Messages) SymIfAndOnlyIf ¶
SymIfAndOnlyIf is the package's SymIfAndOnlyIf in the language of msgs.
func (Messages) SymImpliedBy ¶
SymImpliedBy is the package's SymImpliedBy in the language of msgs.
func (Messages) SymImplies ¶
SymImplies is the package's SymImplies in the language of msgs.
func (Messages) SymInfinity ¶
SymInfinity is the package's SymInfinity in the language of msgs.
func (Messages) SymIntegral ¶
SymIntegral is the package's SymIntegral in the language of msgs.
func (Messages) SymIntersection ¶
SymIntersection is the package's SymIntersection in the language of msgs.
func (Messages) SymLeftAngle ¶
SymLeftAngle is the package's SymLeftAngle in the language of msgs.
func (Messages) SymLeftArrow ¶
SymLeftArrow is the package's SymLeftArrow in the language of msgs.
func (Messages) SymLeftBrace ¶
SymLeftBrace is the package's SymLeftBrace in the language of msgs.
func (Messages) SymLeftBracket ¶
SymLeftBracket is the package's SymLeftBracket in the language of msgs.
func (Messages) SymLeftCeiling ¶
SymLeftCeiling is the package's SymLeftCeiling in the language of msgs.
func (Messages) SymLeftFloor ¶
SymLeftFloor is the package's SymLeftFloor in the language of msgs.
func (Messages) SymLeftParenthesis ¶
SymLeftParenthesis is the package's SymLeftParenthesis in the language of msgs.
func (Messages) SymLeftRightArrow ¶
SymLeftRightArrow is the package's SymLeftRightArrow in the language of msgs.
func (Messages) SymLessOrEqual ¶
SymLessOrEqual is the package's SymLessOrEqual in the language of msgs.
func (Messages) SymLessThan ¶
SymLessThan is the package's SymLessThan in the language of msgs.
func (Messages) SymMinusPlus ¶
SymMinusPlus is the package's SymMinusPlus in the language of msgs.
func (Messages) SymNotApproximately ¶
SymNotApproximately is the package's SymNotApproximately in the language of msgs.
func (Messages) SymNotContains ¶
SymNotContains is the package's SymNotContains in the language of msgs.
func (Messages) SymNotElementOf ¶
SymNotElementOf is the package's SymNotElementOf in the language of msgs.
func (Messages) SymNotEqual ¶
SymNotEqual is the package's SymNotEqual in the language of msgs.
func (Messages) SymNotEquivalent ¶
SymNotEquivalent is the package's SymNotEquivalent in the language of msgs.
func (Messages) SymNotExists ¶
SymNotExists is the package's SymNotExists in the language of msgs.
func (Messages) SymNotSimilar ¶
SymNotSimilar is the package's SymNotSimilar in the language of msgs.
func (Messages) SymNotSubset ¶
SymNotSubset is the package's SymNotSubset in the language of msgs.
func (Messages) SymNotSubsetOrEqual ¶
SymNotSubsetOrEqual is the package's SymNotSubsetOrEqual in the language of msgs.
func (Messages) SymParallel ¶
SymParallel is the package's SymParallel in the language of msgs.
func (Messages) SymPartial ¶
SymPartial is the package's SymPartial in the language of msgs.
func (Messages) SymPercent ¶
SymPercent is the package's SymPercent in the language of msgs.
func (Messages) SymPerpendicular ¶
SymPerpendicular is the package's SymPerpendicular in the language of msgs.
func (Messages) SymPlusMinus ¶
SymPlusMinus is the package's SymPlusMinus in the language of msgs.
func (Messages) SymProduct ¶
SymProduct is the package's SymProduct in the language of msgs.
func (Messages) SymQuestionMark ¶
SymQuestionMark is the package's SymQuestionMark in the language of msgs.
func (Messages) SymRightAngle ¶
SymRightAngle is the package's SymRightAngle in the language of msgs.
func (Messages) SymRightArrow ¶
SymRightArrow is the package's SymRightArrow in the language of msgs.
func (Messages) SymRightBrace ¶
SymRightBrace is the package's SymRightBrace in the language of msgs.
func (Messages) SymRightBracket ¶
SymRightBracket is the package's SymRightBracket in the language of msgs.
func (Messages) SymRightCeiling ¶
SymRightCeiling is the package's SymRightCeiling in the language of msgs.
func (Messages) SymRightFloor ¶
SymRightFloor is the package's SymRightFloor in the language of msgs.
func (Messages) SymRightParenthesis ¶
SymRightParenthesis is the package's SymRightParenthesis in the language of msgs.
func (Messages) SymSemicolon ¶
SymSemicolon is the package's SymSemicolon in the language of msgs.
func (Messages) SymSimilar ¶
SymSimilar is the package's SymSimilar in the language of msgs.
func (Messages) SymSquareRootSign ¶
SymSquareRootSign is the package's SymSquareRootSign in the language of msgs.
func (Messages) SymSubsetOrEqual ¶
SymSubsetOrEqual is the package's SymSubsetOrEqual in the language of msgs.
func (Messages) SymSuperset ¶
SymSuperset is the package's SymSuperset in the language of msgs.
func (Messages) SymSupersetOrEqual ¶
SymSupersetOrEqual is the package's SymSupersetOrEqual in the language of msgs.
func (Messages) SymTripleIntegral ¶
SymTripleIntegral is the package's SymTripleIntegral in the language of msgs.
func (Messages) SymTriplePrime ¶
SymTriplePrime is the package's SymTriplePrime in the language of msgs.
func (Messages) SymUpArrow ¶
SymUpArrow is the package's SymUpArrow in the language of msgs.
func (Messages) SymVerticalBar ¶
SymVerticalBar is the package's SymVerticalBar in the language of msgs.
func (Messages) Underbrace ¶
Underbrace is the package's Underbrace in the language of msgs.
func (Messages) Underbracket ¶
Underbracket is the package's Underbracket in the language of msgs.
func (Messages) Underparen ¶
Underparen is the package's Underparen in the language of msgs.
func (Messages) Undershell ¶
Undershell is the package's Undershell in the language of msgs.
func (Messages) UpperLimit ¶
UpperLimit is the package's UpperLimit in the language of msgs.
type Translation ¶
type Translation struct {
Texts map[string]string
Fraction func(numerator string, denominator string) string
DividedBy func(numerator string, denominator string) string
Binomial func(n string, k string) string
SquareRoot func(radicand string) string
CubeRoot func(radicand string) string
FourthRoot func(radicand string) string
Root func(index string, radicand string) string
Subscript func(base string, script string) string
Squared func(base string) string
Cubed func(base string) string
Power func(base string, exponent string) string
PreSubscript func(base string, script string) string
PreSuperscript func(base string, script string) string
Limits func(base string, lower string, upper string) string
LowerLimit func(base string, lower string) string
UpperLimit func(base string, upper string) string
Above func(base string, top string) string
Below func(base string, bottom string) string
AboveAndBelow func(base string, top string, bottom string) string
Labeled func(base string, label string) string
Accent func(body string, accent string) string
AccentBelow func(body string, accent string) string
AccentMark func(mark string) string
Overline func(body string) string
Underline func(body string) string
Negated func(body string) string
Canceled func(body string) string
CrossedOut func(body string) string
CanceledBackslash func(body string) string
Slashed func(body string) string
Matrix func(count int, rows string) string
Array func(count int, rows string) string
Cases func(count int, rows string) string
Vector func(count int, rows string) string
Multiline func(rows string) string
Row func(index int, cells string) string
Boxed func(body string) string
Error func(source string) string
Equation func(tag string) string
Symbol func(char string) string
DoubleStruck func(letter string) string
Bold func(letter string) string
Script func(letter string) string
Fraktur func(letter string) string
}
Translation is a language's messages another package supplies: those without arguments in Texts, by key, and a function for each of the others; a key or a field left out leaves the message to the catalog.