From 12786a5e18db8185a80ea0dce68a43b0bfdc20ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Dec 2018 18:45:06 +0100 Subject: Add CMakeL10n rules. Updated translation template. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeL10n.txt | 23 ++++ po/knowit.pot | 396 ++++++++++++++++++++++++++---------------------------- src/CMakeL10n.txt | 6 + 3 files changed, 221 insertions(+), 204 deletions(-) create mode 100644 CMakeL10n.txt create mode 100644 src/CMakeL10n.txt 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/knowit.pot b/po/knowit.pot index 62927f4..62e7fb4 100644 --- a/po/knowit.pot +++ b/po/knowit.pot @@ -1,303 +1,265 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2004-03-31 14:12+0200\n" +"POT-Creation-Date: 2018-12-09 18:32+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: knowitapp.moc.cpp:34 knowitapp.moc.cpp:42 -msgid "KnowitApplication" -msgstr "" - -#: knowitchooser.cpp:35 -msgid "&Exported notes:" -msgstr "" - -#: knowitchooser.cpp:38 -msgid "All" -msgstr "" - -#: knowitchooser.cpp:39 -msgid "Current with children" -msgstr "" - -#: knowitchooser.cpp:40 -msgid "Current only" -msgstr "" - -#: knowitchooser.cpp:42 -msgid "&Encoding:" -msgstr "" - -#: knowitchooser.cpp:45 -msgid "Local (8-bit)" -msgstr "" - -#: knowitchooser.cpp:46 -msgid "UTF-8" -msgstr "" - -#: knowitchooser.cpp:49 -msgid "Numbered titles" -msgstr "" - -#: knowitchooser.cpp:51 notes.cpp:249 -msgid "Table of contents" -msgstr "" - -#: knowitchooser.cpp:53 -msgid "Rule betweeen notes" -msgstr "" - -#: knowitchooser.cpp:55 -msgid "Use editor font and colors" +#: _translatorinfo:1 main.cpp:40 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" msgstr "" -#: knowitchooser.moc.cpp:34 knowitchooser.moc.cpp:42 -msgid "KnowitChooser" +#: _translatorinfo:2 main.cpp:41 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" msgstr "" -#: knowit.cpp:53 +#: knowit.cpp:58 msgid "untitled" msgstr "" -#: knowit.cpp:59 +#: knowit.cpp:64 msgid "Ready" msgstr "" -#: knowit.cpp:74 +#: knowit.cpp:79 msgid "Move it to change tree/edit layout." msgstr "" -#: knowit.cpp:85 +#: knowit.cpp:90 msgid "" "

Note text

