[gnome-user-share] Bug 586755 – Localized realm in the passwd file doesn't work
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-user-share] Bug 586755 – Localized realm in the passwd file doesn't work
- Date: Fri, 26 Jun 2009 09:30:44 +0000 (UTC)
commit f77498214f945c988a0bcbe570782dcaf37e771d
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 26 10:30:42 2009 +0100
Bug 586755 â?? Localized realm in the passwd file doesn't work
And apparently, they're not supposed to either... So remove the
translation for the realm instead.
src/file-share-properties.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/file-share-properties.c b/src/file-share-properties.c
index 2b9cd2e..4d69a62 100644
--- a/src/file-share-properties.c
+++ b/src/file-share-properties.c
@@ -32,7 +32,7 @@
#include "user_share-private.h"
-#define REALM N_("Please log in as the user guest")
+#define REALM "Please log in as the user guest"
#define USER "guest"
static GtkBuilder* builder;
@@ -47,10 +47,10 @@ write_out_password (const char *password)
char *filename;
FILE *file;
- to_hash = g_strdup_printf ("%s:%s:%s", USER, _(REALM), password);
+ to_hash = g_strdup_printf ("%s:%s:%s", USER, REALM, password);
ascii_digest = g_compute_checksum_for_string (G_CHECKSUM_MD5, to_hash, strlen (to_hash));
g_free (to_hash);
- line = g_strdup_printf ("%s:%s:%s\n", USER, _(REALM), ascii_digest);
+ line = g_strdup_printf ("%s:%s:%s\n", USER, REALM, ascii_digest);
g_free (ascii_digest);
filename = g_build_filename (g_get_user_config_dir (), "user-share", "passwd", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]