Add CMakeL10n rules.

Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 769d754414)
r14.0.x
Slávek Banko 5 years ago
parent 4353defd5d
commit f3dfdf6302
Signed by: SlavekB
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( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kkbswitch" )

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,28 +1,42 @@
# SOME DESCRIPTIVE TITLE. # 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. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2004-06-15 23:49+0300\n" "POT-Creation-Date: 2018-12-10 22:42+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: kbconfig.cpp:85 #: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: kbconfig.cpp:92
msgid "<Unnamed>" msgid "<Unnamed>"
msgstr "" msgstr ""
#: kbconfig.cpp:101 #: kbconfig.cpp:108
msgid "Activate %1 keyboard layout" msgid "Activate %1 keyboard layout"
msgstr "" msgstr ""
#: kbconfigdlg.cpp:96
msgid "Configure"
msgstr ""
#: kbconfigdlg.cpp:116 #: kbconfigdlg.cpp:116
msgid "&General" msgid "&General"
msgstr "" msgstr ""
@ -68,7 +82,7 @@ msgstr ""
#: kbconfigdlg.cpp:156 #: kbconfigdlg.cpp:156
msgid "" msgid ""
"Cick this button to set the layout selected in the list box to the left as " "Click this button to set the layout selected in the list box to the left as "
"the default" "the default"
msgstr "" msgstr ""
@ -92,7 +106,7 @@ msgstr ""
msgid "" msgid ""
"<p>Select the style of icons representing the current keyboard layout.\n" "<p>Select the style of icons representing the current keyboard layout.\n"
"You can choose from the following styles:<ul><li><b>Country flag</b> - " "You can choose from the following styles:<ul><li><b>Country flag</b> - "
"displays the corresponding contry flag<li><b>Language code</b> - displays " "displays the corresponding country flag<li><b>Language code</b> - displays "
"the language ISO 2-letter code<li><b>Flag and code</b> - displays the " "the language ISO 2-letter code<li><b>Flag and code</b> - displays the "
"language code superimposed over the country flag.</ul></p>" "language code superimposed over the country flag.</ul></p>"
msgstr "" msgstr ""
@ -164,14 +178,6 @@ msgid ""
"or four keyboard layouts configured" "or four keyboard layouts configured"
msgstr "" msgstr ""
#: kbconfigdlg.moc.cpp:34 kbconfigdlg.moc.cpp:42
msgid "KBConfigDlg"
msgstr ""
#: kbconfig.moc.cpp:42 kbconfig.moc.cpp:47
msgid "KBConfig"
msgstr ""
#: kbpickicondlg.cpp:42 #: kbpickicondlg.cpp:42
msgid "Pick an icon" msgid "Pick an icon"
msgstr "" msgstr ""
@ -209,6 +215,7 @@ msgid " and also too narrow"
msgstr "" msgstr ""
#: kbpickicondlg.cpp:108 #: kbpickicondlg.cpp:108
#, c-format
msgid "This image is too big%1." msgid "This image is too big%1."
msgstr "" msgstr ""
@ -233,26 +240,10 @@ msgid ""
"corrupt." "corrupt."
msgstr "" msgstr ""
#: kbpickicondlg.moc.cpp:34 kbpickicondlg.moc.cpp:42
msgid "KBPickIconDlg"
msgstr ""
#: kbswitchapp.moc.cpp:34 kbswitchapp.moc.cpp:42
msgid "KBSwitchApp"
msgstr ""
#: kbswitchintf.moc.cpp:34 kbswitchintf.moc.cpp:42
msgid "KBSwitchIntf"
msgstr ""
#: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41 #: kbswitchtrayicon.cpp:91 main.cpp:27 main.cpp:41
msgid "Keyboard Switch" msgid "Keyboard Switch"
msgstr "" msgstr ""
#: kbswitchtrayicon.moc.cpp:34 kbswitchtrayicon.moc.cpp:42
msgid "KBSwitchTrayIcon"
msgstr ""
#: main.cpp:44 #: main.cpp:44
msgid "Creator and maintainer" msgid "Creator and maintainer"
msgstr "" msgstr ""
@ -281,32 +272,7 @@ msgstr ""
msgid "Slovak translation" msgid "Slovak translation"
msgstr "" msgstr ""
#: singlewindowwatcher.moc.cpp:34 singlewindowwatcher.moc.cpp:42
msgid "SingleWindowWatcher"
msgstr ""
#: _translatorinfo.cpp:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#: _translatorinfo.cpp:3
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: windowclasswatcher.moc.cpp:34 windowclasswatcher.moc.cpp:42
msgid "WindowClassWatcher"
msgstr ""
#: windowwatcher.moc.cpp:34 windowwatcher.moc.cpp:42
msgid "WindowWatcher"
msgstr ""
#: xkeyboard.cpp:42 #: xkeyboard.cpp:42
#, c-format
msgid "" msgid ""
"This program was built against XKB extension library\n" "This program was built against XKB extension library\n"
"version %1.%2, but is run with the library version %3.%4.\n" "version %1.%2, but is run with the library version %3.%4.\n"
@ -320,7 +286,3 @@ msgid ""
"Either the server is not XKB-capable or the extension was disabled.\n" "Either the server is not XKB-capable or the extension was disabled.\n"
"This program would not work with this server, so it will exit now\n" "This program would not work with this server, so it will exit now\n"
msgstr "" msgstr ""
#: xkeyboard.moc.cpp:34 xkeyboard.moc.cpp:42
msgid "XKeyboard"
msgstr ""

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save