aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/sk/sub.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2022-01-08 08:00:26 -0500
committerGravatar GitHub <noreply@github.com> 2022-01-08 14:00:26 +0100
commit127b7f0a3aad7012055c058e8aba0d27192a8cbc (patch)
tree8ec9a5948672e702c944c202f78294b81104582f /app/i18n/sk/sub.php
parented19445f74c30854c60873cd1df1c38e15fc316b (diff)
Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome for new comers. Now, this info is stored directly in the translation file as a comment. Before, there was no way of telling translators that a previously translated string was in need of a new translation. Now, the dirty information is there to convey that info.
Diffstat (limited to 'app/i18n/sk/sub.php')
-rw-r--r--app/i18n/sk/sub.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.php
index 8c3e6b9e0..3da71a24c 100644
--- a/app/i18n/sk/sub.php
+++ b/app/i18n/sk/sub.php
@@ -1,9 +1,19 @@
<?php
+/******************************************************************************/
+/* Each entry of that file can be associated with a comment to indicate its */
+/* state. When there is no comment, it means the entry is fully translated. */
+/* The recognized comments are (comment matching is case-insensitive): */
+/* + TODO: the entry has never been translated. */
+/* + DIRTY: the entry has been translated but needs to be updated. */
+/* + IGNORE: the entry does not need to be translated. */
+/* When a comment is not recognized, it is discarded. */
+/******************************************************************************/
+
return array(
'api' => array(
'documentation' => 'Skopírujte tento odkaz a použite ho v inom programe.',
- 'title' => 'API',
+ 'title' => 'API', // IGNORE
),
'bookmarklet' => array(
'documentation' => 'Presunte toto tlačidlo do vašich záložiek, alebo kliknite pravým a zvoľte "Uložiť odkaz do záložiek". Potom kliknite na tlačidlo "Odoberať" na ktorejkoľvek stránke, ktorú chcete odoberať.',
@@ -105,11 +115,11 @@ return array(
'file_to_import_no_zip' => 'Súbor na import<br />(OPML alebo JSON)',
'import' => 'Importovať',
'starred_list' => 'Zoznam obľúbených článkov',
- 'title' => 'Import / export',
+ 'title' => 'Import / export', // IGNORE
),
'menu' => array(
'add' => 'Pridať kanál alebo kategóriu',
- 'import_export' => 'Import / export',
+ 'import_export' => 'Import / export', // IGNORE
'label_management' => 'Správca štítkov',
'stats' => array(
'idle' => 'Neaktívne kanály',