diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-26 11:36:35 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 00:41:12 +0200 |
commit | 2f706891f32258c2b070471905f983e4585296d2 (patch) | |
tree | 6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /tdm/kfrontend/themes | |
parent | 98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff) | |
download | tdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz tdebase-2f706891f32258c2b070471905f983e4585296d2.zip |
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>
Diffstat (limited to 'tdm/kfrontend/themes')
-rw-r--r-- | tdm/kfrontend/themes/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | tdm/kfrontend/themes/circles/CMakeLists.txt | 14 | ||||
-rw-r--r-- | tdm/kfrontend/themes/circles/GdmGreeterTheme.desktop | 128 | ||||
-rw-r--r-- | tdm/kfrontend/themes/minimalist/CMakeLists.txt | 16 | ||||
-rw-r--r-- | tdm/kfrontend/themes/minimalist/GdmGreeterTheme.desktop | 3 | ||||
-rw-r--r-- | tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt | 14 | ||||
-rw-r--r-- | tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop | 3 |
7 files changed, 49 insertions, 136 deletions
diff --git a/tdm/kfrontend/themes/CMakeL10n.txt b/tdm/kfrontend/themes/CMakeL10n.txt new file mode 100644 index 000000000..7f6b1dbe1 --- /dev/null +++ b/tdm/kfrontend/themes/CMakeL10n.txt @@ -0,0 +1,7 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/tdm-themes/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/tdm/kfrontend/themes/circles/CMakeLists.txt b/tdm/kfrontend/themes/circles/CMakeLists.txt index 9122c13ea..cb81c92fa 100644 --- a/tdm/kfrontend/themes/circles/CMakeLists.txt +++ b/tdm/kfrontend/themes/circles/CMakeLists.txt @@ -9,7 +9,15 @@ # ################################################# -install( FILES - GdmGreeterTheme.desktop circles.xml background.svg +tde_create_translated_desktop( + SOURCE GdmGreeterTheme.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/circles + PO_DIR tdm-themes +) + +install( + FILES + circles.xml background.svg flower.png help.png options.png screenshot.png - DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/circles ) + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/circles +) diff --git a/tdm/kfrontend/themes/circles/GdmGreeterTheme.desktop b/tdm/kfrontend/themes/circles/GdmGreeterTheme.desktop index 72be02f41..2edddf94c 100644 --- a/tdm/kfrontend/themes/circles/GdmGreeterTheme.desktop +++ b/tdm/kfrontend/themes/circles/GdmGreeterTheme.desktop @@ -3,133 +3,11 @@ [GdmGreeterTheme] Greeter=circles.xml + Name=Circles -Name[ar]=الدوائر -Name[bn]=সার্কল্স -Name[br]=Kelc'hioù -Name[bs]=Krugovi -Name[ca]=Cercles -Name[cs]=Kruhy -Name[csb]=Kółka -Name[cy]=Cylchoedd -Name[da]=Cirkler -Name[de]=Kreise -Name[el]=Κύκλοι -Name[eo]=cirkloj -Name[es]=Círculos -Name[et]=Ringid -Name[fa]=دایرهها -Name[fi]=Ympyrät -Name[fy]=Cirkels -Name[ga]=Ciorcail -Name[he]=מעגלים -Name[hi]=वृत्त -Name[hr]=Krugovi -Name[hu]=Körök -Name[is]=Hringir -Name[it]=Cerchi -Name[ja]=サークル -Name[ka]=წრეები -Name[kk]=Дөңгелектер -Name[km]=រង្វង់ -Name[ko]=원 -Name[lt]=Skrituliai -Name[mk]=Кругови -Name[ms]=Bulatan -Name[nb]=Sirkler -Name[nds]=Krinken -Name[ne]=वृत्त -Name[nl]=Cirkels -Name[nn]=Sirklar -Name[pa]=ਚੱਕਰ -Name[pl]=Kółka -Name[pt]=Círculos -Name[pt_BR]=Círculos -Name[ro]=Cercuri -Name[ru]=Круги -Name[rw]=Inziga -Name[se]=Gearddut -Name[sk]=Kruhy -Name[sl]=Krogi -Name[sr]=Кругови -Name[sr@Latn]=Krugovi -Name[sv]=Cirklar -Name[ta]=வட்டங்கள் -Name[te]=వృత్తాలు -Name[tg]=Доираҳо -Name[tr]=Çemberler -Name[uk]=Кола -Name[uz]=Aylanalar -Name[uz@cyrillic]=Айланалар -Name[vi]=Vòng tròn -Name[wa]=Cekes -Name[zh_CN]=圆环 + Description=Theme with blue circles -Description[af]=Tema met blou sirkels -Description[ar]=سمة بلدوائر الزرقاء -Description[be]=Тэма з блакітнымі коламі -Description[bn]=নীল বৃত্ত সম্বলিত থীম -Description[bs]=Tema sa plavim krugovima -Description[ca]=Tema amb cercles blaus -Description[cs]=Motiv s modrými kruhy -Description[csb]=Téma z mòdrima kółkama -Description[da]=Tema med blå cirkler -Description[de]=Thema mit blauen Kreisen -Description[el]=Θέμα με μπλε κύκλους -Description[eo]=Etoso kun bluaj cirkloj -Description[es]=Tema con círculos azules -Description[et]=Siniste ringidega teema -Description[eu]=Biribil urdindun gaia -Description[fa]=چهره با دایرههای آبی -Description[fi]=Teema sinisillä ympyröillä -Description[fr]=Thème avec des cercles bleus -Description[fy]=Tema mei blauwe sirkels -Description[gl]=Tema con círculos azuis -Description[he]=ערכת נושא עם מעגלים כחולים -Description[hi]=नीले वृत्तों के साथ प्रसंग -Description[hr]=Tema s plavim krugovima -Description[hu]=Téma kék körökkel -Description[is]=Þema með bláum hringjum -Description[it]=Tema con cerchi blu -Description[ja]=青い丸のテーマ -Description[ka]=ლურჯ წრეებიანი თემა -Description[kk]=Көк дөңгелекті нақыш -Description[km]=ស្បែកមានរង្វង់ពណ៌ខៀវ -Description[ko]=파란 원이 있는 테마 -Description[lt]=Tema su melsvais skrituliais -Description[lv]=Tēma ar ziliem riņķiem -Description[mk]=Тема со сини кругови -Description[ms]=Tema dengan bulatan biru -Description[nb]=Tema med blå sirkler -Description[nds]=Muster mit blage Krinken -Description[ne]=निलो वृत्तसँग विषयवस्तु -Description[nl]=Thema met blauwe cirkels -Description[nn]=Tema med blåe sirklar -Description[pa]=ਨੀਲੇ ਚੱਕਰਾਂ ਵਾਲਾ ਸਰੂਪ -Description[pl]=Motyw z niebieskimi kółkami -Description[pt]=Tema com círculos azuis -Description[pt_BR]=Tema com círculos azuis -Description[ro]=Temă cu cercuri albastre -Description[ru]=Тема с синими кругами -Description[rw]=Insanganyamatsiko ifite inziga z'ubururu -Description[se]=Fáddá mas lea alit gearddut -Description[sk]=Téma s modrými kruhmi -Description[sl]=Tema z modrimi krogi -Description[sr]=Тема са плавим круговима -Description[sr@Latn]=Tema sa plavim krugovima -Description[sv]=Tema med blåa cirklar -Description[ta]=நீல வட்டங்களுடன் தலைப்பு -Description[tg]=Мавзӯъ бо доираҳои кабуд -Description[th]=ชุดตกแต่งมาพร้อมวงกลมสีน้ำเงิน -Description[tr]=Mavi çemberli tema -Description[tt]=Zäñgär tügäräklär belän tışlaw -Description[uk]=Тема з синіми колами -Description[uz]=Koʻk aylanalarli mavzu -Description[uz@cyrillic]=Кўк айланаларли мавзу -Description[vi]=Sắc thái với các vòng tròn xanh lam -Description[wa]=Tinme avou des bleus cekes -Description[zh_CN]=带蓝环的主题 -Description[zh_TW]=有藍色圓圈的佈景主題 + Author=Bond, James Bond Copyright=(c) 2002 Bond, James Bond Screenshot=screenshot.png diff --git a/tdm/kfrontend/themes/minimalist/CMakeLists.txt b/tdm/kfrontend/themes/minimalist/CMakeLists.txt index c8760fa4e..4713125d2 100644 --- a/tdm/kfrontend/themes/minimalist/CMakeLists.txt +++ b/tdm/kfrontend/themes/minimalist/CMakeLists.txt @@ -9,12 +9,17 @@ # ################################################# -install( +tde_create_translated_desktop( + SOURCE GdmGreeterTheme.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/minimalist + PO_DIR tdm-themes +) + +install( FILES background.png box.png caps-lock-warning.png - GdmGreeterTheme.desktop lineedit.png login_normal.png login_prelight.png @@ -26,6 +31,7 @@ install( system_prelight.png tdelogo.png topline.png - - DESTINATION - ${DATA_INSTALL_DIR}/tdm/themes/minimalist ) + + DESTINATION + ${DATA_INSTALL_DIR}/tdm/themes/minimalist +) diff --git a/tdm/kfrontend/themes/minimalist/GdmGreeterTheme.desktop b/tdm/kfrontend/themes/minimalist/GdmGreeterTheme.desktop index 03519634d..c8742ef90 100644 --- a/tdm/kfrontend/themes/minimalist/GdmGreeterTheme.desktop +++ b/tdm/kfrontend/themes/minimalist/GdmGreeterTheme.desktop @@ -4,7 +4,10 @@ [GdmGreeterTheme] Encoding=UTF-8 Greeter=minimalist.xml + Name=Minimalist + Description=A minimalist TDM theme for TDE, inspired by LightDM + Author=TDE Screenshot=screenshot.png diff --git a/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt b/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt index bf9f738a0..b5566097f 100644 --- a/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt +++ b/tdm/kfrontend/themes/o2_enterprise/CMakeLists.txt @@ -9,8 +9,16 @@ # ################################################# -install( FILES +tde_create_translated_desktop( + SOURCE GdmGreeterTheme.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise + PO_DIR tdm-themes +) + +install( + FILES Dialog.png enter_normal.png enter_over.png enter_pressed.png - enterprise.xml GdmGreeterTheme.desktop preview.png + enterprise.xml preview.png system_normal.png system_over.png system_pressed.png - DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise ) + DESTINATION ${DATA_INSTALL_DIR}/tdm/themes/o2_enterprise +) diff --git a/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop b/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop index 10ce5cc52..07d58f244 100644 --- a/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop +++ b/tdm/kfrontend/themes/o2_enterprise/GdmGreeterTheme.desktop @@ -4,7 +4,10 @@ [GdmGreeterTheme] Encoding=UTF-8 Greeter=enterprise.xml + Name=O2 Enterprise + Description=A sleek and professional looking TDM theme for Trinity + Author=Ken Wimer (wimer@kde.org) and Timothy Pearson (kb9vqf@pearsoncomputing.net) Screenshot=preview.png |