[gtranslator] flatpak: don't sepearate locales
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] flatpak: don't sepearate locales
- Date: Sun, 21 Apr 2019 17:34:31 +0000 (UTC)
commit 289f9b8891b5d8604f94e6243a86bf20b8cac39d
Author: Daniel GarcĂa Moreno <dani danigm net>
Date: Sun Apr 21 19:33:08 2019 +0200
flatpak: don't sepearate locales
Fix #70
build-aux/flatpak/org.gnome.Gtranslator.json | 1 +
src/gtr-dirs.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/flatpak/org.gnome.Gtranslator.json b/build-aux/flatpak/org.gnome.Gtranslator.json
index 2b7826f1..0532e390 100644
--- a/build-aux/flatpak/org.gnome.Gtranslator.json
+++ b/build-aux/flatpak/org.gnome.Gtranslator.json
@@ -3,6 +3,7 @@
"runtime" : "org.gnome.Platform",
"runtime-version" : "3.32",
"sdk" : "org.gnome.Sdk",
+ "separate-locales": false,
"command" : "gtranslator",
"tags" : [
"devel"
diff --git a/src/gtr-dirs.c b/src/gtr-dirs.c
index f294899e..300ca4aa 100644
--- a/src/gtr-dirs.c
+++ b/src/gtr-dirs.c
@@ -78,7 +78,7 @@ gtr_dirs_init ()
{
gtr_data_dir = g_build_filename (PACKAGE_DATADIR, "gtranslator", NULL);
gtr_help_dir = g_build_filename (PACKAGE_DATADIR, "help", NULL);
- gtr_locale_dir = g_build_filename (PACKAGE_DATADIR, "locale", NULL);
+ gtr_locale_dir = PACKAGE_LOCALEDIR;
gtr_lib_dir = g_build_filename (PACKAGE_LIBDIR, "gtranslator", NULL);
}
#endif /* !G_OS_WIN32 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]