diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 18:30:12 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-17 02:50:29 +0200 |
commit | 7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch) | |
tree | 0192394f73f297cd56aa972df31bf8bfc07a71d3 /kbugbuster | |
parent | 29e1ae5e34974950ff7965b1522db70b4ff273dc (diff) | |
download | tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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 'kbugbuster')
-rw-r--r-- | kbugbuster/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kbugbuster/CMakeLists.txt | 6 | ||||
-rw-r--r-- | kbugbuster/kbugbuster.desktop | 74 | ||||
-rw-r--r-- | kbugbuster/tderesources/CMakeLists.txt | 8 | ||||
-rw-r--r-- | kbugbuster/tderesources/bugzilla.desktop | 42 |
5 files changed, 21 insertions, 115 deletions
diff --git a/kbugbuster/CMakeL10n.txt b/kbugbuster/CMakeL10n.txt index 4219f824..71d2a0d9 100644 --- a/kbugbuster/CMakeL10n.txt +++ b/kbugbuster/CMakeL10n.txt @@ -3,3 +3,9 @@ tde_l10n_create_template( "kbugbuster" ) tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/kbugbuster-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kbugbuster/CMakeLists.txt b/kbugbuster/CMakeLists.txt index a63fbcb5..1cbb7a5c 100644 --- a/kbugbuster/CMakeLists.txt +++ b/kbugbuster/CMakeLists.txt @@ -30,7 +30,11 @@ link_directories( ##### other data ################################ tde_install_icons( kbugbuster ) -install( FILES kbugbuster.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + +tde_create_translated_desktop( + SOURCE kbugbuster.desktop + PO_DIR kbugbuster-desktops +) ##### kbugbuster (executable) ################### diff --git a/kbugbuster/kbugbuster.desktop b/kbugbuster/kbugbuster.desktop index 0f326446..9413ba30 100644 --- a/kbugbuster/kbugbuster.desktop +++ b/kbugbuster/kbugbuster.desktop @@ -1,77 +1,11 @@ [Desktop Entry] +Name=KBugBuster + +GenericName=TDE Bug Management + Type=Application Exec=kbugbuster -caption "%c" %i %m Icon=kbugbuster X-DocPath=kbugbuster/index.html -GenericName=TDE Bug Management -GenericName[af]=TDE Fout Bestuuring -GenericName[bg]=Управление на грешки - TDE -GenericName[bs]=TDE upravljanje bugovima -GenericName[ca]=Gestió d'errors a TDE -GenericName[cs]=Správa chyb TDE -GenericName[cy]=Rheolaeth Namau TDE -GenericName[da]=TDE Fejlretningshåndtering -GenericName[de]=TDE-Programmfehler-Verwaltung -GenericName[el]=Διαχείριση σφαλμάτων του TDE -GenericName[eo]=TDE-Eraroadministrado -GenericName[es]=Administración de errores de TDE -GenericName[et]=TDE veahaldusprogramm -GenericName[eu]=TDE programa-errore kudeaketa -GenericName[fa]=مدیریت اشکال TDE -GenericName[fi]=TDE:n vianhallinta -GenericName[fo]=TDE-villuhandfaring -GenericName[fr]=Outil de gestion de bogues pour TDE -GenericName[ga]=Bainisteoireacht Fabhtanna TDE -GenericName[gl]=Xestión de erros para TDE -GenericName[he]=ניהול של באגים ב-TDE -GenericName[hi]=केडीई बग प्रबंधक -GenericName[hr]=TDE upravljanje bugovima -GenericName[hu]=TDE hibakezelő -GenericName[is]=TDE villustjórnun -GenericName[it]=Gestione bug di TDE -GenericName[ja]=TDE バグマネージメント -GenericName[ka]=TDE ბზიკთა მართვა -GenericName[kk]=TDE қателерді басқару -GenericName[lt]=TDE ydų tvarkymas -GenericName[lv]=TDE Kļūdu Pārvalde -GenericName[ms]=Pengurusan Pepijat TDE -GenericName[nb]=TDE-feilhåndtering -GenericName[nds]=TDE-Programmfehler-Pleeg -GenericName[ne]=केडीई बग प्रबन्धक -GenericName[nl]=TDE-bugs beheren -GenericName[nn]=TDE-feilhandtering -GenericName[pa]=TDE ਬੱਗ ਪਰਬੰਧਨ -GenericName[pl]=Zarządzanie błędami w TDE -GenericName[pt]=Gestão de Erros do TDE -GenericName[pt_BR]=Gerenciamento de Erros do TDE -GenericName[ro]=Utilitar de administrarea a erorilor din TDE -GenericName[ru]=Отслеживание ошибок -GenericName[sk]=Správa chýb TDE -GenericName[sl]=Upravljanje s hrošči v TDE -GenericName[sr]=TDE-ово управљање грешкама -GenericName[sr@Latn]=TDE-ovo upravljanje greškama -GenericName[sv]=Verktyg för TDE-felhantering -GenericName[ta]= TDE பக் மேனேஜ்மென்ட் -GenericName[tg]=Утилитаи идоракунии хатогиҳо -GenericName[th]=เครื่องมือจัดการบักสำหรับ TDE -GenericName[tr]=TDE Hata Ayıklayıcı -GenericName[uk]=Керування вадами TDE -GenericName[ven]=Malangulele a Bug a TDE -GenericName[vi]=Trình quản lí bug TDE -GenericName[xh]=Umxholo Wokuxoxwa We TDE -GenericName[zh_CN]=TDE 除错管理 -GenericName[zh_TW]=TDE 臭蟲管理 -GenericName[zu]=TDE Ukuphathwa Kwegciwane Terminal=false -Name=KBugBuster -Name[af]=K-fout-buster -Name[cy]=KNamWasgydd -Name[eo]=Eraroĉasilo -Name[hi]=के-बग-बस्टर -Name[lv]=KKļūduMednieks -Name[pl]=Przeglądarka bazy błędów -Name[sv]=Kbugbuster -Name[ta]= Kபக்பஸ்டர் -Name[th]=บักบัสเตอร์ -Name[ven]=Mupandeli wa Baga wa K Categories=Qt;TDE;Development; diff --git a/kbugbuster/tderesources/CMakeLists.txt b/kbugbuster/tderesources/CMakeLists.txt index c3008292..20ae1f4c 100644 --- a/kbugbuster/tderesources/CMakeLists.txt +++ b/kbugbuster/tderesources/CMakeLists.txt @@ -27,9 +27,11 @@ link_directories( ##### other data ################################ -install( FILES - bugzilla.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal ) +tde_create_translated_desktop( + SOURCE bugzilla.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal + PO_DIR kbugbuster-desktops +) ##### kcal_bugzilla (module) #################### diff --git a/kbugbuster/tderesources/bugzilla.desktop b/kbugbuster/tderesources/bugzilla.desktop index d419e010..dd084d6b 100644 --- a/kbugbuster/tderesources/bugzilla.desktop +++ b/kbugbuster/tderesources/bugzilla.desktop @@ -1,46 +1,6 @@ [Desktop Entry] Name=Bugzilla To-do List -Name[bg]=Задачи (Bugzilla) -Name[ca]=Llista de pendents de Bugzilla -Name[cs]=Seznam úkolů (Bugzilla) -Name[da]=Bugzilla gøremålsliste -Name[de]=Bugzilla Todo-Liste -Name[el]=Προς υλοποίηση λίστα του Bugzilla -Name[es]=Listado de tareas pendientes de BugZilla -Name[et]=Bugzilla ülesannete nimekiri -Name[eu]=Bugzilla-ren egiteke zerrenda -Name[fa]=فهرست کار انجامی Bugzilla -Name[fi]=Bugzilla-tehtäväluettelo -Name[fr]=Liste de tâches de Bugzilla -Name[ga]=Tascliosta Bugzilla -Name[gl]=Lista de itens por facer de Bugzilla -Name[he]=רשימת מטלות של Bugzilla -Name[hu]=Bugzilla feladatlista -Name[is]=Bugzilla verklisti -Name[it]=Lista delle cosa da fare di Bugzilla -Name[ja]=BugzillaToDo リスト -Name[ka]=Bugzilla-ს დავალებათა სია -Name[kk]=Bugzilla To-do тізімі -Name[lt]=Bugzilla darbų sąrašas -Name[nb]=Bugzilla-huskeliste -Name[nds]=Bugzilla-Opgavenlist -Name[ne]=बगजिला गर्नुपर्ने कार्य सूची -Name[nl]=Bugzilla Todo-lijst -Name[nn]=Bugzilla-hugseliste -Name[pa]=ਬੱਗਜੀਲਾ ਕਰਨ ਸੂਚੀ -Name[pl]=Lista rzeczy do zrobienia w Bugzilli -Name[pt]=Lista de Itens Por-Fazer do Bugzilla -Name[pt_BR]=Lista de Itens Por-Fazer do Bugzilla -Name[ru]=Список TODO Bugzilla -Name[sk]=Zoznam úloh v Bugzille -Name[sl]=Seznam »za-narediti« v Bugzilli -Name[sr]=Листа послова Bugzilla-е -Name[sr@Latn]=Lista poslova Bugzilla-e -Name[sv]=Bugzilla uppgiftslista -Name[tr]=Bugzilla To-do Listesi -Name[uk]=Список завдань Bugzilla -Name[zh_CN]=Bugzilla 待办列表 -Name[zh_TW]=Bugzilla 待辦清單 + X-TDE-Library=kcal_bugzilla Type=Service X-TDE-ServiceTypes=TDEResources/Plugin |