diff options
author | Slávek Banko <[email protected]> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-22 02:49:40 +0200 |
commit | 296306a273438f476ab2266d1c03616de1fd5ef7 (patch) | |
tree | 7788ff1608858031d0b9816452591f2c62f42bc0 /kcalc | |
parent | 5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff) | |
download | tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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 'kcalc')
-rw-r--r-- | kcalc/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kcalc/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kcalc/kcalc.desktop | 63 |
3 files changed, 7 insertions, 67 deletions
diff --git a/kcalc/CMakeL10n.txt b/kcalc/CMakeL10n.txt index 4f562bf..dd483df 100644 --- a/kcalc/CMakeL10n.txt +++ b/kcalc/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kcalc" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kcalc.desktop/" + SOURCES kcalc.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kcalc/CMakeLists.txt b/kcalc/CMakeLists.txt index 9da35bf..528b162 100644 --- a/kcalc/CMakeLists.txt +++ b/kcalc/CMakeLists.txt @@ -53,9 +53,7 @@ install( FILES kcalcui.rc DESTINATION ${DATA_INSTALL_DIR}/kcalc ) -install( FILES kcalc.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kcalc.desktop ) install( FILES kcalcrc.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} @@ -64,4 +62,3 @@ install( FILES kcalcrc.upd install( FILES kcalc.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) - diff --git a/kcalc/kcalc.desktop b/kcalc/kcalc.desktop index 849b1d5..8148b75 100644 --- a/kcalc/kcalc.desktop +++ b/kcalc/kcalc.desktop @@ -2,69 +2,6 @@ Name=KCalc GenericName=Scientific Calculator -GenericName[af]=Wetenskaplike Sakrekenaar -GenericName[ar]=آلة حاسبة علمية -GenericName[bg]=Калкулатор -GenericName[br]=Ur jederez skiantel -GenericName[bs]=Znanstveni kalkulator -GenericName[ca]=Calculadora científica -GenericName[cs]=Vědecká kalkulačka -GenericName[cy]=Cyfrifydd Gwyddonol -GenericName[da]=Videnskabelig regnemaskine -GenericName[de]=Wissenschaftlicher Taschenrechner -GenericName[el]=Επιστημονικό κομπιουτεράκι -GenericName[eo]=Scienca kalkulilo -GenericName[es]=Calculadora científica -GenericName[et]=Teaduslik kalkulaator -GenericName[eu]=Kalkulagailu Zientifikoa -GenericName[fa]=ماشین حساب علمی -GenericName[fi]=Tieteellinen laskin -GenericName[fr]=Une calculatrice scientifique -GenericName[ga]=Áireamhán Eolaíochta -GenericName[he]=מחשבון מדעי -GenericName[hi]=वैज्ञानिक गणक -GenericName[hr]=Znanstveni kalkulator -GenericName[hu]=Számológép -GenericName[is]=Öflug reiknivél -GenericName[it]=Calcolatrice scientifica -GenericName[ja]=科学電卓 -GenericName[ka]=მეცნიერული კალკულატორი -GenericName[kk]=Ғылыми калькулятор -GenericName[km]=ម៉ាស៊ីនគិតលេខវិទ្យាសាស្ត្រ -GenericName[lt]=Mokslinis skaičiuotuvas -GenericName[lv]=Zinātnisks Kalkulators -GenericName[mk]=Научен калкулатор -GenericName[mt]=Kalkulatriċi xjentifika -GenericName[nb]=Vitenskaplig kalkulator -GenericName[nds]=Wetenschaplich Taschenreekner -GenericName[ne]=वैज्ञानिक गणकयन्त्र -GenericName[nl]=Wetenschappelijke rekenmachine -GenericName[nn]=Vitskapleg kalkulator -GenericName[pa]=ਵਿਗਿਆਨਿਕ ਹਿਸਾਬੀ -GenericName[pl]=Kalkulator naukowy -GenericName[pt]=Calculadora Cientifica -GenericName[pt_BR]=Calculadora Científica -GenericName[ro]=Calculator ştiinţific -GenericName[ru]=Калькулятор -GenericName[sk]=Vedecká kalkulačka -GenericName[sl]=Znanstveni kalkulator -GenericName[sr]=Научни калкулатор -GenericName[sr@Latn]=Naučni kalkulator -GenericName[sv]=Vetenskaplig miniräknare -GenericName[ta]= அறிவியல் சார்ந்த கணிப்பான் -GenericName[tg]=Мошинаи ҳисобкунаки Илмӣ -GenericName[th]=เครื่องคิดเลขแบบวิทยาศาสตร์ -GenericName[tr]=Bilimsel Hesap Makinesi -GenericName[uk]=Калькулятор для науковців -GenericName[uz]=Ilmiy kalkulyator -GenericName[uz@cyrillic]=Илмий калкулятор -GenericName[ven]=Khalikhuleitha ya tshisaintsi -GenericName[vi]=Máy tính khoa học -GenericName[wa]=Carculete syintifike -GenericName[xh]=Umatshini Wokubala Ezenzululwazi -GenericName[zh_CN]=科学计算器 -GenericName[zh_TW]=科學計算機 -GenericName[zu]=Umshini wokubala ezenzululwazi Exec=kcalc -caption "%c" %i %m Icon=kcalc |