Commit 75d05cb0 authored by Daniel Garcia Moreno's avatar Daniel Garcia Moreno

Merge branch 'i18n' into 'master'

build: Translate desktop and appdata files

See merge request World/fractal!194
parents 9329ad0d e2ed9308
Pipeline #26423 passed with stages
in 31 minutes and 36 seconds
install_data('org.gnome.Fractal.desktop', install_dir : datadir + '/applications')
install_data('org.gnome.Fractal.appdata.xml', install_dir : datadir + '/appdata')
i18n.merge_file ('desktop-file',
type: 'desktop',
input: '',
output: 'org.gnome.Fractal.desktop',
po_dir: podir,
install: true,
install_dir: join_paths (datadir, 'applications')
i18n.merge_file ('appdata-file',
input: '',
output: 'org.gnome.Fractal.appdata.xml',
po_dir: podir,
install: true,
install_dir: join_paths (datadir, 'appdata')
install_data('org.gnome.Fractal.gschema.xml', install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
......@@ -19,6 +19,8 @@ icondir = join_paths(datadir, 'icons')
i18n = import('i18n')
podir = join_paths (meson.source_root (), 'fractal-gtk', 'po')
......@@ -24,7 +24,7 @@ esac
sed -i "s/$current/$next/"
sed -i "s/$current/$next/" fractal-gtk/Cargo.toml
sed -i "s/$current/$next/" fractal-matrix-api/Cargo.toml
sed -i "s/version=\"$current\".*/version=\"$next\" date=\"$(date +%Y-%m-%d)\"\/>/" fractal-gtk/res/org.gnome.Fractal.appdata.xml
sed -i "s/version=\"$current\".*/version=\"$next\" date=\"$(date +%Y-%m-%d)\"\/>/" fractal-gtk/res/
cargo check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment