Genius bugreport

From: Christian Rose <menthos_at_gnome.org>
Date: 30 May 2003 01:30:35 +0200

tor 2003-05-29 klockan 02.41 skrev George:
> To find out what Genius is, skip a few paragraphs down, or go to
> http://www.jirka.org/genius.html

Here's a Genius bug report. I'd like the messages below to be
standardized if possible, so that the function name (which shouldn't be
localized anyway) is replaced by a %s. Example:

        msgid "%s: argument not a matrix"

This would reduce a lot of work for translators by significantly
reducing the number of messages, and also reduce the danger of
accidental misspellings of function names in the translations. This is
also described in http://www.menthos.com/l10n/developer/#generic.

Here are the messages:

#: src/funclib.c:63
#, c-format
msgid "%s: argument number %d not an integer"

#: src/funclib.c:78
#, c-format
msgid "%s: argument number %d not a positive integer"

#: src/funclib.c:109
#, c-format
msgid "%s: argument can't be negative or 0"

#: src/funclib.c:115
#, c-format
msgid "%s: argument too large"

#: src/funclib.c:249
msgid "chdir: argument must be string!"

#: src/funclib.c:270
msgid "display: first argument must be string!"

#: src/funclib.c:288
msgid "set: first argument must be an identifier or string!"

#: src/funclib.c:298
msgid "set: trying to set a protected id!"

#. FIXME: fix this, this should just work too
#: src/funclib.c:303
msgid "set: trying to set a parameter, use the equals sign"

#: src/funclib.c:326
msgid "rand: Too many arguments, should be at most two"

#: src/funclib.c:412
msgid "randint: Too many arguments, should be at most two"

#: src/funclib.c:665
msgid "ExpandMatrix: argument not a matrix"

#: src/funclib.c:683
msgid "RowsOf: argument not a matrix"

#: src/funclib.c:700
msgid "ColumnsOf: argument not a matrix"

#: src/funclib.c:717
msgid "DiagonalOf: argument not a matrix"

#: src/funclib.c:738
msgid "ComplexConjugate: argument not a number"

#: src/funclib.c:759
msgid "sin: argument not a number"

#: src/funclib.c:780
msgid "sinh: argument not a number"

#: src/funclib.c:801
msgid "cos: argument not a number"

#: src/funclib.c:822
msgid "cosh: argument not a number"

#: src/funclib.c:845
msgid "tan: argument not a real number"

#: src/funclib.c:872
msgid "atan: argument not a number"

#: src/funclib.c:1021
msgid "IsMatrixReal: argument not a matrix"

#: src/funclib.c:1067
msgid "IsMatrixInteger: argument not a matrix"

#: src/funclib.c:1102
msgid "IsMatrixRational: argument not a matrix"

#: src/funclib.c:1132
msgid "trunc: argument not a number"

#: src/funclib.c:1148
msgid "floor: argument not a number"

#: src/funclib.c:1164
msgid "ceil: argument not a number"

#: src/funclib.c:1180
msgid "round: argument not a number"

#: src/funclib.c:1196
msgid "float: argument not a number"

#: src/funclib.c:1213
msgid "Numerator: argument not a number"

#: src/funclib.c:1235
msgid "Denominator: argument not a number"

#: src/funclib.c:1257
msgid "Re: argument not a number"

#: src/funclib.c:1274
msgid "Im: argument not a number"

#: src/funclib.c:1291
msgid "sqrt: argument not a number"

#: src/funclib.c:1307
msgid "exp: matrix argument is not square"

#: src/funclib.c:1314
msgid "exp: argument not a number"

#: src/funclib.c:1331
msgid "ln: argument not a number"

#: src/funclib.c:1353
msgid "log2: argument not a number"

#: src/funclib.c:1375
msgid "log10: argument not a number"

#: src/funclib.c:1400
msgid "gcd: arguments must be numbers"

#: src/funclib.c:1429
msgid "gcd: matrix argument must be integer only"

#: src/funclib.c:1450
msgid "gcd: argument must be an integer"

#: src/funclib.c:1500
msgid "lcm: arguments must be numbers"

#: src/funclib.c:1529
msgid "lcm: matrix argument must be integer only"

#: src/funclib.c:1550
msgid "lcm: argument must be an integer"

#: src/funclib.c:1599
msgid "Jacobi: arguments must be numbers"

#: src/funclib.c:1628
msgid "JacobiKronecker: arguments must be numbers"

#: src/funclib.c:1657
msgid "Legendre: arguments must be numbers"

#: src/funclib.c:1682
msgid "IsPerfectSquare: argument must be a number"

#: src/funclib.c:1706
msgid "IsPerfectPower: argument must be a number"

#: src/funclib.c:1728
msgid "IsEven: argument must be a number"

#: src/funclib.c:1750
msgid "IsOdd: argument must be a number"

#: src/funclib.c:1775
msgid "max: arguments must be numbers"

#: src/funclib.c:1800
msgid "max: matrix argument must be value only"

#: src/funclib.c:1857
msgid "min: arguments must be numbers"

#: src/funclib.c:1882
msgid "min: matrix argument must be value only"

#: src/funclib.c:1933
msgid "IsValueOnly: argument not a matrix"

#: src/funclib.c:1955
msgid "I: argument not an integer"

