Browse Source

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 2 months ago
parent
commit
2aac2fdcff
Signed by: SlavekB GPG Key ID: 608F5293A04BE668
17 changed files with 270 additions and 83 deletions
  1. +8
    -0
      CMakeL10n.txt
  2. +5
    -4
      bab/bab.desktop
  3. +26
    -26
      colorscheme/AquaBlue.kcsrc
  4. +26
    -26
      colorscheme/AquaGraphite.kcsrc
  5. +2
    -7
      colorscheme/CMakeLists.txt
  6. +3
    -2
      deco/baghira.desktop
  7. +2
    -2
      kickermenu-3.3/b_menuapplet.desktop
  8. +1
    -0
      sessionapplet/CMakeLists.txt
  9. +4
    -3
      sessionapplet/usermanager.desktop
  10. +4
    -5
      sidebar/baghirasidebar.desktop
  11. +5
    -4
      sidebar/baghirasidebar_add.desktop
  12. +1
    -0
      starter/CMakeLists.txt
  13. +2
    -2
      starter/starter.desktop
  14. +2
    -2
      style/CMakeLists.txt
  15. +1
    -0
      style/baghira.themerc
  16. +88
    -0
      translations/desktop_files/baghira-desktops.pot
  17. +90
    -0
      translations/desktop_files/de.po

+ 8
- 0
CMakeL10n.txt View File

@@ -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
)

+ 5
- 4
bab/bab.desktop View File

@@ -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

+ 26
- 26
colorscheme/AquaBlue.kcsrc View File

@@ -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

+ 26
- 26
colorscheme/AquaGraphite.kcsrc View File

@@ -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

+ 2
- 7
colorscheme/CMakeLists.txt View File

@@ -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
)

+ 3
- 2
deco/baghira.desktop View File

@@ -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

+ 2
- 2
kickermenu-3.3/b_menuapplet.desktop View File

@@ -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

+ 1
- 0
sessionapplet/CMakeLists.txt View File

@@ -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
)

+ 4
- 3
sessionapplet/usermanager.desktop View File

@@ -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

+ 4
- 5
sidebar/baghirasidebar.desktop View File

@@ -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


+ 5
- 4
sidebar/baghirasidebar_add.desktop View File

@@ -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

+ 1
- 0
starter/CMakeLists.txt View File

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

+ 2
- 2
starter/starter.desktop View File

@@ -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


+ 2
- 2
style/CMakeLists.txt View File

@@ -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
)

+ 1
- 0
style/baghira.themerc View File

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

[KDE]
WidgetStyle=Baghira

+ 88
- 0
translations/desktop_files/baghira-desktops.pot View File

@@ -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 ""

+ 90
- 0
translations/desktop_files/de.po View File

@@ -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