Move translations to a new directory layout.

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

@ -67,7 +67,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### directories ##### directories
add_subdirectory( src ) add_subdirectory( src )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) tde_conditional_add_subdirectory( BUILD_TRANSLATIONS translations )
##### write configure files ##### write configure files

@ -1,3 +1,3 @@
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_create_template( "kerberostray" ) tde_l10n_create_template( "messages/kerberostray" )

@ -0,0 +1 @@
tde_auto_add_subdirectories()

@ -0,0 +1,14 @@
file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
string( REGEX REPLACE "[ \r\n\t]+" ";" _linguas "$ENV{LINGUAS}" )
foreach( _po ${po_files} )
get_filename_component( _lang ${_po} NAME_WE )
if( "${_linguas}" MATCHES "^;*$" OR ";${_linguas};" MATCHES ";${_lang};" )
if( "${_po}" MATCHES "^([^/]*)/.*" )
string( REGEX REPLACE "^([^/]*)/.*" "\\1" _component "${_po}" )
else( )
set( _component "${PROJECT_NAME}" )
endif( )
tde_create_translation( FILES ${_po} LANG ${_lang} OUTPUT_NAME ${_component} )
endif( )
endforeach( )

@ -0,0 +1,192 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-05-11 04:20+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: configdlg.cpp:39
msgid "Kerberos Ticket Manager Configuration"
msgstr ""
#: main.cpp:30
msgid "TDE utility for managing Kerberos tickets"
msgstr ""
#: main.cpp:36
msgid "Kerberos Ticket Manager"
msgstr ""
#: toplevel.cpp:74
msgid "&Obtain New Ticket Granting Ticket"
msgstr ""
#: toplevel.cpp:75
msgid "&Obtain New Primary Service Ticket"
msgstr ""
#: toplevel.cpp:76
msgid "&Obtain Authenticated Service Ticket"
msgstr ""
#: toplevel.cpp:77
msgid "&Destroy All Tickets"
msgstr ""
#: toplevel.cpp:78
msgid "&Configure..."
msgstr ""
#: toplevel.cpp:214
msgid "No Kerberos Tickets Available"
msgstr ""
#: toplevel.cpp:225
msgid "(Active)"
msgstr ""
#: toplevel.cpp:228
msgid "(Expired)"
msgstr ""
#: toplevel.cpp:274
msgid "Please provide Kerberos credentials"
msgstr ""
#: toplevel.cpp:282
msgid "<qt>Failed to obtain ticket<p>%1</qt>"
msgstr ""
#: toplevel.cpp:282
msgid "Failed to obtain Kerberos ticket"
msgstr ""
#: toplevel.cpp:302
msgid "Enter the name of the Kerberos service principal you wish to obtain"
msgstr ""
#: toplevel.cpp:305
msgid "<qt>Failed to obtain service ticket<p>%1</qt>"
msgstr ""
#: toplevel.cpp:305
msgid "Failed to obtain Kerberos service ticket"
msgstr ""
#: toplevel.cpp:312
msgid "Unable to destroy tickets!"
msgstr ""
#: toplevel.cpp:312
msgid "Internal Error"
msgstr ""
#: toplevel.cpp:344
msgid "%1 Kerberos ticket(s) listed for principal %2"
msgstr ""
#: toplevel.cpp:379
msgid "All ticket(s) have expired"
msgstr ""
#: toplevel.cpp:384
msgid "%1 ticket(s) have expired"
msgstr ""
#: toplevel.cpp:390
msgid ""
"All ticket(s) are active\n"
"%1 ticket(s) will expire shortly"
msgstr ""
#: toplevel.cpp:393
msgid "All ticket(s) are active"
msgstr ""
#: toplevel.cpp:399
msgid "No Kerberos tickets are available"
msgstr ""
#: toplevel.cpp:419
msgid "Kerberos Tickets Manager"
msgstr ""
#: toplevel.cpp:427
msgid "Server: "
msgstr ""
#: toplevel.cpp:428
msgid "Client: "
msgstr ""
#: toplevel.cpp:429
msgid "Encryption Type: "
msgstr ""
#: toplevel.cpp:430
#, c-format
msgid "Key Version: %1"
msgstr ""
#: toplevel.cpp:431
msgid "Authenticated: "
msgstr ""
#: toplevel.cpp:432
msgid "Valid After: "
msgstr ""
#: toplevel.cpp:433
msgid "Valid Before: "
msgstr ""
#: toplevel.cpp:450 toplevel.cpp:467
msgid "<b>Kerberos Ticket %1</b>"
msgstr ""
#: toplevel.cpp:459 toplevel.cpp:472
msgid "Kerberos Ticket Information"
msgstr ""
#: toplevel.cpp:475
msgid "<qt>Failed to destroy ticket<br>%1<p>%2</qt>"
msgstr ""
#: toplevel.cpp:475
msgid "Failed to destroy Kerberos ticket"
msgstr ""
#: configdlgbase.ui:16
#, no-c-format
msgid "Automatically start the Kerberos Ticket Manager on login"
msgstr ""
#: configdlgbase.ui:24
#, no-c-format
msgid "Notify me before my ticket(s) expire"
msgstr ""
#: configdlgbase.ui:32
#, no-c-format
msgid "Minutes before expiration:"
msgstr ""

