Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix miss devbar translation #10

Closed
sim2github opened this issue Dec 1, 2017 · 1 comment
Closed

Fix miss devbar translation #10

sim2github opened this issue Dec 1, 2017 · 1 comment
Labels
idea New request or feature

Comments

@sim2github
Copy link
Contributor

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             = ""
@sruupl sruupl added the idea New request or feature label Mar 16, 2018
@sim2github
Copy link
Contributor Author

Fix admin translation #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea New request or feature
Projects
None yet
Development

No branches or pull requests

2 participants