View Single Post
Old 04-07-2015, 04:00 AM   #128
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by huuduc1kk2 View Post
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.
tshering is offline   Reply With Quote