diff options
author | Friendika <info@friendika.com> | 2011-02-15 13:40:25 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-02-15 13:40:25 -0800 |
commit | c5f5102396cee8ec691fd22d486070ec3d5f243d (patch) | |
tree | 2134bc487e6ccbca7871e119a1f76e6f6852ebf8 /util/string_translator.php | |
parent | 603dc34fa01026a843daedfbdb0f06748210c429 (diff) | |
parent | 97723ad69f71c716bd0e68eec95944b5469008ec (diff) | |
download | volse-hubzilla-c5f5102396cee8ec691fd22d486070ec3d5f243d.tar.gz volse-hubzilla-c5f5102396cee8ec691fd22d486070ec3d5f243d.tar.bz2 volse-hubzilla-c5f5102396cee8ec691fd22d486070ec3d5f243d.zip |
Merge branch 'fabrixxm-master'
Conflicts:
addon/statusnet/statusnet.php
util/strings.php
Diffstat (limited to 'util/string_translator.php')
-rw-r--r-- | util/string_translator.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/string_translator.php b/util/string_translator.php index 4d24f7a6f..4112d9506 100644 --- a/util/string_translator.php +++ b/util/string_translator.php @@ -4,6 +4,7 @@ <style> textarea { width: 100% } .no { background: #ffdddd; } + label { border-bottom: 1px solid #888; } </style> </head> <body> @@ -78,14 +79,13 @@ function strhex($string) { echo "<h1>Translator</h1>"; -echo "<p>Utility to translate <code>string.php</code> file."; -echo " Need write permission to language file you want to modify</p>"; +echo "<small>Utility to translate <code>string.php</code> file."; +echo " Need write permission to language file you want to modify</small>"; echo "<p>Installed languages:"; -echo "<ul>"; foreach($LANGS as $l){ - echo "<li><a href='?lang=$l'>$l</a></li>"; + echo "<a href='?lang=$l'>$l</a>, "; } -echo "</ul></p>"; +echo "</p>"; $strings['en'] = loadstrings(); @@ -156,7 +156,7 @@ if (isset($_GET['lang'])){ $istranslate = $translation != '' ? 'yes':'no'; echo "<dl class='$istranslate'>"; - echo "<dt><label for='$id'>".htmlspecialchars($v)."</label></dt>"; + echo "<dt><pre><label for='$id'>".htmlspecialchars($v)."</label></pre></dt>"; echo "<dd><textarea id='$id' name='$id'>$translation</textarea></dd>"; echo "</dl>"; } |