1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Add instructions to translation files

This commit is contained in:
Jakub Vrana
2025-03-23 15:35:30 +01:00
parent 03ff0bbc04
commit fb47ba6bbb
46 changed files with 91 additions and 1 deletions

View File

@@ -266,3 +266,5 @@ $translations = array(
'Edit all' => 'تعديل الكل', 'Edit all' => 'تعديل الكل',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php ar` to update this file

View File

@@ -335,3 +335,5 @@ $translations = array(
'Type has been created.' => 'Вида беше създаден.', 'Type has been created.' => 'Вида беше създаден.',
'Alter type' => 'Промяна на вид', 'Alter type' => 'Промяна на вид',
); );
// run `php ../../lang.php bg` to update this file

View File

@@ -266,3 +266,5 @@ $translations = array(
'Edit all' => 'সবগুলো সম্পাদনা করুন', 'Edit all' => 'সবগুলো সম্পাদনা করুন',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php bn` to update this file

View File

@@ -320,3 +320,5 @@ $translations = array(
'Type has been created.' => 'tip je spašen.', 'Type has been created.' => 'tip je spašen.',
'Alter type' => 'Ažuriraj tip', 'Alter type' => 'Ažuriraj tip',
); );
// run `php ../../lang.php bs` to update this file

View File

@@ -267,3 +267,5 @@ $translations = array(
'Edit all' => 'Edita-ho tot', 'Edit all' => 'Edita-ho tot',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php ca` to update this file

View File

@@ -359,3 +359,5 @@ $translations = array(
'Check has been altered.' => 'Kontrola byla změněna.', 'Check has been altered.' => 'Kontrola byla změněna.',
'Check has been dropped.' => 'Kontrola byla odstraněna.', 'Check has been dropped.' => 'Kontrola byla odstraněna.',
); );
// run `php ../../lang.php cs` to update this file

View File

@@ -281,3 +281,5 @@ $translations = array(
'Alter type' => 'Ændre type', 'Alter type' => 'Ændre type',
'Saving' => 'Gemmer', 'Saving' => 'Gemmer',
); );
// run `php ../../lang.php da` to update this file

View File

@@ -309,3 +309,5 @@ $translations = array(
'Create check' => 'Check erstellen', 'Create check' => 'Check erstellen',
'Checks' => 'Checks', 'Checks' => 'Checks',
); );
// run `php ../../lang.php de` to update this file

View File

@@ -335,3 +335,5 @@ $translations = array(
'Type has been created.' => 'Ο τύπος δημιουργήθηκε.', 'Type has been created.' => 'Ο τύπος δημιουργήθηκε.',
'Alter type' => 'Τροποποίηση τύπου', 'Alter type' => 'Τροποποίηση τύπου',
); );
// run `php ../../lang.php el` to update this file

View File

@@ -15,3 +15,5 @@ $translations = array(
'%d in total' => '%d in total', '%d in total' => '%d in total',
'%d query(s) executed OK.' => array('%d query executed OK.', '%d queries executed OK.'), '%d query(s) executed OK.' => array('%d query executed OK.', '%d queries executed OK.'),
); );
// run `php ../../lang.php en` to update this file

View File

@@ -297,3 +297,5 @@ $translations = array(
'Check has been altered.' => 'Chequeo cambiado.', 'Check has been altered.' => 'Chequeo cambiado.',
'Check has been dropped.' => 'Chequeo eliminado.', 'Check has been dropped.' => 'Chequeo eliminado.',
); );
// run `php ../../lang.php es` to update this file

View File

@@ -267,3 +267,5 @@ $translations = array(
'Edit all' => 'Muuda kõiki', 'Edit all' => 'Muuda kõiki',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php et` to update this file

View File

@@ -333,3 +333,5 @@ $translations = array(
'Type has been created.' => 'نوع ایجاد شد.', 'Type has been created.' => 'نوع ایجاد شد.',
'Alter type' => 'ویرایش نوع', 'Alter type' => 'ویرایش نوع',
); );
// run `php ../../lang.php fa` to update this file

