Html chars: fix translation of category names

Although the strings were properly marked for translation, they weren't
actually translated because they missed run-time replacement.
This commit is contained in:
Colomban Wendling 2014-04-10 14:13:56 +02:00
parent 264d2ad6bd
commit 9f4ef363f2

View File

@ -560,7 +560,7 @@ static void sc_fill_store(GtkTreeStore *store)
if (chars[i][1] == NULL)
{ /* add a category */
gtk_tree_store_append(store, &iter, NULL);
gtk_tree_store_set(store, &iter, COLUMN_CHARACTER, chars[i][0], -1);
gtk_tree_store_set(store, &iter, COLUMN_CHARACTER, _(chars[i][0]), -1);
if (parent_iter != NULL) gtk_tree_iter_free(parent_iter);
parent_iter = gtk_tree_iter_copy(&iter);
}