From 5dd35f21273322ea8311d5c6e1bbd8b63b0cd5d6 Mon Sep 17 00:00:00 2001 From: nalin Date: Dec 11 2002 21:38:57 +0000 Subject: - degrade gracefully - validate prospective user and group names the same way shadow 4.0.3 does --- diff --git a/configure.in b/configure.in index 5f242e6..8049f30 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ AC_INIT(configure.in) -AM_INIT_AUTOMAKE(libuser,0.51.1) +AM_INIT_AUTOMAKE(libuser,0.51.2) AC_PROG_CC AC_ISC_POSIX diff --git a/docs/reference/libuser-undocumented.txt b/docs/reference/libuser-undocumented.txt index 60e1b5f..6cc97ac 100644 --- a/docs/reference/libuser-undocumented.txt +++ b/docs/reference/libuser-undocumented.txt @@ -1,3 +1,33 @@ +10% function docs coverage. +10 functions documented. +93 not documented. + + +LU_COMMONNAME +LU_EMAIL +LU_GECOS +LU_GIDNUMBER +LU_GIVENNAME +LU_GROUPNAME +LU_GROUPPASSWORD +LU_HOMEDIRECTORY +LU_HOMEPHONE +LU_LOGINSHELL +LU_ROOMNUMBER +LU_SHADOWEXPIRE +LU_SHADOWFLAG +LU_SHADOWINACTIVE +LU_SHADOWLASTCHANGE +LU_SHADOWMAX +LU_SHADOWMIN +LU_SHADOWNAME +LU_SHADOWPASSWORD +LU_SHADOWWARNING +LU_SN +LU_TELEPHONENUMBER +LU_UIDNUMBER +LU_USERNAME +LU_USERPASSWORD lu_end lu_ent_add lu_ent_add_current diff --git a/lib/modules.c b/lib/modules.c index 3e7ebaf..5360f05 100644 --- a/lib/modules.c +++ b/lib/modules.c @@ -34,9 +34,8 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, GValueArray **names, struct lu_error **error) { char *p, *q, *tmp, *symbol, *modlist, *module_file = NULL; - int i; GModule *handle = NULL; - const char *module_dir = NULL, *ctmp; + const char *module_dir = NULL, *module_name; lu_module_init_t module_init = NULL; struct lu_module *module = NULL; @@ -52,37 +51,21 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, } *names = g_value_array_new(0); - /* Iterate over the list, broken out into actual names, and add them - * to the array. */ - modlist = g_strdup(module_list); - for (p = strtok_r(modlist, SEPARATORS, &q); - p != NULL; - p = strtok_r(NULL, SEPARATORS, &q)) { - char *cached; - GValue value; - tmp = g_strndup(p, q ? q - p : strlen(p)); - cached = ctx->scache->cache(ctx->scache, tmp); - g_free(tmp); - - memset(&value, 0, sizeof(value)); - g_value_init(&value, G_TYPE_STRING); - g_value_set_string(&value, cached); - g_value_array_append(*names, &value); - g_value_unset(&value); - } - g_free(modlist); - /* Figure out where the modules would be. */ module_dir = lu_cfg_read_single(ctx, "defaults/moduledir", MODULEDIR); /* Load the modules. */ - for (i = 0; i < (*names)->n_values; i++) { - ctmp = g_value_get_string(g_value_array_get_nth(*names, i)); - tmp = ctx->scache->cache(ctx->scache, ctmp); + modlist = g_strdup(module_list); + for (module_name = strtok_r(modlist, SEPARATORS, &q); + module_name != NULL; + module_name = strtok_r(NULL, SEPARATORS, &q)) { + GValue value; + + tmp = ctx->scache->cache(ctx->scache, module_name); /* Only load the module if it's not already loaded. */ if (g_tree_lookup(ctx->modules, tmp) == NULL) { /* Generate the file name. */ - tmp = g_strconcat(PACKAGE "_", ctmp, NULL); + tmp = g_strconcat(PACKAGE "_", module_name, NULL); module_file = g_module_build_path(module_dir, tmp); g_free(tmp); tmp = module_file; @@ -95,12 +78,15 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, /* If the open failed, we return an error. */ lu_error_new(error, lu_error_module_load, "%s", g_module_error()); + g_module_close(handle); + g_free(modlist); return FALSE; } /* Determine the name of the module's initialization * function and try to find it. */ - tmp = g_strconcat(PACKAGE "_", ctmp, "_init", NULL); + tmp = g_strconcat(PACKAGE "_", module_name, "_init", + NULL); symbol = ctx->scache->cache(ctx->scache, tmp); g_free(tmp); g_module_symbol(handle, symbol, @@ -113,6 +99,7 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, "in `%s'"), symbol, module_file); g_module_close(handle); + g_free(modlist); return FALSE; } @@ -121,12 +108,15 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, module = module_init(ctx, error); if (module == NULL) { + g_module_close(handle); /* The module initializer sets the error, but * we need to ignore warnings. */ if (lu_error_is_warning((*error)->code)) { lu_error_free(error); + continue; } else { g_module_close(handle); + g_free(modlist); return FALSE; } } else { @@ -139,15 +129,15 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, "mismatch in `%s'"), module_file); g_module_close(handle); + g_free(modlist); return FALSE; } /* Initialize the last two fields in the - * module structure, add it to the module - * tree, and return. */ + * module structure and add it to the module + * tree. */ module->lu_context = ctx; module->module_handle = handle; - tmp = ctx->scache->cache(ctx->scache, ctmp); g_tree_insert(ctx->modules, tmp, module); } @@ -214,8 +204,16 @@ lu_modules_load(struct lu_context *ctx, const char *module_list, FALSE); g_return_val_if_fail(module->close != NULL, FALSE); + + /* Record that we loaded the module. */ + memset(&value, 0, sizeof(value)); + g_value_init(&value, G_TYPE_STRING); + g_value_set_string(&value, tmp); + g_value_array_append(*names, &value); + g_value_unset(&value); } } + g_free(modlist); return TRUE; } diff --git a/lib/util.c b/lib/util.c index a88cdbe..e9afd0f 100644 --- a/lib/util.c +++ b/lib/util.c @@ -590,3 +590,33 @@ lu_util_shadow_current_date(struct lu_string_cache *cache) return cache->cache(cache, buf); } + +gboolean +lu_account_name_is_valid(const char *prospective_name) +{ + int i; + g_return_val_if_fail(prospective_name != NULL, FALSE); + if (prospective_name[0] == '\0') { + return FALSE; + } + /* Validate a name using the method shadow 4.0.3 uses: + * [a-z_][0-9a-z_-]* */ + if ((prospective_name[0] != '_') && + !((prospective_name[0] >= 'a') && + (prospective_name[0] <= 'z'))) { + return FALSE; + } + for (i = 1; prospective_name[i] != '\0'; i++) { + if (!((prospective_name[i] >= 'a') && + (prospective_name[i] <= 'z')) && + !((prospective_name[i] >= '0') && + (prospective_name[i] <= '9')) && + !(prospective_name[i] == '_') && + !(prospective_name[i] == '-') && + !((prospective_name[i] == '$') && + (prospective_name[i + 1] == '\0'))) { + return FALSE; + } + } + return TRUE; +} diff --git a/lib/util.h b/lib/util.h index 2d4cb8c..e913ed2 100644 --- a/lib/util.h +++ b/lib/util.h @@ -31,4 +31,6 @@ gint lu_strcasecmp(gconstpointer v1, gconstpointer v2); gint lu_strcmp(gconstpointer v1, gconstpointer v2); +gboolean lu_account_name_is_valid(const char *prospective_name); + #endif diff --git a/libuser.spec.in b/libuser.spec.in index a1b4fee..3379455 100644 --- a/libuser.spec.in +++ b/libuser.spec.in @@ -2,7 +2,7 @@ Name: @PACKAGE@ Version: @VERSION@ -Release: 2 +Release: 1 Group: System Environment/Base License: LGPL Source: libuser-%{version}.tar.gz @@ -87,6 +87,9 @@ popd %{_datadir}/gtk-doc/html/* %changelog +* Wed Dec 11 2002 Nalin Dahyabhai 0.51.2-1 +- degrade gracefully + * Tue Aug 27 2002 Nalin Dahyabhai 0.51.1-2 - translation updates diff --git a/po/cs.po b/po/cs.po index 54c7cb4..dc06b4a 100644 --- a/po/cs.po +++ b/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 1.0\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-09-06 00:41+0200\n" "Last-Translator: Miloslav Trmac \n" "Language-Team: Czech \n" @@ -85,7 +85,7 @@ msgstr "Chyba p�i inicializaci %s: %s\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "nezn�m� chyba" @@ -202,6 +202,7 @@ msgstr "Skupina %s nem��e b�t odem�ena.\n" msgid "Group %s could not be modified.\n" msgstr "Skupina %s nem��e b�t zm�n�na.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -381,12 +382,12 @@ msgstr "chyba p�i zpracov�n� symbol� v modulu" msgid "library/module version mismatch" msgstr "nesouhlas� verze knihovny a modulu" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "chyb� inicializa�n� funkce %s v '%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "nesouhlas� verze modulu v '%s'" @@ -403,6 +404,31 @@ msgstr "chyba p�i nastavov�n� atribut� termin�lu" msgid "error reading from terminal" msgstr "chyba p�i �ten� z termin�lu" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -411,10 +437,10 @@ msgstr "chyba p�i zamyk�n� souboru: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "nemohu otev��t `%s': %s" @@ -456,11 +482,11 @@ msgstr "nemohu zapsat do `%s': %s" msgid "entity object has no %s attribute" msgstr "objekt nem� atribut %s" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "nespu�t�no s pr�vy administr�tora (root)" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "chyb� shadow soubor -- zak�z�no" @@ -639,7 +665,7 @@ msgstr "LDAP SASL u�ivatel pro autentizaci" msgid "Error initializing %s: %s\n" msgstr "Chyba p�i inicializaci %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Vyhled�v�n� skupiny s ID %d.\n" @@ -649,17 +675,17 @@ msgstr "Vyhled�v�n� skupiny s ID %d.\n" msgid "Searching for group named %s.\n" msgstr "Vyhled�v�n� skupiny pojmenovan� %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Vyhled�v�n� u�ivatele s ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Vyhled�v�n� u�ivatele se jm�nem %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Polo�ka nenalezena.\n" diff --git a/po/da.po b/po/da.po index 4e59dd5..5878e0f 100644 --- a/po/da.po +++ b/po/da.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 0.15\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 12:48+0200\n" "Last-Translator: Keld Simonsen \n" "Language-Team: Danish \n" @@ -82,7 +82,7 @@ msgstr "Fejl ved initiering af %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "ukendt fejl fejl" @@ -199,6 +199,7 @@ msgstr "Gruppe %s kunne ikke l�ses op.\n" msgid "Group %s could not be modified.\n" msgstr "Gruppe %s kunne ikke �ndres.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -378,12 +379,12 @@ msgstr "Fejl ved l�sning af symbol i modul" msgid "library/module version mismatch" msgstr "uoverensstemmelse med version i bibliotek eller modul" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ingen initieringsfunktion %s i `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "gal modulversion i `%s'" @@ -400,6 +401,31 @@ msgstr "fejl ved s�tning af terminal-egenskaber" msgid "error reading from terminal" msgstr "fejl ved l�sning fra terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -408,10 +434,10 @@ msgstr "fejl ved l�sning af fil: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "kunne ikke �bne `%s': %s" @@ -453,11 +479,11 @@ msgstr "kunne ikke skrive til `%s': %s" msgid "entity object has no %s attribute" msgstr "entitetsobjekt har ingen %s-attribut" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "k�rer ikke med superbruger-privilegier" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "ingen skyggefil findes -- deaktiverer" @@ -637,7 +663,7 @@ msgstr "LDAP SASL-autorisationsbruger" msgid "Error initializing %s: %s\n" msgstr "Fejl ved initiering af %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "S�ger efter gruppe med ID %d.\n" @@ -647,17 +673,17 @@ msgstr "S�ger efter gruppe med ID %d.\n" msgid "Searching for group named %s.\n" msgstr "S�ger efter gruppe med navn %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "S�ger efter bruger med ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "S�ger efter bruger ved navn %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Opf�ring ikke fundet.\n" diff --git a/po/de.po b/po/de.po index 0635b87..f8ec205 100644 --- a/po/de.po +++ b/po/de.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-13 16:05+0200\n" "Last-Translator: Harald Hoyer \n" "Language-Team: \n" @@ -84,7 +84,7 @@ msgstr "Fehler beim Initialisieren von %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "Unbekannter Fehler" @@ -201,6 +201,7 @@ msgstr "Gruppe %s konnte nicht freigegeben werden.\n" msgid "Group %s could not be modified.\n" msgstr "Gruppe %s konnte nicht ge�ndert werden.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "Fehler beim L�sen des Symbols im Modul" msgid "library/module version mismatch" msgstr "Bibliothek/Modulversion stimmt nicht �berein" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "keine Initialisierungsfunktion %s in `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "Fehlende �bereinstimmung von Modulversionen in `%s'" @@ -402,6 +403,31 @@ msgstr "Fehler beim Einstellen der Terminalattribute" msgid "error reading from terminal" msgstr "Fehler beim Lesen vom Terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "Fehler beim Sperren der Datei: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "`%s' konnte nicht ge�ffnet werden: %s" @@ -455,11 +481,11 @@ msgstr "nach `%s' konnte nicht geschrieben werden: %s" msgid "entity object has no %s attribute" msgstr "entity Objekt besitzt kein %s Attribut" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "Keine Ausf�hrung mit Superuser-Rechten." -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "Keine Shadow-Datei vorhanden -- Deaktiviere." @@ -639,7 +665,7 @@ msgstr "LDAP SASL Authorisierungsbenutzer" msgid "Error initializing %s: %s\n" msgstr "Fehler beim Initialisieren von %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Suche nach Gruppe mit ID %d.\n" @@ -649,17 +675,17 @@ msgstr "Suche nach Gruppe mit ID %d.\n" msgid "Searching for group named %s.\n" msgstr "Suche nach Gruppe mit Namen %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Suche nach Benutzer mit ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Suche nach Benutzer mit Namen %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Eintrag wurde nicht gefunden.\n" diff --git a/po/es.po b/po/es.po index a142678..7182c3d 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 11:51GMT\n" "Last-Translator: Nuria Soriano \n" "Language-Team: Spanish \n" @@ -113,7 +113,7 @@ msgstr "Error inicializando %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "error desconocido" @@ -284,6 +284,7 @@ msgstr "El grupo %s no ha podido ser modificado.\n" # apps/luseradd.c:112 # apps/luseradd.c:112 +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -523,14 +524,14 @@ msgstr "versi�n de librer�a/m�dulo discordante" # lib/user.c:123 # lib/user.c:161 -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ninguna funci�n de inicializaci�n de %s en `%s'" # lib/user.c:144 # lib/user.c:186 -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "versi�n de m�dulo discordante en `%s'" @@ -549,6 +550,31 @@ msgstr "error en la configuraci�n de los atributos del terminal" msgid "error reading from terminal" msgstr "error al leer desde el terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + # modules/files.c:135 # lib/userutil.c:177 #: lib/util.c:200 @@ -566,10 +592,10 @@ msgstr "error cerrando fichero: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "no se ha podido abrir `%s': %s" @@ -632,13 +658,13 @@ msgstr "el objeto de entidad no tiene ning�n atributo %s" # modules/files.c:1676 modules/files.c:1732 # modules/files.c:1675 modules/files.c:1731 -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "No se ejecuta con privilegios de superusuario." # modules/files.c:1744 # modules/files.c:1743 -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "Ning�n archivo shadow presente -- deshabilitando." @@ -648,8 +674,8 @@ msgstr "Ning�n archivo shadow presente -- deshabilitando." #, c-format msgid "error connecting to the kadm5 server for service `%s' in realm `%s': %s" msgstr "" -"error al conectarse al servidor kadm5 para el servicio `%s' en el entorno " -"`%s': %s" +"error al conectarse al servidor kadm5 para el servicio `%s' en el entorno `%" +"s': %s" # modules/krb5.c:134 modules/krb5.c:191 modules/krb5.c:274 modules/krb5.c:348 # modules/krb5.c:393 modules/krb5.c:461 modules/krb5.c:510 @@ -905,7 +931,7 @@ msgstr "Error al iniciar %s: %s.\n" # samples/lookup.c:69 # samples/lookup.c:69 -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "B�squeda del grupo con ID %d.\n" @@ -919,21 +945,21 @@ msgstr "B�squeda del grupo llamado %s.\n" # samples/lookup.c:78 # samples/lookup.c:78 -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "B�squeda del usuario con ID %d.\n" # samples/lookup.c:81 # samples/lookup.c:81 -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "B�squeda del usuario llamado %s.\n" # samples/lookup.c:107 # samples/lookup.c:107 -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "No se ha encontrado la entrada.\n" diff --git a/po/fr.po b/po/fr.po index cc345ae..b5114a2 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 12:15GMT\n" "Last-Translator: Bettina De Monti \n" "Language-Team: \n" @@ -85,7 +85,7 @@ msgstr "Erreur lors de l'initialisation de %s : %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "erreur inconnue" @@ -202,6 +202,7 @@ msgstr "Le groupe %s ne peut pas �tre d�verrouill�.\n" msgid "Group %s could not be modified.\n" msgstr "Le groupe %s ne peut pas �tre modifi�.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -382,12 +383,12 @@ msgstr "erreur lors de la conversion du symbole en module" msgid "library/module version mismatch" msgstr "diff�rence de version du module/de la biblioth�que" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "aucune fonction d'initialisation %s dans `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "diff�rence de version du module dans `%s'" @@ -404,6 +405,31 @@ msgstr "erreur lors de la configuration des attributs du terminal" msgid "error reading from terminal" msgstr "erreur de lecture depuis le terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -412,10 +438,10 @@ msgstr "erreur lors du verrouillage du fichier : %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "impossible d'ouvrir `%s' : %s" @@ -457,11 +483,11 @@ msgstr "impossible d'�crire sur `%s' : %s" msgid "entity object has no %s attribute" msgstr "l'objet n'a pas d'attribut %s" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "ex�cution sans les privil�ges du superutilisateur" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "pas de fichier shadow pr�sent -- d�sactivation." @@ -644,7 +670,7 @@ msgstr "Utilisateur autorisation SASL LDAP " msgid "Error initializing %s: %s\n" msgstr "Erreur lors de l'initialisation de %s : %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Recherche du groupe avec ID %d.\n" @@ -654,17 +680,17 @@ msgstr "Recherche du groupe avec ID %d.\n" msgid "Searching for group named %s.\n" msgstr "Recherche du groupe appel� %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Recherche de l'utilisateur avec ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Recherche de l'utilisateur appel� %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Entr�e non trouv�e.\n" diff --git a/po/is.po b/po/is.po index f86baef..7441abb 100644 --- a/po/is.po +++ b/po/is.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 1.1\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-06-19 12:55+0000\n" "Last-Translator: Richard Allen \n" "Language-Team: is \n" @@ -83,7 +83,7 @@ msgstr "Villa vi� a� frumstilla %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "��ekkt villa" @@ -200,6 +200,7 @@ msgstr "Ekki var h�gt a� afl�sa h�pnum %s.\n" msgid "Group %s could not be modified.\n" msgstr "Ekki var h�gt a� breyta h�pnum %s.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -379,12 +380,12 @@ msgstr "villa vi� a� fjarl�gja merkingu �r einingu" msgid "library/module version mismatch" msgstr "�tg�fumismunur eininga e�a skr�arsafna" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ekkert frumstillingastef %s � `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "�tg�fumismunur eininga � `%s'" @@ -401,6 +402,31 @@ msgstr "villa vi� a� setja skj�eiginleika" msgid "error reading from terminal" msgstr "villa vi� lestur fr� skj�" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -409,10 +435,10 @@ msgstr "villa vi� a� l�sa skr�: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "gat ekki opna� `%s': %s" @@ -454,11 +480,11 @@ msgstr "gat ekki rita� � `%s': %s" msgid "entity object has no %s attribute" msgstr "hluturinn er ekki me� %s eiginleika" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "er ekki keyrandi me� r�tarheimildum" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "engin shadow skr� til sta�ar -- afvirki" @@ -638,7 +664,7 @@ msgstr "LDAP SASL Au�kennir" msgid "Error initializing %s: %s\n" msgstr "Villa vi� a� frumstilla %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Leita a� h�p n�mer %d.\n" @@ -648,17 +674,17 @@ msgstr "Leita a� h�p n�mer %d.\n" msgid "Searching for group named %s.\n" msgstr "Leita a� h�p sem heitir %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Leita a� notanda n�mer %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Leita a� notanda sem heitir %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "F�rslan fannst ekki.\n" diff --git a/po/it.po b/po/it.po index edc0f4b..e597189 100644 --- a/po/it.po +++ b/po/it.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser \n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-02-27 09:54GMT\n" "Last-Translator: \n" "Language-Team: \n" @@ -84,7 +84,7 @@ msgstr "Errore nell'inizializzazione di %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "errore sconosciuto" @@ -201,6 +201,7 @@ msgstr "Impossibile sbloccare il gruppo %s.\n" msgid "Group %s could not be modified.\n" msgstr "Impossibile modificare il gruppo %s.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "errore nella risoluzione del simbolo nel modulo" msgid "library/module version mismatch" msgstr "mancata corrispondenza nella versione di modulo/libreria" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "nessuna funzione di inizializzazione %s in `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "mancata corrispondenza della versione del modulo in `%s'" @@ -402,6 +403,31 @@ msgstr "errore nella configurazione degli attributi del terminale" msgid "error reading from terminal" msgstr "errore di lettura dal terminale" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "errore nel bloccaggio del file: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "impossibile aprire `%s': %s" @@ -455,11 +481,11 @@ msgstr "impossibile scrivere su `%s': %s" msgid "entity object has no %s attribute" msgstr "nessun attributo %s per l'oggetto entit�" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "esecuzione senza privilegi di superutente" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "nessun file shadow presente -- disattivazione" @@ -644,7 +670,7 @@ msgstr "Autorizzazione utente LDAP SASL" msgid "Error initializing %s: %s\n" msgstr "Errore nell'inizializzazione di %s: %s.\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Ricerca del gruppo con ID %d.\n" @@ -654,17 +680,17 @@ msgstr "Ricerca del gruppo con ID %d.\n" msgid "Searching for group named %s.\n" msgstr "Ricerca del gruppo di nome %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Ricerca dell'utente con ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Ricerca dell'utente di nome %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Voce non trovata.\n" diff --git a/po/ja.po b/po/ja.po index 1b36c3c..3b0b5ed 100644 --- a/po/ja.po +++ b/po/ja.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser VERSION\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 11:53GMT+10:00\n" "Last-Translator: James Hashida \n" "Language-Team: Japanese \n" @@ -84,7 +84,7 @@ msgstr "%s�ν�����ǥ��顼: %s��\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "�����ʥ��顼" @@ -201,6 +201,7 @@ msgstr "���롼��%s�ϥ��å��������ޤ���Ǥ�����\n" msgid "Group %s could not be modified.\n" msgstr "���롼��%s�Ͻ�������ޤ���Ǥ�����\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "�⥸�塼��Υ���ܥ���ǥ��顼" msgid "library/module version mismatch" msgstr "�饤�֥��/�⥸�塼��С��������԰���" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "`%s'�δؿ�%s�ǽ�����Ǥ��ޤ���" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "`%s'�Υ⥸�塼��С��������԰���" @@ -402,6 +403,31 @@ msgstr "�����ߥʥ�°����������˥��顼" msgid "error reading from terminal" msgstr "�����ߥʥ뤫���ɤ߹�����˥��顼" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "�ե�����Υ��å���˥��顼: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "`%s'�򳫤��ޤ���: %s" @@ -455,11 +481,11 @@ msgstr "`%s'�˽񤭹���ޤ���: %s" msgid "entity object has no %s attribute" msgstr "����ƥ��ƥ����֥������Ȥˤ�%s°���Ϥ���ޤ���" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "�����ѡ��桼���ø��Ǽ¹ԤǤ��ޤ���" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "shadow�ե�����Ϥ���ޤ��� -- ̵���ˤʤäƤ��ޤ�" @@ -638,7 +664,7 @@ msgstr "LDAP SASLǧ�ڥ桼��" msgid "Error initializing %s: %s\n" msgstr "%s�ν�����ǥ��顼: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "ID %d�Υ��롼�פ򸡺��档\n" @@ -648,17 +674,17 @@ msgstr "ID %d�Υ��롼�פ򸡺��档\n" msgid "Searching for group named %s.\n" msgstr "̾����%s�Υ��롼�פ򸡺��档\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "ID %d�Υ桼���򸡺��档\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "̾����%s�Υ桼���򸡺��档\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "����ȥ�ϸ��Ĥ���ޤ���Ǥ�����\n" @@ -677,4 +703,3 @@ msgstr "�ǥե���ȥ桼��°���������:\n" #: samples/testuser.c:95 msgid "Copying user structure:\n" msgstr "�桼����¤�Τ򥳥ԡ���:\n" - diff --git a/po/ko.po b/po/ko.po index f75ce75..f643bee 100755 --- a/po/ko.po +++ b/po/ko.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: ko\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-08-07 11:01+1000\n" "Last-Translator: Michelle Kim \n" "Language-Team: Korean \n" @@ -84,7 +84,7 @@ msgstr "%s(을)를 초기화하는 도중 오류 발생: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "알 수 없는 오류" @@ -201,6 +201,7 @@ msgstr "%s 그룹의 정지를 해제할 수 없습니다.\n" msgid "Group %s could not be modified.\n" msgstr "%s 그룹을 편집할 수 없습니다.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "모듈에서 심볼을 처리하는 도중 오류 발생" msgid "library/module version mismatch" msgstr "라이브러리/모듈 버젼이 일치하지 않음" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "`%s'에 초기화 기능 %s(이)가 없습니다" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "`%s'의 모듈 버젼이 일치하지 않습니다" @@ -402,6 +403,31 @@ msgstr "터미널 속성을 설정하는 도중 오류 발생" msgid "error reading from terminal" msgstr "터미널로 부터 읽는 도중 오류 발생" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "`' 파일을 잠그는 도중 오류 발생: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "`%s'(을)를 열 수 없음: %s" @@ -455,11 +481,11 @@ msgstr "`%s'에 작성할 수 없음: %s" msgid "entity object has no %s attribute" msgstr "entity 개체에 %s 속성이 없습니다" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "수퍼유저 권한으로 실행할 수 없습니다" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "현재 섀도우 파일이 없음 -- 불가능" @@ -640,7 +666,7 @@ msgstr "LDAP SASL 인증 사용자" msgid "Error initializing %s: %s\n" msgstr "%s(을)를 초기화하는 도중 오류 발생: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "ID %d의 그룹을 검색하고 있습니다.\n" @@ -650,17 +676,17 @@ msgstr "ID %d의 그룹을 검색하고 있습니다.\n" msgid "Searching for group named %s.\n" msgstr "%s 그룹을 검색하고 있습니다.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "ID %d의 사용자를 검색하고 있습니다.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "%s 사용자를 검색하고 있습니다.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "목록(Entry)을 찾을 수 없습니다.\n" @@ -679,4 +705,3 @@ msgstr "기본 사용자 속성을 읽음:\n" #: samples/testuser.c:95 msgid "Copying user structure:\n" msgstr "사용자 구조를 복사함:\n" - diff --git a/po/libuser.pot b/po/libuser.pot index 9182f33..f0c7936 100644 --- a/po/libuser.pot +++ b/po/libuser.pot @@ -1,5 +1,5 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Red Hat, Inc. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -85,7 +85,7 @@ msgstr "" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "" @@ -202,6 +202,7 @@ msgstr "" msgid "Group %s could not be modified.\n" msgstr "" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -381,12 +382,12 @@ msgstr "" msgid "library/module version mismatch" msgstr "" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "" @@ -403,6 +404,31 @@ msgstr "" msgid "error reading from terminal" msgstr "" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -411,10 +437,10 @@ msgstr "" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "" @@ -456,11 +482,11 @@ msgstr "" msgid "entity object has no %s attribute" msgstr "" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "" @@ -639,7 +665,7 @@ msgstr "" msgid "Error initializing %s: %s\n" msgstr "" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "" @@ -649,17 +675,17 @@ msgstr "" msgid "Searching for group named %s.\n" msgstr "" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "" diff --git a/po/nb.po b/po/nb.po index 0f5e0db..ee14793 100644 --- a/po/nb.po +++ b/po/nb.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 0.15\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 11:55-0400\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" @@ -83,7 +83,7 @@ msgstr "Feil under initiering av %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "ukjent feil" @@ -200,6 +200,7 @@ msgstr "Grupe %s kunne ikke l�ses opp.\n" msgid "Group %s could not be modified.\n" msgstr "Gruppe %s kunne ikke endres.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -379,12 +380,12 @@ msgstr "feil under s�k etter symbol i modul" msgid "library/module version mismatch" msgstr "feil med bibliotek-/modulversjon" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ingen initieringsfunksjon %s i `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "feil modulversjon i `%s'" @@ -401,6 +402,31 @@ msgstr "feil under setting av terminalattributter" msgid "error reading from terminal" msgstr "feil ved lesing fra terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -409,10 +435,10 @@ msgstr "feil under l�sing av fil: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "kunne ikke �pne `%s': %s" @@ -454,11 +480,11 @@ msgstr "kunne ikke skrive til `%s': %s" msgid "entity object has no %s attribute" msgstr "entitetsobjekt har ingen %s-attributt" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "kj�rer ikke med superbruker-privilegier" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "ingen skyggefil finnes -- deaktiverer" @@ -638,7 +664,7 @@ msgstr "LDAP SASL-autorisasjonsbruker" msgid "Error initializing %s: %s\n" msgstr "Feil under initiering av %s: %s.\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "S�ker etter gruppe med ID %d.\n" @@ -648,17 +674,17 @@ msgstr "S�ker etter gruppe med ID %d.\n" msgid "Searching for group named %s.\n" msgstr "S�ker etter gruppe med navn %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "S�ker etter bruker med ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "S�ker etter bruker ved navn %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Oppf�ring ikke funnet.\n" diff --git a/po/no.po b/po/no.po index 0f5e0db..ee14793 100644 --- a/po/no.po +++ b/po/no.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 0.15\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 11:55-0400\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" @@ -83,7 +83,7 @@ msgstr "Feil under initiering av %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "ukjent feil" @@ -200,6 +200,7 @@ msgstr "Grupe %s kunne ikke l�ses opp.\n" msgid "Group %s could not be modified.\n" msgstr "Gruppe %s kunne ikke endres.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -379,12 +380,12 @@ msgstr "feil under s�k etter symbol i modul" msgid "library/module version mismatch" msgstr "feil med bibliotek-/modulversjon" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ingen initieringsfunksjon %s i `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "feil modulversjon i `%s'" @@ -401,6 +402,31 @@ msgstr "feil under setting av terminalattributter" msgid "error reading from terminal" msgstr "feil ved lesing fra terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -409,10 +435,10 @@ msgstr "feil under l�sing av fil: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "kunne ikke �pne `%s': %s" @@ -454,11 +480,11 @@ msgstr "kunne ikke skrive til `%s': %s" msgid "entity object has no %s attribute" msgstr "entitetsobjekt har ingen %s-attributt" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "kj�rer ikke med superbruker-privilegier" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "ingen skyggefil finnes -- deaktiverer" @@ -638,7 +664,7 @@ msgstr "LDAP SASL-autorisasjonsbruker" msgid "Error initializing %s: %s\n" msgstr "Feil under initiering av %s: %s.\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "S�ker etter gruppe med ID %d.\n" @@ -648,17 +674,17 @@ msgstr "S�ker etter gruppe med ID %d.\n" msgid "Searching for group named %s.\n" msgstr "S�ker etter gruppe med navn %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "S�ker etter bruker med ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "S�ker etter bruker ved navn %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Oppf�ring ikke funnet.\n" diff --git a/po/pt.po b/po/pt.po index 7b699e3..3b7183b 100644 --- a/po/pt.po +++ b/po/pt.po @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-16 11:17+0100\n" "Last-Translator: Pedro Morais \n" "Language-Team: pt \n" @@ -82,7 +82,7 @@ msgstr "Erro ao inicializar %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "erro desconhecido" @@ -199,6 +199,7 @@ msgstr "O grupo %s não pode ser destrancado.\n" msgid "Group %s could not be modified.\n" msgstr "O grupo %s não pode ser modificado.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -378,12 +379,12 @@ msgstr "erro ao resolver símbolo em módulo" msgid "library/module version mismatch" msgstr "versões não compatíveis de biblioteca/módulo" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "não existe uma função de inicialização %s em `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "versão não compatível de módulo em `%s'" @@ -400,6 +401,31 @@ msgstr "erro ao modificar atributos do terminal" msgid "error reading from terminal" msgstr "erro ao ler do terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -408,10 +434,10 @@ msgstr "erro ao trancar ficheiro: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "não consegui abrir `%s': %s" @@ -453,11 +479,11 @@ msgstr "não consegui escrever para `%s': %s" msgid "entity object has no %s attribute" msgstr "a entidade não tem um atributo %s" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "não vou executar com privilégios de super-utilizador" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "o ficheiro shadow não está presente -- a desactivar" @@ -636,7 +662,7 @@ msgstr "Utilizador de Autorização SASL LDAP" msgid "Error initializing %s: %s\n" msgstr "Erro ao inicializar %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "A procurar pelo grupo com o id %d.\n" @@ -646,17 +672,17 @@ msgstr "A procurar pelo grupo com o id %d.\n" msgid "Searching for group named %s.\n" msgstr "A procurar pelo grupo com o nome %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "A procurar pelo utilizador com o id %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "A procurar pelo utilizador com o nome %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Entrada não encontrada.\n" diff --git a/po/ru.po b/po/ru.po index 6754373..1049175 100644 --- a/po/ru.po +++ b/po/ru.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 0.49\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-04-17 17:55EET\n" "Last-Translator: Leon Kanter \n" "Language-Team: Russian \n" @@ -84,7 +84,7 @@ msgstr "������ ������������� %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "����������� ������" @@ -201,6 +201,7 @@ msgstr "������ %s �� ����� ���� ��������������.\n" msgid "Group %s could not be modified.\n" msgstr "������ %s �� ����� ���� �������.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "������ ����������� ������� � ������" msgid "library/module version mismatch" msgstr "�������������� ������ ������ � ����������" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "��� ������� ������������� %s � `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "�������������� ������ ������ � `%s'" @@ -402,6 +403,31 @@ msgstr "������ ��������� ���������� ���������" msgid "error reading from terminal" msgstr "������ ������ � ���������" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "������ ���������� �����: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "���������� ������� `%s': %s" @@ -455,18 +481,19 @@ msgstr "���������� �������� � `%s': %s" msgid "entity object has no %s attribute" msgstr "������ �� ����� ��������� %s" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "����������� ��� ���������� �����������������" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "��� ����� shadow -- ���������" #: modules/krb5.c:105 #, c-format msgid "error connecting to the kadm5 server for service `%s' in realm `%s': %s" -msgstr "error connecting to the kadm5 server for service `%s' in realm `%s': %s" +msgstr "" +"error connecting to the kadm5 server for service `%s' in realm `%s': %s" #: modules/krb5.c:137 modules/krb5.c:203 modules/krb5.c:301 modules/krb5.c:389 #: modules/krb5.c:441 modules/krb5.c:529 modules/krb5.c:595 @@ -638,7 +665,7 @@ msgstr "�������������� ������������ LDAP SASL" msgid "Error initializing %s: %s\n" msgstr "������ ��� ������������� %s: %s.\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "����� ������ � ������� %d.\n" @@ -648,17 +675,17 @@ msgstr "����� ������ � ������� %d.\n" msgid "Searching for group named %s.\n" msgstr "����� ������ � ������ %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "����� ������������ � ������� %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "����� ������������ � ������� %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "������ �� �������\n" @@ -677,4 +704,3 @@ msgstr "��������� ����������� ���������� ������������:\n" #: samples/testuser.c:95 msgid "Copying user structure:\n" msgstr "����������� ��������� ������������:\n" - diff --git a/po/sl.po b/po/sl.po index 63f4542..fc1b1a6 100644 --- a/po/sl.po +++ b/po/sl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser 7.3\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-03-29 21:35+0200\n" "Last-Translator: Roman Maurer \n" "Language-Team: Slovenian \n" @@ -86,7 +86,7 @@ msgstr "Napaka pri inicializaciji %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "neznana napaka" @@ -203,6 +203,7 @@ msgstr "Skupina %s ne more biti odklenjena.\n" msgid "Group %s could not be modified.\n" msgstr "Skupine %s ni mo� spremeniti.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -383,12 +384,12 @@ msgstr "napaka pri razre�evanju simbola v modulu" msgid "library/module version mismatch" msgstr "neujemanje razli�ice modula/knji�nice" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ni inicializacijske funkcije %s v ,%s`" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "neujemanje razli�ice modula v ,%s`" @@ -405,6 +406,31 @@ msgstr "napaka pri nastavljanju atributov terminala" msgid "error reading from terminal" msgstr "napaka pri branju s terminala" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -413,10 +439,10 @@ msgstr "napaka pri zaklepanju datoteke: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "ni mo� odpreti ,%s`: %s" @@ -458,11 +484,11 @@ msgstr "ni mo� pisati v ,%s`: %s" msgid "entity object has no %s attribute" msgstr "entitetni objekt nima atributa %s" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "ne izvaja se z dovolilnicami skrbnika" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "ni datoteke z zastrtimi gesli -- onemogo�am" @@ -642,7 +668,7 @@ msgstr "Uporabnik z odobritvijo SASL v LDAP" msgid "Error initializing %s: %s\n" msgstr "Napaka pri inicializaciji %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "I��em skupino z ID %d.\n" @@ -652,17 +678,17 @@ msgstr "I��em skupino z ID %d.\n" msgid "Searching for group named %s.\n" msgstr "I��em skupino, imenovano %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "I��em uporabnika z ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "I��em uporabnika, imenovanega %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Vnos ni bil najden.\n" diff --git a/po/sv.po b/po/sv.po index fac3bd4..fe6a759 100644 --- a/po/sv.po +++ b/po/sv.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-07-19 16:41+0200\n" "Last-Translator: Christian Rose \n" "Language-Team: Swedish \n" @@ -84,7 +84,7 @@ msgstr "Fel vid initiering av %s: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "okänt fel" @@ -201,6 +201,7 @@ msgstr "Gruppen %s kunde inte låsas upp.\n" msgid "Group %s could not be modified.\n" msgstr "Gruppen %s kunde inte ändras.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -380,12 +381,12 @@ msgstr "fel vid uppslagning av symbol i modul" msgid "library/module version mismatch" msgstr "biblioteks-/modulversion stämmer inte överens" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "ingen initieringsfunktion %s i \"%s\"" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "modulversion stämmer inte överens i \"%s\"" @@ -402,6 +403,31 @@ msgstr "fel vid inställning av terminalattribut" msgid "error reading from terminal" msgstr "fel vid läsning från terminal" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -410,10 +436,10 @@ msgstr "fel vid låsning av fil: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "kunde inte öppna \"%s\": %s" @@ -455,11 +481,11 @@ msgstr "kunde inte skriva till \"%s\": %s" msgid "entity object has no %s attribute" msgstr "enhetsobjektet har inget %s-attribut" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "kör inte med superanvändarrättigheter" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "ingen shadow-fil finns tillgänglig -- inaktiverar" @@ -639,7 +665,7 @@ msgstr "LDAP SASL-auktoriseringsanvändare" msgid "Error initializing %s: %s\n" msgstr "Fel vid initiering av %s: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "Söker efter grupp med ID %d.\n" @@ -649,17 +675,17 @@ msgstr "Söker efter grupp med ID %d.\n" msgid "Searching for group named %s.\n" msgstr "Söker efter grupp med namnet %s.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "Söker efter användare med ID %d.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "Söker efter användare med namnet %s.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Posten hittades inte.\n" diff --git a/po/tr.po b/po/tr.po index c5e74d5..029dbd5 100644 --- a/po/tr.po +++ b/po/tr.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser \n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-07-25 11:46+0300\n" "Last-Translator: Nilgün Belma Bugüner \n" "Language-Team: Turkish \n" @@ -81,7 +81,7 @@ msgstr "%s başlatılırken hata: %s.\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "bilinmeyen" @@ -198,6 +198,7 @@ msgstr "%s grubunun kilidi kaldırılamadı.\n" msgid "Group %s could not be modified.\n" msgstr "%s grubu değiştirilemedi.\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -377,12 +378,12 @@ msgstr "modül içindeki sembol çözümlenirken hata" msgid "library/module version mismatch" msgstr "modül/kitaplık sürümü uyumsuzluğu" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "İlklendirme işlevi %s `%s' içinde yok" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "`%s' de modül sürümü uyumsuzluğu" @@ -399,6 +400,31 @@ msgstr "uçbirim özellikleri ayarlanırken hata" msgid "error reading from terminal" msgstr "uçbirimden okumada hata" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -407,10 +433,10 @@ msgstr "dosya kilitlenirken hata: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "`%s' açılamadı: %s" @@ -452,11 +478,11 @@ msgstr "`%s'e yazılamadı: %s" msgid "entity object has no %s attribute" msgstr "öğe nesnesi %s özelliğine sahip değil" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "root yetkileriyle çalıştırılmıyor" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "shadow dosyası yok -- iptal ediliyor" @@ -635,7 +661,7 @@ msgstr "LDAP SASL Yetkilendirme Kullanıcısı" msgid "Error initializing %s: %s\n" msgstr "%s başlatılırken hata: %s.\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "%d kimlikli grup için arama yapılıyor.\n" @@ -645,17 +671,17 @@ msgstr "%d kimlikli grup için arama yapılıyor.\n" msgid "Searching for group named %s.\n" msgstr "%s isimli grup için arama yapılıyor.\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "%d kimlikli kullanıcı için arama yapılıyor.\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "%s isimli kullanıcı için arama yapılıyor.\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "Girdi yok.\n" @@ -674,4 +700,3 @@ msgstr "Öntanımlı kullanıcı öznitelikleri alınıyor:\n" #: samples/testuser.c:95 msgid "Copying user structure:\n" msgstr "Kullanıcı yapısı kopyalanıyor:\n" - diff --git a/po/zh_TW.po b/po/zh_TW.po index 5e3ac87..abea0c6 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: libuser\n" -"POT-Creation-Date: 2002-04-15 17:49-0400\n" +"POT-Creation-Date: 2002-12-11 16:43-0500\n" "PO-Revision-Date: 2002-08-22 12:01+1000\n" "Last-Translator: Ben Wu \n" "Language-Team: Chinese (Traditional) \n" @@ -85,7 +85,7 @@ msgstr "初始化 %s 錯誤: %s。\n" #: apps/luserdel.c:143 apps/luserdel.c:166 apps/lusermod.c:113 #: apps/lusermod.c:195 apps/lusermod.c:208 apps/lusermod.c:219 #: apps/lusermod.c:228 apps/lusermod.c:237 apps/lusermod.c:293 -#: apps/lusermod.c:315 lib/error.c:85 +#: apps/lusermod.c:315 lib/error.c:85 samples/lookup.c:65 msgid "unknown error" msgstr "未知的錯誤" @@ -202,6 +202,7 @@ msgstr "%s 群組無法開啟。\n" msgid "Group %s could not be modified.\n" msgstr "%s 群組無法修改。\n" +#. Aargh! Abandon all hope. #: apps/luseradd.c:197 apps/luseradd.c:209 #, c-format msgid "Error creating group `%s'.\n" @@ -381,12 +382,12 @@ msgstr "解析模組裡的符號錯誤" msgid "library/module version mismatch" msgstr "函式庫/模組 版本不符" -#: lib/modules.c:112 +#: lib/modules.c:98 #, c-format msgid "no initialization function %s in `%s'" msgstr "no initialization function %s in `%s'" -#: lib/modules.c:138 +#: lib/modules.c:128 #, c-format msgid "module version mismatch in `%s'" msgstr "%s 的模組版本不符" @@ -403,6 +404,31 @@ msgstr "終端機屬性設定錯誤" msgid "error reading from terminal" msgstr "終端機讀取錯誤" +#: lib/user.c:190 +msgid "name is not set" +msgstr "" + +#: lib/user.c:194 +msgid "name is too short" +msgstr "" + +#: lib/user.c:200 +msgid "name contains non-ASCII characters" +msgstr "" + +#: lib/user.c:207 +msgid "name contains control characters" +msgstr "" + +#: lib/user.c:214 +msgid "name contains whitespace" +msgstr "" + +#: lib/user.c:221 +#, c-format +msgid "name contains invalid char `%c'" +msgstr "" + #: lib/util.c:200 #, c-format msgid "error locking file: %s" @@ -411,10 +437,10 @@ msgstr "鎖定檔案錯誤: %s" #: modules/files.c:109 modules/files.c:453 modules/files.c:823 #: modules/files.c:1116 modules/files.c:1322 modules/files.c:1551 #: modules/files.c:1659 modules/files.c:1858 modules/files.c:2056 -#: modules/files.c:2073 modules/files.c:2159 modules/files.c:2178 -#: modules/files.c:2242 modules/files.c:2263 modules/files.c:2355 -#: modules/files.c:2374 modules/files.c:2429 modules/files.c:2448 -#: modules/files.c:2545 modules/files.c:2562 +#: modules/files.c:2073 modules/files.c:2163 modules/files.c:2182 +#: modules/files.c:2250 modules/files.c:2271 modules/files.c:2367 +#: modules/files.c:2386 modules/files.c:2445 modules/files.c:2464 +#: modules/files.c:2565 modules/files.c:2582 #, c-format msgid "couldn't open `%s': %s" msgstr "無法開啟`%s': %s" @@ -456,11 +482,11 @@ msgstr "無法寫入`%s': %s" msgid "entity object has no %s attribute" msgstr "實體物件沒有 %s 屬性" -#: modules/files.c:2794 modules/files.c:2864 +#: modules/files.c:2818 modules/files.c:2888 msgid "not executing with superuser privileges" msgstr "非以超級使用者(superuser)的權限執行" -#: modules/files.c:2877 +#: modules/files.c:2901 msgid "no shadow file present -- disabling" msgstr "找不到 shadow 檔案 -- 停用中" @@ -639,7 +665,7 @@ msgstr "LDAP SASL 認證使用者" msgid "Error initializing %s: %s\n" msgstr "初始化 %s 錯誤: %s\n" -#: samples/lookup.c:75 +#: samples/lookup.c:74 #, c-format msgid "Searching for group with ID %d.\n" msgstr "搜尋是 %d ID 的群組。\n" @@ -649,17 +675,17 @@ msgstr "搜尋是 %d ID 的群組。\n" msgid "Searching for group named %s.\n" msgstr "搜尋是 %s 名稱的群組。\n" -#: samples/lookup.c:87 +#: samples/lookup.c:86 #, c-format msgid "Searching for user with ID %d.\n" msgstr "搜尋是 %d ID 的使用者。\n" -#: samples/lookup.c:90 +#: samples/lookup.c:89 #, c-format msgid "Searching for user named %s.\n" msgstr "搜尋是 %s 名稱的使用者。\n" -#: samples/lookup.c:104 +#: samples/lookup.c:103 msgid "Entry not found.\n" msgstr "找不到登錄。\n" @@ -678,4 +704,3 @@ msgstr "取得預設使用者屬性:\n" #: samples/testuser.c:95 msgid "Copying user structure:\n" msgstr "複製使用者結構:\n" - diff --git a/samples/lookup.c b/samples/lookup.c index 43ac764..65eeeaf 100644 --- a/samples/lookup.c +++ b/samples/lookup.c @@ -62,7 +62,7 @@ main(int argc, char **argv) if (lu == NULL) { g_print(gettext("Error initializing %s: %s\n"), PACKAGE, - error->string); + error ? error->string : gettext("unknown error")); return 1; } @@ -71,15 +71,14 @@ main(int argc, char **argv) tmp = lu_ent_new(); if (group) { if (byid) { - g_print(gettext - ("Searching for group with ID %d.\n"), c); + g_print(gettext("Searching for group with ID %d.\n"), + c); success = lu_group_lookup_id(lu, c, tmp, &error); } else { g_print(gettext("Searching for group named %s.\n"), argv[optind]); - success = - lu_group_lookup_name(lu, argv[optind], tmp, - &error); + success = lu_group_lookup_name(lu, argv[optind], tmp, + &error); } } else { if (byid) {