Re: [libreoffice-l10n] Error in NLPSolver string

2010-12-18 Thread Olivier Hallot

Hi Christian
Thanks!
Never too late to learn something new. :-)
Olivier

Em 17-12-2010 22:40, Christian Lohmaier escreveu:

Hi Oliver,

On Sat, Dec 18, 2010 at 1:13 AM, Olivier Hallot
  wrote:

I have another one which I suspect is wrong:

"Process stopped at iteration %d of %d."

Usually %d is replaced by a value at runtime, so it may show to the user as
"100 of 100", "234 of 234" i.e. the two numbers will be the same always.


No - they are not the same - the "d" is not a variable name, but a
data-type (%s would be a string, %d is decimal/a number)


Am I wrong?


Yes.
It's used like this for example:
sprintf (buffer, "%d plus %d is %d", a, b, a+b);
first %d is replaced by the value of a, second %d is replaced by the
value of b, and third is replaced by the result of a+b

ciao
Christian



--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
Translation Leader for Brazilian Portuguese

--
Unsubscribe instructions: E-mail to l10n+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/l10n/
*** All posts to this list are publicly archived for eternity ***



Re: [libreoffice-l10n] Re: Embedded parts and wikihelp/HC2

2010-12-18 Thread Martin Srebotnjak
On the new features page at test site I think this should be changed:
- Made Help system available via the WikiHelp;
into:
Made Help system also available via the WikiHelp;

Having Help system just available via the WikiHelp is not a feature but a
stolen feature.

What's the news on the localization of LICENSE.odt - as I pointed out the
first part of the document (preamble) must be localized for all languages or
made part of a dialogue and then with a link the English license text opens,
that must not be localized.

Lp, m.

2010/12/17 Martin Srebotnjak 

> Hi Jan, resending for all to see plus adding a thought at the end:
>
> 2010/12/17 Jan Holesovsky 
>
>
>> I've just seen the test installation of the future LibreOffice site; I
>> think it very much fulfills what you are proposing.  It is not at the
>> end of the installation, but at the time you are downloading
>> LibreOffice:
>>
>> http://test.libreoffice.org/download/
>>
>> If you choose Linux version, you can choose the language version you
>> need, as an additional download.  I suppose the same will be implemented
>> with the Windows version after the RC2 that will have the langpacks.
>>
>> I hope this resolves even this concern :-)
>>
>>
> I don't think this is ok for GUI installers. I think users should be warned
> there is no help included. The person that downloads the suite might not be
> the same person that installs the package - so this needs to be known to the
> person installing, not the one downloading (or to both of them).
>
> Also, sometimes these office suites are distributed via CD's with other OSS
> software or included in an OS, so there is no download page to see this
> warning. It should be in the installation procedure somewhere. Even the
> Linux installer could write it out in the console - help is not included,
> for further info see this and that webpage.
>
> My 2 cents,
> m.
>

-- 
Unsubscribe instructions: E-mail to l10n+h...@libreoffice.org
List archive: http://www.libreoffice.org/lists/l10n/
*** All posts to this list are publicly archived for eternity ***