diff options
-rw-r--r-- | CMakeL10n.txt | 23 | ||||
-rw-r--r-- | po/CMakeLists.txt | 7 | ||||
-rw-r--r-- | po/tdesudo.pot | 137 | ||||
-rw-r--r-- | tdesudo/CMakeL10n.txt | 3 |
4 files changed, 169 insertions, 1 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/CMakeLists.txt b/po/CMakeLists.txt index f5a2e1b..46fba83 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1 +1,6 @@ -tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} ) +# build translations if some are already available + +file( GLOB _srcs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po ) +if( _srcs ) + tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} ) +endif( ) diff --git a/po/tdesudo.pot b/po/tdesudo.pot new file mode 100644 index 0000000..2ba8196 --- /dev/null +++ b/po/tdesudo.pot @@ -0,0 +1,137 @@ +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2018-12-11 16:55+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 "" + +#: main.cpp:41 main.cpp:66 +msgid "TdeSudo" +msgstr "" + +#: main.cpp:47 +msgid "sets a runas user" +msgstr "" + +#: main.cpp:48 main.cpp:60 +msgid "The command to execute" +msgstr "" + +#: main.cpp:49 +msgid "Forget passwords" +msgstr "" + +#: main.cpp:50 +msgid "Specify icon to use in the password dialog" +msgstr "" + +#: main.cpp:51 +msgid "Do not show the command to be run in the dialog" +msgstr "" + +#: main.cpp:52 +msgid "Process priority, between 0 and 100, 0 the lowest [50]" +msgstr "" + +#: main.cpp:53 +msgid "Use realtime scheduling" +msgstr "" + +#: main.cpp:54 +msgid "Use target UID if <file> is not writeable" +msgstr "" + +#: main.cpp:55 +msgid "Fake option for TDE's TdeSu compatibility" +msgstr "" + +#: main.cpp:56 +msgid "Do not keep password" +msgstr "" + +#: main.cpp:57 +msgid "Use existing DCOP server" +msgstr "" + +#: main.cpp:58 +msgid "The comment that should be displayed in the dialog" +msgstr "" + +#: main.cpp:59 +msgid "Do not display « ignore » button" +msgstr "" + +#: main.cpp:99 +msgid "" +"You must provide the name of the executable you want to run as an argument " +"to tdesudo" +msgstr "" + +#: tdesudo.cpp:52 +msgid "" +"<b>%1</b> needs administrative privileges. Please enter your password for " +"verification." +msgstr "" + +#: tdesudo.cpp:75 +msgid "" +"No command arguments supplied!\n" +"Usage: tdesudo [-u <runas>] <command>\n" +"TdeSudo will now exit..." +msgstr "" + +#: tdesudo.cpp:122 +msgid "&Ignore" +msgstr "" + +#: tdesudo.cpp:249 tdesudo.cpp:261 +msgid "Priority:" +msgstr "" + +#: tdesudo.cpp:249 +msgid "realtime:" +msgstr "" + +#: tdesudo.cpp:307 +msgid "Command:" +msgstr "" + +#: tdesudo.cpp:347 +msgid "Wrong password! Exiting..." +msgstr "" + +#: tdesudo.cpp:354 +msgid "Command not found!" +msgstr "" + +#: tdesudo.cpp:360 +msgid "Your username is unknown to sudo!" +msgstr "" + +#: tdesudo.cpp:366 +msgid "Your user is not allowed to run the specified command!" +msgstr "" + +#: tdesudo.cpp:372 tdesudo.cpp:378 +msgid "Your user is not allowed to run sudo on this host!" +msgstr "" diff --git a/tdesudo/CMakeL10n.txt b/tdesudo/CMakeL10n.txt new file mode 100644 index 0000000..2db4698 --- /dev/null +++ b/tdesudo/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdesudo" ) |