diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-04 20:46:14 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-04 20:46:29 +0200 |
commit | 57044db780c3e39a8be3ecbd6ef8404ac9db9081 (patch) | |
tree | 3b58b34dc280d91c3389899279aa4e88c7256735 /misc | |
parent | 2d3dad2f473c17c2732bce3f88e1169aa9c28b89 (diff) | |
download | filelight-57044db780c3e39a8be3ecbd6ef8404ac9db9081.tar.gz filelight-57044db780c3e39a8be3ecbd6ef8404ac9db9081.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>
(cherry picked from commit 2a01ebba58913863a68f12848fedea27ef155ebc)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/CMakeLists.txt | 8 | ||||
-rw-r--r-- | misc/filelight.desktop | 27 | ||||
-rw-r--r-- | misc/filelight_part.desktop | 22 |
3 files changed, 6 insertions, 51 deletions
diff --git a/misc/CMakeLists.txt b/misc/CMakeLists.txt index 065943e..b61d753 100644 --- a/misc/CMakeLists.txt +++ b/misc/CMakeLists.txt @@ -5,12 +5,16 @@ tde_install_icons( ) ##### other data ################################ -install( FILES filelight_part.desktop +tde_create_translated_desktop( + SOURCE filelight_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files ) -install( FILES filelight.desktop +tde_create_translated_desktop( + SOURCE filelight.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files ) install( FILES filelightrc diff --git a/misc/filelight.desktop b/misc/filelight.desktop index 930a831..f95ecc0 100644 --- a/misc/filelight.desktop +++ b/misc/filelight.desktop @@ -1,38 +1,11 @@ [Desktop Entry] Encoding=UTF-8 Name=Filelight -Name[xx]=xxFilelightxx GenericName=Disk Usage Statistics Type=Application Exec=filelight %f Icon=filelight Comment=View disk usage information -Comment[bg]=Информация за използване на диска -Comment[cs]=Zobrazení využití disku -Comment[da]=Vis information om diskforbrug -Comment[de]=Zeigt Nutzungsinformationen der Festplatte an -Comment[el]=Προβολή πληροφοριών χρήσης δίσκου -Comment[es]=Ver información de la utilización del disco -Comment[et]=Kettakasutuse info vaade -Comment[fr]=Afficher des informations sur l'utilisation du disque -Comment[ga]=Amharc ar fhaisnéis maidir le húsáid diosca -Comment[gl]=Informazón do uso do disco -Comment[it]=Visualizza informazioni sull'uso dei dischi -Comment[ja]=ディスクの使用状況を見る -Comment[ka]=დისკის გამოყენების ინფორმაციის ხილვა -Comment[nb]=Vis informasjon om diskforbruk -Comment[nl]=Informatie over schijfgebruik -Comment[pa]=ਡਿਸਕ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ ਵੇਖੋ -Comment[pt]=Ver informações de utilização do disco -Comment[pt_BR]=Ver informações de utilização do disco -Comment[ru]=Нагладное представление файловой системы -Comment[sr]=Приказује податке о заузетости диска -Comment[sr@Latn]=Prikazuje podatke o zauzetosti diska -Comment[sv]=Visa information om diskanvändning -Comment[tr]=Disk kullanım bilgisini görmek için -Comment[uk]=Перегляд використання диска -Comment[xx]=xxView disk usage informationxx -Comment[zh_CN]=查看磁盘使用信息 Terminal=false MimeType=inode/directory Categories=Qt;TDE;Utility;X-TDE-Utilities-File; diff --git a/misc/filelight_part.desktop b/misc/filelight_part.desktop index cae8920..0eb00a6 100644 --- a/misc/filelight_part.desktop +++ b/misc/filelight_part.desktop @@ -1,28 +1,6 @@ [Desktop Entry] Encoding=UTF-8 Name=RadialMap View -Name[bg]=Изглед "радиална карта" -Name[cs]=Pohled s kruhovou mapou -Name[da]=Radialkort-visning -Name[de]=Radialansicht -Name[el]=Προβολή κυκλικού χάρτη -Name[es]=Vista en mapa radial -Name[et]=Radiaalse kaardi vaade -Name[gl]=Vista en Mapa Radial -Name[it]=Vista a mappa radiale -Name[ja]=放射状グラフ表示 -Name[ka]=RadialMap ხედი -Name[nb]=RadialMap-visning -Name[nl]=Radiale weergave -Name[pa]=RadialMap ਵੇਖੋ -Name[pt]=Vista em Mapa Radial -Name[pt_BR]=Visualização em Mapa Radial -Name[sr]=Приказ кружне мапе -Name[sr@Latn]=Prikaz kružne mape -Name[sv]=Radiell avbildningsvy -Name[tr]=RadyalHarita Görünümü -Name[uk]=Перегляд RadialMap -Name[xx]=xxRadialMap Viewxx MimeType=inode/directory X-TDE-ServiceTypes=KParts/ReadOnlyPart X-TDE-Library=libfilelight |