about summary refs log tree commit diff
path: root/nis
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-22 10:03:04 +0000
committerRoland McGrath <roland@gnu.org>2006-02-22 10:03:04 +0000
commit3e64e913f2139c0c992db24396f1fee84c900ce3 (patch)
treef4ba451c6c3f7195c8efcaeb4b918b0f9b8e8944 /nis
parent9b07a801b81b30ca19cf375cf28378284ffaa15a (diff)
downloadglibc-3e64e913f2139c0c992db24396f1fee84c900ce3.tar.gz
glibc-3e64e913f2139c0c992db24396f1fee84c900ce3.tar.xz
glibc-3e64e913f2139c0c992db24396f1fee84c900ce3.zip
* po/libc.pot: Regenerated.
2006-02-22  Jakub Jelinek  <jakub@redhat.com>

	* nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
	around string literals.
Diffstat (limited to 'nis')
-rw-r--r--nis/ypclnt.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index 66095667c6..78adf6aeec 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -819,58 +819,58 @@ yperr_string (const int error)
   switch (error)
     {
     case YPERR_SUCCESS:
-      str = "Success";
+      str = N_("Success");
       break;
     case YPERR_BADARGS:
-      str = "Request arguments bad";
+      str = N_("Request arguments bad");
       break;
     case YPERR_RPC:
-      str = "RPC failure on NIS operation";
+      str = N_("RPC failure on NIS operation");
       break;
     case YPERR_DOMAIN:
-      str = "Can't bind to server which serves this domain";
+      str = N_("Can't bind to server which serves this domain");
       break;
     case YPERR_MAP:
-      str = "No such map in server's domain";
+      str = N_("No such map in server's domain");
       break;
     case YPERR_KEY:
-      str = "No such key in map";
+      str = N_("No such key in map");
       break;
     case YPERR_YPERR:
-      str = "Internal NIS error";
+      str = N_("Internal NIS error");
       break;
     case YPERR_RESRC:
-      str = "Local resource allocation failure";
+      str = N_("Local resource allocation failure");
       break;
     case YPERR_NOMORE:
-      str = "No more records in map database";
+      str = N_("No more records in map database");
       break;
     case YPERR_PMAP:
-      str = "Can't communicate with portmapper";
+      str = N_("Can't communicate with portmapper");
       break;
     case YPERR_YPBIND:
-      str = "Can't communicate with ypbind";
+      str = N_("Can't communicate with ypbind");
       break;
     case YPERR_YPSERV:
-      str = "Can't communicate with ypserv";
+      str = N_("Can't communicate with ypserv");
       break;
     case YPERR_NODOM:
-      str = "Local domain name not set";
+      str = N_("Local domain name not set");
       break;
     case YPERR_BADDB:
-      str = "NIS map database is bad";
+      str = N_("NIS map database is bad");
       break;
     case YPERR_VERS:
-      str = "NIS client/server version mismatch - can't supply service";
+      str = N_("NIS client/server version mismatch - can't supply service");
       break;
     case YPERR_ACCESS:
-      str = "Permission denied";
+      str = N_("Permission denied");
       break;
     case YPERR_BUSY:
-      str = "Database is busy";
+      str = N_("Database is busy");
       break;
     default:
-      str = "Unknown NIS error code";
+      str = N_("Unknown NIS error code");
       break;
     }
   return _(str);
@@ -907,19 +907,19 @@ ypbinderr_string (const int error)
   switch (error)
     {
     case 0:
-      str = "Success";
+      str = N_("Success");
       break;
     case YPBIND_ERR_ERR:
-      str = "Internal ypbind error";
+      str = N_("Internal ypbind error");
       break;
     case YPBIND_ERR_NOSERV:
-      str = "Domain not bound";
+      str = N_("Domain not bound");
       break;
     case YPBIND_ERR_RESC:
-      str = "System resource allocation failure";
+      str = N_("System resource allocation failure");
       break;
     default:
-      str = "Unknown ypbind error";
+      str = N_("Unknown ypbind error");
       break;
     }
   return _(str);