summaryrefslogtreecommitdiffstats
path: root/kregexpeditor
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /kregexpeditor
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-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 'kregexpeditor')
-rw-r--r--kregexpeditor/CMakeL10n.txt6
-rw-r--r--kregexpeditor/CMakeLists.txt10
-rw-r--r--kregexpeditor/kregexpeditor.desktop56
-rw-r--r--kregexpeditor/kregexpeditorgui.desktop56
4 files changed, 12 insertions, 116 deletions
diff --git a/kregexpeditor/CMakeL10n.txt b/kregexpeditor/CMakeL10n.txt
index 1265736..f8273f7 100644
--- a/kregexpeditor/CMakeL10n.txt
+++ b/kregexpeditor/CMakeL10n.txt
@@ -22,3 +22,9 @@ tde_l10n_create_template(
CATALOG "kregexpeditor"
SOURCES "." ${_regexp_l10n}
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kregexpeditor-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kregexpeditor/CMakeLists.txt b/kregexpeditor/CMakeLists.txt
index edc9fd1..a6aea36 100644
--- a/kregexpeditor/CMakeLists.txt
+++ b/kregexpeditor/CMakeLists.txt
@@ -100,11 +100,13 @@ tde_install_icons( )
##### other data ################################
-install( FILES kregexpeditor.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE kregexpeditor.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops
)
-install( FILES kregexpeditorgui.desktop
+tde_create_translated_desktop(
+ SOURCE kregexpeditorgui.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops
)
-
diff --git a/kregexpeditor/kregexpeditor.desktop b/kregexpeditor/kregexpeditor.desktop
index 7b2cd18..3f96a09 100644
--- a/kregexpeditor/kregexpeditor.desktop
+++ b/kregexpeditor/kregexpeditor.desktop
@@ -1,63 +1,7 @@
[Desktop Entry]
Name=KRegExpEditor
-Name[hi]=केरेगएक्सपएडीटर
GenericName=Regular Expression Editor
-GenericName[ar]=محرّر التعابير النظامية
-GenericName[bg]=Редактор на регулярни изрази
-GenericName[br]=Aozer an troiennoù reolataet
-GenericName[bs]=Editor regularnih izraza
-GenericName[ca]=Editor d'expressions regulars
-GenericName[cs]=Editor regulárních výrazů
-GenericName[cy]=Golygydd Mynegiadau Rheolaidd
-GenericName[da]=Editor for regulære udtryk
-GenericName[de]=Editor für reguläre Ausdrücke
-GenericName[el]=Επεξεργαστής κανονικών εκφράσεων
-GenericName[eo]=Redaktilo por regulesprimoj
-GenericName[es]=Editor de expresiones regulares
-GenericName[et]=Regulaaravaldiste redaktor
-GenericName[eu]=Adierazpen Erregularren Editorea
-GenericName[fa]=ویرایشگر عبارت منظم
-GenericName[fi]=Säännöllisten lausekkeiden muokkain
-GenericName[fr]=Éditeur d'expressions régulières
-GenericName[ga]=Eagarthóir Sloinn Ionadaíochta
-GenericName[he]=עורך ביטויים רגולריים
-GenericName[hi]=रेगुलर एक्सप्रेशन संपादक
-GenericName[hu]=Kifejezésszerkesztő
-GenericName[is]=Ritill fyrir reglulegar segðir
-GenericName[it]=Editor di espressioni regolari
-GenericName[ja]=正規表現エディタ
-GenericName[ka]=მარტივი გამოსახულების რედაქტორი
-GenericName[kk]=Үлгі өрнегінің редакторы
-GenericName[km]=កម្មវិធី​និពន្ធ​កន្សោម​ធម្មតា
-GenericName[lt]=Įprastųjų išraiškų redaktorius
-GenericName[mk]=Уредувач на регуларни изрази
-GenericName[ms]=Penyunting Ungkapan Nalar (regexp)
-GenericName[nb]=Tekstbehandler for regulære uttrykk
-GenericName[nds]=Editor för Regulere Utdrück
-GenericName[ne]=नियमित अभिव्यक्ति सम्पादक
-GenericName[nl]=Editor voor regular expressions
-GenericName[nn]=Program for skriving av regulære uttrykk
-GenericName[pa]=ਨਿਯਮਤ ਸਮੀਕਰਨ ਸੰਪਾਦਕ
-GenericName[pl]=Edytor wyrażeń regularnych
-GenericName[pt]=Editor de Expressões Regulares
-GenericName[pt_BR]=Editor de Expressões Regulares
-GenericName[ro]=Editor de expresii regulate
-GenericName[ru]=Редактор регулярных выражений
-GenericName[sk]=Editor regulárnych výrazov
-GenericName[sl]=Urejevalnik regularnih izrazov
-GenericName[sr]=Уређивач регуларних израза
-GenericName[sr@Latn]=Uređivač regularnih izraza
-GenericName[sv]=Editor för reguljära uttryck
-GenericName[ta]=இயல்பான கூற்று தொகுப்பான்
-GenericName[tg]=Муҳаррири Ифодаҳои Муқаррарӣ
-GenericName[tr]=Tam İfade Düzenleyici
-GenericName[uk]=Редактор формальних виразів
-GenericName[uz]=Doimiy ifoda tahrirchi
-GenericName[uz@cyrillic]=Доимий ифода таҳрирчи
-GenericName[wa]=Aspougneu d' erîlêyès ratourneures
-GenericName[zh_CN]=正规表达式编辑器
-GenericName[zh_TW]=正規表示式編輯器
Exec=kregexpeditor
X-DocPath=KRegExpEditor/index.html
diff --git a/kregexpeditor/kregexpeditorgui.desktop b/kregexpeditor/kregexpeditorgui.desktop
index 7e15069..43393a0 100644
--- a/kregexpeditor/kregexpeditorgui.desktop
+++ b/kregexpeditor/kregexpeditorgui.desktop
@@ -1,62 +1,6 @@
[Desktop Entry]
Type=Service
Name=RegExp Editor Widget
-Name[af]=Regexp Redigeerder Gui-element
-Name[ar]=أداة محرر التعابير النظامية
-Name[az]=Qaydalıİfadə Editor Pəncərəsi
-Name[bg]=Редактор на регулярни изрази
-Name[ca]=Estri editor RegExp
-Name[cs]=Editor regulárních výrazů
-Name[cy]=Teclyn Golygydd RegExp
-Name[da]=RegExp Editor-kontrol
-Name[de]=RegExp-Bedienelement
-Name[el]=Γραφικό συστατικό επεξεργασίας κανονικών εκφράσεων
-Name[eo]=Redaktilo por regulesprimoj
-Name[es]=Ventana de edición RegExp
-Name[et]=Regulaaravaldiste redaktori komponent
-Name[eu]=RegExp Editore Widgeta
-Name[fa]=RegExp عنصر ویرایشگر
-Name[fi]=Säännöllisten lauseiden muokkain
-Name[fr]=Composant éditeur d'exp. rég.
-Name[ga]=Giuirléid Eagarthóireachta Sloinn Ionadaíochta
-Name[he]=פריט עורך הביטויים הסדירים
-Name[hi]=रेग-एक्सपी संपादक विजेट
-Name[hr]=Widget za uređivanje RegExp-a (regularnih izraza)
-Name[hu]=Grafikus objektum reguláris kifejezések szerkesztéséhez
-Name[it]=Elemento grafico dell'editor di espressioni regolari
-Name[ja]=正規表現エディタウィジェット
-Name[kk]=Үлгі өрнегінің өңдеу бөлшегі
-Name[km]=វត្ថុ​មើល​ឃើញកម្មវិធី​និពន្ធ RegExp
-Name[lt]=RegExp redaktoriaus valdiklis
-Name[lv]=RegExp Redaktora Widžets
-Name[mk]=графичка контрола за уредување RegExp
-Name[ms]=Wijet Penyunting RegExp
-Name[mt]=Editur ta' RegExp
-Name[nb]=Skjermelement RegExp tekstbehandler
-Name[nds]=RegExp Editor-Bedeenelement
-Name[ne]=RegExp सम्पादक विजेट
-Name[nn]=Skjermelement for redigering av regulære uttrykk
-Name[pl]=Edytor wyrażeń regularnych
-Name[pt]=Item de Edição de Expressões Regulares
-Name[pt_BR]=Widget do Editor de Expressões Regulares
-Name[ro]=Componentă editare expresii regulate
-Name[ru]=Виджет редактора регулярных выражений
-Name[sk]=Prvok Editor regulárnych výrazov
-Name[sl]=Gradnik urejevalnika RegExp
-Name[sr]=Контрола уређивача регуларних израза
-Name[sr@Latn]=Kontrola uređivača regularnih izraza
-Name[sv]=Grafisk komponent för att redigera reguljära uttryck
-Name[ta]= RegExp தொகுப்பான் சாளரம்
-Name[tg]=Ҷузъи Муҳаррири Ифодаҳои Муқаррарӣ
-Name[th]=คอนโทรลแก้ไข RegExp
-Name[tr]=RegExp Düzenleyici Aleti
-Name[uk]=Віджет редактору регулярних виразів
-Name[ven]=Widget ya musengulusi wa RegExp
-Name[wa]=Ahesse aspougneu d' erîlêyès ratourneures
-Name[xh]=RegExp Umhleli we Widget
-Name[zh_CN]=正则表达式编辑器部件
-Name[zh_TW]=正規表示式編輯小程式
-Name[zu]=RegExp Umhleli we-widget
X-TDE-Library=libkregexpeditorgui
X-TDE-InitialPreference=2
X-TDE-ServiceTypes=KRegExpEditor/KRegExpEditor