Add text for selected note here.\n" "Text can be formatted, for example bold or italic." msgstr "" -#: knowit.cpp:111 +#: knowit.cpp:116 msgid "&Export to HTML..." msgstr "" -#: knowit.cpp:114 +#: knowit.cpp:119 msgid "Document &information..." msgstr "" -#: knowit.cpp:124 +#: knowit.cpp:129 msgid "Toggle &bold" msgstr "" -#: knowit.cpp:126 +#: knowit.cpp:131 msgid "Toggle &italic" msgstr "" -#: knowit.cpp:129 +#: knowit.cpp:134 msgid "Toggle &underline" msgstr "" -#: knowit.cpp:132 +#: knowit.cpp:137 msgid "&Text color..." msgstr "" -#: knowit.cpp:134 +#: knowit.cpp:139 msgid "&Superscript" msgstr "" -#: knowit.cpp:136 +#: knowit.cpp:141 msgid "&Subscript" msgstr "" -#: knowit.cpp:138 +#: knowit.cpp:143 msgid "&Normal text" msgstr "" -#: knowit.cpp:140 +#: knowit.cpp:145 msgid "&Bullet list" msgstr "" -#: knowit.cpp:142 +#: knowit.cpp:147 msgid "&Numbered list" msgstr "" -#: knowit.cpp:144 +#: knowit.cpp:149 msgid "&Uppercase list" msgstr "" -#: knowit.cpp:146 +#: knowit.cpp:151 msgid "&Lowercase list" msgstr "" -#: knowit.cpp:148 +#: knowit.cpp:153 msgid "N&o list" msgstr "" -#: knowit.cpp:152 +#: knowit.cpp:157 msgid "&Go to ¬e..." msgstr "" -#: knowit.cpp:154 +#: knowit.cpp:159 msgid "Align &left" msgstr "" -#: knowit.cpp:156 +#: knowit.cpp:161 msgid "Align &right" msgstr "" -#: knowit.cpp:158 +#: knowit.cpp:163 msgid "&Justify" msgstr "" -#: knowit.cpp:160 +#: knowit.cpp:165 msgid "&Center" msgstr "" -#: knowit.cpp:162 +#: knowit.cpp:167 msgid "Insert &date" msgstr "" -#: knowit.cpp:164 +#: knowit.cpp:169 msgid "Insert &file..." msgstr "" -#: knowit.cpp:166 +#: knowit.cpp:171 msgid "&Raw Text Mode" msgstr "" -#: knowit.cpp:179 +#: knowit.cpp:184 msgid "&Add" msgstr "" -#: knowit.cpp:181 +#: knowit.cpp:186 msgid "Add &subnote" msgstr "" -#: knowit.cpp:185 +#: knowit.cpp:188 +msgid "&Delete" +msgstr "" + +#: knowit.cpp:190 msgid "&Rename" msgstr "" -#: knowit.cpp:187 +#: knowit.cpp:192 msgid "E&xpand all" msgstr "" -#: knowit.cpp:189 +#: knowit.cpp:194 msgid "&Expand current" msgstr "" -#: knowit.cpp:191 +#: knowit.cpp:196 msgid "Co&llapse all" msgstr "" -#: knowit.cpp:193 +#: knowit.cpp:198 msgid "&Collapse current" msgstr "" -#: knowit.cpp:195 +#: knowit.cpp:200 msgid "Move up" msgstr "" -#: knowit.cpp:197 +#: knowit.cpp:202 msgid "Move down" msgstr "" -#: knowit.cpp:199 +#: knowit.cpp:204 msgid "Move level up" msgstr "" -#: knowit.cpp:201 +#: knowit.cpp:206 msgid "Move level down" msgstr "" -#: knowit.cpp:203 +#: knowit.cpp:208 msgid "Move at the beginning" msgstr "" -#: knowit.cpp:205 +#: knowit.cpp:210 msgid "Move at the end" msgstr "" -#: knowit.cpp:207 +#: knowit.cpp:212 msgid "Sort" msgstr "" -#: knowit.cpp:211 +#: knowit.cpp:216 msgid "&Add link..." msgstr "" -#: knowit.cpp:213 +#: knowit.cpp:218 msgid "&Remove link" msgstr "" -#: knowit.cpp:215 +#: knowit.cpp:220 msgid "Open link" msgstr "" -#: knowit.cpp:217 +#: knowit.cpp:222 msgid "Open link with..." msgstr "" -#: knowit.cpp:219 +#: knowit.cpp:224 msgid "&Modify link..." msgstr "" -#: knowit.cpp:221 +#: knowit.cpp:226 msgid "&Copy link location" msgstr "" -#: knowit.cpp:230 +#: knowit.cpp:235 msgid "&Tip of the day" msgstr "" -#: knowit.cpp:234 +#: knowit.cpp:239 msgid "Minimize" msgstr "" -#: knowit.cpp:236 +#: knowit.cpp:241 msgid "Switch area" msgstr "" -#: knowit.cpp:238 +#: knowit.cpp:243 msgid "Overwrite Mode" msgstr "" -#: knowit.cpp:240 +#: knowit.cpp:245 msgid "Go to previous note" msgstr "" -#: knowit.cpp:242 +#: knowit.cpp:247 msgid "Go to next note" msgstr "" -#: knowit.cpp:244 +#: knowit.cpp:249 msgid "Go to first note" msgstr "" -#: knowit.cpp:246 +#: knowit.cpp:251 msgid "Go to last note" msgstr "" -#: knowit.cpp:248 +#: knowit.cpp:253 msgid "Go to first subnote" msgstr "" -#: knowit.cpp:250 +#: knowit.cpp:255 msgid "Go to parent note" msgstr "" -#: knowit.cpp:262 knowit.cpp:1228 +#: knowit.cpp:267 knowit.cpp:1233 msgid "INS" msgstr "" -#: knowit.cpp:306 +#: knowit.cpp:311 msgid "" "

