Desktop file translations:

+ 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>
pull/3/head
Slávek Banko 5 years ago
parent cdbd14a658
commit 34bda30cd9
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,3 +1,8 @@
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_create_template( "messages/potracegui" ) tde_l10n_create_template( "messages/potracegui" )
tde_l10n_create_template(
CATALOG "desktop_files/potracegui.desktop/"
SOURCES potracegui.desktop
)

@ -44,7 +44,4 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
) )
install( tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
FILES ${PROJECT_NAME}.desktop
DESTINATION ${XDG_APPS_INSTALL_DIR}
)

@ -1,30 +1,10 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
Name=Potracegui Name=Potracegui
Name[xx]=xxpotraceguixx
GenericName=Bitmap Tracing GenericName=Bitmap Tracing
Exec=potracegui Exec=potracegui
Icon=potracegui Icon=potracegui
Type=Application Type=Application
Comment=A simple TDE Application Comment=A simple TDE Application
Comment[ca]=Una simple aplicació TDE
Comment[da]=Et simpelt TDE program
Comment[de]=Eine einfache TDE-Anwendung
Comment[el]=Μια απλή εφαρμογή του TDE
Comment[es]=Una aplicación de TDE sencilla
Comment[et]=Lihtne TDE rakendus
Comment[fr]=Une application simple pour TDE.
Comment[hu]=Egyszerű TDE-alkalmazás
Comment[it]=Una semplice applicazione TDE
Comment[nl]=Een eenvoudige TDE-toepassing
Comment[pt]=Uma aplicação TDE simples
Comment[pt_BR]=Um simples Aplicativo do TDE
Comment[ru]=Простое приложение TDE
Comment[sl]=Preprost program za TDE
Comment[sr]=Једноставан TDE програм
Comment[sv]=Ett enkelt TDE-program
Comment[ta]=ஒரு சாஅதரன கெடி பயன்பாடு
Comment[xx]=xxA simple TDE Applicationxx
Comment[zh_CN]=一个简单的TDE应用程序
Categories=Qt;TDE;Graphics; Categories=Qt;TDE;Graphics;
X-DocPath=potracegui/index.html X-DocPath=potracegui/index.html

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

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Una simple aplicació TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Et simpelt TDE program"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Eine einfache TDE-Anwendung"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Μια απλή εφαρμογή του TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Una aplicación de TDE sencilla"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: et\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Lihtne TDE rakendus"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Une application simple pour TDE."

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Egyszerű TDE-alkalmazás"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Una semplice applicazione TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Een eenvoudige TDE-toepassing"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr ""

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Uma aplicação TDE simples"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Um simples Aplicativo do TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Простое приложение TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Preprost program za TDE"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: sr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Једноставан TDE програм"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "Ett enkelt TDE-program"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: ta\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "ஒரு சாஅதரன கெடி பயன்பாடு"

@ -0,0 +1,32 @@
# 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-05-03 18:21+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: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: potracegui.desktop:3
msgid "Potracegui"
msgstr ""
#. GenericName
#: potracegui.desktop:4
msgid "Bitmap Tracing"
msgstr ""
#. Comment
#: potracegui.desktop:8
msgid "A simple TDE Application"
msgstr "一个简单的TDE应用程序"

@ -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( )
Loading…
Cancel
Save