diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-14 15:26:41 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-14 15:26:41 +0200 |
commit | 094853ca31a9dc5e619b0951953d4dc862a99e25 (patch) | |
tree | 1d5cf4fca876d27b913dbf3afe5a212a91b2b681 /kmoon | |
parent | cbaa57c4db0b5723b68ff5e719d8d965b7f34ec2 (diff) | |
download | tdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.tar.gz tdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.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 'kmoon')
-rw-r--r-- | kmoon/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kmoon/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kmoon/kmoonapplet.desktop | 101 |
3 files changed, 8 insertions, 103 deletions
diff --git a/kmoon/CMakeL10n.txt b/kmoon/CMakeL10n.txt index 5e68785..185a17e 100644 --- a/kmoon/CMakeL10n.txt +++ b/kmoon/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kmoon" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kmoonapplet.desktop/" + SOURCES kmoonapplet.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kmoon/CMakeLists.txt b/kmoon/CMakeLists.txt index 01cb512..9658c74 100644 --- a/kmoon/CMakeLists.txt +++ b/kmoon/CMakeLists.txt @@ -41,7 +41,7 @@ tde_install_icons( kmoon ) ##### other data ################################ -install( FILES kmoonapplet.desktop +tde_create_translated_desktop( + SOURCE kmoonapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) - diff --git a/kmoon/kmoonapplet.desktop b/kmoon/kmoonapplet.desktop index 069acaf..a3186b7 100644 --- a/kmoon/kmoonapplet.desktop +++ b/kmoon/kmoonapplet.desktop @@ -2,108 +2,7 @@ Type=Plugin Icon=kmoon Name=Moon Phase -Name[be]=Фаза луны -Name[bg]=Фази на луната -Name[bn]=চাঁদের কলা -Name[br]=Prantadoù al loariad -Name[ca]=Fase de la lluna -Name[cs]=Měsíční fáze -Name[cy]=Gweddau'r Lleuad -Name[da]=Månefase -Name[de]=Mondphasen-Darstellung -Name[el]=Δείκτης των φάσεων της Σελήνης -Name[eo]=Lunfazo -Name[es]=Fase lunar -Name[et]=Kuu faasid -Name[eu]=Ilargiaren fasea -Name[fa]=هلال ماه -Name[fi]=Kuunvaihenäyttäjä -Name[fr]=Phase de la Lune -Name[ga]=Céim na Gealaí -Name[gl]=Fase da Lua -Name[he]=מופע הירח -Name[hr]=Mjesečeva mjena -Name[hu]=KMoon -Name[is]=Tunglskiptabirtir -Name[it]=Fasi lunari -Name[ja]=月の満ち欠け -Name[km]=ដំណើរព្រះចន្ទ -Name[ko]=달 모양 보기 -Name[lv]=Mēness fāzes -Name[mk]=Месечеви мени -Name[nb]=Se månefasene -Name[nds]=Maandwieser -Name[ne]=चन्द्रमाको रूप -Name[nl]=Maanstand -Name[nn]=Månefase -Name[pa]=ਚੰਦ ਕਲਾਵਾਂ -Name[pl]=Fazy księżyca -Name[pt]=Fase Lunar -Name[pt_BR]=Fase da Lua -Name[ro]=Fazele Lunii -Name[ru]=Фазы Луны -Name[sk]=Fázy Mesiaca -Name[sl]=Lunina mena -Name[sr]=Месечеве мене -Name[sr@Latn]=Mesečeve mene -Name[sv]=Månfaser -Name[tg]=Авзои Моҳ -Name[tr]=Ay'ın Durumu -Name[uk]=Фази місяця -Name[wa]=Fazes del lune -Name[zh_CN]=月相 -Name[zh_TW]=月亮圓缺 Comment=Displays the current moon phase -Comment[ar]=يعرض وجه القمر الحالي -Comment[be]=Паказвае бягучаю фазу луны -Comment[bg]=Показване на текущата фаза на луната -Comment[bn]=চাঁদের বর্তমান কলা প্রদর্শন করে -Comment[br]=Diskouez ar prantad loariad red -Comment[ca]=Mostra la fase actual de la lluna -Comment[cs]=Zobrazuje aktuální fázi měsíce -Comment[cy]=Dangos gwedd gyfredol y lleuad -Comment[da]=Viser nuværende månefase -Comment[de]=Zeigt die aktuelle Mondphase an -Comment[el]=Εμφανίζει την τρέχουσα φάση της Σελήνης -Comment[eo]=Montru la nunan lunfazon -Comment[es]=Indica la fase lunar actual -Comment[et]=Kuu faaside näitaja -Comment[eu]=Uneko ilargiaren fasea bistaratzen du -Comment[fa]=هلال ماه جاری را نمایش میدهد -Comment[fi]=Näyttää kuun nykyisen vaiheen -Comment[fr]=Affiche la phase actuelle de la Lune -Comment[ga]=Taispeáin céim reatha na gealaí -Comment[gl]=Mostra a fase da lua -Comment[he]=מציג את מופע הירח הנוכחי -Comment[hr]=Prikazivanje trenutnih mjesečevih mjena -Comment[hu]=Megjeleníti a Hold aktuális állapotát -Comment[is]=Sýnir núverandi stöðu tunglsins -Comment[it]=Visualizza la fase lunare corrente -Comment[ja]=月の満ち欠けの状態を表示 -Comment[km]=បង្ហាញដំណើរព្រះចន្ទបច្ចុប្បន្ន -Comment[lv]=Rāda pašreizējo mēness fāzi -Comment[mk]=Ја прикажува тековната месечева мена -Comment[nb]=Vis vilken månefase vi er i -Comment[nds]=Wiest den aktuellen Maand -Comment[ne]=हालको चन्द्रमाको रूप प्रदर्शन गर्दछ -Comment[nl]=Toont de huidige maanstand -Comment[nn]=Viser månefasen -Comment[pl]=Pokazuje aktualną fazę księżyca -Comment[pt]=Mostra a fase lunar actual -Comment[pt_BR]=Mostra a atual fase da lua -Comment[ro]=Afişează faza curentă a lunii -Comment[ru]=Показывает текущую фазу Луны -Comment[sk]=Zobrazí aktuálnu fázu Mesiaca -Comment[sl]=Prikazuje trenutno Lunino meno -Comment[sr]=Приказује тренутну фазу месеца -Comment[sr@Latn]=Prikazuje trenutnu fazu meseca -Comment[sv]=Visar den nuvarande månfasen -Comment[tg]=Намоиши авзои Моҳи равон -Comment[tr]=Ayın şimdiki durumunu gösterir -Comment[uk]=Показує поточну фазу місяця -Comment[wa]=Håynêye li faze del lune do moumint -Comment[zh_CN]=显示当前的月相 -Comment[zh_TW]=顯示目前月亮的圓缺狀態 X-TDE-Library=kmoon_panelapplet X-TDE-UniqueApplet=true X-DocPath=kmoon/index.html |