mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-11-18 21:35:12 +00:00
WEB: Fix loading localized data for news and articles
This commit is contained in:
1 parent
0a394a6260
commit
fdc6d5ff6e
7 files changed
+48
-41
No files matched your search
@@ -25,7 +25,8 @@ abstract class BasicModel
|
||||
}
|
||||
}
|
||||
|
||||
protected function getLocalizedFile($filename) {
|
||||
protected function getLocalizedFile($filename)
|
||||
{
|
||||
global $lang;
|
||||
if (!$lang) {
|
||||
$lang = DEFAULT_LOCALE;
|
||||
|
||||
Reference in new issue
Block a user