Move translations to a new directory layout.

Add translations for *.desktop files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit feb433d0e9)
r14.1.x
Slávek Banko 4 months ago
parent 7541f392d0
commit f2932a7889
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -75,7 +75,7 @@ add_subdirectory( src )
##### other data ################################ ##### other data ################################
tde_conditional_add_project_docs( BUILD_DOC ) tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po ) tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files ##### write configure files

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

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

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

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "desktop_files/piklab-desktops"
SOURCES *.desktop
)

@ -1,13 +1,14 @@
[Desktop Entry] [Desktop Entry]
Name=Piklab
GenericName=Microcontroller IDE
Comment=Integrated development environment for applications based on PIC microcontrollers.
Type=Application Type=Application
Exec=piklab %U Exec=piklab %U
Icon=piklab Icon=piklab
X-DocPath=piklab/index.html
Categories=Qt;TDE;Development;IDE;Electronics;
Comment=Integrated development environment for applications based on PIC microcontrollers.
Comment[fr]=Environnement de développement intégré pour applications utilisant des microcontroleurs PIC.
Comment[es]=Entorno integrado de desarrollo de aplicaciones basadas en microcontroladores PIC.
Terminal=false Terminal=false
Name=Piklab Categories=Qt;TDE;Development;IDE;Electronics;
GenericName=Microcontroller IDE
MimeType=text/x-hex;application/x-piklab MimeType=text/x-hex;application/x-piklab
X-DocPath=piklab/index.html

@ -1,7 +1,8 @@
[Desktop Entry] [Desktop Entry]
Name=Piklab Name=Piklab
Comment=Piklab Project File Comment=Piklab Project File
Comment[es]=Archivo de proyecto de Piklab
Icon=piklab_project Icon=piklab_project
Type=MimeType Type=MimeType
MimeType=application/x-piklab MimeType=application/x-piklab

@ -0,0 +1,41 @@
# 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: 2025-04-11 03:36+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
#: piklab.desktop:2 x-piklab.desktop:2
msgid "Piklab"
msgstr ""
#. GenericName
#: piklab.desktop:4
msgid "Microcontroller IDE"
msgstr ""
#. Comment
#: piklab.desktop:6
msgid ""
"Integrated development environment for applications based on PIC "
"microcontrollers."
msgstr ""
"Entorno integrado de desarrollo de aplicaciones basadas en "
"microcontroladores PIC."
#. Comment
#: x-piklab.desktop:4
msgid "Piklab Project File"
msgstr "Archivo de proyecto de Piklab"

@ -0,0 +1,41 @@
# 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: 2025-04-11 03:36+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
#: piklab.desktop:2 x-piklab.desktop:2
msgid "Piklab"
msgstr ""
#. GenericName
#: piklab.desktop:4
msgid "Microcontroller IDE"
msgstr ""
#. Comment
#: piklab.desktop:6
msgid ""
"Integrated development environment for applications based on PIC "
"microcontrollers."
msgstr ""
"Environnement de développement intégré pour applications utilisant des "
"microcontroleurs PIC."
#. Comment
#: x-piklab.desktop:4
msgid "Piklab Project File"
msgstr ""

@ -0,0 +1,39 @@
# 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: 2025-04-11 03:36+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
#: piklab.desktop:2 x-piklab.desktop:2
msgid "Piklab"
msgstr ""
#. GenericName
#: piklab.desktop:4
msgid "Microcontroller IDE"
msgstr ""
#. Comment
#: piklab.desktop:6
msgid ""
"Integrated development environment for applications based on PIC "
"microcontrollers."
msgstr ""
#. Comment
#: x-piklab.desktop:4
msgid "Piklab Project File"
msgstr ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save