diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-30 17:49:31 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-30 17:49:49 +0200 |
commit | 692166b85cc1c3576cc87ecdc92ae83dbb6e2d83 (patch) | |
tree | 45a943494682319b31eae7927b3955e5229fb616 /src | |
parent | ed56145cd3547b96c048192cd34e6d6573e8c42b (diff) | |
download | knmap-692166b85cc1c3576cc87ecdc92ae83dbb6e2d83.tar.gz knmap-692166b85cc1c3576cc87ecdc92ae83dbb6e2d83.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 193377c524f58f2ae93489afb23b74c418e26fad)
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeL10n.txt | 5 | ||||
-rw-r--r-- | src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | src/knmap.desktop | 33 |
3 files changed, 6 insertions, 37 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index 2ded689..9fa6aeb 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -1,3 +1,8 @@ ##### create translation templates ############## tde_l10n_create_template( "messages/knmap" ) + +tde_l10n_create_template( + CATALOG "desktop_files/knmap.desktop/" + SOURCES knmap.desktop +) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bf1ca8a..c9681f5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,7 +62,4 @@ install( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${APPS_INSTALL_DIR}/Internet -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) diff --git a/src/knmap.desktop b/src/knmap.desktop index 4cd71e0..c1a83e4 100644 --- a/src/knmap.desktop +++ b/src/knmap.desktop @@ -1,43 +1,10 @@ [Desktop Entry] Encoding=UTF-8 Name=KNmap -Name[xx]=xxknmapxx Exec=knmap Icon=knmap Type=Application Comment=A simple TDE Application -Comment[br]=Ur meziant eeun evit TDE -Comment[ca]=Una aplicació TDE simple -Comment[da]=Et simpelt TDE program -Comment[de]=Eine einfache TDE-Anwendung -Comment[el]=Μια απλή εφαρμογή του TDE -Comment[es]=Una aplicación de TDE sencilla -Comment[et]=Lihtne TDE rakendus -Comment[eu]=TDE aplikazio simple bat -Comment[fr]=Une application simple pour TDE -Comment[ga]=Feidhmchlár Simplí TDE -Comment[hi]=एक सादा केडीई अनुप्रयोग -Comment[hu]=Egyszerű TDE-alkalmazás -Comment[is]=Einfalt TDE forrit -Comment[it]=Una semplice applicazione TDE -Comment[ja]=シンプルな TDE アプリケーション -Comment[nb]=Et enkelt TDE-program -Comment[nl]=Een eenvoudige TDE-toepassing -Comment[pl]=Prosty program TDE -Comment[pt]=Uma aplicação simples do TDE -Comment[pt_BR]=Um simples Aplicativo do TDE -Comment[ru]=Простое приложение TDE -Comment[sl]=Preprost program za TDE -Comment[sr]=Једноставан TDE програм -Comment[sr@Latn]=Jednostavan TDE program -Comment[sv]=Ett enkelt TDE-program -Comment[ta]=ஒரு சாதாரண கெடிஇ பயன்பாடு -Comment[tg]=Гузориши оддиTDE -Comment[tr]=Basit bir TDE Uygulaması -Comment[uk]=Проста програма TDE -Comment[xx]=xxA simple TDE Applicationxx -Comment[zh_CN]=一个简单的 TDE 应用程序 GenericName=Nmap Graphical User Interface -GenericName[fr]=Interface Graphique pour nmap Categories=Qt;TDE;Network; X-DocPath=knmap/index.html |