diff options
author | Slávek Banko <[email protected]> | 2020-05-14 15:26:41 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-15 11:55:19 +0200 |
commit | d230ffe91600f31235f382cf8c0c5738a91101f9 (patch) | |
tree | 6b9198dabe0b78fe5e8ad6ed93232755310f5715 /amor | |
parent | dcb03072211998dd141e3ade67c3d7bf7d8aa8f5 (diff) | |
download | tdetoys-d230ffe91600f31235f382cf8c0c5738a91101f9.tar.gz tdetoys-d230ffe91600f31235f382cf8c0c5738a91101f9.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 <[email protected]>
(cherry picked from commit 094853ca31a9dc5e619b0951953d4dc862a99e25)
Diffstat (limited to 'amor')
-rw-r--r-- | amor/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | amor/CMakeLists.txt | 5 | ||||
-rw-r--r-- | amor/amor.desktop | 64 |
3 files changed, 7 insertions, 68 deletions
diff --git a/amor/CMakeL10n.txt b/amor/CMakeL10n.txt index 9a458e3..0aa3ea7 100644 --- a/amor/CMakeL10n.txt +++ b/amor/CMakeL10n.txt @@ -42,3 +42,9 @@ tde_l10n_create_template( CATALOG "amor" SOURCES "data/tips-en.tde_l10n" "." ) + +tde_l10n_create_template( + CATALOG "desktop_files/amor.desktop/" + SOURCES amor.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/amor/CMakeLists.txt b/amor/CMakeLists.txt index ad96cdc..1fb6280 100644 --- a/amor/CMakeLists.txt +++ b/amor/CMakeLists.txt @@ -50,7 +50,4 @@ tde_install_icons( amor ) ##### other data ################################ -install( FILES amor.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) - +tde_create_translated_desktop( amor.desktop ) diff --git a/amor/amor.desktop b/amor/amor.desktop index d018d59..e6e3221 100644 --- a/amor/amor.desktop +++ b/amor/amor.desktop @@ -1,74 +1,10 @@ [Desktop Entry] Name=AMOR -Name[af]=Amor -Name[ar]=برنامج AMOR -Name[bg]=Amor -Name[bn]=আমোর -Name[fi]=Amor -Name[fo]=Amor -Name[fr]=Amor -Name[hi]=एमोर -Name[pa]=ਅਮੋਰ -Name[sv]=Amor -Name[ta]= AMOR -Name[tr]=Amor -Name[zh_CN]=阿莫(AMOR) Exec=amor Icon=amor Type=Application X-DocPath=amor/index.html GenericName=On-Screen Creature -GenericName[be]=Экранная жывёла -GenericName[bg]=Усмивка за работното място -GenericName[bn]=পর্দায় বসবাসকারী জন্তু -GenericName[ca]=Criatura a la pantalla -GenericName[cs]=Příšerka na obrazovce -GenericName[cy]=Creadur Ar-Sgrin -GenericName[da]=Skabning på skærmen -GenericName[de]=Maskottchen für die Arbeitsfläche -GenericName[el]=Πλάσμα στην οθόνη -GenericName[eo]=Surekrana kreaĵo -GenericName[es]=Criatura de la pantalla -GenericName[et]=Elajas töölaual -GenericName[eu]=Pantailako gizakia -GenericName[fa]=ایجادکنندۀ روی پرده -GenericName[fi]=Näytönolento -GenericName[fr]=Créature sur l'écran -GenericName[ga]=Créatúr ar do scáileán -GenericName[gl]=Criatura no Escritório -GenericName[he]=יצור מסכי -GenericName[hr]=Kretura na zaslonu -GenericName[hu]=Animált figurák -GenericName[is]=Skjámyndataka -GenericName[it]=Creatura sullo schermo -GenericName[ja]=画面上の生物 -GenericName[km]=ការច្នៃប្រឌិតលើអេក្រង់ -GenericName[ko]=화면 위 생명체 -GenericName[lv]=Ekrāna dzīvnieks -GenericName[mk]=Креатура на екранот -GenericName[mt]=Annimal ta' fuq l-iskrin -GenericName[nb]=Vesen på skjermen -GenericName[nds]=Schriefdisch-Maskottje -GenericName[ne]=पर्दा क्रिएचर -GenericName[nl]=Schermvermaak -GenericName[nn]=Skjermvesen -GenericName[pa]=ਆਨ-ਸਕਰੀਨ ਲਵੋ -GenericName[pl]=Stworzenie ekranowe -GenericName[pt]=Criatura no Ecrã -GenericName[pt_BR]=Criatura na Tela -GenericName[ro]=Creatură pe ecran -GenericName[ru]=Экранные зверушки -GenericName[sk]=Stvorenie na obrazovke -GenericName[sl]=Zaslonska živalca -GenericName[sr]=Створење на екрану -GenericName[sr@Latn]=Stvorenje na ekranu -GenericName[sv]=Varelse på skärmen -GenericName[ta]=திரையில் உருவாக்கி -GenericName[tg]=Махлуқ дар экран -GenericName[tr]=Ekranda Gezinen Yaratık -GenericName[uk]=Екранна істота -GenericName[zh_CN]=屏幕涂鸦 -GenericName[zh_TW]=畫面擷取程式 Terminal=false X-DCOP-ServiceType=Unique Categories=Qt;TDE;Amusement; |