summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-24 16:04:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-24 16:04:43 +0200
commit2aac2fdcff04d7405ed2843e69232ac590b76f0b (patch)
tree94de7a0de1af725f6157d6899cf188487e8ffa78
parente695196df6e48da48a7a4d99e55481c0a6b1d8fb (diff)
downloadtde-style-baghira-2aac2fdcff04d7405ed2843e69232ac590b76f0b.tar.gz
tde-style-baghira-2aac2fdcff04d7405ed2843e69232ac590b76f0b.zip
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>
-rw-r--r--CMakeL10n.txt8
-rw-r--r--bab/bab.desktop9
-rw-r--r--colorscheme/AquaBlue.kcsrc52
-rw-r--r--colorscheme/AquaGraphite.kcsrc52
-rw-r--r--colorscheme/CMakeLists.txt9
-rw-r--r--deco/baghira.desktop5
-rw-r--r--kickermenu-3.3/b_menuapplet.desktop4
-rw-r--r--sessionapplet/CMakeLists.txt1
-rw-r--r--sessionapplet/usermanager.desktop7
-rw-r--r--sidebar/baghirasidebar.desktop9
-rw-r--r--sidebar/baghirasidebar_add.desktop9
-rw-r--r--starter/CMakeLists.txt1
-rw-r--r--starter/starter.desktop4
-rw-r--r--style/CMakeLists.txt4
-rw-r--r--style/baghira.themerc1
-rw-r--r--translations/desktop_files/baghira-desktops.pot88
-rw-r--r--translations/desktop_files/de.po90
17 files changed, 270 insertions, 83 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 9730a56..eb049a6 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -21,3 +21,11 @@ include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/baghira-desktops"
+ SOURCES
+ *.desktop
+ *.kcsrc
+ *.themerc
+)
diff --git a/bab/bab.desktop b/bab/bab.desktop
index 65206f5..6467f74 100644
--- a/bab/bab.desktop
+++ b/bab/bab.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
-Encoding=UTF-8
Name=bab
-Name[xx]=xxbabxx
+
+Comment=Access to the big black cat
+
+Encoding=UTF-8
+Type=Application
Exec=bab %i %m -caption "%c"
Icon=baghira
-Type=Application
X-DocPath=
-Comment=Access to the big black cat
Terminal=0
diff --git a/colorscheme/AquaBlue.kcsrc b/colorscheme/AquaBlue.kcsrc
index 63a6847..0f07350 100644
--- a/colorscheme/AquaBlue.kcsrc
+++ b/colorscheme/AquaBlue.kcsrc
@@ -1,26 +1,26 @@
-[Color Scheme]
-Name=Aqua Blue
-activeBackground=255,255,255
-activeBlend=225,225,225
-activeForeground=0,0,0
-activeTitleBtnBg=80,132,185
-alternateBackground=238,246,255
-background=250,250,250
-buttonBackground=97,136,215
-buttonForeground=0,0,0
-contrast=0
-foreground=0,0,0
-frame=255,255,255
-handle=255,255,255
-inactiveBackground=225,225,225
-inactiveBlend=225,225,225
-inactiveForeground=35,35,35
-inactiveFrame=255,255,255
-inactiveHandle=255,255,255
-inactiveTitleBtnBg=218,238,255
-linkColor=0,0,192
-selectBackground=57,109,181
-selectForeground=255,255,255
-visitedLinkColor=128,0,128
-windowBackground=255,255,255
-windowForeground=0,0,0
+[Color Scheme]
+Name=Aqua Blue
+activeBackground=255,255,255
+activeBlend=225,225,225
+activeForeground=0,0,0
+activeTitleBtnBg=80,132,185
+alternateBackground=238,246,255
+background=250,250,250
+buttonBackground=97,136,215
+buttonForeground=0,0,0
+contrast=0
+foreground=0,0,0
+frame=255,255,255
+handle=255,255,255
+inactiveBackground=225,225,225
+inactiveBlend=225,225,225
+inactiveForeground=35,35,35
+inactiveFrame=255,255,255
+inactiveHandle=255,255,255
+inactiveTitleBtnBg=218,238,255
+linkColor=0,0,192
+selectBackground=57,109,181
+selectForeground=255,255,255
+visitedLinkColor=128,0,128
+windowBackground=255,255,255
+windowForeground=0,0,0
diff --git a/colorscheme/AquaGraphite.kcsrc b/colorscheme/AquaGraphite.kcsrc
index a34ddbc..005e503 100644
--- a/colorscheme/AquaGraphite.kcsrc
+++ b/colorscheme/AquaGraphite.kcsrc
@@ -1,26 +1,26 @@
-[Color Scheme]
-Name=Aqua Graphite
-activeBackground=255,255,255
-activeBlend=225,225,225
-activeForeground=0,0,0
-activeTitleBtnBg=131,142,155
-alternateBackground=238,246,255
-background=255,255,255
-buttonBackground=137,145,155
-buttonForeground=0,0,0
-contrast=0
-foreground=0,0,0
-frame=255,255,255
-handle=255,255,255
-inactiveBackground=225,225,225
-inactiveBlend=225,225,225
-inactiveForeground=35,35,35
-inactiveFrame=255,255,255
-inactiveHandle=255,255,255
-inactiveTitleBtnBg=218,238,255
-linkColor=0,0,192
-selectBackground=104,121,140
-selectForeground=255,255,255
-visitedLinkColor=128,0,128
-windowBackground=255,255,255
-windowForeground=0,0,0
+[Color Scheme]
+Name=Aqua Graphite
+activeBackground=255,255,255
+activeBlend=225,225,225
+activeForeground=0,0,0
+activeTitleBtnBg=131,142,155
+alternateBackground=238,246,255
+background=255,255,255
+buttonBackground=137,145,155
+buttonForeground=0,0,0
+contrast=0
+foreground=0,0,0
+frame=255,255,255
+handle=255,255,255
+inactiveBackground=225,225,225
+inactiveBlend=225,225,225
+inactiveForeground=35,35,35
+inactiveFrame=255,255,255
+inactiveHandle=255,255,255
+inactiveTitleBtnBg=218,238,255
+linkColor=0,0,192
+selectBackground=104,121,140
+selectForeground=255,255,255
+visitedLinkColor=128,0,128
+windowBackground=255,255,255
+windowForeground=0,0,0
diff --git a/colorscheme/CMakeLists.txt b/colorscheme/CMakeLists.txt
index 7e10f88..68b53c2 100644
--- a/colorscheme/CMakeLists.txt
+++ b/colorscheme/CMakeLists.txt
@@ -1,11 +1,6 @@
##### other data
-install(
- FILES AquaBlue.kcsrc
- DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
-)
-
-install(
- FILES AquaGraphite.kcsrc
+tde_create_translated_desktop(
+ SOURCE AquaBlue.kcsrc AquaGraphite.kcsrc
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
)
diff --git a/deco/baghira.desktop b/deco/baghira.desktop
index 13d90b4..3d6256f 100644
--- a/deco/baghira.desktop
+++ b/deco/baghira.desktop
@@ -1,5 +1,6 @@
-# KDE Desktop Entry
+# TDE Desktop Entry
[Desktop Entry]
-Encoding=UTF-8
Name=Baghira
+
+Encoding=UTF-8
X-TDE-Library=twin3_baghira
diff --git a/kickermenu-3.3/b_menuapplet.desktop b/kickermenu-3.3/b_menuapplet.desktop
index 036a004..6ef515c 100644
--- a/kickermenu-3.3/b_menuapplet.desktop
+++ b/kickermenu-3.3/b_menuapplet.desktop
@@ -1,9 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
Name=Baghira Menu
+
Comment=Applet embedding standalone menubars (Patched baghira version)
+Encoding=UTF-8
Icon=menu
-
X-TDE-Library=b_menu_panelapplet
X-TDE-UniqueApplet=true
diff --git a/sessionapplet/CMakeLists.txt b/sessionapplet/CMakeLists.txt
index 51b880e..8f58a8e 100644
--- a/sessionapplet/CMakeLists.txt
+++ b/sessionapplet/CMakeLists.txt
@@ -33,4 +33,5 @@ tde_add_library( usermanager_panelapplet MODULE AUTOMOC
tde_create_translated_desktop(
SOURCE usermanager.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+ OUTPUT_NAME baghira-usermanager.desktop
)
diff --git a/sessionapplet/usermanager.desktop b/sessionapplet/usermanager.desktop
index 51dc8a2..877dbc6 100644
--- a/sessionapplet/usermanager.desktop
+++ b/sessionapplet/usermanager.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
-Comment=Session Control, Lock, Logout, Change
Name=SessionManager
-Name[xx]=xxSessionManagerxx
+
+Comment=Session Control, Lock, Logout, Change
+
+Encoding=UTF-8
Icon=fork
X-TDE-Library=usermanager_panelapplet
X-TDE-UniqueApplet = true
diff --git a/sidebar/baghirasidebar.desktop b/sidebar/baghirasidebar.desktop
index fb413a9..68bf64d 100644
--- a/sidebar/baghirasidebar.desktop
+++ b/sidebar/baghirasidebar.desktop
@@ -1,12 +1,11 @@
[Desktop Entry]
+Name=baghirasidebar
+
+Comment=Baghira Sidebar
+
Encoding=UTF-8
Type=Link
URL=
Icon=bab_brushed
-Comment=Baghira Sidebar
-Name=baghirasidebar
-Name[xx]=xxbaghirasidebarxx
-
Open=false
X-TDE-KonqSidebarModule=konqsidebar_baghirasidebar
-
diff --git a/sidebar/baghirasidebar_add.desktop b/sidebar/baghirasidebar_add.desktop
index e7083ca..a1eeb69 100644
--- a/sidebar/baghirasidebar_add.desktop
+++ b/sidebar/baghirasidebar_add.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
+Name=Add Baghira Sidebar
+
Comment=Baghira Sidebar
+
Encoding=UTF-8
-Icon=filetypes
-Name=Add Baghira Sidebar
-Name[de]=Baghira Sideabr hinzufügen
-Open=false
Type=Link
URL=
+Icon=filetypes
+Open=false
X-TDE-KonqSidebarAddModule=konqsidebar_baghirasidebar
diff --git a/starter/CMakeLists.txt b/starter/CMakeLists.txt
index 1a2df3d..311a34a 100644
--- a/starter/CMakeLists.txt
+++ b/starter/CMakeLists.txt
@@ -55,4 +55,5 @@ install(
tde_create_translated_desktop(
SOURCE starter.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+ OUTPUT_NAME baghira-starter.desktop
)
diff --git a/starter/starter.desktop b/starter/starter.desktop
index 01f1fde..9fc6fb0 100644
--- a/starter/starter.desktop
+++ b/starter/starter.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
-Encoding=UTF-8
Name=Baghira Starter
+
+Encoding=UTF-8
Icon=bStarter
X-TDE-Library=libbaghirastarter
X-TDE-UniqueApplet=true
-
diff --git a/style/CMakeLists.txt b/style/CMakeLists.txt
index 6dcc6cf..6c3d5ff 100644
--- a/style/CMakeLists.txt
+++ b/style/CMakeLists.txt
@@ -97,7 +97,7 @@ tde_add_kpart( baghira AUTOMOC
)
-install(
- FILES baghira.themerc
+tde_create_translated_desktop(
+ SOURCE baghira.themerc
DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
)
diff --git a/style/baghira.themerc b/style/baghira.themerc
index 98f0aef..6834892 100644
--- a/style/baghira.themerc
+++ b/style/baghira.themerc
@@ -2,5 +2,6 @@
Name=Baghira
Comment=The Big Black Cat
ConfigPage=tdestyle_baghira_config
+
[KDE]
WidgetStyle=Baghira
diff --git a/translations/desktop_files/baghira-desktops.pot b/translations/desktop_files/baghira-desktops.pot
new file mode 100644
index 0000000..cf27fbf
--- /dev/null
+++ b/translations/desktop_files/baghira-desktops.pot
@@ -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 ""
diff --git a/translations/desktop_files/de.po b/translations/desktop_files/de.po
new file mode 100644
index 0000000..db051e0
--- /dev/null
+++ b/translations/desktop_files/de.po
@@ -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 ""