News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[2.1] Theme preview missing in default theme after language change

Started by HendriXXX, January 27, 2020, 06:03:57 AM

Previous topic - Next topic

HendriXXX

Hi!

I noticed that default theme preview, (user settings: Look & layout > Current theme), is missing when swithing language to Finnish.
In english preview thumbnail is shown like it should.

This issue is present when using RC2 and latest github version also..

I didn't find that file where that's configured.. can anybody help?

Thanks!  :)

HendriXXX

I found the reason.

I edited Settings.finnish.php by changing .gif to .png and now it works..  8)

from
$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.gif';

to
$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.png';



shawnb61

Thanks for this.  Helpful.  We should probably check all of the language files for 2.1.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: