+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2d5bba7248
)
r14.0.x
parent
7032f57213
commit
f724e418b8
@ -0,0 +1,23 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2020 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,6 @@
|
|||||||
|
##### create translation templates ##############
|
||||||
|
|
||||||
|
tde_l10n_create_template(
|
||||||
|
CATALOG "desktop_files/kdbusnotification-autostart.desktop/"
|
||||||
|
SOURCES kdbusnotification-autostart.desktop
|
||||||
|
)
|
@ -0,0 +1,27 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# This file is put in the public domain.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2020-06-21 10:43+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"
|
||||||
|
"Language: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#. Name
|
||||||
|
#: kdbusnotification-autostart.desktop:3
|
||||||
|
msgid "kdbusnotification"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#. Comment
|
||||||
|
#: kdbusnotification-autostart.desktop:4
|
||||||
|
msgid "DBUS notification service daemon"
|
||||||
|
msgstr ""
|
Loading…
Reference in new issue