Desktop file translations:

+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Finalized creation of translated desktop files during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/2/head
Slávek Banko 4 years ago
parent e695196df6
commit 2aac2fdcff
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -21,3 +21,11 @@ include( TDEL10n )
##### create translation templates ############## ##### create translation templates ##############
tde_l10n_auto_add_subdirectories( ) tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/baghira-desktops"
SOURCES
*.desktop
*.kcsrc
*.themerc
)

@ -1,10 +1,11 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Name=bab Name=bab
Name[xx]=xxbabxx
Comment=Access to the big black cat
Encoding=UTF-8
Type=Application
Exec=bab %i %m -caption "%c" Exec=bab %i %m -caption "%c"
Icon=baghira Icon=baghira
Type=Application
X-DocPath= X-DocPath=
Comment=Access to the big black cat
Terminal=0 Terminal=0

@ -1,11 +1,6 @@
##### other data ##### other data
install( tde_create_translated_desktop(
FILES AquaBlue.kcsrc SOURCE AquaBlue.kcsrc AquaGraphite.kcsrc
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
)
install(
FILES AquaGraphite.kcsrc
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
) )

@ -1,5 +1,6 @@
# KDE Desktop Entry # TDE Desktop Entry
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Name=Baghira Name=Baghira
Encoding=UTF-8
X-TDE-Library=twin3_baghira X-TDE-Library=twin3_baghira

@ -1,9 +1,9 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Name=Baghira Menu Name=Baghira Menu
Comment=Applet embedding standalone menubars (Patched baghira version) Comment=Applet embedding standalone menubars (Patched baghira version)
Encoding=UTF-8
Icon=menu Icon=menu
X-TDE-Library=b_menu_panelapplet X-TDE-Library=b_menu_panelapplet
X-TDE-UniqueApplet=true X-TDE-UniqueApplet=true