View File

@@ -349,3 +349,5 @@ $translations = array(
'Database does not support password.' => 'Tietokanta ei tue salasanaa.', 'Database does not support password.' => 'Tietokanta ei tue salasanaa.',
'Disable %s or enable %s or %s extensions.' => 'Poista käytöstä %s tai ota käyttöön laajennus %s tai %s.', 'Disable %s or enable %s or %s extensions.' => 'Poista käytöstä %s tai ota käyttöön laajennus %s tai %s.',
); );
// run `php ../../lang.php fi` to update this file

View File

@@ -302,3 +302,5 @@ $translations = array(
'Database does not support password.' => 'La base de données ne support pas les mots de passe.', 'Database does not support password.' => 'La base de données ne support pas les mots de passe.',
'Disable %s or enable %s or %s extensions.' => 'Désactiver %s ou activer %s or %s extensions.', 'Disable %s or enable %s or %s extensions.' => 'Désactiver %s ou activer %s or %s extensions.',
); );
// run `php ../../lang.php fr` to update this file

View File

@@ -290,3 +290,5 @@ $translations = array(
'yes' => 'si', 'yes' => 'si',
'no' => 'non', 'no' => 'non',
); );
// run `php ../../lang.php gl` to update this file

View File

@@ -292,3 +292,5 @@ $translations = array(
'yes' => 'כן', 'yes' => 'כן',
'no' => 'לא', 'no' => 'לא',
); );
// run `php ../../lang.php he` to update this file

View File

@@ -266,3 +266,5 @@ $translations = array(
'Edit all' => 'Összes szerkesztése', 'Edit all' => 'Összes szerkesztése',
'HH:MM:SS' => 'óó:pp:mm', 'HH:MM:SS' => 'óó:pp:mm',
); );
// run `php ../../lang.php hu` to update this file

View File

@@ -315,3 +315,5 @@ $translations = array(
'Type has been created.' => 'Jenis berhasil dibuat.', 'Type has been created.' => 'Jenis berhasil dibuat.',
'Alter type' => 'Ubah jenis', 'Alter type' => 'Ubah jenis',
); );
// run `php ../../lang.php id` to update this file

View File

@@ -302,3 +302,5 @@ $translations = array(
'yes' => 'si', 'yes' => 'si',
'no' => 'no', 'no' => 'no',
); );
// run `php ../../lang.php it` to update this file

View File

@@ -312,3 +312,5 @@ $translations = array(
'Check has been altered.' => 'チェックを変更しました。', 'Check has been altered.' => 'チェックを変更しました。',
'Check has been dropped.' => 'チェックを削除しました。', 'Check has been dropped.' => 'チェックを削除しました。',
); );
// run `php ../../lang.php ja` to update this file

View File

@@ -302,3 +302,5 @@ $translations = array(
'Database does not support password.' => 'ბაზაში არაა მხარდაჭერილი პაროლი.', 'Database does not support password.' => 'ბაზაში არაა მხარდაჭერილი პაროლი.',
'Disable %s or enable %s or %s extensions.' => 'გათიშეთ %s ან ჩართეთ %s ან %s გაფართოება.', 'Disable %s or enable %s or %s extensions.' => 'გათიშეთ %s ან ჩართეთ %s ან %s გაფართოება.',
); );
// run `php ../../lang.php ka` to update this file

View File

@@ -279,3 +279,5 @@ $translations = array(
'You can upload a big SQL file via FTP and import it from server.' => '큰 SQL 파일은 FTP를 통하여 업로드하여 서버에서 가져올 수 있습니다.', 'You can upload a big SQL file via FTP and import it from server.' => '큰 SQL 파일은 FTP를 통하여 업로드하여 서버에서 가져올 수 있습니다.',
'You have no privileges to update this table.' => '이 테이블을 업데이트할 권한이 없습니다.', 'You have no privileges to update this table.' => '이 테이블을 업데이트할 권한이 없습니다.',
); );
// run `php ../../lang.php ko` to update this file

