Hi Yury,
On Tue, May 03, 2005 at 09:44:57 +0300, Yury Tarasievich wrote:
> Besides the wizards in In POTs made from contents of sc/source/ui/src, there
> are lots of strings that look very much like field names (or function names).
> The whole block of strings around ~800-~1500 (financial calculations and
> other functions) seems to run like this: .1 = function
> description, .even_number = function (or parameter) name, .odd_number =
> function (or parameter) description.
>
> So, I'd like to make sure, what of these is translatable, and what isn't?
All of sc/source/ui/src/scfuncs.src is translatable, with the exception
of the ExtraData structs of course, which isn't exported to POTs anyway.
You identified the strings of RID_SC_FUNCTION_DESCRIPTIONS* correctly,
first string of a function is it's description, then alternating follow
a parameter's name and it's description. However, the parameter names
should be consistent and identical for identical functionality, e.g
"Database field" for all parameters that are used as a database field,
or "Number" for any number. Usage could have been defined in the
glossary of your language.
What looks like function names in sc/source/ui/src/globstr.src, for
example RID_GLOBSTR.STR_* names SUM, COUNT and so on, should be
identical to the real function names used in
sc/source/core/src/compiler.src for consistency, but isn't necessary for
functionality. These names are offered to the user to choose from in
some dialogs and are mapped to the real functions then.
The function names used in formulas and in the function pilot are
defined in sc/source/core/src/compiler.src and have the constraints that
they can't contain spaces or symbols or other punctuation characters
than dot ('.') or underscore ('_'); letters and digits are fine (must
start with a letter), the definition of letter here includes accented
characters, CJK characters, and so on.
Eike
--
OOo/SO Calc core developer. Number formatter bedevilled I18N transpositionizer.
GnuPG key 0x293C05FD: 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]