Add .desktop translations in .po files
This commit is contained in:
parent
524b5c4fc0
commit
4cd8943e10
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Diffuse Merge Tool
|
||||||
|
Comment=Graphical tool for merging and comparing text files
|
||||||
|
Exec=diffuse -s %F
|
||||||
|
Icon=diffuse
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
MimeType=text/plain;text/x-csrc;text/x-chdr;
|
||||||
|
Categories=Development;GTK;
|
||||||
|
StartupNotify=true
|
|
@ -0,0 +1,10 @@
|
||||||
|
desktop_file = 'diffuse.desktop'
|
||||||
|
i18n.merge_file(
|
||||||
|
desktop_file,
|
||||||
|
input: desktop_file + '.in',
|
||||||
|
output: desktop_file,
|
||||||
|
po_dir: '../po',
|
||||||
|
install: true,
|
||||||
|
install_dir: join_paths(datadir, 'applications'),
|
||||||
|
type: 'desktop'
|
||||||
|
)
|
|
@ -23,6 +23,7 @@ pkgdatadir = join_paths(datadir, meson.project_name())
|
||||||
podir = join_paths(meson.source_root(), 'po')
|
podir = join_paths(meson.source_root(), 'po')
|
||||||
|
|
||||||
subdir('po')
|
subdir('po')
|
||||||
|
subdir('data')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
|
||||||
meson.add_install_script('build-scripts/meson-postinstall.py')
|
meson.add_install_script('build-scripts/meson-postinstall.py')
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
# List of source files which contain translatable strings.
|
# List of source files which contain translatable strings.
|
||||||
|
# Copyright (C) 2020 Romain Failliot <romain.failliot@foolstep.com>
|
||||||
|
|
||||||
|
data/diffuse.desktop.in
|
||||||
src/usr/bin/diffuse.py.in
|
src/usr/bin/diffuse.py.in
|
||||||
|
|
|
@ -26,12 +26,15 @@ configure_file(
|
||||||
metainfo_file = join_paths(meson.source_root(), 'src/usr/share/metainfo/io.github.mightycreak.Diffuse.metainfo.xml')
|
metainfo_file = join_paths(meson.source_root(), 'src/usr/share/metainfo/io.github.mightycreak.Diffuse.metainfo.xml')
|
||||||
ascli_exe = find_program('appstreamcli', required: false)
|
ascli_exe = find_program('appstreamcli', required: false)
|
||||||
if ascli_exe.found()
|
if ascli_exe.found()
|
||||||
test('validate metainfo file',
|
test(
|
||||||
ascli_exe,
|
'validate metainfo file',
|
||||||
args: ['validate',
|
ascli_exe,
|
||||||
'--no-net',
|
args: [
|
||||||
'--pedantic',
|
'validate',
|
||||||
metainfo_file]
|
'--no-net',
|
||||||
|
'--pedantic',
|
||||||
|
metainfo_file
|
||||||
|
]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
Name=Diffuse Merge Tool
|
|
||||||
Name[cs]=Diffuse
|
|
||||||
Name[de]=Diffuse Mischwerkzeug
|
|
||||||
Name[es]=Diffuse utillaje de textos
|
|
||||||
Name[it]=Diffuse - strumento di unione
|
|
||||||
Name[ja]=Diffuse マージツール
|
|
||||||
Name[ko]=Diffuse 병합도구
|
|
||||||
Name[pl]=Diffuse Narzędzie Scalania
|
|
||||||
Name[pt]=Diffuse Ferramenta de união
|
|
||||||
Name[ru]=Diffuse Инструмент Слияния
|
|
||||||
Name[sv]=Diffuse sammanfogningsverktyg
|
|
||||||
Name[th]=Diffuse - เครื่องมือผสานแฟ้ม
|
|
||||||
Name[zh_CN]=Diffuse 比较合并工具
|
|
||||||
Name[zh_TW]=Diffuse 比較合併工具
|
|
||||||
Comment=Graphical tool for merging and comparing text files
|
|
||||||
Comment[cs]=Grafický nástroj pro slučování a porovnávání textových souborů
|
|
||||||
Comment[de]=Werkzeug zum Mischen und Vergleichen von Textdateien
|
|
||||||
Comment[es]=Un utillaje para juntar y comparar archivos de texto
|
|
||||||
Comment[it]=Strumento grafico per l'unione e il confronto di file
|
|
||||||
Comment[ja]=テキストファイルをマージして比較するためのグラフィックツール
|
|
||||||
Comment[ko]=텍스트 파일을 병합하고 비교하기위한 도구
|
|
||||||
Comment[pl]=Graficzne narzędzie do łączenia i porównywania plików tekstowych
|
|
||||||
Comment[pt]=Ferramenta gráfica para unir e comparar ficheiros de texto
|
|
||||||
Comment[ru]=Графический инструмент для слияния и сравнения текстовых файлов
|
|
||||||
Comment[sv]=Grafiskt verktyg för jämförelse och sammanfogning av textfiler
|
|
||||||
Comment[th]=เครื่องมือแบบกราฟิกสำหรับเปรียบเทียบและผสานแฟ้มข้อความ
|
|
||||||
Comment[zh_CN]=图形化的比较和合并文本文件的工具
|
|
||||||
Comment[zh_TW]=比較與合併文字檔案的圖形化工具
|
|
||||||
Exec=diffuse -s %F
|
|
||||||
Icon=diffuse
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
MimeType=text/plain;text/x-csrc;text/x-chdr;
|
|
||||||
Categories=Development;GTK;
|
|
||||||
StartupNotify=true
|
|
|
@ -2,8 +2,8 @@
|
||||||
<component type="desktop-application">
|
<component type="desktop-application">
|
||||||
<id>io.github.mightycreak.Diffuse</id>
|
<id>io.github.mightycreak.Diffuse</id>
|
||||||
|
|
||||||
<name>Diffuse</name>
|
<name>Diffuse Merge Tool</name>
|
||||||
<summary>Graphical merge tool</summary>
|
<summary>Graphical tool for merging and comparing text files</summary>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<p>
|
||||||
Diffuse is a graphical tool for comparing and merging text files. It can retrieve files for comparison from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories.
|
Diffuse is a graphical tool for comparing and merging text files. It can retrieve files for comparison from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS, Subversion, and SVK repositories.
|
||||||
|
|
Loading…
Reference in New Issue