[geany/geany] 9f4ef3: Html chars: fix translation of category names

Colomban Wendling git-noreply at xxxxx
Thu Apr 10 12:16:18 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 10 Apr 2014 12:16:18 UTC
Commit:      9f4ef363f2fc86780f98ad4bf5bea98af8ad8048
             https://github.com/geany/geany/commit/9f4ef363f2fc86780f98ad4bf5bea98af8ad8048

Log Message:
-----------
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.


Modified Paths:
--------------
    plugins/htmlchars.c

Modified: plugins/htmlchars.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
 		}



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list