From dcd02372625d3dbcc09e12b131241d055d098b4d Mon Sep 17 00:00:00 2001 From: dadosch Date: Mon, 1 Oct 2018 13:55:17 +0200 Subject: [PATCH] add german translation files to Grunt, LocaleManager --- Gruntfile.js | 1 + classes/LocaleManager.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index aa5ec72..d5f5825 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -89,6 +89,7 @@ module.exports = function (grunt) { 'i18n/fr_FR/LC_MESSAGES/Alltube.mo': 'i18n/fr_FR/LC_MESSAGES/Alltube.po', 'i18n/zh_CN/LC_MESSAGES/Alltube.mo': 'i18n/zh_CN/LC_MESSAGES/Alltube.po', 'i18n/es_ES/LC_MESSAGES/Alltube.mo': 'i18n/es_ES/LC_MESSAGES/Alltube.po', + 'i18n/de_DE/LC_MESSAGES/Alltube.mo': 'i18n/de_DE/LC_MESSAGES/Alltube.po', 'i18n/pt_BR/LC_MESSAGES/Alltube.mo': 'i18n/pt_BR/LC_MESSAGES/Alltube.po' } } diff --git a/classes/LocaleManager.php b/classes/LocaleManager.php index 6cd94b2..7db7cbc 100644 --- a/classes/LocaleManager.php +++ b/classes/LocaleManager.php @@ -19,7 +19,7 @@ class LocaleManager * * @var array */ - private $supportedLocales = ['en_US', 'fr_FR', 'zh_CN', 'es_ES', 'pt_BR']; + private $supportedLocales = ['en_US', 'fr_FR', 'zh_CN', 'es_ES', 'pt_BR', 'de_DE']; /** * Current locale.