diff options
-rwxr-xr-x[-rw-r--r--] | init.php | 6 | ||||
-rwxr-xr-x | update-translations.sh | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -26,13 +26,13 @@ class Time_to_Read extends Plugin { return 2; } - /*function hook_prefs_tab($args) { + function hook_prefs_tab($args) { if ($args != "prefPrefs") return; print "<div dojoType='dijit.layout.AccordionPane' - title=\"<i class='material-icons'>photo</i> ".P__($this, 'Test-Test')."\">"; + title=\"<i class='material-icons'>photo</i> ".$this->__('Test-Test')."\">"; print "</div>"; - }*/ + } } diff --git a/update-translations.sh b/update-translations.sh index 7584d36..c653f90 100755 --- a/update-translations.sh +++ b/update-translations.sh @@ -1,7 +1,7 @@ #!/bin/sh TEMPLATE=time_to_read.pot -xgettext -kP__:2 -L PHP -o $TEMPLATE *.php +xgettext -k__ -L PHP -o $TEMPLATE *.php xgettext -k__ -L Java -j -o $TEMPLATE *.js update_lang() { |