diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
commit | 296306a273438f476ab2266d1c03616de1fd5ef7 (patch) | |
tree | 7788ff1608858031d0b9816452591f2c62f42bc0 /kcharselect | |
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 <slavek.banko@axis.cz>
Diffstat (limited to 'kcharselect')
-rw-r--r-- | kcharselect/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kcharselect/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kcharselect/KCharSelect.desktop | 67 |
3 files changed, 7 insertions, 71 deletions
diff --git a/kcharselect/CMakeL10n.txt b/kcharselect/CMakeL10n.txt index 3ba434a..acf2350 100644 --- a/kcharselect/CMakeL10n.txt +++ b/kcharselect/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kcharselect" ) + +tde_l10n_create_template( + CATALOG "desktop_files/KCharSelect.desktop/" + SOURCES KCharSelect.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kcharselect/CMakeLists.txt b/kcharselect/CMakeLists.txt index a7b88a3..cc3d6cf 100644 --- a/kcharselect/CMakeLists.txt +++ b/kcharselect/CMakeLists.txt @@ -42,11 +42,8 @@ install( FILES kcharselectui.rc DESTINATION ${DATA_INSTALL_DIR}/kcharselect ) -install( FILES KCharSelect.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( KCharSelect.desktop ) install( FILES kcharselect.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) - diff --git a/kcharselect/KCharSelect.desktop b/kcharselect/KCharSelect.desktop index 3733548..58c3e67 100644 --- a/kcharselect/KCharSelect.desktop +++ b/kcharselect/KCharSelect.desktop @@ -2,73 +2,6 @@ Name=KCharSelect GenericName=Character Selector -GenericName[af]=Karakter Kiesser -GenericName[ar]=أداة اختيار الرموز -GenericName[az]=Xarakter Seçici -GenericName[bg]=Избор на знаци -GenericName[br]=Dibaber arouezenn -GenericName[bs]=Izbor znakova -GenericName[ca]=Selector de caràcters -GenericName[cs]=Vyběr znaků -GenericName[cy]=Dewisydd Nod -GenericName[da]=Tegnvælger -GenericName[de]=Tabelle zur Zeichenauswahl -GenericName[el]=Επιλογέας χαρακτήρων -GenericName[eo]=Elektilo por signoj -GenericName[es]=Selector de caracteres -GenericName[et]=Sümbolite valija -GenericName[eu]=Karaktere Hautatzailea -GenericName[fa]=گزینندۀ نویسه -GenericName[fi]=Valitse merkki leikepöydälle -GenericName[fr]=Sélecteur de caractères -GenericName[ga]=Roghnóir Carachtar -GenericName[gl]=Selector de Caracteres -GenericName[he]=בוחר תווים -GenericName[hi]=अक्षर चयनक -GenericName[hr]=Izbor znakova -GenericName[hu]=Karakterválasztó -GenericName[id]=Pemilih Karakter -GenericName[is]=Stafaval -GenericName[it]=Selettore di caratteri -GenericName[ja]=文字の選択 -GenericName[ka]=სიმბოლოთა შემრჩეველი -GenericName[kk]=Таңба тергіш -GenericName[km]=កម្មវិធីជ្រើសតួអក្សរ -GenericName[ko]=글자 고르기 -GenericName[lt]=Simbolių parinkimas -GenericName[lv]=Simbolu Selektors -GenericName[mk]=Избирач на знаци -GenericName[mt]=Agħżel Karattri -GenericName[nb]=Tegnvelger -GenericName[nds]=Tekenutwähler -GenericName[ne]=क्यारेक्टर चयनकर्ता -GenericName[nl]=Speciale tekens -GenericName[nn]=Teiknveljar -GenericName[pa]=ਅੱਖਰ ਚੋਣਕਾਰ -GenericName[pl]=Wybór pojedynczego znaku -GenericName[pt]=Selector de Caracteres -GenericName[pt_BR]=Seletor de Caracteres -GenericName[ro]=Selector de caractere -GenericName[ru]=Выбор символов -GenericName[sk]=Volič znakov -GenericName[sl]=Izbiranje znakov -GenericName[sr]=Бирач знакова -GenericName[sr@Latn]=Birač znakova -GenericName[sv]=Teckenväljare -GenericName[ta]= எழுத்து தேர்ந்தெடுப்பான் -GenericName[tg]=Интихобгари Аломатҳо -GenericName[th]=เครื่องมือเลือกอักขระ -GenericName[tr]=Karakter Seçici -GenericName[uk]=Таблиця символів -GenericName[uz]=Harf tanlagich -GenericName[uz@cyrillic]=Ҳарф танлагич -GenericName[ven]=Munangi wa muanewa -GenericName[vi]=Trình chọn kí tự -GenericName[wa]=Tchoezixheu di caracteres -GenericName[xh]=Umkhethi womsebenzi -GenericName[zh_CN]=字符选择器 -GenericName[zh_TW]=字元選擇器 -GenericName[zu]=Umkhethi Womsebenzi Exec=kcharselect -caption "%c" %i %m Icon=kcharselect |