diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-11 14:54:26 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 15:24:51 +0200 |
commit | c6babe2180543ce656d7c517d6db047285295597 (patch) | |
tree | 90bf7fd65cc790d7ea5fb306fc9a6f5a56cc12c9 /styles | |
parent | 95331e2c05fce1a8abe31b62f77a4f1d72ca1fd3 (diff) | |
download | tdeartwork-c6babe2180543ce656d7c517d6db047285295597.tar.gz tdeartwork-c6babe2180543ce656d7c517d6db047285295597.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>
(cherry picked from commit 7c7c238be19c9d17b1182d0b0fad31479aa7f59a)
Diffstat (limited to 'styles')
-rw-r--r-- | styles/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | styles/dotnet/CMakeLists.txt | 6 | ||||
-rw-r--r-- | styles/dotnet/dotnet.themerc | 114 | ||||
-rw-r--r-- | styles/phase/CMakeLists.txt | 6 | ||||
-rw-r--r-- | styles/phase/phase.themerc | 81 |
5 files changed, 18 insertions, 195 deletions
diff --git a/styles/CMakeL10n.txt b/styles/CMakeL10n.txt index b585ce4a..13d78f90 100644 --- a/styles/CMakeL10n.txt +++ b/styles/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/style-themes/" + SOURCES *.themerc + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) 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 diff --git a/styles/phase/CMakeLists.txt b/styles/phase/CMakeLists.txt index 314548f0..2c9dcca4 100644 --- a/styles/phase/CMakeLists.txt +++ b/styles/phase/CMakeLists.txt @@ -28,7 +28,11 @@ add_subdirectory( config ) ##### other data ################################ -install( FILES phase.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes ) +tde_create_translated_desktop( + SOURCE phase.themerc + DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/style-themes +) ##### phasestyle ################################# diff --git a/styles/phase/phase.themerc b/styles/phase/phase.themerc index 53ec5c54..078dc93e 100644 --- a/styles/phase/phase.themerc +++ b/styles/phase/phase.themerc @@ -1,86 +1,7 @@ [Misc] Name=Phase -Name[br]=Prantadoù -Name[ca]=Fase -Name[el]=Φάση -Name[eo]=Fazo -Name[es]=Fase -Name[et]=Faas -Name[eu]=Fasea -Name[fa]=گام -Name[fi]=Vaihe -Name[fy]=Faze -Name[ga]=Pas -Name[he]=קרני לייזר -Name[hi]=फेज़ -Name[is]=Fasi -Name[it]=Fase -Name[ja]=位相 -Name[ka]=ფაზა -Name[mk]=Фаза -Name[ms]=Fasa -Name[nb]=Fase -Name[nds]=Phaas -Name[ne]=चरण -Name[nn]=Fase -Name[pa]=ਪੜਾਅ -Name[pl]=Faza -Name[ru]=Фаза -Name[sl]=Faza -Name[sr]=Фаза -Name[sr@Latn]=Faza -Name[sv]=Fas -Name[ta]=பகுதி -Name[tr]=Faz -Name[uk]=Фаза -Name[vi]=Pha -Name[zh_TW]=相 ConfigPage=tdestyle_phase_config Comment=Clean classical look -Comment[bg]=Семпъл и изчистен стил -Comment[bs]=Jednostavan klasični stil -Comment[ca]=Un estil clàssic i net -Comment[cs]=Klasický čistý vzhled -Comment[da]=Rent klassisk udseende -Comment[de]=Ein einfaches und klares Aussehen -Comment[el]=Ένα απλό και κλασσικό στυλ -Comment[es]=Un estilo clásico y claro -Comment[et]=Lihtne klassikaline välimus -Comment[eu]=Itxura garbi klasikoa -Comment[fa]=ظاهر کلاسیک واضح -Comment[fi]=Puhdas perinteinen tyyli -Comment[fr]=Un style simple et propre -Comment[fy]=In klassyk en moai uterlik -Comment[gl]=Apariencia sinxela e clásica -Comment[he]=סגנון פשוט ונקי -Comment[hi]=साफ शास्त्रीय रूप -Comment[hu]=Tiszta, egyszerű stílus -Comment[is]=Einfaldur og hreinlegur stíll -Comment[it]=Orologio classico -Comment[ja]=単純で清潔なスタイル -Comment[ka]=სადა და კლასიკური სტილი -Comment[mk]=Чист класичен изглед -Comment[ms]=Rupa klasik bersih -Comment[nb]=Enkelt klassisk utseende -Comment[nds]=Oprüümt klass'sch Utsehn -Comment[ne]=सफा उत्कृष्ट ढाँचा -Comment[nl]=Een klassiek en schoon uiterlijk -Comment[nn]=Enkel og klassisk utsjånad -Comment[pa]=ਸਾਫ਼ ਟਕਸਾਲੀ ਦਿੱਖ -Comment[pl]=Czysty, klasyczny wygląd -Comment[pt]=Um estilo clássico limpo -Comment[pt_BR]=Uma aprência clássica limpa -Comment[ru]=Простой классический стиль -Comment[sk]=Jednoduchý klasický vzhľad -Comment[sl]=Čist klasičen izgled -Comment[sr]=Чист класичан изглед -Comment[sr@Latn]=Čist klasičan izgled -Comment[sv]=Ren och klassisk stil -Comment[ta]=விசேஷ பார்வையைத் துடை -Comment[tr]=Temiz ve klasik bir görünüm -Comment[uk]=Акуратний, класичний стиль -Comment[vi]=Sạch, kiểu dáng truyền thống -Comment[zh_CN]=简洁经典的外观 -Comment[zh_TW]=乾淨的傳統外觀 + [KDE] WidgetStyle=Phase |