[PATCH] [xfsprogs]: Don't translate command name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Command names should never be translated. Currently there is
'xfs_quota -x -c "project"...' in one locale (C) while
'xfs_quota -x -c "projekt"...' in another (pl_PL).

Signed-off-by: Arkadiusz MiÅkiewicz <arekm@xxxxxxxx>
---
 io/attr.c       |    4 ++--
 io/bmap.c       |    2 +-
 io/fadvise.c    |    2 +-
 io/file.c       |    8 ++++----
 io/freeze.c     |    4 ++--
 io/fsync.c      |    8 ++++----
 io/getrusage.c  |    4 ++--
 io/imap.c       |    2 +-
 io/inject.c     |    2 +-
 io/madvise.c    |    4 ++--
 io/mincore.c    |    4 ++--
 io/mmap.c       |   20 ++++++++++----------
 io/open.c       |   20 ++++++++++----------
 io/parent.c     |    2 +-
 io/pread.c      |    4 ++--
 io/prealloc.c   |   14 +++++++-------
 io/pwrite.c     |    4 ++--
 io/resblks.c    |    2 +-
 io/sendfile.c   |    4 ++--
 io/shutdown.c   |    2 +-
 io/truncate.c   |    4 ++--
 libxcmd/help.c  |    4 ++--
 libxcmd/quit.c  |    4 ++--
 quota/edit.c    |    8 ++++----
 quota/free.c    |    4 ++--
 quota/path.c    |    8 ++++----
 quota/project.c |    4 ++--
 quota/quot.c    |    2 +-
 quota/quota.c   |    4 ++--
 quota/report.c  |    6 +++---
 quota/state.c   |   10 +++++-----
 31 files changed, 87 insertions(+), 87 deletions(-)

