mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
Split up the strings to make life easier for translators.
2003-05-20 Anders Carlsson <andersc@codefactory.se> * src/metacity-dialog.c: (kill_window_question): Split up the strings to make life easier for translators.
This commit is contained in:
parent
b77590ba7a
commit
6153a17a64
@ -1,3 +1,8 @@
|
|||||||
|
2003-05-20 Anders Carlsson <andersc@codefactory.se>
|
||||||
|
|
||||||
|
* src/metacity-dialog.c: (kill_window_question):
|
||||||
|
Split up the strings to make life easier for translators.
|
||||||
|
|
||||||
2003-05-20 Anders Carlsson <andersca@codefactory.se>
|
2003-05-20 Anders Carlsson <andersca@codefactory.se>
|
||||||
|
|
||||||
* src/metacity-dialog.c: (kill_window_question):
|
* src/metacity-dialog.c: (kill_window_question):
|
||||||
|
@ -79,14 +79,20 @@ kill_window_question (const char *window_name,
|
|||||||
const char *parent_str)
|
const char *parent_str)
|
||||||
{
|
{
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
|
char *str, *tmp;
|
||||||
|
|
||||||
|
str = g_strdup_printf (_("The window \"%s\" is not responding."),
|
||||||
|
window_name);
|
||||||
|
|
||||||
dialog = gtk_message_dialog_new (NULL, 0,
|
dialog = gtk_message_dialog_new (NULL, 0,
|
||||||
GTK_MESSAGE_WARNING,
|
GTK_MESSAGE_WARNING,
|
||||||
GTK_BUTTONS_NONE,
|
GTK_BUTTONS_NONE,
|
||||||
_("<b>The window \"%s\" is not responding.</b>\n\n"
|
"<b>%s</b>\n\n%s",
|
||||||
"Forcing this application to quit will "
|
str,
|
||||||
"cause you to lose any unsaved changes."),
|
_("Forcing this application to quit will "
|
||||||
window_name);
|
"cause you to lose any unsaved changes."));
|
||||||
|
g_free (str);
|
||||||
|
|
||||||
gtk_label_set_use_markup (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
|
gtk_label_set_use_markup (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
|
||||||
gtk_label_set_line_wrap (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
|
gtk_label_set_line_wrap (GTK_LABEL (GTK_MESSAGE_DIALOG (dialog)->label), TRUE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user