Branch: refs/heads/1.22_release
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sun, 08 Jul 2012 18:02:29
Commit: f61a90c92f4bcf1f5e5281a665ea9beaa3f77818
https://github.com/geany/geany-plugins/commit/f61a90c92f4bcf1f5e5281a665ea9…
Log Message:
-----------
GeanySendMail: Use N_() for translations in arrays
_() is a function and it then can't be used to initialize an array
element in C89, so use N_() that only marks the string for extracting
without actually translating it. This is not an issue here since the
translation will be done automatically later by GTK (using the
GETTEXT_PATKAGE registered in the same array).
Modified Paths:
--------------
geanysendmail/src/geanysendmail.c
Modified: geanysendmail/src/geanysendmail.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -184,7 +184,7 @@ static void add_stock_item(void)
GtkIconSet *icon_set;
GtkIconFactory *factory = gtk_icon_factory_new();
GtkIconTheme *theme = gtk_icon_theme_get_default();
- GtkStockItem item = { GEANYSENDMAIL_STOCK_MAIL, _("Mail"), 0, 0, GETTEXT_PACKAGE };
+ GtkStockItem item = { GEANYSENDMAIL_STOCK_MAIL, N_("Mail"), 0, 0, GETTEXT_PACKAGE };
if (gtk_icon_theme_has_icon(theme, "mail-message-new"))
{
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).