summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-26 02:22:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-26 02:36:08 +0100
commit3c80e239fa700d027d52d4ffc5638133de75cbcc (patch)
tree7f90d2c0323836dbfb449f221e045db69a999038
parent0e892dc294173b8674afca59a7f8cbda6e0b00b5 (diff)
downloadtdeio-locate-3c80e239fa700d027d52d4ffc5638133de75cbcc.tar.gz
tdeio-locate-3c80e239fa700d027d52d4ffc5638133de75cbcc.zip
Add CMakeL10n rules.
Update translation template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 11f5bd88efce39b393c58ae01521b5bd5aac3b9f)
-rw-r--r--CMakeL10n.txt23
-rw-r--r--po/tdeio-locate.pot347
-rw-r--r--po/tdeio_locate.pot241
-rw-r--r--src/CMakeL10n.txt3
4 files changed, 373 insertions, 241 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/tdeio-locate.pot b/po/tdeio-locate.pot
new file mode 100644
index 0000000..4555170
--- /dev/null
+++ b/po/tdeio-locate.pot
@@ -0,0 +1,347 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2018-12-26 02:14+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: _translatorinfo:1
+msgid ""
+"_: NAME OF TRANSLATORS\n"
+"Your names"
+msgstr ""
+
+#: _translatorinfo:2
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: tdeio_locate.cpp:351
+msgid ""
+"<h1>\"%1\" could not be started.</h1><p>Please note that tdeio-locate can't "
+"be used on its own. You need an additional program for doing searches. "
+"Typically this is the command line tool <i>locate</i> that can be found in "
+"many distributions by default. You can check if the correct tool is used by "
+"looking at the <a href=\"locater:config\">setting</a> \"Locate "
+"Binary\".<p>Besides the mentioned tool <i>locate</i>, tdeio-locate can use "
+"any tool that uses the same syntax. In particular, it was reported to work "
+"with <i>slocate</i> and <i>rlocate</i>."
+msgstr ""
+
+#: tdeio_locate.cpp:516
+msgid "Locating %1 ..."
+msgstr ""
+
+#: tdeio_locate.cpp:636
+msgid "Finished."
+msgstr ""
+
+#: tdeio_locate.cpp:774
+msgid "Configure - tdeio-locate"
+msgstr ""
+
+#: tdeio_locate.cpp:777
+msgid "General"
+msgstr ""
+
+#: tdeio_locate.cpp:778
+msgid "Filters"
+msgstr ""
+
+#: tdeio_locate.cpp:779
+msgid "Locate"
+msgstr ""
+
+#: tdeio_locate.cpp:799
+msgid "Configuration succesfully updated."
+msgstr ""
+
+#: tdeio_locate.cpp:801
+msgid "Configuration unchanged."
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:16
+#, no-c-format
+msgid "KLocateConfigFilterWidget"
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:27
+#, no-c-format
+msgid "Filter Settings"
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:38
+#, no-c-format
+msgid ""
+"A path must match at least one of the regular expressions in the White List "
+"and it must not match any of the expressions in the Black List for being "
+"displayed as a hit."
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:49
+#, no-c-format
+msgid "&White List"
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:55 tdeio_locate.kcfg:38
+#, no-c-format
+msgid "A path must match at least one of these regular expressions."
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:63
+#, no-c-format
+msgid "&Black List"
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:69 tdeio_locate.kcfg:44
+#, no-c-format
+msgid "A path may not match any of these regular expressions."
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:77
+#, no-c-format
+msgid ""
+"<i>Hint:</i> E.g. replacing the default '.' entry by '^/home/user/' will "
+"only allow hits in the home directory of user."
+msgstr ""
+
+#: klocateconfigfilterwidget.ui:88
+#, no-c-format
+msgid ""
+"<i>Hint:</i> Adding e.g. '/\\.' will no longer display hidden files (this "
+"will be unnecessary in some next version of kde though)."
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:16
+#, no-c-format
+msgid "KLocateConfigLocateWidget"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:27
+#, no-c-format
+msgid "Locate Settings"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:38
+#, no-c-format
+msgid ""
+"<p>tdeio-locate does not handle the settings of locate, because this setup "
+"varies among different distributions. There are even distributions that use "
+"replacements like slocate.</p>\n"
+"<p>To configure locate you should take a look at the manpage of locate. "
+"Since most distributions use cron for updating locate's database, it may "
+"also be useful to take a look at the manpage of crontab.</p>"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:52 tdeio_locate.kcfg:51
+#, no-c-format
+msgid "Locate Binary"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:66
+#, no-c-format
+msgid ""
+"Use these settings only if you really know what you do. Otherwise the "
+"default should be ok."
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:82
+#, no-c-format
+msgid "Locate &binary:"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:134
+#, no-c-format
+msgid ""
+"<i>Hint:</i> If you don't specify a value here (which is the default), "
+"tdeio-locate will automatically pick slocate, rlocate or locate (in that "
+"order)."
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:150
+#, no-c-format
+msgid "Additional &arguments:"
+msgstr ""
+
+#: klocateconfiglocatewidget.ui:199
+#, no-c-format
+msgid ""
+"<i>Hint:</i> Do not use -r or -i here. The first will confuse tdeio-locate, "
+"and the latter can be changed through the \"Case sensitivity\" option."
+msgstr ""
+
+#: klocateconfigwidget.ui:16
+#, no-c-format
+msgid "KLocateConfigWidget"
+msgstr ""
+
+#: klocateconfigwidget.ui:27
+#, no-c-format
+msgid "General Settings"
+msgstr ""
+
+#: klocateconfigwidget.ui:46
+#, no-c-format
+msgid "Case se&nsitivity:"
+msgstr ""
+
+#: klocateconfigwidget.ui:72
+#, no-c-format
+msgid "Auto"
+msgstr ""
+
+#: klocateconfigwidget.ui:77
+#, no-c-format
+msgid "Sensitive"
+msgstr ""
+
+#: klocateconfigwidget.ui:82
+#, no-c-format
+msgid "Insensitive"
+msgstr ""
+
+#: klocateconfigwidget.ui:102
+#, no-c-format
+msgid ""
+"<i>Hint:</i> With \"Auto\" case sensitivity a pattern will be case "
+"insensitive if it is lowercase and case sensitive if it is mixed- or "
+"uppercase."
+msgstr ""
+
+#: klocateconfigwidget.ui:112
+#, no-c-format
+msgid "Collapsing Search Results"
+msgstr ""
+
+#: klocateconfigwidget.ui:142
+#, no-c-format
+msgid "&Collapse a directory with more hits:"
+msgstr ""
+
+#: klocateconfigwidget.ui:173 tdeio_locate.kcfg:18
+#, no-c-format
+msgid "Collapse a directory with more hits."
+msgstr ""
+
+#: klocateconfigwidget.ui:199
+#, no-c-format
+msgid "Text of a collapsed &directory:"
+msgstr ""
+
+#: klocateconfigwidget.ui:251
+#, no-c-format
+msgid ""
+"<i>Hint:</i> %1 is substituted by the number of hits and %2 by the name of "
+"the directory."
+msgstr ""
+
+#: klocateconfigwidget.ui:267
+#, no-c-format
+msgid "&Icon of a collapsed directory:"
+msgstr ""
+
+#: klocateconfigwidget.ui:293
+#, no-c-format
+msgid "Blue"
+msgstr ""
+
+#: klocateconfigwidget.ui:301
+#, no-c-format
+msgid "Green"
+msgstr ""
+
+#: klocateconfigwidget.ui:309
+#, no-c-format
+msgid "Grey"
+msgstr ""
+
+#: klocateconfigwidget.ui:317
+#, no-c-format
+msgid "Orange"
+msgstr ""
+
+#: klocateconfigwidget.ui:325
+#, no-c-format
+msgid "Red"
+msgstr ""
+
+#: klocateconfigwidget.ui:333
+#, no-c-format
+msgid "Violet"
+msgstr ""
+
+#: klocateconfigwidget.ui:341
+#, no-c-format
+msgid "Yellow"
+msgstr ""
+
+#: tdeio_locate.kcfg:11
+#, no-c-format
+msgid "Case sensitivity"
+msgstr ""
+
+#: tdeio_locate.kcfg:12
+#, no-c-format
+msgid ""
+"0 for automatic case sensitivity determination (lowercase pattern -> case "
+"insensitive, upper- or mixedcase pattern -> case sensitive), 1 for case "
+"sensitive and 2 for case insensitive."
+msgstr ""
+
+#: tdeio_locate.kcfg:17
+#, no-c-format
+msgid "Collapse directory"
+msgstr ""
+
+#: tdeio_locate.kcfg:23
+#, no-c-format
+msgid "How to display a collapsed directory entry"
+msgstr ""
+
+#: tdeio_locate.kcfg:24
+#, no-c-format
+msgid ""
+"Hint: %1 is substituted by the number of hits, %2 by the name of the "
+"directory."
+msgstr ""
+
+#: tdeio_locate.kcfg:29
+#, no-c-format
+msgid "Icon to use for a collapsed directory entry"
+msgstr ""
+
+#: tdeio_locate.kcfg:30
+#, no-c-format
+msgid "0-Blue, 1-Green, 2-Grey, 3-Orange, 4-Red, 5-Violet, 6-Yellow"
+msgstr ""
+
+#: tdeio_locate.kcfg:37
+#, no-c-format
+msgid "White list"
+msgstr ""
+
+#: tdeio_locate.kcfg:43
+#, no-c-format
+msgid "Black list"
+msgstr ""
+
+#: tdeio_locate.kcfg:56
+#, no-c-format
+msgid "Additional Arguments for locate"
+msgstr ""
+
+#: tdeio_locate.kcfg:57
+#, no-c-format
+msgid ""
+"Do not use -r or -i here. The first will confuse tdeio-locate, while the "
+"latter can be changed through the caseSensitivity option."
+msgstr ""
diff --git a/po/tdeio_locate.pot b/po/tdeio_locate.pot
deleted file mode 100644
index 3aec020..0000000
--- a/po/tdeio_locate.pot
+++ /dev/null
@@ -1,241 +0,0 @@
-# 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 <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-09-15 10:08+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: ../src/tdeio_locate.cpp:499
-msgid "Locating %1 ..."
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:614
-msgid "Finished."
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:752
-msgid "Configure - tdeio-locate"
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:755
-msgid "General"
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:756
-msgid "Filters"
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:757
-msgid "Locate"
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:778
-msgid "Configuration succesfully updated."
-msgstr ""
-
-#: ../src/tdeio_locate.cpp:780
-msgid "Configuration unchanged."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:78
-msgid "KLocateConfigFilterWidget"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:79
-msgid "Filter Settings"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:80
-msgid ""
-"A path must match at least one of the regular expressions in the White List "
-"and it must not match any of the expressions in the Black List for being "
-"displayed as a hit."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:81
-msgid "&White List"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:82
-msgid "A path must match at least one of these regular expressions."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:83
-msgid ""
-"<i>Hint:</i> E.g. replacing the default '.' entry by '^/home/user/' will "
-"only allow hits in the home directory of user."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:84
-msgid "&Black List"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:85
-msgid "A path may not match any of these regular expressions."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigfilterwidget.ui.cpp:86
-msgid ""
-"<i>Hint:</i> Adding e.g. '/\\.' will no longer display hidden files (this "
-"will be unnecessary in some next version of kde though)."
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:111
-msgid "KLocateConfigLocateWidget"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:112
-msgid "Locate Settings"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:113
-msgid ""
-"<p>tdeio-locate does not handle the settings of locate, because this setup "
-"varies among different distributions. There are even distributions that use "
-"replacements like slocate.</p>\n"
-"<p>To configure locate you should take a look at the manpage of locate. "
-"Since most distributions use cron for updating locate's database, it may "
-"also be useful to take a look at the manpage of crontab.</p>"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:115
-msgid "Locate Binary"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:116
-msgid ""
-"Use these settings only if you really know what you do. Otherwise the "
-"default should be ok."
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:117
-msgid "Locate &binary:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:118
-msgid ""
-"<i>Hint:</i> You may for example choose to use slocate instead of plain old "
-"locate."
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:119
-msgid "Additional &arguments:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfiglocatewidget.ui.cpp:120
-msgid ""
-"<i>Hint:</i> Do not use -r or -i here. The first will confuse tdeio-locate, "
-"and the latter can be changed through the \"Case sensitivity\" option."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:870
-msgid "KLocateConfigWidget"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:871
-msgid "General Settings"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:872
-msgid "Case se&nsitivity:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:874
-msgid "Auto"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:875
-msgid "Sensitive"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:876
-msgid "Insensitive"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:877
-msgid ""
-"<i>Hint:</i> With \"Auto\" case sensitivity a pattern will be case "
-"insensitive if it is lowercase and case sensitive if it is mixed- or "
-"uppercase."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:878
-msgid "Collapsing Search Results"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:879
-msgid "&Collapse a directory with more hits:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:880
-msgid "Collapse a directory with more hits."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:881
-msgid "Text of a collapsed &directory:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:882
-msgid ""
-"<i>Hint:</i> %1 is substituted by the number of hits and %2 by the name of "
-"the directory."
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:883
-msgid "&Icon of a collapsed directory:"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:885
-msgid "Blue"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:886
-msgid "Green"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:887
-msgid "Grey"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:888
-msgid "Orange"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:889
-msgid "Red"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:890
-msgid "Violet"
-msgstr ""
-
-#: ../src/tmphack/klocateconfigwidget.ui.cpp:891
-msgid "Yellow"
-msgstr ""
-
-#: ../src/tmphack/klocateconfig.cpp:35
-msgid "(%1 Hits) %2"
-msgstr ""
-
-#: ../src/_translatorinfo.cpp:1
-msgid ""
-"_: NAME OF TRANSLATORS\n"
-"Your names"
-msgstr ""
-
-#: ../src/_translatorinfo.cpp:3
-msgid ""
-"_: EMAIL OF TRANSLATORS\n"
-"Your emails"
-msgstr ""
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..b95d5c5
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "tdeio-locate" )