@ -0,0 +1,194 @@
# SOME DESCRIPTIVE TITLE.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2020-05-11 04:20+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=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: configdlg.cpp:39
msgid "Kerberos Ticket Manager Configuration"
msgstr ""
#: main.cpp:30
msgid "TDE utility for managing Kerberos tickets"
msgstr ""
#: main.cpp:36
msgid "Kerberos Ticket Manager"
msgstr ""
#: toplevel.cpp:74
msgid "&Obtain New Ticket Granting Ticket"
msgstr ""
#: toplevel.cpp:75
msgid "&Obtain New Primary Service Ticket"
msgstr ""
#: toplevel.cpp:76
msgid "&Obtain Authenticated Service Ticket"
msgstr ""
#: toplevel.cpp:77
msgid "&Destroy All Tickets"
msgstr ""
#: toplevel.cpp:78
msgid "&Configure..."
msgstr ""
#: toplevel.cpp:214
msgid "No Kerberos Tickets Available"
msgstr ""
#: toplevel.cpp:225
msgid "(Active)"
msgstr ""
#: toplevel.cpp:228
msgid "(Expired)"
msgstr ""
#: toplevel.cpp:274
msgid "Please provide Kerberos credentials"
msgstr ""
#: toplevel.cpp:282
msgid "<qt>Failed to obtain ticket<p>%1</qt>"
msgstr ""
#: toplevel.cpp:282
msgid "Failed to obtain Kerberos ticket"
msgstr ""
#: toplevel.cpp:302
msgid "Enter the name of the Kerberos service principal you wish to obtain"
msgstr ""
#: toplevel.cpp:305
msgid "<qt>Failed to obtain service ticket<p>%1</qt>"
msgstr ""
#: toplevel.cpp:305
msgid "Failed to obtain Kerberos service ticket"
msgstr ""
#: toplevel.cpp:312
msgid "Unable to destroy tickets!"
msgstr ""
#: toplevel.cpp:312
msgid "Internal Error"
msgstr ""
#: toplevel.cpp:344
msgid "%1 Kerberos ticket(s) listed for principal %2"
msgstr ""
#: toplevel.cpp:379
msgid "All ticket(s) have expired"
msgstr ""
#: toplevel.cpp:384
msgid "%1 ticket(s) have expired"
msgstr ""
#: toplevel.cpp:390
msgid ""
"All ticket(s) are active\n"
"%1 ticket(s) will expire shortly"
msgstr ""
#: toplevel.cpp:393
msgid "All ticket(s) are active"
msgstr ""
#: toplevel.cpp:399
msgid "No Kerberos tickets are available"
msgstr ""
#: toplevel.cpp:419
msgid "Kerberos Tickets Manager"
msgstr ""
#: toplevel.cpp:427
msgid "Server: "
msgstr ""
#: toplevel.cpp:428
msgid "Client: "
msgstr ""
#: toplevel.cpp:429
msgid "Encryption Type: "
msgstr ""
#: toplevel.cpp:430
#, c-format
msgid "Key Version: %1"
msgstr ""
#: toplevel.cpp:431
msgid "Authenticated: "
msgstr ""
#: toplevel.cpp:432
msgid "Valid After: "
msgstr ""
#: toplevel.cpp:433
msgid "Valid Before: "
msgstr ""
#: toplevel.cpp:450 toplevel.cpp:467
msgid "<b>Kerberos Ticket %1</b>"
msgstr ""
#: toplevel.cpp:459 toplevel.cpp:472
msgid "Kerberos Ticket Information"
msgstr ""
#: toplevel.cpp:475
msgid "<qt>Failed to destroy ticket<br>%1<p>%2</qt>"
msgstr ""
#: toplevel.cpp:475
msgid "Failed to destroy Kerberos ticket"
msgstr ""
#: configdlgbase.ui:16
#, no-c-format
msgid "Automatically start the Kerberos Ticket Manager on login"
msgstr ""
#: configdlgbase.ui:24
#, no-c-format
msgid "Notify me before my ticket(s) expire"
msgstr ""
#: configdlgbase.ui:32
#, no-c-format
msgid "Minutes before expiration:"
msgstr ""
Loading…
Cancel
Save