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 /tdefile-plugins/ts | |
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 'tdefile-plugins/ts')
-rw-r--r-- | tdefile-plugins/ts/CMakeLists.txt | 7 | ||||
-rw-r--r-- | tdefile-plugins/ts/tdefile_ts.desktop | 49 |
2 files changed, 7 insertions, 49 deletions
diff --git a/tdefile-plugins/ts/CMakeLists.txt b/tdefile-plugins/ts/CMakeLists.txt index ff95bff9..4308bb46 100644 --- a/tdefile-plugins/ts/CMakeLists.txt +++ b/tdefile-plugins/ts/CMakeLists.txt @@ -22,8 +22,11 @@ link_directories( ##### other data ################################ -install( FILES tdefile_ts.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdefile_ts.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdefile-desktops +) ##### tdefile_ts (module) ######################### diff --git a/tdefile-plugins/ts/tdefile_ts.desktop b/tdefile-plugins/ts/tdefile_ts.desktop index 84b4f641..c5ef3c7d 100644 --- a/tdefile-plugins/ts/tdefile_ts.desktop +++ b/tdefile-plugins/ts/tdefile_ts.desktop @@ -1,52 +1,7 @@ [Desktop Entry] -Type=Service Name=Qt Linguist File Info -Name[bg]=Информация за файла Qt Linguist -Name[br]=Restr titouroù Qt Linguist -Name[bs]=Qt Linguist informacije o datoteci -Name[ca]=Informació fitxer de Qt Linguist -Name[cs]=Info o souboru Qt Linguist -Name[cy]=Gwybodaeth Ffeil Qt Linguist -Name[da]=Qt Linguist Fil-info -Name[de]=Qt Linguist-Dateiinfo -Name[el]=Πληροφορίες αρχείου Qt Linguist -Name[es]=Información de archivo de Qt Linguist -Name[et]=Qt Linguisti faili info -Name[eu]=Qt Linguist fitxategi informazioa -Name[fa]=اطلاعات پروندۀ زبانشناسQt -Name[fi]=Qt Linquist -tiedoston tiedot -Name[fr]=Fichier d'informations Qt Linguist -Name[ga]=Eolas faoi Chomhad Qt Linguist -Name[gl]=Información do Ficheiro de Qt Linguist -Name[hi]=क्यूटी लिंग्विस्ट फ़ाइल जानकारी -Name[hu]=Qt Linguist fájljellemzők -Name[is]=Qt Linguist skráarupplýsingar -Name[it]=Informazioni file per Qt Linguist -Name[ja]=Qt Linguist ファイル情報 -Name[ka]=Qt Linguist ფაილის ინფორმაცია -Name[kk]=Qt Linguist файл мәліметі -Name[lt]=Qt Linguist bylos informacija -Name[nb]=Informasjon om Qt Linguist-fil -Name[nds]=QtLinguist-Datei-Info -Name[ne]=Qt बहुभाषी फाइल सूचना -Name[nl]=Qt Linquïst-bestandsinformatie -Name[nn]=Informasjon om Qt Linguist-fil -Name[pa]=Qt Linguist ਫਾਇਲ ਜਾਣਕਾਰੀ -Name[pl]=Informacja pliku Qt Linguist -Name[pt]=Informação do Ficheiro do Qt Linguist -Name[pt_BR]=Arquivo de Informações de Lingüística do Qt -Name[ru]=Информация о файле в формате Qt Linguist -Name[sk]=Informácie pre Qt Linguist -Name[sl]=Informacije o Qt Linguist -Name[sr]=Информације о фајлу Qt Linguist-а -Name[sr@Latn]=Informacije o fajlu Qt Linguist-a -Name[sv]=Qt Linguist-filinformation -Name[ta]=Qt மொழியியல் கோப்புகள் தகவல் -Name[tg]=Ахборот дар бораи файл дар формати Qt Linguist -Name[tr]=Qt Dilbilimci Dosya Bilgisi -Name[uk]=інформація про файл формату Qt Linguist -Name[zh_CN]=Qt 语言大师文件信息 -Name[zh_TW]=Qt 語言檔資訊 + +Type=Service X-TDE-ServiceTypes=KFilePlugin X-TDE-Library=tdefile_ts MimeType=application/x-linguist |