Add CMakeL10n rules.

Create translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/3/head
Slávek Banko 6 years ago
parent c1b1dc0849
commit 229f53f98f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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( )

@ -1 +1,6 @@
# 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( )

@ -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 ""

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdesudo" )
Loading…
Cancel
Save