sruupl / batflat

Lightweight, fast and easy CMS for free. Bootstrap ready. https://batflat.org
MIT License
134 stars 54 forks source link

Fix miss devbar translation #10

Closed sim2github closed 6 years ago

sim2github commented 6 years ago

Sorry that the Polish translation is empty.

diff --git a/inc/modules/devbar/Info.php b/inc/modules/devbar/Info.php
index 93aae06..b19b3bf 100644
--- a/inc/modules/devbar/Info.php
+++ b/inc/modules/devbar/Info.php
@@ -10,8 +10,8 @@
 */

 return [
-    'name'          =>  'Debug bar',
-    'description'   =>  'Shows helpful information for developers',
+    'name'          =>  $core->lang['devbar']['module_name'],
+    'description'   =>  $core->lang['devbar']['module_desc'],
     'author'        =>  'Sruu.pl',
     'version'       =>  '1.0',
     'compatibility' =>  '1.3.*',
diff --git a/inc/modules/devbar/lang/admin/en_english.ini b/inc/modules/devbar/lang/admin/en_english.ini
new file mode 100644
index 0000000..4d1a54a
--- /dev/null
+++ b/inc/modules/devbar/lang/admin/en_english.ini
@@ -0,0 +1,2 @@
+module_name             = "Debug bar"
+module_desc             = "Shows helpful information for developers"
diff --git a/inc/modules/devbar/lang/admin/pl_polski.ini b/inc/modules/devbar/lang/admin/pl_polski.ini
new file mode 100644
index 0000000..e80ebb8
--- /dev/null
+++ b/inc/modules/devbar/lang/admin/pl_polski.ini
@@ -0,0 +1,2 @@
+module_name             = ""
+module_desc             = ""
sim2github commented 6 years ago

Fix admin translation #16