summaryrefslogtreecommitdiffstats
path: root/kodo
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-14 15:26:41 +0200
committerSlávek Banko <[email protected]>2020-05-14 15:26:41 +0200
commit094853ca31a9dc5e619b0951953d4dc862a99e25 (patch)
tree1d5cf4fca876d27b913dbf3afe5a212a91b2b681 /kodo
parentcbaa57c4db0b5723b68ff5e719d8d965b7f34ec2 (diff)
downloadtdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.tar.gz
tdetoys-094853ca31a9dc5e619b0951953d4dc862a99e25.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 <[email protected]>
Diffstat (limited to 'kodo')
-rw-r--r--kodo/CMakeL10n.txt6
-rw-r--r--kodo/CMakeLists.txt5
-rw-r--r--kodo/kodo.desktop52
3 files changed, 7 insertions, 56 deletions
diff --git a/kodo/CMakeL10n.txt b/kodo/CMakeL10n.txt
index 14cdaef..83b5f14 100644
--- a/kodo/CMakeL10n.txt
+++ b/kodo/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kodo" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kodo.desktop/"
+ SOURCES kodo.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kodo/CMakeLists.txt b/kodo/CMakeLists.txt
index e2d329c..2c1d079 100644
--- a/kodo/CMakeLists.txt
+++ b/kodo/CMakeLists.txt
@@ -42,7 +42,4 @@ install( FILES numbers.png
DESTINATION ${DATA_INSTALL_DIR}/kodo
)
-install( FILES kodo.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
-
+tde_create_translated_desktop( kodo.desktop )
diff --git a/kodo/kodo.desktop b/kodo/kodo.desktop
index 85870da..c6d8b74 100644
--- a/kodo/kodo.desktop
+++ b/kodo/kodo.desktop
@@ -5,60 +5,8 @@ Icon=kodo
X-DocPath=kodo/index.html
GenericName=Mouse Odometer
-GenericName[be]=Мышыны адоматр
-GenericName[bg]=Одометър за мишката
-GenericName[bn]=মাউসের গতিমাপক যন্ত্র
-GenericName[ca]=Ratometratge
-GenericName[cs]=Rychlost myši
-GenericName[cy]=Camfesurydd Llygoden
-GenericName[da]=Musehastighedsmåler
-GenericName[de]=Entfernungsmesser für die Maus
-GenericName[el]=Χιλιομετρομετρητής ποντικιού
-GenericName[eo]=Musomezurilo
-GenericName[es]=Odómetro del ratón
-GenericName[et]=Hiire odomeeter
-GenericName[eu]=Mouspedometa
-GenericName[fa]=کیلومترشمار موشی
-GenericName[fi]=Hiirimittari
-GenericName[fr]=Odomètre pour souris
-GenericName[ga]=Odaiméadar Luiche
-GenericName[gl]=Odómetro
-GenericName[he]=מד־מרחק העכבר
-GenericName[hr]=Brojač prijeđenog puta miša
-GenericName[hu]=Egérmozgás-figyelő
-GenericName[is]=Músametrateljari
-GenericName[it]=Contachilometri mouse
-GenericName[ja]=マウス走行計
-GenericName[km]=Odometer កណ្ដុរ
-GenericName[ko]=마우스 거리 측정 도구
-GenericName[lv]=Peles odometrs
-GenericName[mk]=Километража на глушецот
-GenericName[mt]=Odometru tal-maws
-GenericName[nb]=Muselengdemåler
-GenericName[nds]=Muus-Wegmeter
-GenericName[ne]=माउस ओडोमिटर
-GenericName[nl]=Muismeter
-GenericName[nn]=Musefartsmålar
-GenericName[pa]=ਮਾਊਂਸ ਓਡੋਮੀਟਰ
-GenericName[pl]=Licznik przebiegu dla myszki
-GenericName[pt]=Ratómetro
-GenericName[pt_BR]=Odômetro Para o Mouse
-GenericName[ro]=Mouse-metru
-GenericName[ru]=Мышеспидометр
-GenericName[sk]=Merač myši
-GenericName[sl]=Miškomer
-GenericName[sr]=Мишометар
-GenericName[sr@Latn]=Mišometar
-GenericName[sv]=Vägmätaren
-GenericName[ta]=சுட்டி ஓட்ட அளவி
-GenericName[tg]=Спидометри Муш
-GenericName[tr]=Fare Mesafe Ölçer
-GenericName[uk]=Одометр для мишки
-GenericName[zh_CN]=鼠标里程计
-GenericName[zh_TW]=滑鼠里程表
Name=Kodo
-Name[tg]=Кодо
Terminal=false
X-TDE-StartupNotify=true