summaryrefslogtreecommitdiffstats
path: root/kooka
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
committerSlávek Banko <[email protected]>2020-06-09 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kooka
parent766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff)
downloadtdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz
tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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]> (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'kooka')
-rw-r--r--kooka/CMakeL10n.txt6
-rw-r--r--kooka/CMakeLists.txt2
-rw-r--r--kooka/kooka.desktop66
3 files changed, 7 insertions, 67 deletions
diff --git a/kooka/CMakeL10n.txt b/kooka/CMakeL10n.txt
index ab6ede2b..19ec78c2 100644
--- a/kooka/CMakeL10n.txt
+++ b/kooka/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kooka" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kooka.desktop/"
+ SOURCES kooka.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kooka/CMakeLists.txt b/kooka/CMakeLists.txt
index 24e3e091..e2fdcb00 100644
--- a/kooka/CMakeLists.txt
+++ b/kooka/CMakeLists.txt
@@ -28,7 +28,7 @@ link_directories(
##### other data ################################
-install( FILES kooka.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( kooka.desktop )
install( FILES kookarc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES kookaui.rc DESTINATION ${DATA_INSTALL_DIR}/kooka )
diff --git a/kooka/kooka.desktop b/kooka/kooka.desktop
index 24552df2..dcb82d0a 100644
--- a/kooka/kooka.desktop
+++ b/kooka/kooka.desktop
@@ -6,73 +6,7 @@ Path=
Terminal=false
X-DocPath=kooka/index.html
GenericName=Scan & OCR Program
-GenericName[af]=Skandeer & Optiese karakter herkenning Program
-GenericName[ar]=برنامج للمسح الضوئي
-GenericName[bg]=Сканиране
-GenericName[bs]=Program za skeniranje i OCR
-GenericName[ca]=Programa d'escaneig i OCR
-GenericName[cs]=Program pro skenování a OCR
-GenericName[cy]=Rhaglen Sganio ac OCR
-GenericName[da]=Skanne- & OCR-program
-GenericName[de]=Scan- und OCR-Programm
-GenericName[el]=Πρόγραμμα Σάρωσης & OCR
-GenericName[eo]=Bildbitiga programo kaj tekstrekono
-GenericName[es]=OCR y explorador con un escáner
-GenericName[et]=Skaneerimise ja OMT rakendus
-GenericName[eu]=Eskaneatzeko eta OCR programa
-GenericName[fa]=پویش و برنامۀ OCR
-GenericName[fi]=Skannaus- ja tekstintunnistusohjelma
-GenericName[fr]=Numérisation et reconnaissance de caractères
-GenericName[gl]=Programa para escanear e facer OCR
-GenericName[he]=תוכנית סריקה וזיהוי תווים אופטי
-GenericName[hi]=स्कैन व ऑप्टिकल कैरेक्टर रिकॉग्नीशन प्रोग्राम (OCR)
-GenericName[hr]=Program za skaniranje i OCR
-GenericName[hu]=Lapolvasó
-GenericName[is]=Forrit til að skanna inn myndir
-GenericName[it]=Programma di scansione e OCR
-GenericName[ja]=スキャン & OCR プログラム
-GenericName[kk]=Сканерге түсіру және танып-талдау
-GenericName[km]=កម្មវិធី​ស្កេន & OCR
-GenericName[lt]=Skanavimo ir teksto atpažinimo programa
-GenericName[lv]=Skanēšanas un OCR Programma
-GenericName[ms]=Program Imbas & OCR
-GenericName[nb]=Et skanne-og OCR-program
-GenericName[nds]=Inlees- un OTR-Programm
-GenericName[ne]=स्क्यान र OCR कार्यक्रम
-GenericName[nl]=Scan- en OCR-programma
-GenericName[nn]=Skanne- og tekstattkjenningsprogram
-GenericName[pl]=Program do skanowania i rozpoznawania pisma
-GenericName[pt]=Programa de Digitalização e OCR
-GenericName[pt_BR]=Um programa de Digitalização & OCR
-GenericName[ro]=Scanare imagini şi OCR
-GenericName[ru]=Сканирование и распознавание текста
-GenericName[sk]=Skenovací program s OCR
-GenericName[sl]=Program za skeniranje in prepoznavanje znakov
-GenericName[sr]=Програм за скенирање и препознавање текста
-GenericName[sr@Latn]=Program za skeniranje i prepoznavanje teksta
-GenericName[sv]=Bildläsar- och OCR-program
-GenericName[ta]=வருடு & OCR நிரலி
-GenericName[tg]=Барномаи сканеронӣ ва шиносоии матн
-GenericName[th]=โปรแกรมสแกนภาพและ OCR
-GenericName[tr]=Tarayıcı ve karakter tanıma programı
-GenericName[uk]=Програма сканування та розпізнавання символів
-GenericName[ven]=U nanga & Mbekanyamushumo ya OCR
-GenericName[wa]=Programe di scanaedje eyet di ricnoxhance di tecse
-GenericName[xh]=Udweliso Lwenkqubo Yemita Yovavanyo
-GenericName[zh_CN]=扫描和文字识别程序
-GenericName[zh_HK]=掃描和文字辦識程式
-GenericName[zh_TW]=掃描和文字辦識程式
-GenericName[zu]=Scan & OCR Iprogremu
Name=Kooka
-Name[ar]=برنامج Kooka
-Name[eo]=Kokao
-Name[hi]=कूका
-Name[is]=Skanni
-Name[ko]=쿠카
-Name[ne]=कोओका
-Name[pa]=ਕੋਕਾ
-Name[ta]=கூக்கா
-Name[zh_TW]=Kooka 掃描器
X-DCOP-ServiceType=Multi
Categories=Qt;TDE;Graphics;