Page 1 of 1

Languagefile b79 and older ones

Posted: Tue Apr 10, 2012 12:58 pm
by AlfOme
Hi Pasha and other friends,

I have a few small observations regarding the YoWindow language file.

The key value "Information" appears twice in the language file, namely in line 440 AND line 471.
That's confusing, and in my opinion one of them can be removed.

Another issue I can't find out is where in the program the key value "mb" (line 282) will be used.
I can change the value in whatever I like, but can't recognize that change in in the YoWindow application.
Maybe you can tell me where that entry will be used or if something is wrong with it?

Kind regards,

Theo

Re: Languagefile b79 and older ones

Posted: Wed Apr 11, 2012 11:08 am
by par
Hey, Theo!
I have removed the second "Information" thanks for letting me know.

"mb" is the abbreviation for millibars - pressure measurement units name.

Re: Languagefile b79 and older ones

Posted: Wed Apr 11, 2012 11:35 am
by AlfOme
Hi Pasha,

Thank you for the response.
I know that mb stands for millibars, but that's not what I mean.
If I, for example, set the following entry in the language file:

key="mb" value="testing"/>

Than I should think that I can find the word "testing" somewhere
in the YoWindow program.
For example in the Inspector screen as "Pressure: 997 testing".
But I can't find the sting "testing" nowhere.
Hopefully this gives you an idea about what I mean.

Kind regards,

Theo

Re: Languagefile b79 and older ones

Posted: Wed Apr 11, 2012 12:01 pm
by par
Oh... Now I see what you mean.
I have replaced old short unit abbreviation with identifiers that look like "id_unit_short_millibars"
But I have forgotten to remove old strings.
They are not used anymore, you are absolutely right.
I will remove the old strings shortly.