View File

@@ -311,3 +311,5 @@ $translations = array(
'Type has been created.' => 'Tipas sukurtas.', 'Type has been created.' => 'Tipas sukurtas.',
'Alter type' => 'Keisti tipą', 'Alter type' => 'Keisti tipą',
); );
// run `php ../../lang.php lt` to update this file

View File

@@ -302,3 +302,5 @@ $translations = array(
'Unknown error.' => 'Nezināma kļūda.', 'Unknown error.' => 'Nezināma kļūda.',
'Database does not support password.' => 'Datubāze neatbalsta paroli.', 'Database does not support password.' => 'Datubāze neatbalsta paroli.',
); );
// run `php ../../lang.php lv` to update this file

View File

@@ -339,3 +339,5 @@ $translations = array(
'Type has been created.' => 'Jenis telah dibuat.', 'Type has been created.' => 'Jenis telah dibuat.',
'Alter type' => 'Ubah jenis', 'Alter type' => 'Ubah jenis',
); );
// run `php ../../lang.php ms` to update this file

View File

@@ -302,3 +302,5 @@ $translations = array(
'yes' => 'ja', 'yes' => 'ja',
'no' => 'neen', 'no' => 'neen',
); );
// run `php ../../lang.php nl` to update this file

View File

@@ -281,3 +281,5 @@ $translations = array(
'Alter type' => 'Endre type', 'Alter type' => 'Endre type',
'Saving' => 'Lagrer', 'Saving' => 'Lagrer',
); );
// run `php ../../lang.php no` to update this file

View File

@@ -359,3 +359,5 @@ $translations = array(
'Check has been altered.' => 'Kontrola została zmieniona.', 'Check has been altered.' => 'Kontrola została zmieniona.',
'Check has been dropped.' => 'Kontrola została usunięta.', 'Check has been dropped.' => 'Kontrola została usunięta.',
); );
// run `php ../../lang.php pl` to update this file

View File

@@ -262,3 +262,5 @@ $translations = array(
'now' => 'agora', 'now' => 'agora',
'ltr' => 'ltr', 'ltr' => 'ltr',
); );
// run `php ../../lang.php pt-br` to update this file

View File

@@ -262,3 +262,5 @@ $translations = array(
'now' => 'agora', 'now' => 'agora',
'ltr' => 'ltr', 'ltr' => 'ltr',
); );
// run `php ../../lang.php pt` to update this file

View File

