diff options
author | Andreas Gohr <andi@splitbrain.org> | 2015-05-17 17:58:50 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2015-05-17 17:58:50 +0200 |
commit | 9fb9909916c8ce7fbca17d536942c0166afe487c (patch) | |
tree | 899d3cca3773ec8729645cb074fbe1c23b8f1204 /lib/plugins/styler/admin.php | |
parent | e422a60a9672c993b6872e856b9172dbd8135b56 (diff) | |
download | rpg-9fb9909916c8ce7fbca17d536942c0166afe487c.tar.gz rpg-9fb9909916c8ce7fbca17d536942c0166afe487c.tar.bz2 |
added more localization
Diffstat (limited to 'lib/plugins/styler/admin.php')
-rw-r--r-- | lib/plugins/styler/admin.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/plugins/styler/admin.php b/lib/plugins/styler/admin.php index 8d44ac6f5..4269a0ee7 100644 --- a/lib/plugins/styler/admin.php +++ b/lib/plugins/styler/admin.php @@ -82,8 +82,12 @@ class admin_plugin_styler extends DokuWiki_Admin_Plugin { echo '<table>'; foreach($replacements as $key => $value) { + $name = tpl_getLang($key); + if(empty($name)) $name = $this->getLang($key); + if(empty($name)) $name = $key; + echo '<tr>'; - echo '<td>'.$key.'</td>'; + echo '<td>'.$name.'</td>'; echo '<td><input name="tpl['.hsc($key).']" value="'.hsc($value).'" '.$this->colorClass($key).' />'; echo '</tr>'; } @@ -104,6 +108,8 @@ class admin_plugin_styler extends DokuWiki_Admin_Plugin { echo '</form>'; + echo tpl_locale_xhtml('style'); + } } |