mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-06-20 05:45:49 +00:00
WEB: Load localized data in models
This commit is contained in:
@@ -13,7 +13,7 @@ class VersionsModel extends BasicModel
|
||||
{
|
||||
$data = $this->getFromCache();
|
||||
if (is_null($data)) {
|
||||
$fname = DIR_DATA . '/versions.yaml';
|
||||
$fname = $this->getLocalizedFile('versions.yaml');
|
||||
$versions = \yaml_parse_file($fname);
|
||||
|
||||
$data = [];
|
||||
|
||||
Reference in New Issue
Block a user