15569
|
1 |
--- gksu-1.3.0/gksu/gksu.c.orig 2009-04-06 10:20:08.961664000 +0900
|
|
2 |
+++ gksu-1.3.0/gksu/gksu.c 2009-04-06 13:21:39.528143000 +0900
|
|
3 |
@@ -1015,6 +1018,7 @@ main (int argc, char **argv)
|
|
4 |
if (error)
|
|
5 |
{
|
|
6 |
gk_dialog (GTK_MESSAGE_ERROR,
|
|
7 |
+ /* SUN_BRANDING back port the translations. */
|
|
8 |
_("Failed to run %s as user %s:\n %s"),
|
|
9 |
gksu_context_get_command (context),
|
|
10 |
gksu_context_get_user (context),
|
|
11 |
@@ -1029,10 +1033,14 @@ main (int argc, char **argv)
|
|
12 |
if (!message_changed)
|
|
13 |
{
|
|
14 |
gchar *msg =
|
|
15 |
- g_strdup_printf (_("<b>To run the program \"%s\" you need to "
|
|
16 |
- "enter the %s password</b>"),
|
|
17 |
- gksu_context_get_command (context),
|
|
18 |
- gksu_context_get_user (context));
|
|
19 |
+ /* SUN_BRANDING
|
|
20 |
+ The string is back port from libgksu 2.0.9.
|
|
21 |
+ su_ask_password() in libgksu/libgksu/libgksu.c */
|
|
22 |
+ g_strdup_printf (_("<b>Enter the password of %s to run "
|
|
23 |
+ "the application '%s'"
|
|
24 |
+ "</b>"),
|
|
25 |
+ gksu_context_get_user (context),
|
|
26 |
+ gksu_context_get_command (context));
|
|
27 |
|
|
28 |
gksuui_dialog_set_message (GKSUUI_DIALOG(dialog), msg);
|
|
29 |
g_free (msg);
|