Quote:
Originally Posted by huuduc1kk2
Thanks for reply.
I don't understand here:
Why we use ja_JP for this patch, Why we dont use en_GB?.
And i can change like here:
newpart=[qApp_localeName="en_GB"] {\n font-family: Arial;\n}
|
The code introduced by "oldpart=" is the original code. The first line sets in a general way the font-size to 18px, the font-family to Avenir, and the padding-top to 2px. The second line overwrites the font-family to Avenir if qApp_localeName is set to "ja_JP".
The code introduced by "newpart=" is the code that replaces the original code. If you replace Avenir in the first line by Arial, the effective result is: Use Arial for all cases where qApp_localeName is NOT set to "ja_JP", and qApp_localeName="en_GB" is of course included in those cases. I thought this was what you were after.
If however you want Arial ONLY for App_localeName="en_GB", and for all other cases Avenir, you are right in replacing the original [qApp_localeName="ja_JP"] by [qApp_localeName="en_GB"]. It depends on what exactly you want to achieve by the patch.