2012-05-12, 09:46
Hi guys I was wondering what you all think about changing the info labels Skin.CurrentTheme and Skin.CurrentColourTheme to not show a localized label.
Right now the code is so if the default theme is used then it gets translated out to "Skin Default" which means that it shows different things in different languages. I was wondering if anybody actually used it as a proper info label in the skin and would care about it?
The issue here is I currently use it in confluence to set a background image like so
Now this works all fine and dandy but it puts a crappy error in the log file about not being able to find "Skin Default.jpg" (for English) and then falls back to background.jpg when renaming it to skindefault.jpg would mean you don't need the fallback.
So in conclusion I was wondering do people actually use this info label and if they do what do they use it for? because seems to me like it could be used as a nice adding to themeing if used proper and not translated out. like showing certain items only if a specific theme was chosen
P.S. I don't actually need this change because I have worked about it with a "stringcompare(Skin.CurrentTheme,$LOCALIZE[15109])" so don't agree just because you think I need it agree because you think its a better idea and don't actually use it as a text label
Right now the code is so if the default theme is used then it gets translated out to "Skin Default" which means that it shows different things in different languages. I was wondering if anybody actually used it as a proper info label in the skin and would care about it?
The issue here is I currently use it in confluence to set a background image like so
PHP Code:
<texture fallback="special://skin/backgrounds/background.jpg">special://skin/backgrounds/$INFO[Skin.CurrentTheme].jpg</texture>
So in conclusion I was wondering do people actually use this info label and if they do what do they use it for? because seems to me like it could be used as a nice adding to themeing if used proper and not translated out. like showing certain items only if a specific theme was chosen
P.S. I don't actually need this change because I have worked about it with a "stringcompare(Skin.CurrentTheme,$LOCALIZE[15109])" so don't agree just because you think I need it agree because you think its a better idea and don't actually use it as a text label