Cannot open resource file knowitui.rc. Some of the menus and " "toolbars will be missing.

Probably Knowit was not installed properly. " @@ -305,139 +267,183 @@ msgid "" "precompiled package, please contact packager.

" msgstr "" -#: knowit.cpp:323 knowit.cpp:1131 +#: knowit.cpp:328 knowit.cpp:1136 msgid "Cannot open file
%1
" msgstr "" -#: knowit.cpp:374 +#: knowit.cpp:379 msgid "File %1 opened." msgstr "" -#: knowit.cpp:389 +#: knowit.cpp:394 msgid "Cannot save file
%1
" msgstr "" -#: knowit.cpp:405 +#: knowit.cpp:410 msgid "File %1 saved." msgstr "" -#: knowit.cpp:441 +#: knowit.cpp:446 msgid "" "File %1
\n" "cannot be saved. Quit anyway?
" msgstr "" -#: knowit.cpp:446 +#: knowit.cpp:451 msgid "" "File %1
\n" "was modified. Do you want to save it?
" msgstr "" -#: knowit.cpp:463 +#: knowit.cpp:468 msgid "untitled.kno" msgstr "" -#: knowit.cpp:489 +#: knowit.cpp:494 msgid "Sought text:
%1
not found.
" msgstr "" -#: knowit.cpp:621 +#: knowit.cpp:626 msgid "Add note" msgstr "" -#: knowit.cpp:622 knowit.cpp:646 +#: knowit.cpp:627 knowit.cpp:651 msgid "Note title:" msgstr "" -#: knowit.cpp:641 +#: knowit.cpp:646 msgid "You have to choose note before adding subnote." msgstr "" -#: knowit.cpp:645 +#: knowit.cpp:650 msgid "Add subnote" msgstr "" -#: knowit.cpp:666 +#: knowit.cpp:671 msgid "" -"Are you sure you want to delete note
%1
and its subnotes?" +"Are you sure you want to delete note
%1
and its " +"subnotes?
" msgstr "" -#: knowit.cpp:668 +#: knowit.cpp:673 msgid "Are you sure you want to delete note
%1?
" msgstr "" -#: knowit.cpp:838 knowit.cpp:875 +#: knowit.cpp:843 knowit.cpp:880 msgid "" "*.kno|KnowIt files (*.kno)\n" "*|All files" msgstr "" -#: knowit.cpp:838 +#: knowit.cpp:843 msgid "Open File..." msgstr "" -#: knowit.cpp:857 +#: knowit.cpp:862 msgid "" "

File couldn not be saved automatically.

Autosaving disabled - save " "file manually to turn autosaving on.

" msgstr "" -#: knowit.cpp:875 +#: knowit.cpp:880 msgid "Save as..." msgstr "" -#: knowit.cpp:881 knowit.cpp:973 +#: knowit.cpp:886 knowit.cpp:978 msgid "File
%1
already exists. Overwrite it?
" msgstr "" -#: knowit.cpp:897 +#: knowit.cpp:902 msgid "

%1

