Commit b21d63533a332ec0adb3976b056a909f148e3117

Authored by perry.werneck@gmail.com
1 parent 2435abde
Exists in master and in 1 other branch develop

Corrigindo tradução no popup de informações do SSL

Showing 2 changed files with 4 additions and 4 deletions   Show diff stats
@@ -317,7 +317,7 @@ @@ -317,7 +317,7 @@
317 { 317 {
318 const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget); 318 const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget);
319 if(info) 319 if(info)
320 - return info->text; 320 + return gettext(info->text);
321 } 321 }
322 #endif // HAVE_LIBSSL 322 #endif // HAVE_LIBSSL
323 return v3270_get_host(widget); 323 return v3270_get_host(widget);
@@ -335,7 +335,7 @@ @@ -335,7 +335,7 @@
335 { 335 {
336 const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget); 336 const struct v3270_ssl_status_msg *info = v3270_get_ssl_status_msg(widget);
337 if(info) 337 if(info)
338 - return info->message; 338 + return gettext(info->message);
339 } 339 }
340 #endif // HAVE_LIBSSL 340 #endif // HAVE_LIBSSL
341 341
@@ -402,7 +402,7 @@ @@ -402,7 +402,7 @@
402 402
403 if(text) 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 else 407 else
408 { 408 {
@@ -266,7 +266,7 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, gboolean keyboa @@ -266,7 +266,7 @@ gboolean v3270_query_tooltip(GtkWidget *widget, gint x, gint y, gboolean keyboa
266 266
267 if(msg) 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 gtk_tooltip_set_icon_from_stock(tooltip,msg->icon,GTK_ICON_SIZE_MENU); 270 gtk_tooltip_set_icon_from_stock(tooltip,msg->icon,GTK_ICON_SIZE_MENU);
271 gtk_tooltip_set_markup(tooltip,text); 271 gtk_tooltip_set_markup(tooltip,text);
272 g_free(text); 272 g_free(text);