[PATCH 07/11] swapon: improve a translator hint, and remove a pointless one

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

 



The reference to "each entry below" made no sense, as that second
translator hint is not before a gettextized message and therefore
did not make it into the POT file.  Gettextizing that message is
not useful as 1) there is nothing to translate, and 2) allowing
the translators to fiddle with the tabs is too complicated, and
3) the --summary output is deprecated anyway.

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxx>
---
 sys-utils/swapon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c
index 15efa481a..83ec702d5 100644
--- a/sys-utils/swapon.c
+++ b/sys-utils/swapon.c
@@ -260,7 +260,8 @@ static int display_summary(void)
 	if (!itr)
 		err(EXIT_FAILURE, _("failed to initialize libmount iterator"));
 
-	/* TRANSLATORS: The tabs make each field a multiple of 8 characters. Keep aligned with each entry below. */
+	/* TRANSLATORS: The tabs make each field a multiple of 8 characters.
+	 * Please keep the translation aligned with the original. */
 	printf(_("Filename\t\t\t\tType\t\tSize\t\tUsed\t\tPriority\n"));
 
 	while (mnt_table_next_fs(st, itr, &fs) == 0) {
@@ -271,7 +272,6 @@ static int display_summary(void)
 		off_t size = mnt_fs_get_size(fs);
 		off_t used = mnt_fs_get_usedsize(fs);
 
-		/* TRANSLATORS: Keep each field a multiple of 8 characters and aligned with the header above. */
 		printf("%s%*s%s%s\t%jd%s\t%jd%s\t%d\n",
 			src,
 			srclen < 40 ? 40 - srclen : 1, " ",
-- 
2.48.1





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux