From 376d0a24d69342e87b3ecd053493254ba2f62d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 11 Dec 2018 18:11:12 +0100 Subject: Add CMakeL10n rules. Update translation template. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 07f530c60508836ef837aece0415ac89b66fdf53) --- CMakeL10n.txt | 23 +++++++++++++++ po/CMakeLists.txt | 7 ++++- po/autostart.pot | 87 +++++++++++++++++++++++++++++++++++++++++-------------- src/CMakeL10n.txt | 3 ++ 4 files changed, 97 insertions(+), 23 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/CMakeLists.txt b/po/CMakeLists.txt index 2686f83..d1f5c7c 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -1 +1,6 @@ -tde_create_translation( LANG auto OUTPUT_NAME autostart ) +# 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 autostart ) +endif( ) diff --git a/po/autostart.pot b/po/autostart.pot index 25e7dfb..63bb398 100644 --- a/po/autostart.pot +++ b/po/autostart.pot @@ -1,57 +1,100 @@ -# translation of autostart.po to -# Header entry was created by KBabel! +# SOME DESCRIPTIVE TITLE. +# FIRST AUTHOR , YEAR. # -# Stephen Leaf , 2006. +#, fuzzy msgid "" msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2018-12-11 18:06+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=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Mime-Version: 1.0" -"Last-Translator: Stephen Leaf \n" -"PO-Revision-Date: 2006-11-18 13:19-0600\n" -"Project-Id-Version: autostart\n" -"Language-Team: \n" -"X-Generator: KBabel 1.11.4\n" -"MIME-Version: 1.0\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../src/autostart.cpp:61 +#: _translatorinfo:1 +msgid "" +"_: NAME OF TRANSLATORS\n" +"Your names" +msgstr "" + +#: _translatorinfo:2 +msgid "" +"_: EMAIL OF TRANSLATORS\n" +"Your emails" +msgstr "" + +#: autostart.cpp:73 autostart.cpp:155 msgid "Startup" msgstr "" -#: ../src/autostart.cpp:62 +#: autostart.cpp:76 autostart.cpp:156 msgid "Shutdown" msgstr "" -#: ../src/autostart.cpp:63 +#: autostart.cpp:79 autostart.cpp:157 msgid "ENV" msgstr "" -#: ../src/autostart.cpp:102 +#: autostart.cpp:136 msgid "Name" msgstr "" -#: ../src/autostart.cpp:103 +#: autostart.cpp:137 msgid "Command" msgstr "" -#: ../src/autostart.cpp:104 +#: autostart.cpp:138 msgid "Run on" msgstr "" -#: ../src/autostart.cpp:129 +#: autostart.cpp:160 msgid "&Add" msgstr "" -#: ../src/autostart.cpp:131 +#: autostart.cpp:161 +msgid "Alt+A" +msgstr "" + +#: autostart.cpp:162 msgid "&Remove" msgstr "" -#: ../src/autostart.cpp:133 +#: autostart.cpp:163 +msgid "Alt+R" +msgstr "" + +#: autostart.cpp:164 msgid "&Properties" msgstr "" -#: ../src/autostart.cpp:317 -msgid "This module helps you configure which applications KDE runs When starting up and shutting down." +#: autostart.cpp:165 +msgid "Alt+P" msgstr "" +#: autostart.cpp:178 +msgid "TDE Autostart Manager" +msgstr "" + +#: autostart.cpp:179 +msgid "TDE Autostart Manager Control Panel Module" +msgstr "" + +#: autostart.cpp:181 +msgid "(c) 2006 Stephen Leaf" +msgstr "" + +#: autostart.cpp:255 +msgid "Cannot add a Service entry to the list of autostart modules.\n" +msgstr "" + +#: autostart.cpp:278 +msgid "Can't find a matching entry for the selected item.\n" +msgstr "" + +#: autostart.cpp:348 +msgid "" +"This module helps configure which applications TDE runs when starting and " +"exiting." +msgstr "" diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..30cff95 --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "autostart" ) -- cgit v1.2.1