gfs2-utils: master - gfs2-utils: Further translation updates

Steven Whitehouse swhiteho@fedoraproject.org
Fri May 22 12:46:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=11cf2280d10b7e08a098b958a96c2a5a41a9a92c
Commit:        11cf2280d10b7e08a098b958a96c2a5a41a9a92c
Parent:        39f775e9824fefdedbf9020abf86b4399537e563
Author:        Steven Whitehouse <swhiteho@redhat.com>
AuthorDate:    Fri May 22 12:37:54 2009 +0100
Committer:     Steven Whitehouse <swhiteho@redhat.com>
CommitterDate: Fri May 22 12:37:54 2009 +0100

gfs2-utils: Further translation updates

Change the textdomain so we can use just a single file
for all gfs2-utils programs. Add a directory to hold the
translations.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
---
 gfs2/fsck/main.c |    2 +-
 gfs2/mkfs/main.c |    2 +-
 gfs2/tool/main.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gfs2/fsck/main.c b/gfs2/fsck/main.c
index c85e6de..109b686 100644
--- a/gfs2/fsck/main.c
+++ b/gfs2/fsck/main.c
@@ -256,7 +256,7 @@ int main(int argc, char **argv)
 	int error = 0;
 
 	setlocale(LC_ALL, "");
-	textdomain("fsck.gfs2");
+	textdomain("gfs2-utils");
 
 	memset(sbp, 0, sizeof(*sbp));
 
diff --git a/gfs2/mkfs/main.c b/gfs2/mkfs/main.c
index 1e9d225..bd00317 100644
--- a/gfs2/mkfs/main.c
+++ b/gfs2/mkfs/main.c
@@ -33,7 +33,7 @@ main(int argc, char *argv[])
 	char *p, *whoami;
 
 	setlocale(LC_ALL, "");
-	textdomain("mkfs.gfs2");
+	textdomain("gfs2-utils");
 
 	prog_name = argv[0];
 	srandom(time(NULL) ^ getpid());
diff --git a/gfs2/tool/main.c b/gfs2/tool/main.c
index aa872c3..20614e4 100644
--- a/gfs2/tool/main.c
+++ b/gfs2/tool/main.c
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
 	prog_name = argv[0];
 
 	setlocale(LC_ALL, "");
-	textdomain("gfs2_tool");
+	textdomain("gfs2-utils");
 
 	if (argc < 2) {
 		print_usage();



More information about the Cluster-cvs mailing list