Browse Source

Fix "language key ... is defined more than once" warning

master
Skylar Ittner 10 months ago
parent
commit
ec44a6740f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      lib/Strings.lib.php

+ 4
- 0
lib/Strings.lib.php View File

@@ -21,6 +21,10 @@ class Strings {

$this->load("en");

if ($language == "en") {
return;
}

if (file_exists(__DIR__ . "/../langs/$language/")) {
$this->language = $language;
$this->load($language);

Loading…
Cancel
Save