From 2bd167304c20f985a41f55cee55100283a6b7896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 3 Oct 2017 01:44:43 +0200 Subject: [PATCH] localized upload tool (cs, en) --- lang/cs.php | 15 +++++++++++++++ lang/en.php | 15 +++++++++++++++ pages/term.php | 28 ++++++++++++++-------------- sass/pages/_term.scss | 2 +- 4 files changed, 45 insertions(+), 15 deletions(-) diff --git a/lang/cs.php b/lang/cs.php index 2b59cd6..f281fee 100644 --- a/lang/cs.php +++ b/lang/cs.php @@ -88,6 +88,18 @@ return [ 'cursor.bar_blink' => 'Svislice, blikající', 'cursor.bar_steady' => 'Svislice, stálá', + // Text upload dialog + + 'upload.title' => 'Upload textu', + 'upload.prompt' => 'Načíst ze souboru:', + 'upload.endings' => 'Konce řádku:', + 'upload.endings.cr' => 'CR (klávesa Enter)', + 'upload.endings.crlf' => 'CR LF (Windows)', + 'upload.endings.lf' => 'LF (Linux)', + 'upload.chunk_delay' => 'Prodleva (ms):', + 'upload.chunk_size' => 'Délka úseku (0=řádek):', + 'upload.progress' => 'Proběh:', + // Network config page 'net.explain_sta' => ' @@ -247,10 +259,13 @@ return [ // Generic button / dialog labels 'apply' => 'Uložit!', + 'start' => 'Start', + 'cancel' => 'Zrušit', 'enabled' => 'Zapnuto', 'disabled' => 'Vypnuto', 'yes' => 'Ano', 'no' => 'Ne', 'confirm' => 'OK', + 'copy' => 'Kopírovat', 'form_errors' => 'Neplatné hodnoty:', ]; diff --git a/lang/en.php b/lang/en.php index 368272e..ad6bfb7 100644 --- a/lang/en.php +++ b/lang/en.php @@ -87,6 +87,18 @@ return [ 'cursor.bar_blink' => 'I-bar, blinking', 'cursor.bar_steady' => 'I-bar, steady', + // Text upload dialog + + 'upload.title' => 'Text Upload', + 'upload.prompt' => 'Load a text file:', + 'upload.endings' => 'Line endings:', + 'upload.endings.cr' => 'CR (Enter key)', + 'upload.endings.crlf' => 'CR LF (Windows)', + 'upload.endings.lf' => 'LF (Linux)', + 'upload.chunk_delay' => 'Chunk delay (ms):', + 'upload.chunk_size' => 'Chunk size (0=line):', + 'upload.progress' => 'Upload:', + // Network config page 'net.explain_sta' => ' @@ -247,10 +259,13 @@ return [ // Generic button / dialog labels 'apply' => 'Apply!', + 'start' => 'Start', + 'cancel' => 'Cancel', 'enabled' => 'Enabled', 'disabled' => 'Disabled', 'yes' => 'Yes', 'no' => 'No', 'confirm' => 'OK', + 'copy' => 'Copy', 'form_errors' => 'Validation errors for:', ]; diff --git a/pages/term.php b/pages/term.php index 75246cf..9a2170d 100644 --- a/pages/term.php +++ b/pages/term.php @@ -13,45 +13,45 @@ -

+

- +
@@ -59,7 +59,7 @@
-
+