WIP localisation for locale table

pull/102/head
parent bb51507b89
commit 118b60104e
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -444,6 +444,7 @@ void set_locales_list(main_window *widgets){
qsort(locales,size,sizeof(char*),yon_char_parsed_compare); qsort(locales,size,sizeof(char*),yon_char_parsed_compare);
GtkTreeIter iter; GtkTreeIter iter;
GHashTable *added = g_hash_table_new(g_str_hash,g_str_equal); GHashTable *added = g_hash_table_new(g_str_hash,g_str_equal);
textdomain(LOCALES_DOMAIN_NAME);
for (int i=0;i<size;i++){ for (int i=0;i<size;i++){
char *lang_ab = yon_locale_get_parameter(locales[i],YON_LOCALE_LANG_AB); char *lang_ab = yon_locale_get_parameter(locales[i],YON_LOCALE_LANG_AB);
char *language = yon_locale_get_parameter(locales[i],YON_LOCALE_LANGUAGE); char *language = yon_locale_get_parameter(locales[i],YON_LOCALE_LANGUAGE);
@ -470,6 +471,7 @@ void set_locales_list(main_window *widgets){
3,title, 3,title,
-1); -1);
} }
textdomain(LocaleName);
} }

Loading…
Cancel
Save