[Commits] [SCM] claws branch, master, updated. 3.13.0-78-gcef63ad

mones at claws-mail.org mones at claws-mail.org
Wed Nov 18 14:14:06 CET 2015


The branch, master has been updated
       via  cef63ad02b77e3832a11e2f1b202a99665343155 (commit)
      from  3a8df4ede9bb943828911d1d09e7bec67704c791 (commit)

Summary of changes:
 src/editaddress.c |    4 +++-
 src/jpilot.c      |    6 +++++-
 2 files changed, 8 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit cef63ad02b77e3832a11e2f1b202a99665343155
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Nov 18 14:13:51 2015 +0100

    Fix bug #3566: add missing locales to Eastern nameorder
    
    Thanks to Páder Rezső for the patch!

diff --git a/src/editaddress.c b/src/editaddress.c
index ad24301..ac22b18 100644
--- a/src/editaddress.c
+++ b/src/editaddress.c
@@ -955,8 +955,10 @@ static void addressbook_edit_person_page_basic( gint pageNum, gchar *pageLbl ) {
 #endif
 	locale = conv_get_current_locale();
 	if (locale &&
-	    (!g_ascii_strncasecmp(locale, "ja", 2) ||
+	    (!g_ascii_strncasecmp(locale, "hu", 2) ||
+	     !g_ascii_strncasecmp(locale, "ja", 2) ||
 	     !g_ascii_strncasecmp(locale, "ko", 2) ||
+	     !g_ascii_strncasecmp(locale, "vi", 2) ||
 	     !g_ascii_strncasecmp(locale, "zh", 2))) {
 		ATTACH_ROW(_("Last Name"), entry_ln);
 		ATTACH_ROW(_("First Name"), entry_fn);
diff --git a/src/jpilot.c b/src/jpilot.c
index 43f58f4..6eff9b2 100644
--- a/src/jpilot.c
+++ b/src/jpilot.c
@@ -1522,7 +1522,11 @@ gint jpilot_read_data( JPilotFile *pilotFile ) {
 
 	cur_locale = conv_get_current_locale();
 
-	if( g_ascii_strncasecmp( cur_locale, "ja", 2 ) == 0 ) {
+	if( g_ascii_strncasecmp( cur_locale, "hu", 2 ) == 0 ||
+		g_ascii_strncasecmp( cur_locale, "ja", 2 ) == 0 ||
+		g_ascii_strncasecmp( cur_locale, "ko", 2 ) == 0 ||
+		g_ascii_strncasecmp( cur_locale, "vi", 2 ) == 0 ||
+		g_ascii_strncasecmp( cur_locale, "zh", 2 ) == 0 ) {
 		name_order = FAMILY_FIRST;
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list