#: src/funclib.c:2002
msgid "zeros: arguments not an integers"

#: src/funclib.c:2007
msgid "zeros: too many arguments"

#: src/funclib.c:2048
msgid "ones: arguments not an integers"

#: src/funclib.c:2053
msgid "ones: too many arguments"

#: src/funclib.c:2091
msgid "rows: argument not a matrix"

#: src/funclib.c:2102
msgid "columns: argument not a matrix"

#: src/funclib.c:2113
msgid "elements: argument not a matrix"

#: src/funclib.c:2123
msgid "IsMatrixSquare: argument not a matrix"

#: src/funclib.c:2139
msgid "SetMatrixSize: wrong argument type"

#: src/funclib.c:2168
msgid "IndexComplement: wrong argument type"

#: src/funclib.c:2185
msgid "IndexComplement: vector argument not value only"

#: src/funclib.c:2196 src/funclib.c:2225
msgid "IndexComplement: vector argument has too large entries"

#: src/funclib.c:2257
msgid "det: argument not a value only matrix"

#: src/funclib.c:2273
msgid "ref: argument not a value only matrix"

#: src/funclib.c:2290
msgid "rref: argument not a value only matrix"

#: src/funclib.c:2352
msgid "SolveLinearSystem: argument(s) not a value only matrix"

#: src/funclib.c:2357
msgid "SolveLinearSystem: matrices not of the same height"

#: src/funclib.c:2362
msgid "SolveLinearSystem: third argument not a reference"

#: src/funclib.c:2365
msgid "SolveLinearSystem: fourth argument not a reference"

#: src/funclib.c:2465
msgid "Prime: argument not an integer"

#: src/funclib.c:2523
msgid "NextPrime: argument not an integer"

#: src/funclib.c:2549
msgid "LucasNumber: argument not an integer"

#: src/funclib.c:2656
msgid "MillerRabinTestSure: argument must be greater then 2"

#: src/funclib.c:2734 src/funclib.c:2741
msgid "ModInvert: argument not an integer"

#: src/funclib.c:2781
#, c-format
msgid "%s: arguments not horizontal vectors"

#: src/funclib.c:2791
#, c-format
msgid "%s: arguments not numeric only vectors"

#: src/funclib.c:3058
msgid "PolyToString: 2nd argument not a string"

#: src/funclib.c:3062
msgid "PolyToString: too many arguments"

#: src/funclib.c:3229
msgid "StringToASCII: argument must be a string"

#: src/funclib.c:3263
msgid "ASCIIToString: argument must be a matrix"

#: src/funclib.c:3282
msgid "ASCIIToString: value out of range"

#: src/funclib.c:3314
msgid "StringToAlphabet: arguments must be strings"

#: src/funclib.c:3353
msgid "AlphabetToString: argument must be a matrix and a string"

#: src/funclib.c:3374
msgid "AlphabetToString: value out of range"

#: src/funclib.c:3389
msgid "SetHelp: arguments must be strings (function name, category, help
text)"

#: src/funclib.c:3404
msgid "SetHelpAlias: arguments must be strings (function name, alias)"

#: src/funclib.c:3563
msgid "Combinations: arguments not an integers"

#: src/funclib.c:3579
msgid "Combinations: arguments out of range"

#: src/funclib.c:3623
msgid "Permutations: arguments not an integers"

#: src/funclib.c:3639
msgid "Permutations: arguments out of range"

#: src/funclib.c:3691
msgid "protect: argument must be a string"

#: src/funclib.c:3707
msgid "unprotect: argument must be a string"

#: src/funclib.c:3725
msgid "SetFunctionFlags: argument must be a string"

#: src/funclib.c:3732
msgid "SetFunctionFlags: undefined function"

#: src/funclib.c:3738
msgid "SetFunctionFlags: flags argument must be a string"

#: src/funclib.c:3768
msgid "FloatPrecision: argument not an integer"

#: src/funclib.c:3778
msgid "FloatPrecision: argument should be between 60 and 16384"

#: src/funclib.c:3807
msgid "MaxDigits: argument not an integer"

#: src/funclib.c:3817
msgid "MaxDigits: argument should be between 0 and 256"

#: src/funclib.c:3840
msgid "ResultsAsFloats: argument not a value"

#: src/funclib.c:3864
msgid "ScientificNotation: argument not a value"

#: src/funclib.c:3888
msgid "FullExpressions: argument not a value"

#: src/funclib.c:3917
msgid "OutputStyle: argument not a string"

#: src/funclib.c:3935
msgid "OutputStyle must be one of normal, troff, latex or mathml"

#: src/funclib.c:3970
msgid "MaxErrors: argument not an integer"

#: src/funclib.c:3980
msgid "MaxErrors: argument should be larger or equal to 0"

#: src/funclib.c:4003
msgid "MixedFractions: argument not a value"

#: src/funclib.c:4032
msgid "IntegerOutputBase: argument not an integer"

#: src/funclib.c:4042
msgid "IntegerOutputBase: argument should be between 2 and 36"

#: src/funclib.c:4070
msgid "IsPrimeMillerRabinReps: must be a positive integer"

Christian
Received on Thu May 29 2003 - 19:30:37 CDT

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:02 CDT