diff options
author | Slávek Banko <[email protected]> | 2018-12-25 16:43:56 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-12-25 16:45:27 +0100 |
commit | 99ef5b8d5bca4c8631fbb4850854c45c4758c062 (patch) | |
tree | 935c9cd4935c986e65884290ca5a1b1389aa5ef7 | |
parent | d87ef89052760425c4dba94ced2044e8e615561f (diff) | |
download | kbibtex-99ef5b8d5bca4c8631fbb4850854c45c4758c062.tar.gz kbibtex-99ef5b8d5bca4c8631fbb4850854c45c4758c062.zip |
Add CMakeL10n rules.
Update translation template.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 22d297510f4393cff43f7ab82c74c10da5060185)
-rw-r--r-- | CMakeL10n.txt | 23 | ||||
-rw-r--r-- | po/kbibtex.pot | 146 | ||||
-rw-r--r-- | src/CMakeL10n.txt | 3 |
3 files changed, 143 insertions, 29 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 0000000..a525b71 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,23 @@ +################################################# +# +# (C) 2018 Slávek Banko +# slavek.banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +cmake_minimum_required( VERSION 2.8 ) + + +##### include our cmake modules ################# + +set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" ) +include( TDEL10n ) + + +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/po/kbibtex.pot b/po/kbibtex.pot index 44153be..dc45cc5 100644 --- a/po/kbibtex.pot +++ b/po/kbibtex.pot @@ -5,21 +5,21 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2010-07-01 13:55+0200\n" +"POT-Creation-Date: 2018-12-25 16:32+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <[email protected]>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: ENCODING\n" +"Content-Transfer-Encoding: 8bit\n" -#: _translatorinfo.cpp:1 +#: _translatorinfo:1 msgid "" "_: NAME OF TRANSLATORS\n" "Your names" msgstr "" -#: _translatorinfo.cpp:3 +#: _translatorinfo:2 msgid "" "_: EMAIL OF TRANSLATORS\n" "Your emails" @@ -57,6 +57,10 @@ msgstr "" msgid "Paste text as..." msgstr "" +#: documentlistview.cpp:458 documentwidget.cpp:1714 +msgid "Cancel" +msgstr "" + #: documentlistview.cpp:757 settingsediting.cpp:165 msgid "Entry Id" msgstr "" @@ -285,6 +289,10 @@ msgid "Reload file?" msgstr "" #: documentwidget.cpp:1554 +msgid "Reload" +msgstr "" + +#: documentwidget.cpp:1554 msgid "Ignore" msgstr "" @@ -315,6 +323,10 @@ msgstr "" msgid "Edit BibTeX Entry" msgstr "" +#: entrywidget.cpp:141 +msgid "Discard" +msgstr "" + #: entrywidget.cpp:142 msgid "" "The current entry has been modified. Do you want do discard your changes?" @@ -335,6 +347,14 @@ msgstr "" msgid "Invalid BibTeX code" msgstr "" +#: entrywidget.cpp:256 entrywidgetsource.cpp:155 +msgid "Restore" +msgstr "" + +#: entrywidget.cpp:256 fieldlistview.cpp:323 valuewidget.cpp:227 +msgid "Edit" +msgstr "" + #: entrywidget.cpp:314 msgid "E&ntry Type:" msgstr "" @@ -367,7 +387,7 @@ msgid "Message" msgstr "" #: entrywidget.cpp:385 entrywidgettitle.cpp:116 entrywidgettitle.cpp:118 -#: idsuggestions.cpp:345 idsuggestionswidget.cpp:201 +#: idsuggestions.cpp:349 idsuggestionswidget.cpp:201 #: idsuggestionswidget.cpp:485 settings.cpp:681 webquery.cpp:450 msgid "Title" msgstr "" @@ -670,10 +690,18 @@ msgstr "" msgid "&List:" msgstr "" +#: entrywidgetother.cpp:164 kbibtex_part.cpp:512 +msgid "&Delete" +msgstr "" + #: entrywidgetother.cpp:168 msgid "Op&en" msgstr "" +#: entrywidgetother.cpp:201 +msgid "&Apply" +msgstr "" + #: entrywidgetpublication.cpp:308 msgid "The fields 'Chapter' or 'Pages' are required, but both are missing" msgstr "" @@ -826,6 +854,11 @@ msgstr "" msgid "Concatenated value" msgstr "" +#: fieldlistview.cpp:317 idsuggestionswidget.cpp:471 settingsediting.cpp:64 +#: settingsidsuggestions.cpp:379 valuewidget.cpp:221 +msgid "Add" +msgstr "" + #: fieldlistview.cpp:321 msgid "Add new '%1' item (Ctrl+A)" msgstr "" @@ -834,6 +867,11 @@ msgstr "" msgid "Edit current '%1' item (F2)" msgstr "" +#: fieldlistview.cpp:329 idsuggestionswidget.cpp:61 settingsediting.cpp:78 +#: settingsidsuggestions.cpp:392 valuewidget.cpp:237 +msgid "Delete" +msgstr "" + #: fieldlistview.cpp:333 msgid "Delete current '%1' item (Del)" msgstr "" @@ -870,57 +908,57 @@ msgstr "" msgid "Searching for duplicates..." msgstr "" -#: idsuggestions.cpp:330 idsuggestionswidget.cpp:128 +#: idsuggestions.cpp:334 idsuggestionswidget.cpp:128 msgid "First author only" msgstr "" -#: idsuggestions.cpp:331 idsuggestionswidget.cpp:129 +#: idsuggestions.cpp:335 idsuggestionswidget.cpp:129 msgid "All but first author" msgstr "" -#: idsuggestions.cpp:332 idsuggestionswidget.cpp:127 +#: idsuggestions.cpp:336 idsuggestionswidget.cpp:127 msgid "All authors" msgstr "" -#: idsuggestions.cpp:335 +#: idsuggestions.cpp:339 #, c-format msgid "" "_n: , but only first letter of each last name\n" ", but only first %n letters of each last name" msgstr "" -#: idsuggestions.cpp:336 idsuggestions.cpp:348 +#: idsuggestions.cpp:340 idsuggestions.cpp:352 msgid ", in upper case" msgstr "" -#: idsuggestions.cpp:337 idsuggestions.cpp:349 +#: idsuggestions.cpp:341 idsuggestions.cpp:353 msgid ", in lower case" msgstr "" -#: idsuggestions.cpp:338 idsuggestions.cpp:350 +#: idsuggestions.cpp:342 idsuggestions.cpp:354 msgid ", with '%1' in between" msgstr "" -#: idsuggestions.cpp:340 +#: idsuggestions.cpp:344 msgid "Year (2 digits)" msgstr "" -#: idsuggestions.cpp:341 +#: idsuggestions.cpp:345 msgid "Year (4 digits)" msgstr "" -#: idsuggestions.cpp:347 +#: idsuggestions.cpp:351 #, c-format msgid "" "_n: , but only first letter of each word\n" ", but only first %n letters of each word" msgstr "" -#: idsuggestions.cpp:351 +#: idsuggestions.cpp:355 msgid ", small words removed" msgstr "" -#: idsuggestions.cpp:353 +#: idsuggestions.cpp:357 msgid "Text: '%1'" msgstr "" @@ -992,6 +1030,20 @@ msgstr "" msgid "<qt>Example:<br/><b>%1</b></qt>" msgstr "" +#: kbibtex_part.cpp:120 kbibtex_part.cpp:509 kbibtex_part.rc:13 +#, no-c-format +msgid "&Edit" +msgstr "" + +#: kbibtex_part.cpp:125 kbibtex_part.rc:59 +#, no-c-format +msgid "&View" +msgstr "" + +#: kbibtex_part.cpp:155 +msgid "Untitled" +msgstr "" + #: kbibtex_part.cpp:158 msgid "" "The document '%1' has been modified.\n" @@ -1383,8 +1435,9 @@ msgstr "" msgid "Accept input from other programs" msgstr "" -#: kbibtex_part.cpp:537 rc.cpp:9 rc.cpp:18 rc.cpp:21 rc.cpp:39 rc.cpp:48 -#: rc.cpp:51 +#: kbibtex_part.cpp:537 kbibtex_part.rc:27 +#: kbibtex_part.rc:75 kbibtex_part.rc:131 +#, no-c-format msgid "&New" msgstr "" @@ -1549,14 +1602,6 @@ msgstr "" msgid "&Preamble:" msgstr "" -#: rc.cpp:6 rc.cpp:36 -msgid "E&lement" -msgstr "" - -#: rc.cpp:15 rc.cpp:27 rc.cpp:45 rc.cpp:57 -msgid "Se&ttings" -msgstr "" - #: searchbar.cpp:92 msgid "Add a new BibTeX entry, comment or macro to this file" msgstr "" @@ -1617,6 +1662,10 @@ msgstr "" msgid "Electronic" msgstr "" +#: settingsdlg.cpp:40 +msgid "Configure" +msgstr "" + #: settingsdlg.cpp:42 msgid "&Editing" msgstr "" @@ -2006,6 +2055,17 @@ msgid "" "Import" msgstr "" +#: settingssearchurl.cpp:59 settingssearchurl.cpp:72 settingssearchurl.cpp:190 +#: settingssearchurl.cpp:199 settingssearchurl.cpp:206 +#: settingssearchurl.cpp:212 +msgid "Yes" +msgstr "" + +#: settingssearchurl.cpp:72 settingssearchurl.cpp:191 +#: settingssearchurl.cpp:206 settingssearchurl.cpp:212 +msgid "No" +msgstr "" + #: settingssearchurl.cpp:108 msgid "" "The list of URLs will be checked and known entries will be replaced by the " @@ -2170,6 +2230,10 @@ msgstr "" msgid "Locale:" msgstr "" +#: settingsz3950.cpp:129 +msgid "Charset:" +msgstr "" + #: settingsz3950.cpp:149 msgid "Edit Z39.50 Server" msgstr "" @@ -2294,6 +2358,10 @@ msgstr "" msgid "Searching %1" msgstr "" +#: webquery.cpp:313 +msgid "Import" +msgstr "" + #: webquery.cpp:315 msgid "&Import" msgstr "" @@ -2339,11 +2407,11 @@ msgstr "" msgid "Querying database '%1' failed." msgstr "" -#: webqueryarxiv.cpp:78 +#: webqueryarxiv.cpp:122 msgid "arXiv" msgstr "" -#: webqueryarxiv.cpp:83 +#: webqueryarxiv.cpp:127 msgid "arXiv is an archive for preprints" msgstr "" @@ -2653,3 +2721,23 @@ msgstr "" #: z3950connection.cpp:405 msgid "Connection error %1: %2" msgstr "" + +#: kbibtex_part.rc:26 +#, no-c-format +msgid "E&lement" +msgstr "" + +#: kbibtex_part.rc:64 kbibtex_shell.rc:13 +#, no-c-format +msgid "Se&ttings" +msgstr "" + +#: kbibtex_shell.rc:4 +#, no-c-format +msgid "&File" +msgstr "" + +#: kbibtex_shell.rc:26 +#, no-c-format +msgid "Main Toolbar" +msgstr "" diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..8f0f4e5 --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kbibtex" ) |