Create translation template. Add CMake rules to build translations. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/2/head
parent
5fc3ae36c8
commit
fdd508d299
@ -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 @@
|
|||||||
|
tde_create_translation( LANG auto OUTPUT_NAME ${PROJECT_NAME} )
|
@ -0,0 +1,39 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"POT-Creation-Date: 2018-12-10 19:19+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:29
|
||||||
|
msgid "A TDE KPart Application"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: main.cpp:41
|
||||||
|
msgid "KPicoSim"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: kpicosimui.rc:4
|
||||||
|
#, no-c-format
|
||||||
|
msgid "C&ustom"
|
||||||
|
msgstr ""
|
@ -0,0 +1,3 @@
|
|||||||
|
##### create translation templates ##############
|
||||||
|
|
||||||
|
tde_l10n_create_template( "kpicosim" )
|
Loading…
Reference in new issue