mount.nfs: Fix one more double-wide character nit
Subsystems (2)
PATCH 1/5 mount.nfs: Fix one more double-wide character nit
---
utils/mount/network.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
utils/mount/network.c +1 -1
@@ -388,7 +388,7 @@ static int probe_port(clnt_addr_t *server, const unsigned long *versions,inet_ntoa (saddr->sin_addr), prog, *p_vers, *p_prot ==IPPROTO_UDP ? -"udp" :"tcp" , +_ ("UDP" ) :_ ("TCP" ), p_port); }if (clnt_ping (saddr, prog, *p_vers, *p_prot,NULL ))
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
It bothers me that you still seem to think the _() stuff is closely
connected with double/wide characters. That is not what it is really
about.
There are quite possible no wide characters involved at all (depending on the local language).
The question is: Does this string need to be translated. In that case of the strings "UDP" and "TCP", I suspect the answer is "no". However as I don't speak any other language, maybe I am wrong.
I'll happily accept a patch which simply changes "udp" to "UDP" as I agree that is a correct change to make.
And I will also accept a patch that changes "udp" to _("UDP") if the subject says "Allow protocol names to be translated" or something else that mentions translation or localisation or different languages.
But - despite the fact that it probably seems like I'm being unnecessarily picky - I don't want to accept this patch with this subject.
Sorry :-)
NeilBrown
Quoted 11 lines · On Thursday August 9, [email protected] wrote:
Signed-off-by Chuck Lever <[email protected]>---
utils/mount/network.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)utils/mount/network.c +0
-0
utils/mount/network.c static int probe_port(clnt_addr_t *server, const unsigned long *versions, · line 394
Quoted 8 lines
utils/mount/network.c +1
-1@@ -388,7 +388,7 @@ static int probe_port(clnt_addr_t *server, const unsigned long *versions,inet_ntoa (saddr->sin_addr), prog, *p_vers, *p_prot ==IPPROTO_UDP ? -"udp" :"tcp" , +_ ("UDP" ) :_ ("TCP" ), p_port); }if (clnt_ping (saddr, prog, *p_vers, *p_prot,NULL ))
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs