From 92841ae8b62560f0b137dc838bfd12ac78d26599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 28 Jun 2020 00:42:21 +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 2f706891f32258c2b070471905f983e4585296d2) --- kpersonalizer/CMakeL10n.txt | 6 +++ kpersonalizer/CMakeLists.txt | 2 +- kpersonalizer/kpersonalizer.desktop | 79 ++----------------------------------- 3 files changed, 10 insertions(+), 77 deletions(-) (limited to 'kpersonalizer') diff --git a/kpersonalizer/CMakeL10n.txt b/kpersonalizer/CMakeL10n.txt index afa00db0e..f09fa3f31 100644 --- a/kpersonalizer/CMakeL10n.txt +++ b/kpersonalizer/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kpersonalizer" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kpersonalizer.desktop/" + SOURCES kpersonalizer.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kpersonalizer/CMakeLists.txt b/kpersonalizer/CMakeLists.txt index 313ff48a5..19c3a6698 100644 --- a/kpersonalizer/CMakeLists.txt +++ b/kpersonalizer/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES kpersonalizer.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( kpersonalizer.desktop ) install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kpersonalizer.desktop ) diff --git a/kpersonalizer/kpersonalizer.desktop b/kpersonalizer/kpersonalizer.desktop index 33791e740..73b58ceba 100644 --- a/kpersonalizer/kpersonalizer.desktop +++ b/kpersonalizer/kpersonalizer.desktop @@ -3,84 +3,11 @@ Type=Application Exec=kpersonalizer -caption "%c" %i %m Icon=kpersonalizer Terminal=false + Name=KPersonalizer + GenericName=Desktop Settings Wizard -GenericName[af]=Werkskerm Instellings Assistent -GenericName[ar]=مرشد تعيين سطح المكتب -GenericName[az]=Masa Üstü Qurğuları Sehirbazı -GenericName[be]=Чараўнік настаўленняў працоўнага асяроддзя -GenericName[bg]=Настройване на работното място -GenericName[bn]=ডেস্কটপ সেটিংস উইজার্ড -GenericName[br]=Skoazeller kefluniadur ar burev -GenericName[bs]=Podešavanje radne površine -GenericName[ca]=Assistent de configuració de l'escriptori -GenericName[cs]=Průvodce nastavení pracovní plochy -GenericName[csb]=Asystenta nastôwù òkrãżegò -GenericName[cy]=Dewin Gosodiadau Penbwrdd -GenericName[da]=Guide til opsætning af desktoppen -GenericName[de]=Einrichtungsassistent -GenericName[el]=Μάγος ρυθμίσεων της επιφάνειας εργασίας -GenericName[eo]=Asistilo por la tabulagordo -GenericName[es]=Asistente para las preferencias del escritorio -GenericName[et]=Töölaua seadistuste abimees -GenericName[eu]=Mahaigaineko ezarpenetarako morroia -GenericName[fa]=جادوگر تنظیمات رومیزی -GenericName[fi]=Työpöydän ohjattu asettaminen -GenericName[fr]=KPersonalizer -GenericName[fy]=TDE's Ynstellings Assistent -GenericName[gl]=Asistente para a Configuración do Escritório -GenericName[he]=אשף הגדרות שולחן העבודה -GenericName[hi]=डेस्कटॉप विन्यास विजार्ड -GenericName[hr]=Čarobnjak za postavke radne površine -GenericName[hu]=TDE beállításvarázsló -GenericName[is]=Skjáborðsálfur -GenericName[it]=Procedura guidata delle impostazioni del desktop -GenericName[ja]=デスクトップ設定ウィザード -GenericName[ka]=სამუშაო დაფის კონფიგურირების ოსტატი -GenericName[kk]=Үстелді баптау шебері -GenericName[km]=អ្នក​ជំនួយការ​ការ​កំណត់​ផ្ទៃតុ -GenericName[lo]=ຕົວຊ່ວຍເຫລືອການຕັ້ງຄ່າພື້ນທີ່ທຳງານ -GenericName[lt]=Darbastalio nustatymų asistentas -GenericName[lv]=Darbvirsmas Uzstādījumu Meistars -GenericName[mk]=Волшебник за поставувања на површината -GenericName[mn]=Тохируулга-Туслагч -GenericName[ms]=Wizard Seting Desktop -GenericName[mt]=Saħħar għas-setings tad-desktop -GenericName[nb]=Veiviser for skrivebordsoppsett -GenericName[nds]=Schriefdischinstellen-Hölper -GenericName[ne]=डेस्कटप सेटिङ विजार्ड -GenericName[nl]=TDE's Configuratie Assistent -GenericName[nn]=Vegvisar for skrivebordsoppsett -GenericName[nso]=Wizard ya Dipeakanyo tsa Desktop -GenericName[pa]=ਡੈਸਕਟਾਪ ਸੈਟਿੰਗ ਸਹਾਇਕ -GenericName[pl]=Asystent ustawień środowiska -GenericName[pt]=Assistente de Configuração do Ambiente de Trabalho -GenericName[pt_BR]=Assistente de Configurações para a Área de Trabalho -GenericName[ro]=Expert de setare TDE -GenericName[ru]=Мастер настройки рабочего стола -GenericName[rw]=Inyobora y'Amagenamiterere y'Ibiro -GenericName[se]=Heivehanofelaš čállinbeavddi várás -GenericName[sk]=Sprievodca nastavením plochy -GenericName[sl]=Čarovnik za nastavitve namizja -GenericName[sr]=Чаробњак за подешавање радне површине -GenericName[sr@Latn]=Čarobnjak za podešavanje radne površine -GenericName[sv]=Guide för skrivbordsinställningar -GenericName[ta]=மேல்மேசை அமைப்புகள் பகுதி -GenericName[te]=రంగస్థల అమరికల విజార్డ్ -GenericName[tg]=Танзими устоди мизи корӣ -GenericName[th]=ช่วยตั้งค่าพื้นที่หน้าจอ -GenericName[tr]=Masaüstü Ayarları Sihirbazı -GenericName[tt]=Östäl Caylaw Xikmätçese -GenericName[uk]=Майстер параметрів стільниці -GenericName[uz]=Ish stolini moslash uchun yordamchi -GenericName[uz@cyrillic]=Иш столини мослаш учун ёрдамчи -GenericName[ven]=Wizadi ya mavhekanyele a desikithopo -GenericName[vi]=Trình giúp Thiết lập Màn hình nền -GenericName[wa]=Macrea des apontiaedjes do scribanne -GenericName[xh]=Wizard Yezicwangciso ze Desktop -GenericName[zh_CN]=桌面设置向导 -GenericName[zh_TW]=桌面設定精靈 -GenericName[zu]=I-Wizard yezilungiselelo ze-Desktop + X-TDE-autostart-after=kdesktop X-TDE-autostart-condition=kpersonalizerrc:General:FirstLogin:true X-DCOP-ServiceType=Multi -- cgit v1.2.1