diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-25 19:53:21 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-25 19:53:21 +0000 |
| commit | 726a28be36901a38896d6314822d5115b1ef9717 (patch) | |
| tree | 1c7654c343bb9af3749dd5a0cd2721d730304a9d /library | |
| parent | 473d7e686db87ce00571daf0e06fc32ef9c4dcba (diff) | |
| download | webtrees-726a28be36901a38896d6314822d5115b1ef9717.tar.gz webtrees-726a28be36901a38896d6314822d5115b1ef9717.tar.bz2 webtrees-726a28be36901a38896d6314822d5115b1ef9717.zip | |
Having no installed languages is no longer fatal
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/I18N.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/WT/I18N.php b/library/WT/I18N.php index 4258d6c9bf..f771aa0e1b 100644 --- a/library/WT/I18N.php +++ b/library/WT/I18N.php @@ -349,10 +349,6 @@ class WT_I18N { $installed_languages[$match[1]] = $tmp2 . '|' . $tmp1; } } - if (empty($installed_languages)) { - // We cannot translate this - die('There are no languages installed. You must include at least one xx.mo file in /language/'); - } // Sort by the combined language/language name... uasort($installed_languages, array('WT_I18N', 'strcasecmp')); foreach ($installed_languages as &$value) { |
