|
Lines 870-876
gksu_context_run_full (GksuContext *cont
Link Here
|
| 870 |
{ |
870 |
{ |
| 871 |
if (!context->password) |
871 |
if (!context->password) |
| 872 |
{ |
872 |
{ |
| 873 |
if (ask_pass (context, buf, user_data, error)) |
873 |
gchar* prompt = buf; |
|
|
874 |
// Use the translated version of "Password: " string |
| 875 |
// if possible (this string is already localized). |
| 876 |
if (strcmp("Password: ", buf) == 0) |
| 877 |
{ |
| 878 |
prompt = _("Password: "); |
| 879 |
} |
| 880 |
if (ask_pass (context, prompt, user_data, error)) |
| 874 |
return -1; |
881 |
return -1; |
| 875 |
|
882 |
|
| 876 |
g_return_val_if_fail (context->password, -1); |
883 |
g_return_val_if_fail (context->password, -1); |