From d230ffe91600f31235f382cf8c0c5738a91101f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 14 May 2020 15:26:41 +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 (cherry picked from commit 094853ca31a9dc5e619b0951953d4dc862a99e25) --- amor/CMakeL10n.txt | 6 +++++ amor/CMakeLists.txt | 5 +---- amor/amor.desktop | 64 ----------------------------------------------------- 3 files changed, 7 insertions(+), 68 deletions(-) (limited to 'amor') 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; -- cgit v1.2.1