From c6babe2180543ce656d7c517d6db047285295597 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Thu, 11 Jun 2020 14:54:26 +0200
Subject: Desktop file translations: + Creation of POT template for desktop
 files added to CMakeL10n rules. + Added creation of translated desktop files
 during build.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7c7c238be19c9d17b1182d0b0fad31479aa7f59a)
---
 styles/dotnet/CMakeLists.txt |   6 ++-
 styles/dotnet/dotnet.themerc | 114 +------------------------------------------
 2 files changed, 6 insertions(+), 114 deletions(-)

(limited to 'styles/dotnet')

diff --git a/styles/dotnet/CMakeLists.txt b/styles/dotnet/CMakeLists.txt
index 15a2ef0f..824aff4c 100644
--- a/styles/dotnet/CMakeLists.txt
+++ b/styles/dotnet/CMakeLists.txt
@@ -25,7 +25,11 @@ link_directories(
 
 ##### other data ################################
 
-install( FILES dotnet.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes )
+tde_create_translated_desktop(
+  SOURCE dotnet.themerc
+  DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes
+  PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes
+)
 
 
 ##### dotnet #####################################
diff --git a/styles/dotnet/dotnet.themerc b/styles/dotnet/dotnet.themerc
index b7e5fde8..54bdf504 100644
--- a/styles/dotnet/dotnet.themerc
+++ b/styles/dotnet/dotnet.themerc
@@ -1,118 +1,6 @@
 [Misc]
 Name=.NET style
-Name[af]=.Net styl
-Name[br]=Giz .NET
-Name[bs]=.NET stil
-Name[ca]=Estil .NET
-Name[cs]=Styl .NET
-Name[cy]=Arddull .NET
-Name[da]=.NET-stil
-Name[de]=.NET-Stil
-Name[el]=Στυλ .NET
-Name[eo]=.NET-stilo
-Name[es]=Estilo .NET
-Name[et]=.NET stiil
-Name[eu]=.NET estiloa
-Name[fa]=سبک .NET
-Name[fi]=.NET-tyyli
-Name[fo]=.NET-snið
-Name[fr]=Style .NET
-Name[fy]=.NET-styl
-Name[ga]=Stíl .NET
-Name[gl]=Estilo .NET
-Name[he]=סגנון .NET
-Name[hi]=.NET शैली
-Name[hu]=.NET-stílus
-Name[is]=.NET stíll
-Name[it]=Stile .NET
-Name[ja]=.NET スタイル
-Name[ka]=.NET სტილი
-Name[lt]=.NET stilius
-Name[lv]=.NET stils
-Name[mk]=Стил .NET
-Name[mt]=Stil .NET
-Name[nb]=.NET-stil
-Name[nds]=.NET-Stil
-Name[ne]=.NET शैली
-Name[nl]=.NET-stijl
-Name[nn]=.NET-stil
-Name[pa]=.NET ਸ਼ੈਲੀ
-Name[pl]=Styl .NET
-Name[pt]=Estilo .NET
-Name[pt_BR]=Estilos Web
-Name[ro]=Stil .NET
-Name[ru]=Стиль .NET
-Name[sk]=Štýl .NET
-Name[sl]=Slog .NET
-Name[sr]=.NET стил
-Name[sr@Latn]=.NET stil
-Name[sv]=.NET-stil
-Name[ta]=.NET வித
-Name[tg]=Намуди .NET 
-Name[th]=รูปแบบ .NET
-Name[tr]=.NET stili
-Name[uk]=Стиль ".NET"
-Name[ven]=Tshitaela tsha .NET
-Name[vi]=Kiểu .NET
-Name[xh]=Uhlobo lo Mnatha
-Name[zh_CN]=.NET 风格
-Name[zh_TW]=.NET 風格
-Name[zu]=.NET uhlobo
 Comment=Fast, clean, and minimalistic.
-Comment[af]=Vinnige, maak skoon, en minimalisties.
-Comment[bg]=Семпъл и изчистен стил, изискващ малко ресурси
-Comment[bs]=Brz, čist i minimalističan.
-Comment[ca]=Ràpid, net i minimalista.
-Comment[cs]=Rychlé, úhledné a minimalistické
-Comment[cy]=Cyflym, glan a lleiafsymiol.
-Comment[da]=Hurtig, ren og minimalistisk.
-Comment[de]=Schnell, sauber, minimalistisch
-Comment[el]=Γρήγορο, καθαρό, και μινιμαλιστικό.
-Comment[es]=Rápido, limpio y minimalista.
-Comment[et]=Kiire, lihtne ja minimalistlik
-Comment[eu]=Azkarra, garbia, eta minimalista.
-Comment[fa]=سریع، تمییز، و حداقل.
-Comment[fi]=Pieni, puhdas ja minimalistinen
-Comment[fo]=Skjótt og smátt.
-Comment[fr]=Rapide et dépouillé
-Comment[fy]=Fluch,skjin en minimalistysk
-Comment[gl]=Rápido, limpo e minimalista.
-Comment[he]=מהיר, נקי, ומינימליסטי.
-Comment[hi]=तेज, साफ तथा कम-से-कम
-Comment[hu]=Gyors, jól átlátható, egyszerű stílus
-Comment[is]=Hratt, einfalt, og naumhyggja.
-Comment[it]=Veloce, semplice e minimalistico
-Comment[ja]=速い, クリーン, ミニマリズム
-Comment[ka]=სწრაფი, სუფთა და სადა
-Comment[lt]=Greitas, švarus ir minimalistinis
-Comment[lv]=Ātrs, tīrs un minimāls.
-Comment[mk]=Брз, чист и минималистички.
-Comment[ms]=Cepat, bersih, dan minimalistik.
-Comment[mt]=Jgħaġġel, nadif u minimalist
-Comment[nb]=Rask, ren og minimal.
-Comment[nds]=Gau, oprüümt, minimaal.
-Comment[ne]=छिटो, सफा,र गौण
-Comment[nl]=Snel,schoon en minimalistisch
-Comment[nn]=Rask, enkel og minimalistisk.
-Comment[pl]=Szybki, bez przepychu wręcz minimalistyczny
-Comment[pt]=Rápido, limpo e minimalista.
-Comment[pt_BR]=Rápido, limpo, e minimalista.
-Comment[ro]=Rapid, clar şi minimal.
-Comment[ru]=Быстрая, простая и лёгкая
-Comment[sk]=Rýchly, jednoduchý a minimalistický.
-Comment[sl]=Hiter, čist in minimalističen slog
-Comment[sr]=Брз, чисти и минималистички
-Comment[sr@Latn]=Brz, čisti i minimalistički
-Comment[sv]=Snabb, ren och minimal
-Comment[ta]= வேகமான, சுத்தமான, குறைச்சலாக
-Comment[tg]=Тез, тоза ва сабук.
-Comment[th]=เร็ว, สะอาด และดูเรียบง่าย
-Comment[tr]=Hızlı ve küçük.
-Comment[uk]=Швидка, акуратна і без надміру.
-Comment[ven]=U tavhanya, u kulumaga, nau fhungudzanyana
-Comment[vi]=Nhanh, sạch, và gọn nhẹ
-Comment[zh_CN]=快速、整洁而且极简化。
-Comment[zh_TW]=快速,清楚和極簡化
-Comment[zu]=Okusheshayo,okuhlanzekile kanye nokuyingcosana.
+
 [KDE]
 WidgetStyle=dotNET
-- 
cgit v1.2.1