Document path: %2
Number of notes: %3
" msgstr "" -#: knowit.cpp:967 +#: knowit.cpp:972 msgid "" "*.html|HTML files (*.html)\n" "*|All files" msgstr "" -#: knowit.cpp:967 +#: knowit.cpp:972 msgid "Export to HTML" msgstr "" -#: knowit.cpp:1092 +#: knowit.cpp:1097 msgid "Go to" msgstr "" -#: knowit.cpp:1093 +#: knowit.cpp:1098 msgid "Go to page with given title" msgstr "" -#: knowit.cpp:1126 knowitlink.cpp:90 +#: knowit.cpp:1131 knowitlink.cpp:90 msgid "*|All files" msgstr "" -#: knowit.cpp:1126 +#: knowit.cpp:1131 msgid "Insert file..." msgstr "" -#: knowit.cpp:1227 +#: knowit.cpp:1232 msgid "OVR" msgstr "" -#: knowit.cpp:1263 +#: knowit.cpp:1268 msgid "" "You have just added your first link. Please remember that only links are " "stored in Knowit document, not linked files. If you move your document to " "other computer, links to local files probably won't work." msgstr "" -#: knowit.cpp:1273 +#: knowit.cpp:1278 msgid "Are you sure you want to remove link:
%1?
" msgstr "" -#: knowitedit.moc.cpp:34 knowitedit.moc.cpp:42 -msgid "KnowitEdit" +#: knowitchooser.cpp:30 +msgid "Export" +msgstr "" + +#: knowitchooser.cpp:35 +msgid "&Exported notes:" +msgstr "" + +#: knowitchooser.cpp:38 +msgid "All" +msgstr "" + +#: knowitchooser.cpp:39 +msgid "Current with children" +msgstr "" + +#: knowitchooser.cpp:40 +msgid "Current only" +msgstr "" + +#: knowitchooser.cpp:42 +msgid "&Encoding:" +msgstr "" + +#: knowitchooser.cpp:45 +msgid "Local (8-bit)" +msgstr "" + +#: knowitchooser.cpp:46 +msgid "UTF-8" +msgstr "" + +#: knowitchooser.cpp:49 +msgid "Numbered titles" +msgstr "" + +#: knowitchooser.cpp:51 notes.cpp:249 +msgid "Table of contents" +msgstr "" + +#: knowitchooser.cpp:53 +msgid "Rule betweeen notes" +msgstr "" + +#: knowitchooser.cpp:55 +msgid "Use editor font and colors" msgstr "" #: knowitlink.cpp:34 @@ -464,18 +470,6 @@ msgstr "" msgid "Choose link..." msgstr "" -#: knowitlink.moc.cpp:34 knowitlink.moc.cpp:42 -msgid "KnowitLinkDialog" -msgstr "" - -#: knowitlinks.moc.cpp:34 knowitlinks.moc.cpp:42 -msgid "KnowitLinks" -msgstr "" - -#: knowit.moc.cpp:34 knowit.moc.cpp:42 -msgid "Knowit" -msgstr "" - #: knowitpref.cpp:96 msgid "New note" msgstr "" @@ -655,16 +649,16 @@ msgid "" "\n" "\n" "\n" -"\n" -"\n" -"\n" -"\n" -"\n" +"\n" +"\n" +"\n" +"\n" +"\n" "\n" "\n" @@ -686,14 +680,14 @@ msgstr "" msgid "Date Format: " msgstr "" -#: knowitpref.moc.cpp:34 knowitpref.moc.cpp:42 -msgid "KnowitPreferences" -msgstr "" - #: knowittray.cpp:24 msgid "&Undock" msgstr "" +#: knowittray.cpp:31 +msgid "&Quit" +msgstr "" + #: knowittree.cpp:29 msgid "Notes" msgstr "" @@ -704,10 +698,6 @@ msgid "" "notes using right-click menu, or reorganize them using drag and drop." msgstr "" -#: knowittree.moc.cpp:34 knowittree.moc.cpp:42 -msgid "KnowitTree" -msgstr "" - #: main.cpp:25 msgid "KnowIt - notes management utility" msgstr "" @@ -720,18 +710,6 @@ msgstr "" msgid "KnowIt" msgstr "" -#: main.cpp:40 _translatorinfo.cpp:1 -msgid "" -"_: NAME OF TRANSLATORS\n" -"Your names" -msgstr "" - -#: main.cpp:41 _translatorinfo.cpp:3 -msgid "" -"_: EMAIL OF TRANSLATORS\n" -"Your emails" -msgstr "" - #: notes.cpp:239 msgid "KnowIt document" msgstr "" @@ -740,84 +718,94 @@ msgstr "" msgid "Exported from %1 by KnowIt %2, %3." msgstr "" -#: rc.cpp:1 +#: knowitui.rc:11 +#, no-c-format msgid "&Font" msgstr "" -#: rc.cpp:2 +#: knowitui.rc:22 +#, no-c-format msgid "&Paragraph" msgstr "" -#: rc.cpp:3 +#: knowitui.rc:29 +#, no-c-format msgid "&List" msgstr "" -#: rc.cpp:4 rc.cpp:9 +#: knowitui.rc:43 knowitui.rc:92 +#, no-c-format msgid "&Notes" msgstr "" -#: rc.cpp:5 rc.cpp:10 +#: knowitui.rc:49 knowitui.rc:98 +#, no-c-format msgid "&Position" msgstr "" -#: rc.cpp:6 rc.cpp:11 +#: knowitui.rc:59 knowitui.rc:108 +#, no-c-format msgid "&Tree" msgstr "" -#: rc.cpp:7 rc.cpp:8 +#: knowitui.rc:67 knowitui.rc:83 +#, no-c-format msgid "&Links" msgstr "" -#: rc.cpp:12 +#: knowitui.rc:116 +#, no-c-format msgid "Edit toolbar" msgstr "" -#: rc.cpp:13 +#: knowitui.rc:128 +#, no-c-format msgid "Notes toolbar" msgstr "" -#: rc.cpp:14 +#: knowitui.rc:137 +#, no-c-format msgid "Links toolbar" msgstr "" -#: tips.cpp:3 +#: tips:3 msgid "

