diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-22 18:17:30 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-22 18:17:30 +0400 |
commit | 40da6bb531ebb3b43a9e66f31390498620a9c082 (patch) | |
tree | 705404d18206b67da17c0cc0938455486f9ff859 /source/blender/blenfont | |
parent | 57b7f405a4306d6c8b29fc6cdfc16ab9eb58279a (diff) |
Update of the tools for the new "dynamic" i18n menu, to generate the languages file into locale dir...
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 5b9ec60fc11..19d94f2ace4 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -77,11 +77,8 @@ static void free_locales(void) if (locales) { int idx = num_locales_menu - 1; /* Last item does not need to be freed! */ while (idx--) { - printf("freeing %s\n", locales_menu[idx].identifier); MEM_freeN((void*)locales_menu[idx].identifier); - printf("freeing %s\n", locales_menu[idx].name); MEM_freeN((void*)locales_menu[idx].name); - printf("freeing %s\n", locales_menu[idx].description); MEM_freeN((void*)locales_menu[idx].description); /* Also frees locales's relevant value! */ } MEM_freeN(locales); @@ -113,7 +110,6 @@ static void fill_locales(void) line = line->next; continue; /* Comment or void... */ } - printf("%s\n", str); t = atoi(str); if (t >= num_locales) num_locales = t + 1; @@ -121,7 +117,6 @@ static void fill_locales(void) line = line->next; } num_locales_menu++; /* The "closing" void item... */ - printf("num_locales_menu: %d\n", num_locales_menu); /* And now, buil locales and locale_menu! */ locales = MEM_callocN(num_locales * sizeof(char*), __func__); @@ -138,7 +133,6 @@ static void fill_locales(void) } id = atoi(str); - printf("%s\n", str); sep1 = strchr(str, ':'); if (sep1) { sep1++; |