Update translations

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@641 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-06-01 21:29:18 +00:00
parent 6bb1401d2a
commit eebf5dced2
11 changed files with 230 additions and 253 deletions

View file

@ -2,7 +2,7 @@
error_reporting(E_ALL & ~E_NOTICE);
if ($_SERVER["argc"] > 1) {
$_COOKIE["lang"] = $_SERVER["argv"][1];
include dirname(__FILE__) . "/lang.inc.php";
include dirname(__FILE__) . "/include/lang.inc.php";
if ($_SERVER["argc"] != 2 || !isset($langs[$_COOKIE["lang"]])) {
echo "Usage: php _lang.php [lang]\nPurpose: Update lang/*.inc.php from source code messages.\n";
exit(1);
@ -10,14 +10,14 @@ if ($_SERVER["argc"] > 1) {
}
$messages_all = array();
foreach (glob(dirname(__FILE__) . "/*.php") as $filename) {
foreach (array_merge(glob(dirname(__FILE__) . "/*.php"), glob(dirname(__FILE__) . "/include/*.php")) as $filename) {
$file = file_get_contents($filename);
if (preg_match_all("~lang\\(('(?:[^\\\\']+|\\\\.)*')([),])~", $file, $matches)) {
$messages_all += array_combine($matches[1], $matches[2]);
}
}
foreach (($_COOKIE["lang"] ? array(dirname(__FILE__) . "/lang/$_COOKIE[lang].inc.php") : glob(dirname(__FILE__) . "/lang/*.inc.php")) as $filename) {
foreach (glob(dirname(__FILE__) . "/lang/" . ($_COOKIE["lang"] ? $_COOKIE["lang"] : "*") . ".inc.php") as $filename) {
$messages = $messages_all;
preg_match_all("~^(\\s*)(?:// )?(('(?:[^\\\\']+|\\\\.)*') => .*[^,\n]),?~m", file_get_contents($filename), $matches, PREG_SET_ORDER);
$s = "";
@ -32,7 +32,7 @@ foreach (($_COOKIE["lang"] ? array(dirname(__FILE__) . "/lang/$_COOKIE[lang].inc
foreach($messages as $idf => $val) {
if ($val == "," && strpos($idf, "%d")) {
$s .= "\t$idf => array(),\n";
} elseif ($filename != "lang/en.inc.php") {
} elseif (basename($filename) != "en.inc.php") {
$s .= "\t$idf => null,\n";
}
}

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Session proměnné musí být povolené.',
'Session expired, please login again.' => 'Session vypršela, přihlašte se prosím znovu.',
'Text length' => 'Délka textů',
'Syntax highlighting' => 'Zvýrazňování syntaxe',
'Foreign key has been dropped.' => 'Cizí klíč byl odstraněn.',
'Foreign key has been altered.' => 'Cizí klíč byl změněn.',
'Foreign key has been created.' => 'Cizí klíč byl vytvořen.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Formát',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'přeskočit',
'Tables' => 'Tabulky',
'Structure' => 'Struktura',
'Data' => 'Data',
'Event has been dropped.' => 'Událost byla odstraněna.',
'Event has been altered.' => 'Událost byla změněna.',
@ -217,6 +214,4 @@ $translations = array(
'Maximum number of allowed fields exceeded. Please increase %s and %s.' => 'Byl překročen maximální povolený počet polí. Zvyšte prosím %s a %s.',
'(anywhere)' => '(kdekoliv)',
'%.3f s' => '%.3f s',
'phpMinAdmin version: %s' => 'Verze phpMinAdmin: %s',
'current version' => 'aktuální verze',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Sitzungen müssen aktiviert sein.',
'Session expired, please login again.' => 'Sitzungsdauer abgelaufen, bitte erneut anmelden.',
'Text length' => 'Textlänge',
'Syntax highlighting' => 'Syntax highlighting',
'Foreign key has been dropped.' => 'Fremdschlüssel entfernt.',
'Foreign key has been altered.' => 'Fremdschlüssel geändert.',
'Foreign key has been created.' => 'Fremdschlüssel erstellt.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Format',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'ignorieren',
'Tables' => 'Tabellen',
'Structure' => 'Struktur',
'Data' => 'Daten',
'Event has been dropped.' => 'Ereignis entfernt.',
'Event has been altered.' => 'Ereignis geändert.',
@ -216,4 +213,5 @@ $translations = array(
'Import' => 'Importieren',
'Stop on error' => 'Bei Fehler anhaltan',
'Select table' => 'Tabelle auswählen',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Deben estar habilitadas las sesiones.',
'Session expired, please login again.' => 'Sesion expirada, favor loguéese de nuevo.',
'Text length' => 'Longitud de texto',
'Syntax highlighting' => 'Destacar Sintaxis',
'Foreign key has been dropped.' => 'Clave foránea eliminada.',
'Foreign key has been altered.' => 'Clave foránea modificada.',
'Foreign key has been created.' => 'Clave foránea creada.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Formato',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'ignorar',
'Tables' => 'Tablas',
'Structure' => 'Estructura',
'Data' => 'Datos',
'Event has been dropped.' => 'Evento eliminado.',
'Event has been altered.' => 'Evento modificado.',
@ -216,4 +213,5 @@ $translations = array(
'Import' => 'Importar',
'Stop on error' => 'Parar en caso de error',
'Select table' => 'Seleccionar tabla',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Sessioonid peavad olema lubatud.',
'Session expired, please login again.' => 'Sessioon on aegunud, palun logige uuesti sisse.',
'Text length' => 'Teksti pikkus',
'Syntax highlighting' => 'Värvi süntaks',
'Foreign key has been dropped.' => 'Võõrvõti on edukalt kustutatud.',
'Foreign key has been altered.' => 'Võõrvõtme andmed on edukalt muudetud.',
'Foreign key has been created.' => 'Võõrvõri on edukalt loodud.',
@ -155,9 +154,7 @@ $translations = array(
'Move up' => 'Liiguta ülespoole',
'Move down' => 'Liiguta allapoole',
'Export' => 'Ekspordi',
'skip' => 'ignoreeri',
'Tables' => 'Tabelid',
'Structure' => 'Struktuur',
'Data' => 'Andmed',
'Output' => 'Väljund',
'open' => 'näita brauseris',
@ -216,4 +213,5 @@ $translations = array(
'Import' => 'Impordi',
'Stop on error' => 'Peatuda vea esinemisel',
'Select table' => 'Vali tabel',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Veuillez activer les sessions.',
'Session expired, please login again.' => 'Session expirée, veuillez vous enregistrer à nouveau.',
'Text length' => 'Longueur du texte',
'Syntax highlighting' => 'Coloration syntaxique',
'Foreign key has been dropped.' => 'Clé externe effacée.',
'Foreign key has been altered.' => 'Clé externe modifiée.',
'Foreign key has been created.' => 'Clé externe créée.',
@ -155,9 +154,7 @@ $translations = array(
'Move up' => 'Déplacer vers le haut',
'Move down' => 'Déplacer vers le bas',
'Export' => 'Exporter',
'skip' => 'sauter',
'Tables' => 'Tables',
'Structure' => 'Structure',
'Data' => 'Donnée',
'Output' => 'Sortie',
'open' => 'ouvrir',
@ -216,4 +213,5 @@ $translations = array(
'Import' => 'Importer',
'Stop on error' => 'Arrêt sur erreur',
'Select table' => 'Selectionner la table',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Le sessioni devono essere abilitate.',
'Session expired, please login again.' => 'Sessione scaduta, autenticarsi di nuovo.',
'Text length' => 'Lunghezza testo',
'Syntax highlighting' => 'Evidenzia sintassi',
'Foreign key has been dropped.' => 'Foreign key eliminata.',
'Foreign key has been altered.' => 'Foreign key modificata.',
'Foreign key has been created.' => 'Foreign key creata.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Formato',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'tralascia',
'Tables' => 'Tabelle',
'Structure' => 'Struttura',
'Data' => 'Dati',
'Event has been dropped.' => 'Evento eliminato.',
'Event has been altered.' => 'Evento modificato.',
@ -216,4 +213,5 @@ $translations = array(
'Import' => 'Importa',
'Stop on error' => 'Stop su errore',
'Select table' => 'Scegli tabella',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Siessies moeten geactiveerd zijn.',
'Session expired, please login again.' => 'Uw sessie is verlopen. Gelieve opnieuw in te loggen.',
'Text length' => 'Tekst lengte',
'Syntax highlighting' => 'Syntax highlighting',
'Foreign key has been dropped.' => 'Foreign key verwijderd.',
'Foreign key has been altered.' => 'Foreign key aangepast.',
'Foreign key has been created.' => 'Foreign key aangemaakt.',
@ -155,9 +154,7 @@ $translations = array(
'Move up' => 'Omhoog',
'Move down' => 'Omlaag',
'Export' => 'Exporteren',
'skip' => 'overslaan',
'Tables' => 'Tabellen',
'Structure' => 'Structuur',
'Data' => 'Data',
'Output' => 'Uitvoer',
'open' => 'openen',
@ -209,11 +206,12 @@ $translations = array(
'Partitions' => 'Partities',
'Partition name' => 'Partitie naam',
'Values' => 'Waarden',
'%d row(s) has been imported.' => array('%d rij werd geïmporteerd.', '%d rijen werden geïmporteerd.'),
'%d row(s) has been imported.' => array('%d rij werd geïmporteerd.', '%d rijen werden geïmporteerd.'),
'Table structure' => 'Tabelstructuur',
'(anywhere)' => '(overal)',
'CSV Import' => 'CSV Import',
'Import' => 'Importeren',
'Stop on error' => 'Stoppen bij fout',
'Select table' => 'Selecteer tabel',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Сессион должно быть разрешенное.',
'Session expired, please login again.' => 'Сессион прошла, записаться ещё один раз.',
'Text length' => 'Длина текстов',
'Syntax highlighting' => 'Выделение синтаксису',
'Foreign key has been dropped.' => 'Иностранный ключ был удалена.',
'Foreign key has been altered.' => 'Иностранный ключ был актуализированный.',
'Foreign key has been created.' => 'Иностранный ключ был создан.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Формат',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'перескочить',
'Tables' => 'Таблицы',
'Structure' => 'Структура',
'Data' => 'Данные',
'Event has been dropped.' => 'Событие была удален.',
'Event has been altered.' => 'Событие была изменена.',
@ -216,4 +213,5 @@ $translations = array(
'Stop on error' => 'Прекратить при ошибке',
'Maximum number of allowed fields exceeded. Please increase %s and %s.' => 'Было пересечено максимальные количество поля. Нарастите %s и %s.',
'(anywhere)' => '(в любом месте)',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => 'Session premenné musia byť povolené.',
'Session expired, please login again.' => 'Session vypršala, prihláste sa prosím znova.',
'Text length' => 'Dĺžka textov',
'Syntax highlighting' => 'Zvýrazňovanie syntaxe',
'Foreign key has been dropped.' => 'Cudzí kľúč bol odstránený.',
'Foreign key has been altered.' => 'Cudzí kľúč bol zmenený.',
'Foreign key has been created.' => 'Cudzí kľúč bol vytvorený.',
@ -163,9 +162,7 @@ $translations = array(
'Format' => 'Formát',
'SQL' => 'SQL',
'CSV' => 'CSV',
'skip' => 'preskočiť',
'Tables' => 'Tabuľky',
'Structure' => 'Štruktúra',
'Data' => 'Dáta',
'Event has been dropped.' => 'Udalosť bola odstránená.',
'Event has been altered.' => 'Udalosť bola zmenená.',
@ -216,4 +213,5 @@ $translations = array(
'Stop on error' => 'Zastaviť pri chybe',
'Maximum number of allowed fields exceeded. Please increase %s and %s.' => 'Bol prekročený maximálny počet povolených polí. Zvýšte prosím %s a %s.',
'(anywhere)' => '(kdekoľvek)',
'%.3f s' => '%.3f s',
);

View file

@ -90,7 +90,6 @@ $translations = array(
'Sessions must be enabled.' => '会话必须被启用。',
'Session expired, please login again.' => '会话已过期,请重新登录。',
'Text length' => '文本长度',
'Syntax highlighting' => '语法高亮',
'Foreign key has been dropped.' => '已删除外键。',
'Foreign key has been altered.' => '已更改外键。',
'Foreign key has been created.' => '已创建外键。',
@ -155,9 +154,7 @@ $translations = array(
'Move up' => '上移',
'Move down' => '下移',
'Export' => '导出',
'skip' => '跳过',
'Tables' => '表',
'Structure' => '结构',
'Data' => '数据',
'Output' => '输出',
'open' => '打开',
@ -216,4 +213,5 @@ $translations = array(
'Import' => '导入',
'Stop on error' => '出错时停止',
'Select table' => '选择表',
'%.3f s' => '%.3f s',
);