summaryrefslogtreecommitdiffstats
path: root/cervisia
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-16 18:30:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-17 02:50:29 +0200
commit7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch)
tree0192394f73f297cd56aa972df31bf8bfc07a71d3 /cervisia
parent29e1ae5e34974950ff7965b1522db70b4ff273dc (diff)
downloadtdesdk-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 'cervisia')
-rw-r--r--cervisia/CMakeL10n.txt12
-rw-r--r--cervisia/CMakeLists.txt20
-rw-r--r--cervisia/cervisia.desktop64
-rw-r--r--cervisia/cvsservice/CMakeLists.txt8
-rw-r--r--cervisia/cvsservice/cvsservice.desktop72
-rw-r--r--cervisia/eventsrc80
6 files changed, 38 insertions, 218 deletions
diff --git a/cervisia/CMakeL10n.txt b/cervisia/CMakeL10n.txt
index b914db0f..8c25f027 100644
--- a/cervisia/CMakeL10n.txt
+++ b/cervisia/CMakeL10n.txt
@@ -6,3 +6,15 @@ tde_l10n_create_template(
)
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/cervisia-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/cervisia-eventsrc/"
+ SOURCES eventsrc
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/cervisia/CMakeLists.txt b/cervisia/CMakeLists.txt
index 8dc6e248..9b320309 100644
--- a/cervisia/CMakeLists.txt
+++ b/cervisia/CMakeLists.txt
@@ -32,9 +32,10 @@ link_directories(
tde_install_icons( )
-install( FILES
- cervisia.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE cervisia.desktop
+ PO_DIR cervisia-desktops
+)
install( FILES
cervisiapart.kcfg
@@ -44,9 +45,16 @@ install( FILES
cervisiaui.rc
DESTINATION ${DATA_INSTALL_DIR}/cervisiapart )
-install( FILES
- cervisiashellui.rc eventsrc
- DESTINATION ${DATA_INSTALL_DIR}/cervisia )
+install(
+ FILES cervisiashellui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/cervisia
+)
+
+tde_create_translated_desktop(
+ SOURCE eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/cervisia
+ PO_DIR cervisia-eventsrc
+)
install( FILES
cervisia.upd
diff --git a/cervisia/cervisia.desktop b/cervisia/cervisia.desktop
index 8e9f6b64..5a8435f5 100644
--- a/cervisia/cervisia.desktop
+++ b/cervisia/cervisia.desktop
@@ -1,74 +1,16 @@
[Desktop Entry]
+Name=Cervisia
+
GenericName=CVS Frontend
-GenericName[af]=Cvs Voorprogram
-GenericName[az]=CVS Ara Üzü
-GenericName[bg]=Програма за CVS
-GenericName[ca]=Programa de CVS
-GenericName[cs]=Rozhraní pro CVS
-GenericName[cy]=Ochr Blaen CVS
-GenericName[da]=CVS-grænseflade
-GenericName[de]=Graphische Oberfläche für CVS
-GenericName[eo]=Fasado por la versioadministrilo "CVS"
-GenericName[es]=Interfaz CVS
-GenericName[et]=CVSi kasutajaliides
-GenericName[eu]=CVS interfazea
-GenericName[fa]=پایانۀ CVS
-GenericName[fi]=Käyttöliittymä CVS:lle
-GenericName[fr]=Interface graphique pour CVS
-GenericName[ga]=Comhéadan ar CVS
-GenericName[gl]=Interface para CVS
-GenericName[he]=ממשק CVS
-GenericName[hi]=सीवीएस फ्रन्टएण्ड
-GenericName[hr]=CVS sučelje
-GenericName[hu]=CVS-kliens
-GenericName[is]=Myndrænt viðmót á CVS
-GenericName[it]=Interfaccia CVS
-GenericName[ja]=CVS フロントエンド
-GenericName[kk]=CVS интерфейсі
-GenericName[lt]=CVS naudotojo sąsaja
-GenericName[lv]=CVS Frontends
-GenericName[ms]=Bahagian Depan CVS
-GenericName[nb]=CVS-grensesnitt
-GenericName[nds]=CVS-Böversiet
-GenericName[ne]=CVS फ्रन्टइन्ड
-GenericName[nl]=CVS-hulpprogramma
-GenericName[nn]=CVS-grensesnitt
-GenericName[pa]=CVS ਮੁੱਖ ਝਲਕ
-GenericName[pl]=Interfejs do CVS
-GenericName[pt]=Interface de CVS
-GenericName[pt_BR]=Interface para o CVS
-GenericName[ro]=Interfaţă grafică pentru CVS
-GenericName[ru]=Работа с репозиториями CVS
-GenericName[sk]=Rozhranie pre CVS
-GenericName[sl]=Vmesnik CVS
-GenericName[sr]=Графички интерфејс за CVS
-GenericName[sr@Latn]=Grafički interfejs za CVS
-GenericName[sv]=CVS-gränssnitt
-GenericName[ta]=CVS முன்பகுதி
-GenericName[tg]=Интерфейс ба CVS
-GenericName[th]=ฟร้อนต์เอนด์ CVS
-GenericName[tr]=CVS Önyüzü
-GenericName[uk]=Інтерфейс до CVS
-GenericName[ven]=CVS yo iswa phanda
-GenericName[xh]=CVS Isiqalo sesiphelo
-GenericName[zh_CN]=CVS 前端
-GenericName[zh_TW]=CVS 前端
-GenericName[zu]=CVSIsiqalo sokugcina
+
Exec=cervisia -caption "%c" %i %m %u
-Path=
Icon=cervisia
X-DocPath=cervisia/index.html
Type=Application
Terminal=false
MimeType=inode/directory;
-Name=Cervisia
-Name[hi]=सर्विसिया
-Name[pa]=ਸਰਵੀਸੀਆ
-Name[ta]= செர்வியா
-Name[th]=เซอร์วิเซีย
X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View
X-TDE-Library=libcervisiapart
X-TDE-BrowserView-Args=DetailedList
-
X-DCOP-ServiceType=Multi
Categories=Qt;TDE;Development;
diff --git a/cervisia/cvsservice/CMakeLists.txt b/cervisia/cvsservice/CMakeLists.txt
index 282b86f4..96f9cfdc 100644
--- a/cervisia/cvsservice/CMakeLists.txt
+++ b/cervisia/cvsservice/CMakeLists.txt
@@ -31,9 +31,11 @@ install( FILES
##### other data ################################
-install( FILES
- cvsservice.desktop
- DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE cvsservice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR cervisia-desktops
+)
##### cvsservice (shared) #######################
diff --git a/cervisia/cvsservice/cvsservice.desktop b/cervisia/cvsservice/cvsservice.desktop
index 7442e73b..165dee11 100644
--- a/cervisia/cvsservice/cvsservice.desktop
+++ b/cervisia/cvsservice/cvsservice.desktop
@@ -1,73 +1,9 @@
[Desktop Entry]
-Type=Service
Name=CvsService
-Name[br]=Servij Cvs
-Name[bs]=CvsServis
-Name[ca]=Servei de CVS
-Name[cs]=CVS služba
-Name[cy]=GwasanaethCVS
-Name[de]=CVS-Dienst
-Name[el]=Cvs υπηρεσία
-Name[eo]=CvsServo
-Name[es]=Servicio CVS
-Name[et]=CVS teenus
-Name[fi]=Cvs-palvelu
-Name[gl]=Servizo CVS
-Name[hi]=सीवीएस-सर्विस
-Name[hu]=CVS szolgáltatás
-Name[it]=Servizio CVS
-Name[ja]=CVS サービス
-Name[lt]=CvsTarnyba
-Name[nds]=CVS-Deenst
-Name[pt_BR]=ServiçoCVS
-Name[sv]=CVS-tjänst
-Name[ta]=Cvsசேவை
-Name[tg]=ҲизматиCvs
-Name[zh_TW]=CVS 服務
+
+Comment=A DCOP service that provides an interface to cvs
+
+Type=Service
Exec=cvsservice
X-DCOP-ServiceType=Multi
X-TDE-StartupNotify=false
-Comment=A DCOP service that provides an interface to cvs
-Comment[bg]=Услуга на DCOP, която предлага интерфейс към CVS
-Comment[bs]=DCOP servis koji pruža interfejs na CVS
-Comment[ca]=Un servei DCOP que proporciona una interfície per al cvs
-Comment[cs]=DCOP služba poskytující rozhraní k CVS
-Comment[cy]=Gwasanaeth DCOP sy'n darparu rhyngwyneb i cvs
-Comment[da]=En DCOP-tjeneste der sørger for en CVS-grænseflade
-Comment[de]=Ein DCOP-Dienst, der eine Schnittstelle zu CVS bereitstellt
-Comment[el]=Μια υπηρεσία DCOP που προσφέρει ένα περιβάλλον χρήσης για το cvs
-Comment[es]=Un servicio DCOP que proporciona una interfaz para cvs
-Comment[et]=CVSi DCOP liidese teenus
-Comment[eu]=cvs-rako interfazea eskeintzen duen DCOP zerbitzua
-Comment[fa]=خدمت DCOP که واسطی را برای cvs فراهم می‌کند
-Comment[fi]=DCOP-palvelu, joka tarjoaa rajapinnan cvs:lle
-Comment[fr]=Un service DCOP qui fournit une interface à CVS
-Comment[gl]=Un servizo de DCOP que fornece unha interface para CVS
-Comment[hi]=एक डीकॉप सर्विस जो सीवीएस को इंटरफेस प्रदान करता है
-Comment[hu]=DCOP-alapú szolgáltatás a CVS eléréséhez
-Comment[is]=DCOP þjónusta sem veitir viðmót á cvs
-Comment[it]=Un servizio DCOP che fornisce un'interfaccia a cvs
-Comment[ja]=CVS インターフェースを提供する DCOP サービス
-Comment[ka]=DCOP სერვისი, რომელიც cvs-ს ინტერფეისს შეიცავს
-Comment[kk]=CVS интерфейсін қамтамасыз ететін DCOP қызметі
-Comment[lt]=DCOP tarnyba, pateikianti cvs sąsają
-Comment[nb]=En DCOP-tjeneste som tilbyr et grensesnitt mot cvs
-Comment[nds]=En DCOP-Deenst, wat en Koppelsteed na CVS praatstellt
-Comment[ne]=cvs मा इन्टरफेस उपलब्ध गर्ने एउटा डीसीओपी कार्य
-Comment[nl]=Een DCOP-dienst die een interface naar cvs biedt
-Comment[nn]=Ei DCOP-teneste som tilbyr eit grensesnitt mot CVS
-Comment[pl]=Usługa DCOP pozwalająca na dostęp do CVS
-Comment[pt]=Um serviço de DCOP que oferece uma interface para o CVS
-Comment[pt_BR]=Um serviço DCOP que provê uma interface para o cvs
-Comment[ru]=Сервис DCOP для интерфейса с cvs
-Comment[sk]=Služba DCOP pre prístup k CVS
-Comment[sl]=Storitev DCOP, ki omogoča vmesnik do CVS
-Comment[sr]=DCOP сервис који пружа интерфејс за CVS
-Comment[sr@Latn]=DCOP servis koji pruža interfejs za CVS
-Comment[sv]=DCOP-tjänst som tillhandahåller ett gränssnitt till CVS
-Comment[ta]=ஒரு cvsக்கு ஒரு இடைமுகத்தினை அளிக்கக்கூடிய DCOPசேவை
-Comment[tg]=Хизмати DCOP барои интерфейс бо cvs
-Comment[tr]= CVS'ye arayüz sağlayan bir DCOP Servisi
-Comment[uk]=Служба DCOP, яка надає інтерфейс до cvs
-Comment[zh_CN]=提供 CVS 接口的 DCOP 服务
-Comment[zh_TW]=提供 cvs 介面的 DCOP 服務
diff --git a/cervisia/eventsrc b/cervisia/eventsrc
index cc88f561..76b3674d 100644
--- a/cervisia/eventsrc
+++ b/cervisia/eventsrc
@@ -4,85 +4,5 @@ Comment=Cervisia
[cvs_commit_done]
Name=CVS commit job done
-Name[bg]=Изпращането в CVS е завършено
-Name[ca]=Entrega al CVS completada
-Name[cs]=CVS commit úloha dokončena
-Name[da]=CVS-indsending udført
-Name[de]=CVS-Einspielvorgang ausgeführt
-Name[el]=Έγινε η εργασία καταχώρησης CVS
-Name[es]=Entrega al CVS completada
-Name[et]=CVS sissekanne tehtud
-Name[eu]=CVS aldaketak egin dira
-Name[fa]=کار تصدیق CVS انجام شد
-Name[fi]=CVS-toimitustyö tehty
-Name[fr]=Validation CVS effectuée
-Name[ga]=Athruithe curtha i bhfeidhm ag CVS
-Name[gl]=Entrega CVS finalizada
-Name[hu]=CVS commit művelet kész
-Name[is]=CVS innsetningu lokið
-Name[it]=Processo di consegna a CVS eseguito
-Name[ja]=CVS コミットは終了しました。
-Name[ka]=CVS შესრულებული დავალება შესრულდა
-Name[kk]=CVS тапсыру жұмысын аяқтады
-Name[lt]=CVS įkėlimo veiksmas atliktas
-Name[nb]=CVS-innmeldingsjobb er gjort
-Name[nds]=CVS-Inspeelopgaav is fardig
-Name[ne]=CVS commit कार्य समाप्त
-Name[nl]=CVS vastleggen (commit) voltooid
-Name[nn]=CVS-innmeldingsjobb er gjort
-Name[pa]=CVS ਕਮਿਟ ਕੰਮ ਮੁਕੰਮਲ
-Name[pl]=Wysyłanie do repozytorium CVS zakończone
-Name[pt]=Trabalho de 'commit' de CVS terminado
-Name[pt_BR]=Trabalho de envio para o CVS feito
-Name[ru]=CVS Commit выполнен
-Name[sk]=CVS potvrdzujúca úloha ukončená
-Name[sl]=Opravilo udejanjanja v CVS končano
-Name[sr]=CVS предаја завршена
-Name[sr@Latn]=CVS predaja završena
-Name[sv]=CVS-arkiveringsjobb klart
-Name[tr]=CVS teslim etme işi tamamlandı
-Name[uk]=Завдання передачі CVS виконане
-Name[zh_CN]=CVS 提交任务已完成
-Name[zh_TW]=CVS 提交工作完成
Comment=A CVS commit job is done
-Comment[bg]=Изпращането в CVS е завършено
-Comment[ca]=S'ha completat una entrega al CVS
-Comment[cs]=CVS commit úloha je dokončena
-Comment[da]=En CVS-indsending er udført
-Comment[de]=Ein CVS-Einspielvorgang wurde ausgeführt
-Comment[el]=Μια εργασία καταχώρησης CVS έγινε
-Comment[es]=Se ha completado una entrega al CVS
-Comment[et]=CVS sissekanne tehtud
-Comment[eu]=CVS aldaketa egin da
-Comment[fa]=کار تصدیق CVS انجام می‌شود.
-Comment[fi]=CVS-toimitustyö on tehty
-Comment[fr]=Une validation CVS a été effectué
-Comment[ga]=Athruithe curtha i bhfeidhm ag CVS
-Comment[gl]=Unha entrega CVS finalizou
-Comment[hu]=Egy CVS commit művelet sikeresen befejeződött
-Comment[is]=CVS innsetningu lokið
-Comment[it]=Un processo di deposito su CVS è stato eseguito
-Comment[ja]=CVS コミットは終了しました。
-Comment[ka]=CVS შესრულებული დავალება შესრულდა
-Comment[kk]=CVS тапсыру жұмысы аяқталды
-Comment[lt]=CVS įkėlimo veiksmas atliktas
-Comment[nb]=En CVS-innmeldingsjobb er utført
-Comment[nds]=En CVS-Inspeelopgaav is fardig
-Comment[ne]=CVS commit कार्य समाप्त भएको छ
-Comment[nl]=Het vastleggen in CVS (commit) is voltooid
-Comment[nn]=Ein CVS-innmeldingsjobb er gjort
-Comment[pa]=ਇੱਕ CVS ਕਮਿਟ ਕੰਮ ਖਤਮ ਹੋਇਆ
-Comment[pl]=Wysyłanie do repozytorium CVS zostało zakończone
-Comment[pt]=Um trabalho de 'commit' de CVS terminou
-Comment[pt_BR]=Um trabalho de envio para o CVS foi feito
-Comment[ru]=CVS Commit выполнен
-Comment[sk]=CVS potvrdzujúca úloha ukončená
-Comment[sl]=Opravilo udejanjanja v CVS je končano
-Comment[sr]=Посао CVS предаје је завршен
-Comment[sr@Latn]=Posao CVS predaje je završen
-Comment[sv]=Ett CVS-arkiveringsjobb är klart
-Comment[tr]=Bir CVS teslim etme işi tamamlandı
-Comment[uk]=Завдання передачі CVS виконане
-Comment[zh_CN]=CVS 提交任务已完成
-Comment[zh_TW]=CVS 提交工作完成
default_presentation=0