diff options
| author | 2018-03-11 10:53:32 +0100 | |
|---|---|---|
| committer | 2018-03-11 10:53:32 +0100 | |
| commit | f4da01294023146cd1f4bc13f1ba5f77702bb41b (patch) | |
| tree | fa865d9277bea7cca4964fcf861a7cece08455ac /cli/i18n/I18nFile.php | |
| parent | 2f98978f6def423c46fe668b57107b3019b7a744 (diff) | |
Add option to ignore keys in cli tool
Diffstat (limited to 'cli/i18n/I18nFile.php')
| -rw-r--r-- | cli/i18n/I18nFile.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/i18n/I18nFile.php b/cli/i18n/I18nFile.php index a07efdf88..bdcf3c079 100644 --- a/cli/i18n/I18nFile.php +++ b/cli/i18n/I18nFile.php @@ -1,8 +1,9 @@ <?php require_once __DIR__ . '/I18nData.php'; +require_once __DIR__ . '/I18nFileInterface.php'; -class i18nFile { +class I18nFile implements I18nFileInterface{ private $i18nPath; @@ -11,6 +12,7 @@ class i18nFile { } public function load() { + $i18n = array(); $dirs = new DirectoryIterator($this->i18nPath); foreach ($dirs as $dir) { if ($dir->isDot()) { |