diff --git a/io/attr.c b/io/attr.c
index 727c460..9b26f31 100644
--- a/io/attr.c
+++ b/io/attr.c
@@ -333,7 +333,7 @@ chattr_f(
 void
 attr_init(void)
 {
-	chattr_cmd.name = _("chattr");
+	chattr_cmd.name = "chattr";
 	chattr_cmd.cfunc = chattr_f;
 	chattr_cmd.args = _("[-R|-D] [+/-"CHATTR_XFLAG_LIST"]");
 	chattr_cmd.argmin = 1;
@@ -343,7 +343,7 @@ attr_init(void)
 		_("change extended inode flags on the currently open file");
 	chattr_cmd.help = chattr_help;
 
-	lsattr_cmd.name = _("lsattr");
+	lsattr_cmd.name = "lsattr";
 	lsattr_cmd.cfunc = lsattr_f;
 	lsattr_cmd.args = _("[-R|-D|-a|-v]");
 	lsattr_cmd.argmin = 0;
diff --git a/io/bmap.c b/io/bmap.c
index 55f956e..a78cbb1 100644
--- a/io/bmap.c
+++ b/io/bmap.c
@@ -430,7 +430,7 @@ bmap_f(
 void
 bmap_init(void)
 {
-	bmap_cmd.name = _("bmap");
+	bmap_cmd.name = "bmap";
 	bmap_cmd.cfunc = bmap_f;
 	bmap_cmd.argmin = 0;
 	bmap_cmd.argmax = -1;
diff --git a/io/fadvise.c b/io/fadvise.c
index 5a76ebb..a27b8f7 100644
--- a/io/fadvise.c
+++ b/io/fadvise.c
@@ -114,7 +114,7 @@ fadvise_f(
 void
 fadvise_init(void)
 {
-	fadvise_cmd.name = _("fadvise");
+	fadvise_cmd.name = "fadvise";
 	fadvise_cmd.cfunc = fadvise_f;
 	fadvise_cmd.argmin = 0;
 	fadvise_cmd.argmax = -1;
diff --git a/io/file.c b/io/file.c
index debab0f..db85ffc 100644
--- a/io/file.c
+++ b/io/file.c
@@ -89,8 +89,8 @@ file_f(
 void
 file_init(void)
 {
-	file_cmd.name = _("file");
-	file_cmd.altname = _("f");
+	file_cmd.name = "file";
+	file_cmd.altname = "f";
 	file_cmd.args = _("[N]");
 	file_cmd.cfunc = file_f;
 	file_cmd.argmin = 0;
@@ -98,8 +98,8 @@ file_init(void)
 	file_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	file_cmd.oneline = _("set the current file");
 
-	print_cmd.name = _("print");
-	print_cmd.altname = _("p");
+	print_cmd.name = "print";
+	print_cmd.altname = "p";
 	print_cmd.cfunc = print_f;
 	print_cmd.argmin = 0;
 	print_cmd.argmax = 0;
diff --git a/io/freeze.c b/io/freeze.c
index 08f4d47..89cd303 100644
--- a/io/freeze.c
+++ b/io/freeze.c
@@ -62,14 +62,14 @@ thaw_f(
 void
 freeze_init(void)
 {
-	freeze_cmd.name = _("freeze");
+	freeze_cmd.name = "freeze";
 	freeze_cmd.cfunc = freeze_f;
 	freeze_cmd.argmin = 0;
 	freeze_cmd.argmax = 0;
 	freeze_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	freeze_cmd.oneline = _("freeze filesystem of current file");
 
-	thaw_cmd.name = _("thaw");
+	thaw_cmd.name = "thaw";
 	thaw_cmd.cfunc = thaw_f;
 	thaw_cmd.argmin = 0;
 	thaw_cmd.argmax = 0;
diff --git a/io/fsync.c b/io/fsync.c
index 83fc0f4..5ed8d25 100644
--- a/io/fsync.c
+++ b/io/fsync.c
@@ -51,15 +51,15 @@ fdatasync_f(
 void
 fsync_init(void)
 {
-	fsync_cmd.name = _("fsync");
-	fsync_cmd.altname = _("s");
+	fsync_cmd.name = "fsync";
+	fsync_cmd.altname = "s";
 	fsync_cmd.cfunc = fsync_f;
 	fsync_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	fsync_cmd.oneline =
 		_("calls fsync(2) to flush all in-core file state to disk");
 
-	fdatasync_cmd.name = _("fdatasync");
-	fdatasync_cmd.altname = _("ds");
+	fdatasync_cmd.name = "fdatasync";
+	fdatasync_cmd.altname = "ds";
 	fdatasync_cmd.cfunc = fdatasync_f;
 	fdatasync_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	fdatasync_cmd.oneline =
diff --git a/io/getrusage.c b/io/getrusage.c
index ba35c5d..32f2a7e 100644
--- a/io/getrusage.c
+++ b/io/getrusage.c
@@ -109,8 +109,8 @@ getrusage_f(
 void
 getrusage_init(void)
 {
-	getrusage_cmd.name = _("getrusage");
-	getrusage_cmd.altname = _("g");
+	getrusage_cmd.name = "getrusage";
+	getrusage_cmd.altname = "g";
 	getrusage_cmd.argmin = 0;
 	getrusage_cmd.argmax = -1;
 	getrusage_cmd.cfunc = getrusage_f;
diff --git a/io/imap.c b/io/imap.c
index 458a1fd..0a4f14e 100644
--- a/io/imap.c
+++ b/io/imap.c
@@ -64,7 +64,7 @@ imap_f(int argc, char **argv)
 void
 imap_init(void)
 {
-	imap_cmd.name = _("imap");
+	imap_cmd.name = "imap";
 	imap_cmd.cfunc = imap_f;
 	imap_cmd.argmin = 0;
 	imap_cmd.argmax = 0;
diff --git a/io/inject.c b/io/inject.c
index 4be9d06..1e078ae 100644
--- a/io/inject.c
+++ b/io/inject.c
@@ -148,7 +148,7 @@ inject_f(
 void
 inject_init(void)
 {
-	inject_cmd.name = _("inject");
+	inject_cmd.name = "inject";
 	inject_cmd.cfunc = inject_f;
 	inject_cmd.argmin = 0;
 	inject_cmd.argmax = -1;
diff --git a/io/madvise.c b/io/madvise.c
index 3235402..87f619d 100644
--- a/io/madvise.c
+++ b/io/madvise.c
@@ -118,8 +118,8 @@ madvise_f(
 void
 madvise_init(void)
 {
-	madvise_cmd.name = _("madvise");
-	madvise_cmd.altname = _("ma");
+	madvise_cmd.name = "madvise";
+	madvise_cmd.altname = "ma";
 	madvise_cmd.cfunc = madvise_f;
 	madvise_cmd.argmin = 0;
 	madvise_cmd.argmax = -1;
diff --git a/io/mincore.c b/io/mincore.c
index 60625ef..eac8699 100644
--- a/io/mincore.c
+++ b/io/mincore.c
@@ -113,8 +113,8 @@ mincore_f(
 void
 mincore_init(void)
 {
-	mincore_cmd.name = _("mincore");
-	mincore_cmd.altname = _("mi");
+	mincore_cmd.name = "mincore";
+	mincore_cmd.altname = "mi";
 	mincore_cmd.cfunc = mincore_f;
 	mincore_cmd.argmin = 0;
 	mincore_cmd.argmax = 2;
diff --git a/io/mmap.c b/io/mmap.c
index 29374ea..ea7498f 100644
--- a/io/mmap.c
+++ b/io/mmap.c
@@ -577,8 +577,8 @@ mwrite_f(
 void
 mmap_init(void)
 {
-	mmap_cmd.name = _("mmap");
-	mmap_cmd.altname = _("mm");
+	mmap_cmd.name = "mmap";
+	mmap_cmd.altname = "mm";
 	mmap_cmd.cfunc = mmap_f;
 	mmap_cmd.argmin = 0;
 	mmap_cmd.argmax = -1;
@@ -588,8 +588,8 @@ mmap_init(void)
 		_("mmap a range in the current file, show mappings");
 	mmap_cmd.help = mmap_help;
 
-	mread_cmd.name = _("mread");
-	mread_cmd.altname = _("mr");
+	mread_cmd.name = "mread";
+	mread_cmd.altname = "mr";
 	mread_cmd.cfunc = mread_f;
 	mread_cmd.argmin = 0;
 	mread_cmd.argmax = -1;
@@ -599,8 +599,8 @@ mmap_init(void)
 		_("reads data from a region in the current memory mapping");
 	mread_cmd.help = mread_help;
 
-	msync_cmd.name = _("msync");
-	msync_cmd.altname = _("ms");
+	msync_cmd.name = "msync";
+	msync_cmd.altname = "ms";
 	msync_cmd.cfunc = msync_f;
 	msync_cmd.argmin = 0;
 	msync_cmd.argmax = -1;
@@ -609,16 +609,16 @@ mmap_init(void)
 	msync_cmd.oneline = _("flush a region in the current memory mapping");
 	msync_cmd.help = msync_help;
 
-	munmap_cmd.name = _("munmap");
-	munmap_cmd.altname = _("mu");
+	munmap_cmd.name = "munmap";
+	munmap_cmd.altname = "mu";
 	munmap_cmd.cfunc = munmap_f;
 	munmap_cmd.argmin = 0;
 	munmap_cmd.argmax = 0;
 	munmap_cmd.flags = CMD_NOFILE_OK | CMD_FOREIGN_OK;
 	munmap_cmd.oneline = _("unmaps the current memory mapping");
 
-	mwrite_cmd.name = _("mwrite");
-	mwrite_cmd.altname = _("mw");
+	mwrite_cmd.name = "mwrite";
+	mwrite_cmd.altname = "mw";
 	mwrite_cmd.cfunc = mwrite_f;
 	mwrite_cmd.argmin = 0;
 	mwrite_cmd.argmax = -1;
diff --git a/io/open.c b/io/open.c
index 64c12ad..f1a6501 100644
--- a/io/open.c
+++ b/io/open.c
@@ -772,8 +772,8 @@ statfs_f(
 void
 open_init(void)
 {
-	open_cmd.name = _("open");
-	open_cmd.altname = _("o");
+	open_cmd.name = "open";
+	open_cmd.altname = "o";
 	open_cmd.cfunc = open_f;
 	open_cmd.argmin = 0;
 	open_cmd.argmax = -1;
@@ -782,7 +782,7 @@ open_init(void)
 	open_cmd.oneline = _("open the file specified by path");
 	open_cmd.help = open_help;
 
-	stat_cmd.name = _("stat");
+	stat_cmd.name = "stat";
 	stat_cmd.cfunc = stat_f;
 	stat_cmd.argmin = 0;
 	stat_cmd.argmax = 1;
@@ -790,28 +790,28 @@ open_init(void)
 	stat_cmd.args = _("[-v]");
 	stat_cmd.oneline = _("statistics on the currently open file");
 
-	close_cmd.name = _("close");
-	close_cmd.altname = _("c");
+	close_cmd.name = "close";
+	close_cmd.altname = "c";
 	close_cmd.cfunc = close_f;
 	close_cmd.argmin = 0;
 	close_cmd.argmax = 0;
 	close_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	close_cmd.oneline = _("close the current open file");
 
-	setfl_cmd.name = _("setfl");
+	setfl_cmd.name = "setfl";
 	setfl_cmd.cfunc = setfl_f;
 	setfl_cmd.args = _("[-adx]");
 	setfl_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	setfl_cmd.oneline =
 		_("set/clear append/direct flags on the open file");
 
-	statfs_cmd.name = _("statfs");
+	statfs_cmd.name = "statfs";
 	statfs_cmd.cfunc = statfs_f;
 	statfs_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
 	statfs_cmd.oneline =
 		_("statistics on the filesystem of the currently open file");
 
-	chproj_cmd.name = _("chproj");
+	chproj_cmd.name = "chproj";
 	chproj_cmd.cfunc = chproj_f;
 	chproj_cmd.args = _("[-D | -R] projid");
 	chproj_cmd.argmin = 1;
@@ -821,7 +821,7 @@ open_init(void)
 		_("change project identifier on the currently open file");
 	chproj_cmd.help = chproj_help;
 
-	lsproj_cmd.name = _("lsproj");
+	lsproj_cmd.name = "lsproj";
 	lsproj_cmd.cfunc = lsproj_f;
 	lsproj_cmd.args = _("[-D | -R]");
 	lsproj_cmd.argmin = 0;
@@ -831,7 +831,7 @@ open_init(void)
 		_("list project identifier set on the currently open file");
 	lsproj_cmd.help = lsproj_help;
 
-	extsize_cmd.name = _("extsize");
+	extsize_cmd.name = "extsize";
 	extsize_cmd.cfunc = extsize_f;
 	extsize_cmd.args = _("[-D | -R] [extsize]");
 	extsize_cmd.argmin = 0;
diff --git a/io/parent.c b/io/parent.c
index ea2efa8..3e93c22 100644
--- a/io/parent.c
+++ b/io/parent.c
@@ -429,7 +429,7 @@ parent_help(void)
 void
 parent_init(void)
 {
-	parent_cmd.name = _("parent");
+	parent_cmd.name = "parent";
 	parent_cmd.cfunc = parent_f;
 	parent_cmd.argmin = 0;
 	parent_cmd.argmax = -1;
diff --git a/io/pread.c b/io/pread.c
index f8b378c..705dc69 100644
--- a/io/pread.c
+++ b/io/pread.c
@@ -387,8 +387,8 @@ pread_f(
 void
 pread_init(void)
 {
-	pread_cmd.name = _("pread");
-	pread_cmd.altname = _("r");
+	pread_cmd.name = "pread";
+	pread_cmd.altname = "r";
 	pread_cmd.cfunc = pread_f;
 	pread_cmd.argmin = 2;
 	pread_cmd.argmax = -1;
diff --git a/io/prealloc.c b/io/prealloc.c
index 2cf2172..8380646 100644
--- a/io/prealloc.c
+++ b/io/prealloc.c
@@ -208,7 +208,7 @@ fpunch_f(
 void
 prealloc_init(void)
 {
-	allocsp_cmd.name = _("allocsp");
+	allocsp_cmd.name = "allocsp";
 	allocsp_cmd.cfunc = allocsp_f;
 	allocsp_cmd.argmin = 2;
 	allocsp_cmd.argmax = 2;
@@ -216,7 +216,7 @@ prealloc_init(void)
 	allocsp_cmd.args = _("off len");
 	allocsp_cmd.oneline = _("allocates zeroed space for part of a file");
 
-	freesp_cmd.name = _("freesp");
+	freesp_cmd.name = "freesp";
 	freesp_cmd.cfunc = freesp_f;
 	freesp_cmd.argmin = 2;
 	freesp_cmd.argmax = 2;
@@ -224,7 +224,7 @@ prealloc_init(void)
 	freesp_cmd.args = _("off len");
 	freesp_cmd.oneline = _("frees space associated with part of a file");
 
-	resvsp_cmd.name = _("resvsp");
+	resvsp_cmd.name = "resvsp";
 	resvsp_cmd.cfunc = resvsp_f;
 	resvsp_cmd.argmin = 2;
 	resvsp_cmd.argmax = 2;
@@ -233,7 +233,7 @@ prealloc_init(void)
 	resvsp_cmd.oneline =
 		_("reserves space associated with part of a file");
 
-	unresvsp_cmd.name = _("unresvsp");
+	unresvsp_cmd.name = "unresvsp";
 	unresvsp_cmd.cfunc = unresvsp_f;
 	unresvsp_cmd.argmin = 2;
 	unresvsp_cmd.argmax = 2;
@@ -242,7 +242,7 @@ prealloc_init(void)
 	unresvsp_cmd.oneline =
 		_("frees reserved space associated with part of a file");
 
-	zero_cmd.name = _("zero");
+	zero_cmd.name = "zero";
 	zero_cmd.cfunc = zero_f;
 	zero_cmd.argmin = 2;
 	zero_cmd.argmax = 2;
@@ -258,7 +258,7 @@ prealloc_init(void)
 	add_command(&zero_cmd);
 
 #if defined (HAVE_FALLOCATE)
-	falloc_cmd.name = _("falloc");
+	falloc_cmd.name = "falloc";
 	falloc_cmd.cfunc = fallocate_f;
 	falloc_cmd.argmin = 2;
 	falloc_cmd.argmax = -1;
@@ -268,7 +268,7 @@ prealloc_init(void)
 		_("allocates space associated with part of a file via fallocate");
 	add_command(&falloc_cmd);
 
-	fpunch_cmd.name = _("fpunch");
+	fpunch_cmd.name = "fpunch";
 	fpunch_cmd.cfunc = fpunch_f;
 	fpunch_cmd.argmin = 2;
 	fpunch_cmd.argmax = 2;
diff --git a/io/pwrite.c b/io/pwrite.c
index 26a7850..7c3932c 100644
--- a/io/pwrite.c
+++ b/io/pwrite.c
@@ -349,8 +349,8 @@ done:
 void
 pwrite_init(void)
 {
-	pwrite_cmd.name = _("pwrite");
-	pwrite_cmd.altname = _("w");
+	pwrite_cmd.name = "pwrite";
+	pwrite_cmd.altname = "w";
 	pwrite_cmd.cfunc = pwrite_f;
 	pwrite_cmd.argmin = 2;
 	pwrite_cmd.argmax = -1;
diff --git a/io/resblks.c b/io/resblks.c
index face175..2e54776 100644
--- a/io/resblks.c
+++ b/io/resblks.c
@@ -58,7 +58,7 @@ resblks_f(
 void
 resblks_init(void)
 {
-	resblks_cmd.name = _("resblks");
+	resblks_cmd.name = "resblks";
 	resblks_cmd.cfunc = resblks_f;
 	resblks_cmd.argmin = 0;
 	resblks_cmd.argmax = 1;
diff --git a/io/sendfile.c b/io/sendfile.c
index 4b34a5f..426b75d 100644
--- a/io/sendfile.c
+++ b/io/sendfile.c
@@ -176,8 +176,8 @@ done:
 void
 sendfile_init(void)
 {
-	sendfile_cmd.name = _("sendfile");
-	sendfile_cmd.altname = _("send");
+	sendfile_cmd.name = "sendfile";
+	sendfile_cmd.altname = "send";
 	sendfile_cmd.cfunc = sendfile_f;
 	sendfile_cmd.argmin = 2;
 	sendfile_cmd.argmax = -1;
diff --git a/io/shutdown.c b/io/shutdown.c
index cf306fb..21e1626 100644
--- a/io/shutdown.c
+++ b/io/shutdown.c
@@ -51,7 +51,7 @@ shutdown_f(
 void
 shutdown_init(void)
 {
-	shutdown_cmd.name = _("shutdown");
+	shutdown_cmd.name = "shutdown";
 	shutdown_cmd.cfunc = shutdown_f;
 	shutdown_cmd.argmin = 0;
 	shutdown_cmd.argmax = 1;
diff --git a/io/truncate.c b/io/truncate.c
index e7638da..49ced6f 100644
--- a/io/truncate.c
+++ b/io/truncate.c
@@ -49,8 +49,8 @@ truncate_f(
 void
 truncate_init(void)
 {
-	truncate_cmd.name = _("truncate");
-	truncate_cmd.altname = _("t");
+	truncate_cmd.name = "truncate";
+	truncate_cmd.altname = "t";
 	truncate_cmd.cfunc = truncate_f;
 	truncate_cmd.argmin = 1;
 	truncate_cmd.argmax = 1;
diff --git a/libxcmd/help.c b/libxcmd/help.c
index 2e567b6..54d34d8 100644
--- a/libxcmd/help.c
+++ b/libxcmd/help.c
@@ -83,8 +83,8 @@ help_oneline(
 void
 help_init(void)
 {
-	help_cmd.name = _("help");
-	help_cmd.altname = _("?");
+	help_cmd.name = "help";
+	help_cmd.altname = "?";
 	help_cmd.cfunc = help_f;
 	help_cmd.argmin = 0;
 	help_cmd.argmax = 1;
diff --git a/libxcmd/quit.c b/libxcmd/quit.c
index 83e48b2..faba4d1 100644
--- a/libxcmd/quit.c
+++ b/libxcmd/quit.c
@@ -33,8 +33,8 @@ quit_f(
 void
 quit_init(void)
 {
-	quit_cmd.name = _("quit");
-	quit_cmd.altname = _("q");
+	quit_cmd.name = "quit";
+	quit_cmd.altname = "q";
 	quit_cmd.cfunc = quit_f;
 	quit_cmd.argmin = -1;
 	quit_cmd.argmax = -1;
diff --git a/quota/edit.c b/quota/edit.c
index ce7f7e9..b704e63 100644
--- a/quota/edit.c
+++ b/quota/edit.c
@@ -675,7 +675,7 @@ warn_f(
 void
 edit_init(void)
 {
-	limit_cmd.name = _("limit");
+	limit_cmd.name = "limit";
 	limit_cmd.cfunc = limit_f;
 	limit_cmd.argmin = 2;
 	limit_cmd.argmax = -1;
@@ -684,14 +684,14 @@ edit_init(void)
 	limit_cmd.oneline = _("modify quota limits");
 	limit_cmd.help = limit_help;
 
-	restore_cmd.name = _("restore");
+	restore_cmd.name = "restore";
 	restore_cmd.cfunc = restore_f;
 	restore_cmd.argmin = 0;
 	restore_cmd.argmax = -1;
 	restore_cmd.args = _("[-gpu] [-f file]");
 	restore_cmd.oneline = _("restore quota limits from a backup file");
 
-	timer_cmd.name = _("timer");
+	timer_cmd.name = "timer";
 	timer_cmd.cfunc = timer_f;
 	timer_cmd.argmin = 2;
 	timer_cmd.argmax = -1;
@@ -699,7 +699,7 @@ edit_init(void)
 	timer_cmd.oneline = _("get/set quota enforcement timeouts");
 	timer_cmd.help = timer_help;
 
-	warn_cmd.name = _("warn");
+	warn_cmd.name = "warn";
 	warn_cmd.cfunc = warn_f;
 	warn_cmd.argmin = 2;
 	warn_cmd.argmax = -1;
diff --git a/quota/free.c b/quota/free.c
index 1f10ded..825ce34 100644
--- a/quota/free.c
+++ b/quota/free.c
@@ -357,8 +357,8 @@ free_f(
 void
 free_init(void)
 {
-	free_cmd.name = _("df");
-	free_cmd.altname = _("free");
+	free_cmd.name = "df";
+	free_cmd.altname = "free";
 	free_cmd.cfunc = free_f;
 	free_cmd.argmin = 0;
 	free_cmd.argmax = -1;
diff --git a/quota/path.c b/quota/path.c
index 6b532de..e9a6834 100644
--- a/quota/path.c
+++ b/quota/path.c
@@ -121,8 +121,8 @@ path_f(
 void
 path_init(void)
 {
-	path_cmd.name = _("path");
-	path_cmd.altname = _("paths");
+	path_cmd.name = "path";
+	path_cmd.altname = "paths";
 	path_cmd.args = _("[N]");
 	path_cmd.cfunc = path_f;
 	path_cmd.argmin = 0;
@@ -130,8 +130,8 @@ path_init(void)
 	path_cmd.flags = CMD_FLAG_GLOBAL;
 	path_cmd.oneline = _("set current path, or show the list of paths");
 
-	print_cmd.name = _("print");
-	print_cmd.altname = _("p");
+	print_cmd.name = "print";
+	print_cmd.altname = "p";
 	print_cmd.cfunc = print_f;
 	print_cmd.argmin = 0;
 	print_cmd.argmax = 0;
diff --git a/quota/project.c b/quota/project.c
index b1f160c..a2c7046 100644
--- a/quota/project.c
+++ b/quota/project.c
@@ -347,8 +347,8 @@ project_f(
 void
 project_init(void)
 {
-	project_cmd.name = _("project");
-	project_cmd.altname = _("tree");
+	project_cmd.name = "project";
+	project_cmd.altname = "tree";
 	project_cmd.cfunc = project_f;
 	project_cmd.args = _("[-c|-s|-C|-d <depth>|-p <path>] project ...");
 	project_cmd.argmin = 1;
diff --git a/quota/quot.c b/quota/quot.c
index 54387ea..a7782b4 100644
--- a/quota/quot.c
+++ b/quota/quot.c
@@ -411,7 +411,7 @@ quot_f(
 void
 quot_init(void)
 {
-	quot_cmd.name = _("quot");
+	quot_cmd.name = "quot";
 	quot_cmd.cfunc = quot_f;
 	quot_cmd.argmin = 0;
 	quot_cmd.argmax = -1;
diff --git a/quota/quota.c b/quota/quota.c
index 4a1f39f..3fba055 100644
--- a/quota/quota.c
+++ b/quota/quota.c
@@ -452,8 +452,8 @@ quota_f(
 void
 quota_init(void)
 {
-	quota_cmd.name = _("quota");
-	quota_cmd.altname = _("l");
+	quota_cmd.name = "quota";
+	quota_cmd.altname = "l";
 	quota_cmd.cfunc = quota_f;
 	quota_cmd.argmin = 0;
 	quota_cmd.argmax = -1;
diff --git a/quota/report.c b/quota/report.c
index 8653590..a1e165b 100644
--- a/quota/report.c
+++ b/quota/report.c
@@ -640,7 +640,7 @@ report_f(
 void
 report_init(void)
 {
-	dump_cmd.name = _("dump");
+	dump_cmd.name = "dump";
 	dump_cmd.cfunc = dump_f;
 	dump_cmd.argmin = 0;
 	dump_cmd.argmax = -1;
@@ -648,8 +648,8 @@ report_init(void)
 	dump_cmd.oneline = _("dump quota information for backup utilities");
 	dump_cmd.help = dump_help;
 
-	report_cmd.name = _("report");
-	report_cmd.altname = _("repquota");
+	report_cmd.name = "report";
+	report_cmd.altname = "repquota";
 	report_cmd.cfunc = report_f;
 	report_cmd.argmin = 0;
 	report_cmd.argmax = -1;
diff --git a/quota/state.c b/quota/state.c
index aa03340..3862e67 100644
--- a/quota/state.c
+++ b/quota/state.c
@@ -517,7 +517,7 @@ remove_f(
 void
 state_init(void)
 {
-	off_cmd.name = _("off");
+	off_cmd.name = "off";
 	off_cmd.cfunc = off_f;
 	off_cmd.argmin = 0;
 	off_cmd.argmax = -1;
@@ -525,7 +525,7 @@ state_init(void)
 	off_cmd.oneline = _("permanently switch quota off for a path");
 	off_cmd.help = off_help;
 
-	state_cmd.name = _("state");
+	state_cmd.name = "state";
 	state_cmd.cfunc = state_f;
 	state_cmd.argmin = 0;
 	state_cmd.argmax = -1;
@@ -533,7 +533,7 @@ state_init(void)
 	state_cmd.oneline = _("get overall quota state information");
 	state_cmd.help = state_help;
 
-	enable_cmd.name = _("enable");
+	enable_cmd.name = "enable";
 	enable_cmd.cfunc = enable_f;
 	enable_cmd.argmin = 0;
 	enable_cmd.argmax = -1;
@@ -541,7 +541,7 @@ state_init(void)
 	enable_cmd.oneline = _("enable quota enforcement");
 	enable_cmd.help = enable_help;
 
-	disable_cmd.name = _("disable");
+	disable_cmd.name = "disable";
 	disable_cmd.cfunc = disable_f;
 	disable_cmd.argmin = 0;
 	disable_cmd.argmax = -1;
@@ -549,7 +549,7 @@ state_init(void)
 	disable_cmd.oneline = _("disable quota enforcement");
 	disable_cmd.help = disable_help;
 
-	remove_cmd.name = _("remove");
+	remove_cmd.name = "remove";
 	remove_cmd.cfunc = remove_f;
 	remove_cmd.argmin = 0;
 	remove_cmd.argmax = -1;
-- 
1.7.4.4

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux