Commit b21d63533a332ec0adb3976b056a909f148e3117
1 parent
2435abde
Exists in
master
and in
1 other branch
Corrigindo tradução no popup de informações do SSL
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
security.c
... | ... | @@ -317,7 +317,7 @@ |
317 | 317 | { |
318 | 318 | const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget); |
319 | 319 | if(info) |
320 | - return info->text; | |
320 | + return gettext(info->text); | |
321 | 321 | } |
322 | 322 | #endif // HAVE_LIBSSL |
323 | 323 | return v3270_get_host(widget); |
... | ... | @@ -335,7 +335,7 @@ |
335 | 335 | { |
336 | 336 | const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget); |
337 | 337 | if(info) |
338 | - return info->message; | |
338 | + return gettext(info->message); | |
339 | 339 | } |
340 | 340 | #endif // HAVE_LIBSSL |
341 | 341 | |
... | ... | @@ -402,7 +402,7 @@ |
402 | 402 | |
403 | 403 | if(text) |
404 | 404 | { |
405 | - gtk_message_dialog_format_secondary_markup(GTK_MESSAGE_DIALOG(dialog),text); | |
405 | + gtk_message_dialog_format_secondary_markup(GTK_MESSAGE_DIALOG(dialog), gettext(text)); | |
406 | 406 | } |
407 | 407 | else |
408 | 408 | { | ... | ... |
widget.c
... | ... | @@ -266,7 +266,7 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, gboolean keyboa |
266 | 266 | |
267 | 267 | if(msg) |
268 | 268 | { |
269 | - gchar *text = g_strdup_printf("<b>%s</b>\n%s",_("Identity not verified"),msg->text); | |
269 | + gchar *text = g_strdup_printf("<b>%s</b>\n%s",_("Identity not verified"),gettext(msg->text)); | |
270 | 270 | gtk_tooltip_set_icon_from_stock(tooltip,msg->icon,GTK_ICON_SIZE_MENU); |
271 | 271 | gtk_tooltip_set_markup(tooltip,text); |
272 | 272 | g_free(text); | ... | ... |