Languagefile b79 and older ones

Early builds of YoWindow for Windows
Post Reply
AlfOme
Posts: 38
Joined: Thu Jun 09, 2011 11:21 am

Languagefile b79 and older ones

Post 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
User avatar
par
Posts: 8629
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Languagefile b79 and older ones

Post 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.
Get YoWindow weather app for your phone or tablet.

Image Image Image
AlfOme
Posts: 38
Joined: Thu Jun 09, 2011 11:21 am

Re: Languagefile b79 and older ones

Post 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
User avatar
par
Posts: 8629
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Languagefile b79 and older ones

Post 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.
Get YoWindow weather app for your phone or tablet.

Image Image Image
Post Reply