[geocode-glib] lib: Fix some results not being in the right language
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Fix some results not being in the right language
- Date: Sun, 25 Nov 2012 02:01:52 +0000 (UTC)
commit 85cc45f3ae7d22de383853129faa64c75ddec3ea
Author: Bastien Nocera <hadess hadess net>
Date: Sun Nov 25 01:49:40 2012 +0100
lib: Fix some results not being in the right language
The webserver expects "cs-CZ", not "cz_CZ".
geocode-glib/geocode-forward.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index 72e8d87..98add98 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -186,7 +186,7 @@ geocode_forward_get_lang_for_locale (const char *locale)
return g_strdup_printf ("%s%s%s",
lang,
- territory ? "_" : "",
+ territory ? "-" : "",
territory ? territory : "");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]