@@ -267,3 +267,5 @@ $translations = array(
'Edit all' => 'Editează tot', 'Edit all' => 'Editează tot',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php ro` to update this file

View File

@@ -303,3 +303,5 @@ $translations = array(
'Database does not support password.' => 'База данных не поддерживает пароль.', 'Database does not support password.' => 'База данных не поддерживает пароль.',
'Disable %s or enable %s or %s extensions.' => 'Отключите %s или включите расширения %s или %s.', 'Disable %s or enable %s or %s extensions.' => 'Отключите %s или включите расширения %s или %s.',
); );
// run `php ../../lang.php ru` to update this file

View File

@@ -309,3 +309,5 @@ $translations = array(
'Check has been altered.' => 'Kontrola bola zmenená.', 'Check has been altered.' => 'Kontrola bola zmenená.',
'Check has been dropped.' => 'Kontrola bola odstránená.', 'Check has been dropped.' => 'Kontrola bola odstránená.',
); );
// run `php ../../lang.php sk` to update this file

View File

@@ -306,3 +306,5 @@ $translations = array(
'Type has been created.' => 'Tip je ustvarjen.', 'Type has been created.' => 'Tip je ustvarjen.',
'Alter type' => 'Spremeni tip', 'Alter type' => 'Spremeni tip',
); );
// run `php ../../lang.php sl` to update this file

View File

@@ -318,3 +318,5 @@ $translations = array(
'Type has been created.' => 'тип је креиран.', 'Type has been created.' => 'тип је креиран.',
'Alter type' => 'Уреди тип', 'Alter type' => 'Уреди тип',
); );
// run `php ../../lang.php sr` to update this file

View File

@@ -348,3 +348,5 @@ $translations = array(
'Type has been created.' => 'Typ har skapats.', 'Type has been created.' => 'Typ har skapats.',
'Alter type' => 'Ändra typ', 'Alter type' => 'Ändra typ',
); );
// run `php ../../lang.php sv` to update this file

View File

@@ -266,3 +266,5 @@ $translations = array(
'Edit all' => 'அனைத்தையும் தொகு', 'Edit all' => 'அனைத்தையும் தொகு',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php ta` to update this file

View File

@@ -267,3 +267,5 @@ $translations = array(
'Edit all' => 'แก้ไขทั้งหมด', 'Edit all' => 'แก้ไขทั้งหมด',
'HH:MM:SS' => 'HH:MM:SS', 'HH:MM:SS' => 'HH:MM:SS',
); );
// run `php ../../lang.php th` to update this file

View File

@@ -342,3 +342,5 @@ $translations = array(
'Type has been created.' => 'Tür oluşturuldu.', 'Type has been created.' => 'Tür oluşturuldu.',
'Alter type' => 'Türü değiştir', 'Alter type' => 'Türü değiştir',
); );
// run `php ../../lang.php tr` to update this file

View File

@@ -345,3 +345,5 @@ $translations = array(
'Unknown error.' => 'Невідома помилка.', 'Unknown error.' => 'Невідома помилка.',
'Database does not support password.' => 'База даних не підтримує пароль.', 'Database does not support password.' => 'База даних не підтримує пароль.',
); );
// run `php ../../lang.php uk` to update this file

View File

@@ -327,3 +327,5 @@ $translations = array(
'Type has been created.' => 'Đã tạo kiểu.', 'Type has been created.' => 'Đã tạo kiểu.',
'Alter type' => 'Sửa kiểu dữ liệu', 'Alter type' => 'Sửa kiểu dữ liệu',
); );
// run `php ../../lang.php vi` to update this file

View File

@@ -361,3 +361,5 @@ $translations = array(
'Check has been altered.' => 'Xx.', 'Check has been altered.' => 'Xx.',
'Check has been dropped.' => 'Xx.', 'Check has been dropped.' => 'Xx.',
); );
// run `php ../../lang.php xx` to update this file

View File

@@ -348,3 +348,5 @@ $translations = array(
'Type has been created.' => '已建立類型。', 'Type has been created.' => '已建立類型。',
'Alter type' => '修改類型', 'Alter type' => '修改類型',
); );
// run `php ../../lang.php zh-tw` to update this file

View File

@@ -348,3 +348,5 @@ $translations = array(
'Type has been created.' => '已创建类型。', 'Type has been created.' => '已创建类型。',
'Alter type' => '修改类型', 'Alter type' => '修改类型',
); );
// run `php ../../lang.php zh` to update this file

View File

@@ -70,7 +70,7 @@ foreach (glob(__DIR__ . "/adminer/lang/" . ($_SESSION["lang"] ?: "*") . ".inc.ph
} }
} }
} }
$s = "<?php\nnamespace Adminer;\n\n\$translations = array(\n$s);\n"; $s = "<?php\nnamespace Adminer;\n\n\$translations = array(\n$s);\n\n// run `php ../../lang.php $lang` to update this file\n";
if ($s != $file) { if ($s != $file) {
file_put_contents($filename, $s); file_put_contents($filename, $s);
echo "$filename updated.\n"; echo "$filename updated.\n";