summaryrefslogtreecommitdiffstats
path: root/kmplot
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-27 03:12:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-28 17:53:20 +0200
commit503dc8df8bab9ec5383b08abf6c94938f4aae4ed (patch)
treeb29093bede6ac30d0804a2bd1a53e60d0379963b /kmplot
parentd802e99b97d5de62b978b343b0db7db52c212adc (diff)
downloadtdeedu-503dc8df8bab9ec5383b08abf6c94938f4aae4ed.tar.gz
tdeedu-503dc8df8bab9ec5383b08abf6c94938f4aae4ed.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> (cherry picked from commit a084db175509b58e57a81d50b1688709f19758bf)
Diffstat (limited to 'kmplot')
-rw-r--r--kmplot/kmplot/CMakeL10n.txt6
-rw-r--r--kmplot/kmplot/CMakeLists.txt16
-rw-r--r--kmplot/kmplot/kmplot.desktop126
-rw-r--r--kmplot/kmplot/kmplot_part.desktop8
-rw-r--r--kmplot/kmplot/x-kmplot.desktop53
5 files changed, 17 insertions, 192 deletions
diff --git a/kmplot/kmplot/CMakeL10n.txt b/kmplot/kmplot/CMakeL10n.txt
index 29d59f9e..f49333f4 100644
--- a/kmplot/kmplot/CMakeL10n.txt
+++ b/kmplot/kmplot/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kmplot" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kmplot-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kmplot/kmplot/CMakeLists.txt b/kmplot/kmplot/CMakeLists.txt
index 3ebe22e7..0f1ff6c7 100644
--- a/kmplot/kmplot/CMakeLists.txt
+++ b/kmplot/kmplot/CMakeLists.txt
@@ -105,19 +105,21 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kmplot
)
-install(
- FILES x-kmplot.desktop
+tde_create_translated_desktop(
+ SOURCE x-kmplot.desktop
DESTINATION ${MIME_INSTALL_DIR}/application
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmplot-desktops
)
-install(
- FILES kmplot.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE kmplot.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmplot-desktops
)
-install(
- FILES kmplot_part.desktop
+tde_create_translated_desktop(
+ SOURCE kmplot_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kmplot-desktops
)
install(
diff --git a/kmplot/kmplot/kmplot.desktop b/kmplot/kmplot/kmplot.desktop
index 8bebafb0..fc0cc90f 100644
--- a/kmplot/kmplot/kmplot.desktop
+++ b/kmplot/kmplot/kmplot.desktop
@@ -3,131 +3,9 @@ Type=Application
Exec=kmplot
Icon=kmplot
X-DocPath=kmplot/index.html
-Comment=Function Plotter
-Comment[af]=Funksieplotter
-Comment[ar]=مخطط وظيفة
-Comment[be]=Маляванне графікаў функцый
-Comment[bg]=Чертане на функции
-Comment[bn]=ফাংশন প্লটার
-Comment[br]=Tresell fonksion
-Comment[bs]=Crtač funkcija
-Comment[ca]=Traçador de funcions
-Comment[cs]=Zobrazení funkce
-Comment[csb]=Programa céchùjąca dijagramë fùnkcëji
-Comment[cy]=Plotydd Ffwythiannau
-Comment[da]=Funktionsprogram
-Comment[de]=Funktionsplotter
-Comment[el]=Γραφική αναπαράσταση συναρτήσεων
-Comment[eo]=Funkcia desegnilo
-Comment[es]=Trazador de funciones
-Comment[et]=Funktsioonide graafiku joonistaja
-Comment[eu]=Funtzio-marrazkigilea
-Comment[fa]=رسام تابع
-Comment[fi]=Kuvaajapiirturi
-Comment[fo]=Funkateknari
-Comment[fr]=Traceur de courbes
-Comment[ga]=Breacaire Feidhmeanna
-Comment[gl]=Representación Gráfica de Funcións
-Comment[he]=תווין פונקציות
-Comment[hi]=फंक्शन प्लॉट करने वाला
-Comment[hr]=Crtač funkcija
-Comment[hu]=Függvényábrázoló
-Comment[is]=Teiknar gröf falla
-Comment[it]=Grafici di funzioni
-Comment[ja]=関数プロッタ
-Comment[ka]=ფუნქციების გრაფიკები
-Comment[km]=កម្មវិធី​គ្រោង​អនុគមន៍
-Comment[lt]=funkcijinis braižytuvas
-Comment[lv]=Funkciju Zīmētājs
-Comment[mk]=Цртач на функции
-Comment[mn]=Функцийн плоттер
-Comment[ms]=Plot Fungsi
-Comment[nb]=Funksjonsplotter
-Comment[nds]=Bagenschriever för Funkschonen
-Comment[ne]=प्रकार्य आलेखक
-Comment[nl]=functieplotter
-Comment[nn]=Funksjonsteiknar
-Comment[nso]=Mmei wa Pereko
-Comment[pl]=Program rysujący wykresy funkcji
-Comment[pt]=Desenho de funções
-Comment[pt_BR]=Desenho de funções
-Comment[ru]=Построение графиков функций
-Comment[se]=Funkšuvdnasárgojeaddji
-Comment[sk]=Kreslenie funkcií
-Comment[sl]=Risanje funkcij
-Comment[sr]=Цртач функција
-Comment[sr@Latn]=Crtač funkcija
-Comment[sv]=Funktionsritare
-Comment[ta]=இயக்க வரைவி
-Comment[tg]=Плоттери Функсионалӣ
-Comment[tr]=Fonksiyon Noktalayıcı
-Comment[uk]=Побудова графіків функцій
-Comment[ven]=Mushumo wa tshiiti tsha nyito
-Comment[vi]=Vẽ đồ thị Hàm số
-Comment[xh]=Umzobi Womsebenzi
-Comment[zh_CN]=函数绘图程序
-Comment[zh_TW]=函數繪圖程式
-Comment[zu]=Umbheki Womsebenzi
Terminal=false
Name=KmPlot
-Name[ar]=المخطط
-Name[bn]=কে-এমপ্লট
-Name[eo]=KmPloto
-Name[hi]=के-एम-प्लॉट
-Name[sv]=Kmplot
-Name[ta]=கேஎம்பிளாட்
-Name[ven]=Mutodo wa Km
-Name[vi]=Đồ thị K
+GenericName=Mathematical Function Plotter
+Comment=Function Plotter
Categories=Qt;TDE;Education;Math;
MimeType=application/x-kmplot;
-GenericName=Mathematical Function Plotter
-GenericName[be]=Маляванне графікаў матэматычных функцый
-GenericName[bg]=Интерактивна геометрия
-GenericName[bn]=গাণিতিক ফাংশন প্লটার
-GenericName[bs]=Crtač matematičkih funkcija
-GenericName[ca]=Traçador de funcions matemàtiques
-GenericName[cs]=Kreslení funkcí
-GenericName[csb]=Programa céchùjącô matematiczne fùnkcëjë
-GenericName[cy]=Plotydd Ffwythiannau Mathemategol
-GenericName[da]=Matematisk funktionsplotter
-GenericName[de]=Mathematischer Funktionsplotter
-GenericName[el]=Γραφική αναπαράσταση συναρτήσεων
-GenericName[eo]=Matematika funkcia desegnilo
-GenericName[es]=Trazador de funciones matemáticas
-GenericName[et]=Matemaatiliste funktsioonide graafiku joonistaja
-GenericName[eu]=Funtzio matematikoen marrazkigilea
-GenericName[fa]=رسام تابع ریاضی
-GenericName[fi]=Matemaattisten funktioiden kuvaajapiirturi
-GenericName[fr]=Traceur de fonctions mathématiques
-GenericName[ga]=Breacaire Feidhmeanna Matamaiticiúla
-GenericName[gl]=Representación Gráfica de Funcións
-GenericName[he]=תוין פונקציות מתמטיות
-GenericName[hr]=Crtač matematičkih funkcija
-GenericName[hu]=Függvényábrázoló
-GenericName[is]=Teiknar gröf falla
-GenericName[it]=Grafici di funzioni matematiche
-GenericName[ja]=数学関数プロッタ
-GenericName[ka]=მათიმატიკური ფუნქციების გრაფიკები
-GenericName[km]=កម្មវិធី​គ្រោង​អនុគមន៍​គណិតវិទ្យា
-GenericName[lt]=Matematinės funkcijos braižytuvas
-GenericName[ms]=Pemplot Fungsi Matematik
-GenericName[nb]=Matematisk Funksjonsplotter
-GenericName[nds]=Mathemaatsch Bagenschriever
-GenericName[ne]=गणित प्रकार्य आलेखक
-GenericName[nl]=Wiskundige functieplotter
-GenericName[nn]=Eit plotteprogram for matematiske funksjonar
-GenericName[pl]=Program rysujący funkcje matematyczne
-GenericName[pt]=Desenho de Funções Matemáticas
-GenericName[pt_BR]=Desenho de funções matemáticas
-GenericName[ru]=Графопостроитель функций
-GenericName[sk]=Kreslenie matematických funkcií
-GenericName[sl]=Risanje matematičnih funkcij
-GenericName[sr]=Цртач математичких функција
-GenericName[sr@Latn]=Crtač matematičkih funkcija
-GenericName[sv]=Matematisk funktionsritare
-GenericName[ta]=கணக்கியல் இயக்க வரைவி
-GenericName[tr]=Matematiksel Fonksiyon Çizici
-GenericName[uk]=Графобудівник математичних функцій
-GenericName[vi]=Vẽ đồ thị Hàm số Toán học
-GenericName[zh_CN]=数学函数绘图器
-GenericName[zh_TW]=函數繪圖程式
diff --git a/kmplot/kmplot/kmplot_part.desktop b/kmplot/kmplot/kmplot_part.desktop
index f7f329ed..ee206cf5 100644
--- a/kmplot/kmplot/kmplot_part.desktop
+++ b/kmplot/kmplot/kmplot_part.desktop
@@ -1,14 +1,6 @@
[Desktop Entry]
Icon=kmplot
Name=KmPlotPart
-Name[bn]=কে-এমপ্লট-পার্ট
-Name[cs]=KmPlot part
-Name[et]=KmPloti komponent
-Name[hi]=केएम-प्लाट-पार्ट
-Name[pl]=Część osadzalna KPart programu KmPlot
-Name[sv]=Kmplot-delprogram
-Name[ta]=கேஎம்பிளாட்பகுதி
-Name[vi]=Phần Đồ thị K
MimeType=application/x-kmplot
X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libkmplotpart
diff --git a/kmplot/kmplot/x-kmplot.desktop b/kmplot/kmplot/x-kmplot.desktop
index 259d591d..e78627ba 100644
--- a/kmplot/kmplot/x-kmplot.desktop
+++ b/kmplot/kmplot/x-kmplot.desktop
@@ -1,58 +1,5 @@
[Desktop Entry]
Comment=KmPlot File
-Comment[af]=KmPlot lêer
-Comment[be]=Файл KmPlot
-Comment[bg]=Файл KmPlot
-Comment[bn]=কে-এমপ্লট ফাইল
-Comment[br]=Restr KmPlot
-Comment[bs]=KmPlot datoteka
-Comment[ca]=Fitxer de KmPlot
-Comment[cs]=KMPlot soubor
-Comment[csb]=Lopk KmPlot
-Comment[cy]=Ffeil KmPlot
-Comment[da]=KmPlot-fil
-Comment[de]=KmPlot-Datei
-Comment[el]=Αρχείο του KmPlot
-Comment[eo]=KmPlota dosiero
-Comment[es]=Archivo de KmPlot
-Comment[et]=KmPloti fail
-Comment[eu]=KmPlot fitxategia
-Comment[fi]=KGeo-kaavio
-Comment[fr]=Fichier KmPlot
-Comment[ga]=Comhad KmPlot
-Comment[gl]=Ficheiro de KmPlot
-Comment[he]=KmPlot קובץ
-Comment[hi]=केएम-प्लॉट फ़ाइल
-Comment[hr]=KmPlot datoteka
-Comment[hu]=KmPlot-fájl
-Comment[is]=KmPlot-skrá
-Comment[it]=File di KmPlot
-Comment[ja]=KmPlot ファイル
-Comment[ka]=KmPlot ფაილი
-Comment[km]=ឯកសារ KmPlot
-Comment[lt]=KmPlot byla
-Comment[ms]=Fail KmPlot
-Comment[nb]=KmPlot-fil
-Comment[nds]=KmPlot-Datei
-Comment[ne]=KmPlot फाइल
-Comment[nl]=KmPlot-bestand
-Comment[nn]=KmPlot-fil
-Comment[pl]=Plik KmPlot
-Comment[pt]=Ficheiro do KmPlot
-Comment[pt_BR]=Arquivo do KMPlot
-Comment[ru]=Файл KmPlot
-Comment[sk]=Súbor KmPlot
-Comment[sl]=Datoteka KmPlot
-Comment[sr]=Фајл KmPlot-а
-Comment[sr@Latn]=Fajl KmPlot-a
-Comment[sv]=Kmplot-fil
-Comment[ta]= கேஎம்பிளாட் கோப்பு
-Comment[tg]=Файли KmPlot
-Comment[tr]=KmPlot Dosyası
-Comment[uk]=Файл KmPlot
-Comment[vi]=Tập tin Đồ thị K
-Comment[zh_CN]=KmPlot 文件
-Comment[zh_TW]=KmPlot 檔案
Icon=kmplot
Type=MimeType
MimeType=application/x-kmplot