@ -33,4 +33,5 @@ tde_add_library( usermanager_panelapplet MODULE AUTOMOC
tde_create_translated_desktop( tde_create_translated_desktop(
SOURCE usermanager.desktop SOURCE usermanager.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
OUTPUT_NAME baghira-usermanager.desktop
) )

@ -1,8 +1,9 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Comment=Session Control, Lock, Logout, Change
Name=SessionManager Name=SessionManager
Name[xx]=xxSessionManagerxx
Comment=Session Control, Lock, Logout, Change
Encoding=UTF-8
Icon=fork Icon=fork
X-TDE-Library=usermanager_panelapplet X-TDE-Library=usermanager_panelapplet
X-TDE-UniqueApplet = true X-TDE-UniqueApplet = true

@ -1,12 +1,11 @@
[Desktop Entry] [Desktop Entry]
Name=baghirasidebar
Comment=Baghira Sidebar
Encoding=UTF-8 Encoding=UTF-8
Type=Link Type=Link
URL= URL=
Icon=bab_brushed Icon=bab_brushed
Comment=Baghira Sidebar
Name=baghirasidebar
Name[xx]=xxbaghirasidebarxx
Open=false Open=false
X-TDE-KonqSidebarModule=konqsidebar_baghirasidebar X-TDE-KonqSidebarModule=konqsidebar_baghirasidebar

@ -1,10 +1,11 @@
[Desktop Entry] [Desktop Entry]
Name=Add Baghira Sidebar
Comment=Baghira Sidebar Comment=Baghira Sidebar
Encoding=UTF-8 Encoding=UTF-8
Icon=filetypes
Name=Add Baghira Sidebar
Name[de]=Baghira Sideabr hinzufügen
Open=false
Type=Link Type=Link
URL= URL=
Icon=filetypes
Open=false
X-TDE-KonqSidebarAddModule=konqsidebar_baghirasidebar X-TDE-KonqSidebarAddModule=konqsidebar_baghirasidebar

@ -55,4 +55,5 @@ install(
tde_create_translated_desktop( tde_create_translated_desktop(
SOURCE starter.desktop SOURCE starter.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
OUTPUT_NAME baghira-starter.desktop
) )

@ -1,7 +1,7 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8
Name=Baghira Starter Name=Baghira Starter
Encoding=UTF-8
Icon=bStarter Icon=bStarter
X-TDE-Library=libbaghirastarter X-TDE-Library=libbaghirastarter
X-TDE-UniqueApplet=true X-TDE-UniqueApplet=true

@ -97,7 +97,7 @@ tde_add_kpart( baghira AUTOMOC
) )
install( tde_create_translated_desktop(
FILES baghira.themerc SOURCE baghira.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
) )

@ -2,5 +2,6 @@
Name=Baghira Name=Baghira
Comment=The Big Black Cat Comment=The Big Black Cat
ConfigPage=tdestyle_baghira_config ConfigPage=tdestyle_baghira_config
[KDE] [KDE]
WidgetStyle=Baghira WidgetStyle=Baghira

@ -0,0 +1,88 @@
# 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-07-24 15:56+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
#: bab/bab.desktop:2
msgid "bab"
msgstr ""
#. Comment
#: bab/bab.desktop:4
msgid "Access to the big black cat"
msgstr ""
#. Name
#: deco/baghira.desktop:3 style/baghira.themerc:2
msgid "Baghira"
msgstr ""
#. Name
#: kickermenu-3.3/b_menuapplet.desktop:2
msgid "Baghira Menu"
msgstr ""
#. Comment
#: kickermenu-3.3/b_menuapplet.desktop:4
msgid "Applet embedding standalone menubars (Patched baghira version)"
msgstr ""
#. Name
#: sessionapplet/usermanager.desktop:2
msgid "SessionManager"
msgstr ""
#. Comment
#: sessionapplet/usermanager.desktop:4
msgid "Session Control, Lock, Logout, Change"
msgstr ""
#. Name
#: sidebar/baghirasidebar.desktop:2
msgid "baghirasidebar"
msgstr ""
#. Comment
#: sidebar/baghirasidebar.desktop:4
#: sidebar/baghirasidebar_add.desktop:4
msgid "Baghira Sidebar"
msgstr ""
#. Name
#: sidebar/baghirasidebar_add.desktop:2
msgid "Add Baghira Sidebar"
msgstr ""
#. Name
#: starter/starter.desktop:2
msgid "Baghira Starter"
msgstr ""
#. Name
#: colorscheme/AquaBlue.kcsrc:2
msgid "Aqua Blue"
msgstr ""
#. Name
#: colorscheme/AquaGraphite.kcsrc:2
msgid "Aqua Graphite"
msgstr ""
#. Comment
#: style/baghira.themerc:3
msgid "The Big Black Cat"
msgstr ""

@ -0,0 +1,90 @@
# 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-07-24 15:56+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
#: bab/bab.desktop:2
msgid "bab"
msgstr ""
#. Comment
#: bab/bab.desktop:4
msgid "Access to the big black cat"
msgstr ""
#. Name
#: deco/baghira.desktop:3 style/baghira.themerc:2
msgid "Baghira"
msgstr ""
#. Name
#: kickermenu-3.3/b_menuapplet.desktop:2
msgid "Baghira Menu"
msgstr ""
#. Comment
#: kickermenu-3.3/b_menuapplet.desktop:4
msgid "Applet embedding standalone menubars (Patched baghira version)"
msgstr ""
#. Name
#: sessionapplet/usermanager.desktop:2
msgid "SessionManager"
msgstr ""
#. Comment
#: sessionapplet/usermanager.desktop:4
msgid "Session Control, Lock, Logout, Change"
msgstr ""
#. Name
#: sidebar/baghirasidebar.desktop:2
#, fuzzy
msgid "baghirasidebar"
msgstr "Baghira Sideabr hinzufügen"
#. Comment
#: sidebar/baghirasidebar.desktop:4 sidebar/baghirasidebar_add.desktop:4
#, fuzzy
msgid "Baghira Sidebar"
msgstr "Baghira Sideabr hinzufügen"
#. Name
#: sidebar/baghirasidebar_add.desktop:2
msgid "Add Baghira Sidebar"
msgstr "Baghira Sideabr hinzufügen"
#. Name
#: starter/starter.desktop:2
#, fuzzy
msgid "Baghira Starter"
msgstr "Baghira Sideabr hinzufügen"
#. Name
#: colorscheme/AquaBlue.kcsrc:2
msgid "Aqua Blue"
msgstr ""
#. Name
#: colorscheme/AquaGraphite.kcsrc:2
msgid "Aqua Graphite"
msgstr ""
#. Comment
#: style/baghira.themerc:3
msgid "The Big Black Cat"
msgstr ""
Loading…
Cancel
Save