...that you can insert a breakline using Control+Enter?\n" msgstr "" -#: tips.cpp:7 +#: tips:9 msgid "" "

...that you can create list, starting lines with *\n" "or -?\n" msgstr "" -#: tips.cpp:12 +#: tips:16 msgid "" "

...that if KnowIt is docked on logout, it would be reopen and\n" "docked next time you start KDE?\n" msgstr "" -#: tips.cpp:17 +#: tips:23 msgid "

...that you can disable toolbar using Options->Configure...?\n" msgstr "" -#: tips.cpp:21 +#: tips:29 msgid "" "

...that you can configure all shortcuts using\n" "Options->Configure shortcuts?\n" msgstr "" -#: tips.cpp:26 +#: tips:36 msgid "

...that you can always invoke Tip window using Help menu?\n" msgstr "" -#: tips.cpp:30 +#: tips:42 msgid "" "

...that you can change current note with Alt+Up,\n" "Alt+Down, Alt+Left, Alt+Right,\n" "Alt+Home and Alt+End, even if editor is active?\n" msgstr "" -#: tips.cpp:36 +#: tips:50 msgid "" "

...that you can move current note with Alt+Shift+Up,\n" "Alt+Shift+Down, Alt+Shift+Left, Alt+Shift+Right,\n" @@ -825,7 +813,7 @@ msgid "" "active?\n" msgstr "" -#: tips.cpp:42 +#: tips:58 msgid "" "

...that you can toggle Insert Mode from normal insert to overwrite \n" "by either pressing Insert button or by clicking on the status \n" diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..984ae57 --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,6 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "knowit" + SOURCES "." "tips" +) -- cgit v1.2.1

dthe day as number without a leading zero (1-31)
ddthe day as number with a leading zero (01-31)
dddthe abbreviated localized day name (e.g. 'Mon'..'Sun')
ddddthe long localized day name (e.g. 'Monday'..'Sunday')
Mthe month as number without a leading zero (1-12)
MMthe month as number with a leading zero (01-12)
MMMthe abbreviated localized month name (e.g. 'Jan'..'Dec')" -"
dddthe abbreviated localized day name (e.g. " +"'Mon'..'Sun')
ddddthe long localized day name (e.g. " +"'Monday'..'Sunday')
Mthe month as number without a leading zero " +"(1-12)
MMthe month as number with a leading zero " +"(01-12)
MMMthe abbreviated localized month name (e.g. " +"'Jan'..'Dec')
MMMMthe long localized month name (e.g. " "'January'..'December')
yythe year as two digit number (00-99)