diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/string_translator.php | 12 | ||||
-rw-r--r-- | util/strings.php | 5 |
2 files changed, 6 insertions, 11 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>"; } diff --git a/util/strings.php b/util/strings.php index 41a8a68ff..a7ef2361a 100644 --- a/util/strings.php +++ b/util/strings.php @@ -665,7 +665,6 @@ $a->strings['America/Managua'] = 'America/Managua'; $a->strings['America/Manaus'] = 'America/Manaus'; $a->strings['America/Marigot'] = 'America/Marigot'; $a->strings['America/Martinique'] = 'America/Martinique'; -$a->strings['America/Matamoros'] = 'America/Matamoros'; $a->strings['America/Mazatlan'] = 'America/Mazatlan'; $a->strings['America/Mendoza'] = 'America/Mendoza'; $a->strings['America/Menominee'] = 'America/Menominee'; @@ -684,7 +683,6 @@ $a->strings['America/Nome'] = 'America/Nome'; $a->strings['America/Noronha'] = 'America/Noronha'; $a->strings['America/North_Dakota/Center'] = 'America/North_Dakota/Center'; $a->strings['America/North_Dakota/New_Salem'] = 'America/North_Dakota/New_Salem'; -$a->strings['America/Ojinaga'] = 'America/Ojinaga'; $a->strings['America/Panama'] = 'America/Panama'; $a->strings['America/Pangnirtung'] = 'America/Pangnirtung'; $a->strings['America/Paramaribo'] = 'America/Paramaribo'; @@ -701,7 +699,6 @@ $a->strings['America/Regina'] = 'America/Regina'; $a->strings['America/Resolute'] = 'America/Resolute'; $a->strings['America/Rio_Branco'] = 'America/Rio_Branco'; $a->strings['America/Rosario'] = 'America/Rosario'; -$a->strings['America/Santa_Isabel'] = 'America/Santa_Isabel'; $a->strings['America/Santarem'] = 'America/Santarem'; $a->strings['America/Santiago'] = 'America/Santiago'; $a->strings['America/Santo_Domingo'] = 'America/Santo_Domingo'; @@ -730,7 +727,6 @@ $a->strings['America/Yellowknife'] = 'America/Yellowknife'; $a->strings['Antarctica/Casey'] = 'Antarctica/Casey'; $a->strings['Antarctica/Davis'] = 'Antarctica/Davis'; $a->strings['Antarctica/DumontDUrville'] = 'Antarctica/DumontDUrville'; -$a->strings['Antarctica/Macquarie'] = 'Antarctica/Macquarie'; $a->strings['Antarctica/Mawson'] = 'Antarctica/Mawson'; $a->strings['Antarctica/McMurdo'] = 'Antarctica/McMurdo'; $a->strings['Antarctica/Palmer'] = 'Antarctica/Palmer'; @@ -793,7 +789,6 @@ $a->strings['Asia/Makassar'] = 'Asia/Makassar'; $a->strings['Asia/Manila'] = 'Asia/Manila'; $a->strings['Asia/Muscat'] = 'Asia/Muscat'; $a->strings['Asia/Nicosia'] = 'Asia/Nicosia'; -$a->strings['Asia/Novokuznetsk'] = 'Asia/Novokuznetsk'; $a->strings['Asia/Novosibirsk'] = 'Asia/Novosibirsk'; $a->strings['Asia/Omsk'] = 'Asia/Omsk'; $a->strings['Asia/Oral'] = 'Asia/Oral'; |