/srv/hg/libpwquality: 3 new changesets
by admin@fedoraproject.org
changeset 8caad41c4009 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=8caa...
summary: Drop difignore from the configuration file.
changeset ee59810bd459 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=ee59...
summary: Add documentation. Prerelease 0.9.9 - RC candidate.
changeset bc63c08e8a10 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=bc63...
summary: Added tag libpwquality-0.9.9 for changeset ee59810bd459
diffstat:
.hgtags | 1 +
Makefile.am | 2 +-
NEWS | 8 +
README | 16 ++
configure.in | 15 +-
doc/Makefile.am | 1 +
doc/man/Makefile.am | 1 +
doc/man/pam_pwquality.8 | 346 +++++++++++++++++++++++++++++++++++++++++++++++++
doc/man/pwmake.1 | 45 ++++++
doc/man/pwquality.conf.5 | 93 +++++++++++++
doc/man/pwscore.1 | 41 +++++
libpwquality.spec.in | 29 ++++
po/ar.po | 77 +++++-----
po/as.po | 77 +++++-----
po/bn_IN.po | 77 +++++-----
po/ca.po | 77 +++++-----
po/cs.po | 79 ++++++-----
po/da.po | 77 +++++-----
po/de.po | 77 +++++-----
po/es.po | 77 +++++-----
po/fi.po | 77 +++++-----
po/fr.po | 77 +++++-----
po/gu.po | 77 +++++-----
po/he.po | 77 +++++-----
po/hi.po | 77 +++++-----
po/hu.po | 77 +++++-----
po/it.po | 77 +++++-----
po/ja.po | 77 +++++-----
po/kk.po | 77 +++++-----
po/km.po | 77 +++++-----
po/kn.po | 77 +++++-----
po/ko.po | 77 +++++-----
po/libpwquality.pot | 78 +++++-----
po/ml.po | 77 +++++-----
po/mr.po | 77 +++++-----
po/ms.po | 77 +++++-----
po/nb.po | 77 +++++-----
po/nl.po | 77 +++++-----
po/or.po | 77 +++++-----
po/pa.po | 77 +++++-----
po/pl.po | 77 +++++-----
po/pt.po | 77 +++++-----
po/pt_BR.po | 77 +++++-----
po/ru.po | 77 +++++-----
po/si.po | 77 +++++-----
po/sk.po | 77 +++++-----
po/sr.po | 77 +++++-----
po/sr(a)latin.po | 77 +++++-----
po/sv.po | 77 +++++-----
po/ta.po | 77 +++++-----
po/te.po | 77 +++++-----
po/tr.po | 77 +++++-----
po/uk.po | 77 +++++-----
po/vi.po | 77 +++++-----
po/zh_CN.po | 77 +++++-----
po/zh_TW.po | 77 +++++-----
po/zu.po | 77 +++++-----
python/Makefile.am | 2 +-
python/pwquality.c | 20 ++-
src/pwquality.conf | 4 -
60 files changed, 2457 insertions(+), 1635 deletions(-)
diffs (10691 lines):
diff -r 76025b51c466 -r bc63c08e8a10 .hgtags
--- a/.hgtags Thu Nov 10 10:53:59 2011 +0100
+++ b/.hgtags Fri Nov 11 12:28:16 2011 +0100
@@ -1,1 +1,2 @@
49693f19c05118a15c7a80e37ad741cb4940d218 libpwquality-0.9
+ee59810bd4590e83af256399cc3a28e0ee8fc826 libpwquality-0.9.9
diff -r 76025b51c466 -r bc63c08e8a10 Makefile.am
--- a/Makefile.am Thu Nov 10 10:53:59 2011 +0100
+++ b/Makefile.am Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
-SUBDIRS = po src python
+SUBDIRS = po src python doc
CLEANFILES = *~
diff -r 76025b51c466 -r bc63c08e8a10 NEWS
--- a/NEWS Thu Nov 10 10:53:59 2011 +0100
+++ b/NEWS Fri Nov 11 12:28:16 2011 +0100
@@ -1,5 +1,13 @@
libpwquality NEWS -- history of user-visible changes.
+Release 0.9.9
+
+* Release candidate for 1.0
+* Added Python bindings
+* Added user name parameter to the pwquality_check()
+* Added manpages and other documentation
+* Removed obsolete and unused difignore option
+
Release 0.9
* First prerelease
diff -r 76025b51c466 -r bc63c08e8a10 README
--- a/README Thu Nov 10 10:53:59 2011 +0100
+++ b/README Fri Nov 11 12:28:16 2011 +0100
@@ -6,3 +6,19 @@
This library uses the cracklib as a dependency.
See the pwquality.h header file for the API.
+
+There are simple tools that use the libpwquality:
+
+ pwscore - reads the password to be checked from the standard input
+ Optional argument is an user name for additional checks.
+
+ pwmake - generates a random password
+ Required argument is number of bits of entropy used to
+ generate the password.
+
+The pwquality Python wrapper module can be used to call the libpwquality
+functionality from Python.
+
+And finally there is pam_pwquality Linux PAM module that can be used
+instead of pam_cracklib to disallow weak new passwords when user's login
+password is changed.
diff -r 76025b51c466 -r bc63c08e8a10 configure.in
--- a/configure.in Thu Nov 10 10:53:59 2011 +0100
+++ b/configure.in Fri Nov 11 12:28:16 2011 +0100
@@ -69,6 +69,7 @@
have_ld_version_script=yes
;;
esac
+
AC_ARG_ENABLE([ld-version-script],
AC_HELP_STRING([--enable-ld-version-script],
[enable/disable use of linker version script.
@@ -77,6 +78,7 @@
[ : ] )
AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
+dnl options and defaults
AC_ARG_WITH(securedir,
AS_HELP_STRING([--with-securedir=DIR],[path to location of PAMs @<:@default=$libdir/security@:>@]),
SECUREDIR=$withval, SECUREDIR=$libdir/security)
@@ -87,7 +89,6 @@
SCONFIGDIR=$enableval, SCONFIGDIR=$sysconfdir/security)
AC_SUBST(SCONFIGDIR)
-dnl options and defaults
AC_ARG_WITH(python-rev,
[ --with-pythonrev=2.7 version of python for which modules should be built],
PYTHONREV=$withval,[
@@ -97,6 +98,15 @@
])
AC_SUBST(PYTHONREV)
+AC_ARG_WITH(pythonsitedir,
+ [ --with-pythonsitedir=DIR directory of the python site packages @<:@default=$libdir/python$PYTHONREV/site-packages@:>@],
+ PYTHONSITEDIR=$withval,[
+ AC_MSG_CHECKING([python version])
+ [PYTHONSITEDIR=$libdir/python$PYTHONREV/site-packages]
+ AC_MSG_RESULT($PYTHONSITEDIR)
+ ])
+AC_SUBST(PYTHONSITEDIR)
+
dnl Check for cracklib
AC_CHECK_HEADERS([crack.h],
AC_CHECK_LIB([crack], [FascistCheck], LIBCRACK="-lcrack", LIBCRACK=""))
@@ -119,5 +129,6 @@
AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol)
dnl Files to be created from when we run configure
-AC_CONFIG_FILES([Makefile libpwquality.spec src/Makefile po/Makefile.in python/Makefile])
+AC_CONFIG_FILES([Makefile libpwquality.spec src/Makefile po/Makefile.in python/Makefile
+ doc/Makefile doc/man/Makefile])
AC_OUTPUT
diff -r 76025b51c466 -r bc63c08e8a10 doc/Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/Makefile.am Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,1 @@
+SUBDIRS = man
diff -r 76025b51c466 -r bc63c08e8a10 doc/man/Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/man/Makefile.am Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,1 @@
+dist_man_MANS = pwmake.1 pwscore.1 pam_pwquality.8 pwquality.conf.5
diff -r 76025b51c466 -r bc63c08e8a10 doc/man/pam_pwquality.8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/man/pam_pwquality.8 Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,346 @@
+.de FN
+\fI\|\\$1\|\fP
+..
+.TH PAM_PWQUALITY 8 "10 Nov 2011" "Red Hat, Inc."
+.SH NAME
+pam_pwquality \- PAM module to perform password quality checking
+.SH SYNOPSIS
+\fBpam_pwquality\&.so\fR [\fI\&.\&.\&.\fR]
+.SH DESCRIPTION
+.PP
+This module can be plugged into the
+\fIpassword\fR
+stack of a given service to provide some plug\-in strength\-checking
+for passwords\&. The code was originaly based on pam_cracklib module
+and the module is backwards compatible with its options\&.
+.PP
+The action of this module is to prompt the user for a password and check
+its strength against a system dictionary and a set of rules for identifying
+poor choices\&.
+.PP
+The first action is to prompt for a single password, check its strength
+and then, if it is considered strong, prompt for the password a second time
+(to verify that it was typed correctly on the first occasion)\&. All being
+well, the password is passed on to subsequent modules to be installed as the
+new authentication token\&.
+.PP
+The strength checks works in the following manner: at first the
+\fBCracklib\fR
+routine is called to check if the password is part of a dictionary; if this
+is not the case an additional set of strength checks are done\&. These checks
+are:
+.PP
+Palindrome
+.RS 4
+Is the new password a palindrome?
+.RE
+.PP
+Case Change Only
+.RS 4
+Is the new password the the old one with only a change of case?
+.RE
+.PP
+Similar
+.RS 4
+Is the new password too much like the old one? This is primarily controlled
+by one argument,
+\fBdifok\fR
+which is a number of changes between the old and new are enough to accept
+the new password\&.
+.RE
+.PP
+Simple
+.RS 4
+Is the new password too small? This is controlled by 5 arguments
+\fBminlen\fR,
+\fBdcredit\fR,
+\fBucredit\fR,
+\fBlcredit\fR, and
+\fBocredit\fR\&. See the section on the arguments for the details of how
+these work and there defaults\&.
+.RE
+.PP
+Rotated
+.RS 4
+Is the new password a rotated version of the old password?
+.RE
+.PP
+Same consecutive characters
+.RS 4
+Optional check for same consecutive characters\&.
+.RE
+.PP
+Contains user name
+.RS 4
+Optional check whether the password contains the user name in some form\&.
+.RE
+.PP
+These checks are configurable either by use of the module arguments
+or by modifying the \fB/etc/security/pwquality.conf\fR configuration file.
+.PD
+.SH OPTIONS
+.PP
+\fBdebug\fR
+.RS 4
+This option makes the module write information to
+\fBsyslog\fR(3)
+indicating the behavior of the module (this option does not write password
+information to the log file)\&.
+.RE
+.PP
+\fBauthtok_type=\fR\fB\fIXXX\fR\fR
+.RS 4
+The default action is for the module to use the following prompts when
+requesting passwords: "New UNIX password: " and
+"Retype UNIX password: "\&. The example word
+\fIUNIX\fR
+can be replaced with this option, by default it is empty\&.
+.RE
+.PP
+\fBretry=\fR\fB\fIN\fR\fR
+.RS 4
+Prompt user at most
+\fIN\fR
+times before returning with error\&. The default is
+\fI1\fR\&.
+.RE
+.PP
+\fBdifok=\fR\fB\fIN\fR\fR
+.RS 4
+This argument will change the default of
+\fI5\fR
+for the number of changes in the new password from the old password\&.
+.RE
+.PP
+\fBminlen=\fR\fB\fIN\fR\fR
+.RS 4
+The minimum acceptable size for the new password (plus one if credits are not
+disabled which is the default)\&. In addition to the number of characters in
+the new password, credit (of +1 in length) is given for each different kind
+of character (\fIother\fR,
+\fIupper\fR,
+\fIlower\fR
+and
+\fIdigit\fR)\&. The default for this parameter is
+\fI9\fR
+\&. Note that there is a pair of length limits also in
+\fICracklib\fR,
+which is used for dictionary checking, a "way too short" limit of 4 which
+is hard coded in and a build time defined limit (6) that will be checked
+without reference to \fBminlen\fR\&.
+.RE
+.PP
+\fBdcredit=\fR\fB\fIN\fR\fR
+.RS 4
+(N >= 0) This is the maximum credit for having digits in the new password\&.
+If you have less than or
+\fIN\fR
+digits, each digit will count +1 towards meeting the current
+\fBminlen\fR
+value\&. The default for
+\fBdcredit\fR
+is 1 which is the recommended value for
+\fBminlen\fR
+less than 10\&.
+.sp
+(N < 0) This is the minimum number of digits that must be met for a new
+password\&.
+.RE
+.PP
+\fBucredit=\fR\fB\fIN\fR\fR
+.RS 4
+(N >= 0) This is the maximum credit for having upper case letters in the
+new password\&. If you have less than or
+\fIN\fR
+upper case letters each letter will count +1 towards meeting the current
+\fBminlen\fR
+value\&. The default for
+\fBucredit\fR
+is
+\fI1\fR
+which is the recommended value for
+\fBminlen\fR
+less than 10\&.
+.sp
+(N < 0) This is the minimum number of upper case letters that must be met
+for a new password\&.
+.RE
+.PP
+\fBlcredit=\fR\fB\fIN\fR\fR
+.RS 4
+(N >= 0) This is the maximum credit for having lower case letters in the
+new password\&. If you have less than or
+\fIN\fR
+lower case letters, each letter will count +1 towards meeting the current
+\fBminlen\fR
+value\&. The default for
+\fBlcredit\fR
+is 1 which is the recommended value for
+\fBminlen\fR
+less than 10\&.
+.sp
+(N < 0) This is the minimum number of lower case letters that must be met
+for a new password\&.
+.RE
+.PP
+\fBocredit=\fR\fB\fIN\fR\fR
+.RS 4
+(N >= 0) This is the maximum credit for having other characters in the new
+password\&. If you have less than or
+\fIN\fR
+other characters, each character will count +1 towards meeting the current
+\fBminlen\fR
+value\&. The default for
+\fBocredit\fR
+is 1 which is the recommended value for
+\fBminlen\fR
+less than 10\&.
+.sp
+(N < 0) This is the minimum number of other characters that must be met for
+a new password\&.
+.RE
+.PP
+\fBminclass=\fR\fB\fIN\fR\fR
+.RS 4
+The minimum number of required classes of characters for the new password\&.
+The default number is zero\&. The four classes are digits, upper and lower
+letters and other characters\&. The difference to the
+\fBcredit\fR
+check is that a specific class if of characters is not required\&. Instead
+\fIN\fR
+out of four of the classes are required\&.
+.RE
+.PP
+\fBmaxrepeat=\fR\fB\fIN\fR\fR
+.RS 4
+Reject passwords which contain more than N same consecutive characters\&.
+The default is 0 which means that this check is disabled\&.
+.RE
+.PP
+\fBuse_authtok\fR
+.RS 4
+This argument is used to
+\fIforce\fR
+the module to not prompt the user for a new password but use the one
+provided by the previously stacked
+\fIpassword\fR
+module\&.
+.RE
+.PP
+\fBdictpath=\fR\fB\fI/path/to/dict\fR\fR
+.RS 4
+Path to the cracklib dictionaries\&.
+.RE
+
+.PD
+.SH "MODULE TYPES PROVIDED"
+.PP
+Only the
+\fBpassword\fR
+module type is provided\&.
+
+.PD
+.SH "RETURN VALUES"
+.PP
+.PP
+PAM_SUCCESS
+.RS 4
+The new password passes all checks\&.
+.RE
+.PP
+PAM_AUTHTOK_ERR
+.RS 4
+No new password was entered, the username could not be determined or the
+new password fails the strength checks\&.
+.RE
+.PP
+PAM_AUTHTOK_RECOVERY_ERR
+.RS 4
+The old password was not supplied by a previous stacked module or got not
+requested from the user\&. The first error can happen if
+\fBuse_authtok\fR
+is specified\&.
+.RE
+.PP
+PAM_SERVICE_ERR
+.RS 4
+A internal error occurred\&.
+.RE
+.SH "EXAMPLES"
+.PP
+For an example of the use of this module, we show how it may be stacked with the password component of
+\fBpam_unix\fR(8)
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+#
+# These lines stack two password type modules\&. In this example the
+# user is given 3 opportunities to enter a strong password\&. The
+# "use_authtok" argument ensures that the pam_unix module does not
+# prompt for a password, but instead uses the one provided by
+# pam_pwquality\&.
+#
+passwd password required pam_pwquality\&.so retry=3
+passwd password required pam_unix\&.so use_authtok
+
+.fi
+.if n \{\
+.RE
+.\}
+.PP
+Another example (in the
+/etc/pam\&.d/passwd
+format) is for the case that you want to use md5 password encryption:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+#%PAM\-1\&.0
+#
+# These lines allow a md5 systems to support passwords of at least 14
+# bytes with extra credit of 2 for digits and 2 for others the new
+# password must have at least three bytes that are not present in the
+# old password
+#
+password required pam_pwquality\&.so \e
+ difok=3 minlen=15 dcredit= 2 ocredit=2
+password required pam_unix\&.so use_authtok nullok md5
+
+.fi
+.if n \{\
+.RE
+.\}
+.PP
+And here is another example in case you don\'t want to use credits:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+#%PAM\-1\&.0
+#
+# These lines require the user to select a password with a minimum
+# length of 8 and with at least 1 digit number, 1 upper case letter,
+# and 1 other character
+#
+password required pam_pwquality\&.so \e
+ dcredit=\-1 ucredit=\-1 ocredit=\-1 lcredit=0 minlen=8
+password required pam_unix\&.so use_authtok nullok md5
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.PD
+.SH "SEE ALSO"
+pwscore(1), pwquality.conf(5), pam_pwquality(8),
+pam.conf(5), PAM(8)
+
+.SH AUTHORS
+.nf
+Tomas Mraz <tmraz(a)redhat\&.com>
+Original author of pam_cracklib module Cristian Gafton <gafton(a)redhat\&.com>
+.fi
diff -r 76025b51c466 -r bc63c08e8a10 doc/man/pwmake.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/man/pwmake.1 Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,45 @@
+.de FN
+\fI\|\\$1\|\fP
+..
+.TH PWMAKE 1 "10 Nov 2011" "Red Hat, Inc."
+.SH NAME
+pwmake \- simple tool for generating random relatively easily pronounceable
+passwords
+.SH SYNOPSIS
+\fBpwmake\fR <entropy-bits>
+.SH DESCRIPTION
+\fBpwmake\fR is a simple configurable tool for generating random and relatively
+easily pronounceable passwords. The tool allows you to specify the number of
+entropy bits that are used to generate the password.
+
+The entropy is pulled from \fB/dev/urandom\fR.
+
+The minimum number of bits is \fB56\fR which is usable for passwords on
+systems/services where brute force attacks are of very limited rate of tries.
+The \fB64\fR bits should be adequate for applications where the attacker
+does not have direct access to the password hash file. For situations where
+the attacker might obtain the direct access to the password hash or the
+password is used as an encryption key \fB80\fR to \fB128\fR bits should be
+used depending on your level of paranoia.
+
+.PD
+.SH OPTIONS
+The first and only argument is the number of bits of entropy used to generate
+the password.
+
+.SH FILES
+\fB/etc/security/pwquality.conf\fR - The configuration file for the libpwquality
+library.
+
+.PD
+.SH "RETURN CODES"
+\fBpwmake\fR returns 0 on success, non zero on error.
+
+.PD
+.SH "SEE ALSO"
+pwscore(1), pam_pwquality(8)
+
+.SH AUTHORS
+.nf
+Tomas Mraz <tmraz(a)redhat.com>
+.fi
diff -r 76025b51c466 -r bc63c08e8a10 doc/man/pwquality.conf.5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/man/pwquality.conf.5 Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,93 @@
+.de FN
+\fI\|\\$1\|\fP
+..
+.TH PWQUALITY.CONF 5 "10 Nov 2011" "Red Hat, Inc."
+.SH NAME
+pwquality.conf \- configuration for the libpwquality library
+.SH SYNOPSIS
+\fB/etc/security/pwquality.conf\fR
+.SH DESCRIPTION
+\fBpwquality.conf\fR provides a way to configure the default password
+quality requirements for the system passwords. This file is read by the
+libpwquality library and utilities that use this library for checking
+and generating passwords.
+
+The file has a very simple \fIname = value\fR format with possible comments
+starting with \fB#\fR character.
+
+.PD
+.SH OPTIONS
+The possible options in the file are:
+.RS 4
+.PP
+\fBdifok\fR
+.RS 4
+Number of characters in the new password that must not be present in the
+old password. (default 5)
+.RE
+.PP
+\fBdifignore\fR
+.RS 4
+How many characters should the password have before difok will be
+ignored. (default 23)
+.RE
+.PP
+\fBminlen\fR
+.RS 4
+Minimum acceptable size for the new password (plus one if credits are not
+disabled which is the default). (See \fIpam_pwquality(8)\fR.)
+Cannot be set to lower value than 6. (default 9)
+.RE
+.PP
+\fBdcredit\fR
+.RS 4
+The maximum credit for having digits in the new password. If less than 0
+it is the minimum number of digits in the new password. (default 1)
+.RE
+.PP
+\fBucredit\fR
+.RS 4
+The maximum credit for having uppercase characters in the new password.
+If less than 0 it is the minimum number of uppercase characters in the new
+password. (default 1)
+.RE
+.PP
+\fBlcredit\fR
+.RS 4
+The maximum credit for having lowercase characters in the new password.
+If less than 0 it is the minimum number of lowercase characters in the new
+password. (default 1)
+.RE
+.PP
+\fBocredit\fR
+.RS 4
+The maximum credit for having other characters in the new password.
+If less than 0 it is the minimum number of other characters in the new
+password. (default 1)
+.RE
+.PP
+\fBminclass\fR
+.RS 4
+The minimum number of required classes of characters for the new
+password (digits, uppercase, lowercase, others). (default 0)
+.RE
+.PP
+\fBmaxrepeat\fR
+.RS 4
+The maximum number of allowed same consecutive characters in the new password.
+The check is disabled if the value is 0. (default 0)
+.RE
+.PP
+\fBdictpath\fR
+.RS 4
+Path to the cracklib dictionaries. Default is to use the cracklib default.
+.RE
+
+.PD
+.SH "SEE ALSO"
+pwscore(1), pwmake(1), pam_pwquality(8)
+
+.SH AUTHORS
+.nf
+Tomas Mraz <tmraz(a)redhat.com>
+.fi
diff -r 76025b51c466 -r bc63c08e8a10 doc/man/pwscore.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/man/pwscore.1 Fri Nov 11 12:28:16 2011 +0100
@@ -0,0 +1,41 @@
+.de FN
+\fI\|\\$1\|\fP
+..
+.TH PWSCORE 1 "10 Nov 2011" "Red Hat, Inc."
+.SH NAME
+pwscore \- simple configurable tool for checking quality of a password
+.SH SYNOPSIS
+\fBpwscore\fR [user]
+.SH DESCRIPTION
+\fBpwscore\fR is a simple tool for checking quality of a password. The password
+is read from stdin.
+
+The tool uses the \fBlibpwquality\fR library to perform configurable checks
+for minimum length, dictionary checking against cracklib dictionaries,
+and other checks.
+
+It either reports an error if the password fails any of the checks, or it
+prints out the password quality score as an integer value between \fB0\fR and
+\fB100\fR.
+
+.PD
+.SH OPTIONS
+The first and only optional argument is the user name that is used to check
+the similarity of the password to the username.
+
+.SH FILES
+\fB/etc/security/pwquality.conf\fR - The configuration file for the libpwquality
+library.
+
+.PD
+.SH "RETURN CODES"
+\fBpwscore\fR returns 0 on success, non zero on error.
+
+.PD
+.SH "SEE ALSO"
+pwscore(1), pwquality.conf(5), pam_pwquality(8)
+
+.SH AUTHORS
+.nf
+Tomas Mraz <tmraz(a)redhat.com>
+.fi
diff -r 76025b51c466 -r bc63c08e8a10 libpwquality.spec.in
--- a/libpwquality.spec.in Thu Nov 10 10:53:59 2011 +0100
+++ b/libpwquality.spec.in Fri Nov 11 12:28:16 2011 +0100
@@ -16,9 +16,16 @@
BuildRequires: cracklib-devel
BuildRequires: gettext
BuildRequires: pam-devel
+BuildRequires: python2-devel
URL: http://libpwquality.fedorahosted.org/
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$.
+%filter_setup
+}
+
%description
This is a library for password quality checks and generation
of random passwords that pass the checks.
@@ -35,12 +42,24 @@
library.
See the pwquality.h header file for the API.
+%package -n python-pwquality
+Group: Development/Libraries
+Summary: Python bindings for the libpwquality library
+Requires: libpwquality%{?_isa} = %{version}-%{release}
+
+%description -n python-pwquality
+This is pwquality Python module that provides Python bindings
+for the libpwquality library. These bindings can be used
+for easy password quality checking and generation of random
+pronounceable passwords from Python applications.
+
%prep
%setup -q
%build
%configure \
--libdir=/%{_lib} \
+ --with-pythonsitedir=%{python_sitearch} \
--disable-static
make %{?_smp_mflags}
@@ -73,13 +92,23 @@
%{_moduledir}/pam_pwquality.so
/%{_lib}/libpwquality.so.*
%config(noreplace) %{_secconfdir}/pwquality.conf
+%{_mandir}/man1/*
+%{_mandir}/man5/*
+%{_mandir}/man8/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/pwquality.h
%{_libdir}/libpwquality.so
+%files -n python-pwquality
+%defattr(-,root,root,-)
+%{python_sitearch}/pwquality.so
+
%changelog
+* Fri Nov 11 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9.9-1
+- added python bindings and documentation
+
* Mon Oct 10 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9-2
- fixes for problems found in review (missing BR on pam-devel,
License field, Source URL, Require pam, other cleanups)
diff -r 76025b51c466 -r bc63c08e8a10 po/ar.po
--- a/po/ar.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ar.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2001-07-13 15:36+0200\n"
"Last-Translator: Novell Language <language(a)novell.com>\n"
"Language-Team: Novell Language <language(a)novell.com>\n"
@@ -29,14 +29,14 @@
msgid "Sorry, passwords do not match."
msgstr "عذرًا، يوجد عدم تطابق بين كلمات السر."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "كلمة سر سيئة: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -45,16 +45,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -95,133 +95,138 @@
msgid "The password is too similar to the old one"
msgstr "كلمة السر الجديدة شديدة الشبه بكلمة السر القديمة"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "لا يوجد اختلاف عن كلمة السر القديمة"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "لا يوجد اختلاف عن كلمة السر القديمة"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "لا يوجد اختلاف عن كلمة السر القديمة"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "كلمة السر الجديدة شديدة الشبه بكلمة السر القديمة"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "لم يتم إدخال كلمة السر"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "كلمة سر يمكن قراءتها من الجهتين"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "خطأ غير معروف"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "خطأ غير معروف"
diff -r 76025b51c466 -r bc63c08e8a10 po/as.po
--- a/po/as.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/as.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-09 19:25+0530\n"
"Last-Translator: Amitakhya Phukan <aphukan(a)fedoraproject.org>\n"
"Language-Team: Assamese <fedora-trans-as(a)redhat.com>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "ক্ষমা কৰিব, গুপ্তশব্দৰ অমিল "
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "বেয়া গুপ্তশব্দ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "পৰণিটোৰ সৈতে বহুত একেই"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "পুৰণিটোৰ সৈতে একেই"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "পুৰণিটোৰ সৈতে একেই"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "এটাৰ পিছত এটা বহুতো একেই আখৰ আছে"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "পুৰণিটোৰ সৈতে একেই"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "এটাৰ পিছত এটা বহুতো একেই আখৰ আছে"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "পৰ্যাপ্ত character classes নাই"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "পৰ্যাপ্ত character classes নাই"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "পৰ্যাপ্ত character classes নাই"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "এটাৰ পিছত এটা বহুতো একেই আখৰ আছে"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "এটাৰ পিছত এটা বহুতো একেই আখৰ আছে"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "কোনো গুপ্তশব্দ দিয়া হোৱা নাই"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "এটা অনুলোম-বিলোম বাক্য"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "অজ্ঞাত ভুল"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "অজ্ঞাত ভুল"
diff -r 76025b51c466 -r bc63c08e8a10 po/bn_IN.po
--- a/po/bn_IN.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/bn_IN.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-08 18:30+0530\n"
"Last-Translator: Runa Bhattacharjee <runab(a)fedoraproject.org>\n"
"Language-Team: Bengali INDIA <fedora-trans-bn_in(a)redhat.com>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "দুঃখিত, পাসওয়ার্ড দুটি এক নয়।"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "পাসওয়ার্ড ভাল নয়: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "পুরোনো পাসওয়ার্ডের সমতূল্য"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "পুরোনোটির অনুরূপ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "পুরোনোটির অনুরূপ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "একই অক্ষর অত্যাধিক বার ক্রমাগত ব্যবহার করা হয়েছে"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "পুরোনোটির অনুরূপ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "একই অক্ষর অত্যাধিক বার ক্রমাগত ব্যবহার করা হয়েছে"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "পর্যাপ্ত অক্ষর শ্রেণী উপস্থিত নেই"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "পর্যাপ্ত অক্ষর শ্রেণী উপস্থিত নেই"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "পর্যাপ্ত অক্ষর শ্রেণী উপস্থিত নেই"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "একই অক্ষর অত্যাধিক বার ক্রমাগত ব্যবহার করা হয়েছে"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "একই অক্ষর অত্যাধিক বার ক্রমাগত ব্যবহার করা হয়েছে"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "কোনো পাসওয়ার্ড উল্লিখিত হয়নি"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "উভমুখী শব্দ"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "অজানা সমস্যা"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "অজানা সমস্যা"
diff -r 76025b51c466 -r bc63c08e8a10 po/ca.po
--- a/po/ca.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ca.po Fri Nov 11 12:28:16 2011 +0100
@@ -20,7 +20,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-05-18 16:10+0200\n"
"Last-Translator: Albert Carabasa Giribet <albertc(a)asic.udl.cat>\n"
"Language-Team: Catalan <fedora(a)softcatala.net>\n"
@@ -44,14 +44,14 @@
msgid "Sorry, passwords do not match."
msgstr "Les contrasenyes no coincideixen."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "CONTRASENYA INCORRECTA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -60,16 +60,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -110,135 +110,140 @@
msgid "The password is too similar to the old one"
msgstr "és massa semblant a l'antiga"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "és la mateixa que l'antiga"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "és la mateixa que l'antiga"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "conté massa caràcters idèntics consecutius"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "és la mateixa que l'antiga"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "conté massa caràcters idèntics consecutius"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "no hi ha suficients classes de caràcters"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "no hi ha suficients classes de caràcters"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "no hi ha suficients classes de caràcters"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "conté massa caràcters idèntics consecutius"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "conté massa caràcters idèntics consecutius"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "No s'ha proporcionat cap contrasenya"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "és un palíndrom"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Error desconegut"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Error desconegut"
diff -r 76025b51c466 -r bc63c08e8a10 po/cs.po
--- a/po/cs.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/cs.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-24 15:22+0100\n"
"Last-Translator: Tomas Mraz <t8m(a)centrum.cz>\n"
"Language-Team: cs_CZ <cs(a)li.org>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Hesla se neshodují."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ŠPATNÉ HESLO: %s"
#: src/pwscore.c:21
-#, c-format
-msgid "Usage: %s\n"
+#, fuzzy, c-format
+msgid "Usage: %s [user]\n"
msgstr "Použití: %s\n"
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr " Příkaz čte hodnocené heslo ze standardního vstupu.\n"
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr "Chyba: %s\n"
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr "Nepodařilo se získat heslo k ohodnocení"
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -95,133 +95,138 @@
msgid "The password is too similar to the old one"
msgstr "Heslo je příliš podobné předcházejícímu"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "Heslo obsahuje příliš málo velkých písmen"
+
+#: src/error.c:48
#, c-format
msgid "The password contains less than %ld digits"
msgstr "Heslo obsahuje méně než %ld číslic"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr "Heslo obsahuje příliš málo číslic"
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "Heslo obsahuje méně než %ld velkých písmen"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr "Heslo obsahuje příliš málo velkých písmen"
-#: src/error.c:58
+#: src/error.c:60
#, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "Heslo obsahuje méně než %ld malých písmen"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr "Heslo obsahuje příliš málo malých písmen"
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "Heslo obsahuje méně než %ld jiných znaků než číslic a písmen"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr "Heslo obsahuje příliš málo jiných znaků než číslic a písmen"
-#: src/error.c:70
+#: src/error.c:72
#, c-format
msgid "The password is shorter than %ld characters"
msgstr "Heslo je kratší než %ld znaků"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr "Heslo je příliš krátké"
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr "Heslo je pouze rotací starého hesla"
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr "Heslo má méně než %ld různých druhů znaků"
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr "Heslo nemá dostatek různých druhů znaků"
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "Heslo obsahuje více než %ld stejných znaků za sebou"
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr "Heslo obsahuje příliš mnoho stejných znaků za sebou"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nezadáno heslo"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr "Nebylo možno získat náhodná čísla z RNG zařízení"
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
"Generování hesla selhalo - požadovaná entropie je příliš malá vzhledem k "
"nastavení"
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
msgid "The password fails the dictionary check"
msgstr "Heslo nevyhovuje kontrole slovníkem"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
msgid "Unknown setting"
msgstr "Neznámé nastavení"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr "Špatná celočíselná hodnota nastavení"
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr "Špatná celočíselná hodnota"
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr "Nastavení %s není celočíselného typu"
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr "Nastavení není celočíselného typu"
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr "Nastavení %s není typu řetězec"
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr "Nastavení není typu řetězec"
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr "Konfigurační soubor nelze otevřít"
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr "Konfigurační soubor je poškozen"
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr "Fatální chyba"
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Neznámá chyba"
diff -r 76025b51c466 -r bc63c08e8a10 po/da.po
--- a/po/da.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/da.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-10-04 18:01+0200\n"
"Last-Translator: Kris Thomsen <lakristho(a)gmail.com>\n"
"Language-Team: Danish <dansk(a)dansk-gruppen.dk>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "Adgangskoderne stemmer ikke overens."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "DÅRLIG ADGANGSKODE: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "ligner for meget den gamle"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "er den samme som den gamle"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "er den samme som den gamle"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "indeholder for mange af de samme tegn"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "er den samme som den gamle"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "indeholder for mange af de samme tegn"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ikke nok tegnklasser"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "ikke nok tegnklasser"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "ikke nok tegnklasser"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "indeholder for mange af de samme tegn"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "indeholder for mange af de samme tegn"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Ingen adgangskode angivet"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "det staves ens forfra og bagfra"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Ukendt fejl"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Ukendt fejl"
diff -r 76025b51c466 -r bc63c08e8a10 po/de.po
--- a/po/de.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/de.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2011-06-21 13:27+02:00\n"
"Last-Translator: Fabian Affolter <fab(a)fedoraproject.org>\n"
"Language-Team: German <fedora-trans-de(a)redhat.com>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Die Passwörter stimmen nicht überein."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "Schlechtes Passwort: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -98,135 +98,140 @@
msgid "The password is too similar to the old one"
msgstr "ist dem alten zu ähnlich"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ist das gleiche wie das Alte"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ist das gleiche wie das Alte"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "das gleiche Zeichen wurde so oft hintereinander verwendet"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ist das gleiche wie das Alte"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "das gleiche Zeichen wurde so oft hintereinander verwendet"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "nicht genug unterschiedliche Arten von Zeichen"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "nicht genug unterschiedliche Arten von Zeichen"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "nicht genug unterschiedliche Arten von Zeichen"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "das gleiche Zeichen wurde so oft hintereinander verwendet"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "das gleiche Zeichen wurde so oft hintereinander verwendet"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Kein Passwort angegeben"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ist ein Palindrome"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Unbekannter Fehler"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Unbekannter Fehler"
diff -r 76025b51c466 -r bc63c08e8a10 po/es.po
--- a/po/es.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/es.po Fri Nov 11 12:28:16 2011 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-18 22:51-0300\n"
"Last-Translator: Domingo Becker <domingobecker(a)gmail.com>\n"
"Language-Team: Fedora Spanish <fedora-trans-es(a)redhat.com>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Las contraseñas no coinciden."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "CONTRASEÑA INCORRECTA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "es demasiado similar a la antigua"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "es igual que la antigua"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "es igual que la antigua"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "contiene demasiados carateres iguales consecutivos"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "es igual que la antigua"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "contiene demasiados carateres iguales consecutivos"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "no hay suficientes clases de caracteres"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "no hay suficientes clases de caracteres"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "no hay suficientes clases de caracteres"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "contiene demasiados carateres iguales consecutivos"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "contiene demasiados carateres iguales consecutivos"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "No se ha proporcionado ninguna contraseña"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "es un palíndromo"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Error desconocido"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Error desconocido"
diff -r 76025b51c466 -r bc63c08e8a10 po/fi.po
--- a/po/fi.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/fi.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2006-05-04 08:30+0200\n"
"Last-Translator: Jyri Palokangas <jmp(a)netti.fi>\n"
"Language-Team: <yast-trans-fi(a)kotoistaminen.novell.fi>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "Salasanat eivät täsmää."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "HUONO SALASANA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,133 +97,138 @@
msgid "The password is too similar to the old one"
msgstr "on liian samankaltainen vanhan kanssa"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "on sama kuin vanha"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "on sama kuin vanha"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "on sama kuin vanha"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "on liian samankaltainen vanhan kanssa"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Et antanut salasanaa"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "on palindromi"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Tuntematon virhe"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Tuntematon virhe"
diff -r 76025b51c466 -r bc63c08e8a10 po/fr.po
--- a/po/fr.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/fr.po Fri Nov 11 12:28:16 2011 +0100
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-15 23:00+0200\n"
"Last-Translator: Charles-Antoine Couret <cacouret(a)wanadoo.fr>\n"
"Language-Team: French <fedora-trans-fr(a)redhat.com>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Les mots de passe ne correspondent pas."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "MOT DE PASSE INCORRECT : %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "ressemble trop à l'ancien"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "est identique à l'ancien"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "est identique à l'ancien"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "contient trop de caractères consécutifs identiques"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "est identique à l'ancien"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "contient trop de caractères consécutifs identiques"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "les caractères utilisés ne sont pas suffisamment variés"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "les caractères utilisés ne sont pas suffisamment variés"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "les caractères utilisés ne sont pas suffisamment variés"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "contient trop de caractères consécutifs identiques"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "contient trop de caractères consécutifs identiques"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Aucun mot de passe fourni"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "est un palindrome"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Erreur inconnue"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Erreur inconnue"
diff -r 76025b51c466 -r bc63c08e8a10 po/gu.po
--- a/po/gu.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/gu.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2010-08-02 18:15+0530\n"
"Last-Translator: Sweta Kothari <swkothar(a)redhat.com>\n"
"Language-Team: Gujarati\n"
@@ -33,14 +33,14 @@
msgid "Sorry, passwords do not match."
msgstr "માફ કરજો, પાસવર્ડો બંધબેસતા નથી."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ખરાબ પાસવર્ડ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -49,16 +49,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -99,135 +99,140 @@
msgid "The password is too similar to the old one"
msgstr "એ જૂના સાથે એકદમ સરખો છે"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "એ જૂના જેવો જ છે"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "એ જૂના જેવો જ છે"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "એકપછી એક ઘણા બધા સરખા અક્ષરોને સમાવે છે"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "એ જૂના જેવો જ છે"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "એકપછી એક ઘણા બધા સરખા અક્ષરોને સમાવે છે"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "પૂરતા અક્ષર વર્ગો નથી"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "પૂરતા અક્ષર વર્ગો નથી"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "પૂરતા અક્ષર વર્ગો નથી"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "એકપછી એક ઘણા બધા સરખા અક્ષરોને સમાવે છે"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "એકપછી એક ઘણા બધા સરખા અક્ષરોને સમાવે છે"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "કોઈ પાસવર્ડ પૂરો પડાયેલ નથી"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "એ પેલીન્ડ્રોમ છે"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "અજ્ઞાત ભૂલ"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "અજ્ઞાત ભૂલ"
diff -r 76025b51c466 -r bc63c08e8a10 po/he.po
--- a/po/he.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/he.po Fri Nov 11 12:28:16 2011 +0100
@@ -3,7 +3,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Elad <el.il(a)doom.co.il>\n"
"Language-Team: Hebrew <fedora-he-list(a)redhat.com>\n"
@@ -29,14 +29,14 @@
msgid "Sorry, passwords do not match."
msgstr "סליחה, הססמאות לא תואמות."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ססמה לא טובה: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -45,16 +45,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -95,133 +95,138 @@
msgid "The password is too similar to the old one"
msgstr "יותר מדי דומה לישנה"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "זהה לישנה"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "זהה לישנה"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "זהה לישנה"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "יותר מדי דומה לישנה"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "לא סופקה ססמה"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "פילנדרום"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "שגיאה לא מוכרת"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "שגיאה לא מוכרת"
diff -r 76025b51c466 -r bc63c08e8a10 po/hi.po
--- a/po/hi.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/hi.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-06-08 12:22+0530\n"
"Last-Translator: Rajesh Ranjan <rajesh672(a)gmail.com>\n"
"Language-Team: Hindi <hindi.sf.net>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "क्षमा करें, शब्दकूट नहीं मिलते हैं."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "खराब शब्दकूट: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "पुराने के बहुत समान है"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "पुराने की तरह समान है"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "पुराने की तरह समान है"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "कई समान वर्ण लगातार समाहित करता है"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "पुराने की तरह समान है"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "कई समान वर्ण लगातार समाहित करता है"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "पर्याप्त वर्ण वर्ग नहीं"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "पर्याप्त वर्ण वर्ग नहीं"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "पर्याप्त वर्ण वर्ग नहीं"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "कई समान वर्ण लगातार समाहित करता है"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "कई समान वर्ण लगातार समाहित करता है"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "कोई कूटशब्द नहीं दिया गया है"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "एक पालिनड्रोम है"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "अनजान त्रुटि"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "अनजान त्रुटि"
diff -r 76025b51c466 -r bc63c08e8a10 po/hu.po
--- a/po/hu.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/hu.po Fri Nov 11 12:28:16 2011 +0100
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-20 20:53+0100\n"
"Last-Translator: Sulyok Péter <peti(a)sulyok.hu>\n"
"Language-Team: Hungarian <fedora-trans-hu(a)redhat.com>\n"
@@ -33,14 +33,14 @@
msgid "Sorry, passwords do not match."
msgstr "Sajnálom, de a jelszavak nem egyeznek."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ROSSZ JELSZÓ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -49,16 +49,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -99,135 +99,140 @@
msgid "The password is too similar to the old one"
msgstr "túl hasonló a régihez"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ugyanaz, mint a régi"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ugyanaz, mint a régi"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "túl sok egymást követő betű egyezik meg"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ugyanaz, mint a régi"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "túl sok egymást követő betű egyezik meg"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "elégtelen betűosztály"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "elégtelen betűosztály"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "elégtelen betűosztály"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "túl sok egymást követő betű egyezik meg"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "túl sok egymást követő betű egyezik meg"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nincs jelszó megadva"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "palindrom"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Ismeretlen hiba"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Ismeretlen hiba"
diff -r 76025b51c466 -r bc63c08e8a10 po/it.po
--- a/po/it.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/it.po Fri Nov 11 12:28:16 2011 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-20 18:31+0200\n"
"Last-Translator: mario_santagiuliana <mario at marionline.it>\n"
"Language-Team: Italian <fedora-trans-it at redhat.com>\n"
@@ -33,14 +33,14 @@
msgid "Sorry, passwords do not match."
msgstr "Le password non corrispondono."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "PASSWORD ERRATA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -49,16 +49,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -99,135 +99,140 @@
msgid "The password is too similar to the old one"
msgstr "è troppo simile alla precedente"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "è la stessa di quella precedente"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "è la stessa di quella precedente"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "contiene troppi caratteri simili consecutivi"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "è la stessa di quella precedente"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "contiene troppi caratteri simili consecutivi"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "non ha abbastanza classi di caratteri"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "non ha abbastanza classi di caratteri"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "non ha abbastanza classi di caratteri"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "contiene troppi caratteri simili consecutivi"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "contiene troppi caratteri simili consecutivi"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nessuna password fornita"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "è un palindromo"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Errore sconosciuto"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Errore sconosciuto"
diff -r 76025b51c466 -r bc63c08e8a10 po/ja.po
--- a/po/ja.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ja.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-08-30 11:39+0900\n"
"Last-Translator: Kiyoto Hashida <khashida(a)redhat.com>\n"
"Language-Team: Japanese <jp(a)li.org>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "パスワードが一致しません。"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "よくないパスワード: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "古いものと似ています"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "パスワードが古いものと同じです。"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "パスワードが古いものと同じです。"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "連続的な同一文字が多く含まれ過ぎです"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "パスワードが古いものと同じです。"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "連続的な同一文字が多く含まれ過ぎです"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "文字クラスが不十分です"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "文字クラスが不十分です"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "文字クラスが不十分です"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "連続的な同一文字が多く含まれ過ぎです"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "連続的な同一文字が多く含まれ過ぎです"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "パスワードが与えられていません"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "前後どちらから読んでも同じパスワードです。"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "不明なエラー"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "不明なエラー"
diff -r 76025b51c466 -r bc63c08e8a10 po/kk.po
--- a/po/kk.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/kk.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-02-26 13:07+0600\n"
"Last-Translator: Baurzhan M. <baurthefirst(a)gmail.com>\n"
"Language-Team: Kazakh <kk_KZ(a)googlegroups.com>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "Кешіріңіз, парольдер өзара сәйкес емес."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ҚАТЕ ПАРОЛЬ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "ескі парольге өте ұқсас"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "алдыңғысына сәйкес болып тұр"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "алдыңғысына сәйкес болып тұр"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "құрамында бірдей таңбалардың тізбегі бар"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "алдыңғысына сәйкес болып тұр"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "құрамында бірдей таңбалардың тізбегі бар"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "керек таңбалар кластары жоқ"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "керек таңбалар кластары жоқ"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "керек таңбалар кластары жоқ"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "құрамында бірдей таңбалардың тізбегі бар"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "құрамында бірдей таңбалардың тізбегі бар"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Пароль көрсетілмеді"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "палиндром болып тұр"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Белгісіз қате"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Белгісіз қате"
diff -r 76025b51c466 -r bc63c08e8a10 po/km.po
--- a/po/km.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/km.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2006-03-17 10:32+0700\n"
"Last-Translator: Khoem Sokhem <khoemsokhem(a)khmeros.info>\n"
"Language-Team: Khmer <support(a)khmeros.info>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "សូមទោស ពាក្យសម្ងាត់មិនដូចគ្នាឡើយ ។"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ពាក្យសម្ងាត់មិនល្អ ៖ %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,133 +96,138 @@
msgid "The password is too similar to the old one"
msgstr "ស្រដៀងគ្នាណាស់នឹងពាក្យសម្ងាត់ចាស់"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ដូចគ្នានឹងពាក្យសម្ងាត់ចាស់"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ដូចគ្នានឹងពាក្យសម្ងាត់ចាស់"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ដូចគ្នានឹងពាក្យសម្ងាត់ចាស់"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ស្រដៀងគ្នាណាស់នឹងពាក្យសម្ងាត់ចាស់"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "មិនបានផ្ដល់ពាក្យសម្ងាត់"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ត្រឡប់ចុះឡើង"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "មិនស្គាល់កំហុស"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "មិនស្គាល់កំហុស"
diff -r 76025b51c466 -r bc63c08e8a10 po/kn.po
--- a/po/kn.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/kn.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-03 12:24+0530\n"
"Last-Translator: Shankar Prasad <svenkate(a)redhat.com>\n"
"Language-Team: Kannada <en(a)li.org>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "ಕ್ಷಮಿಸಿ, ಗುಪ್ತಪದಗಳು ತಾಳೆಯಾಗುತ್ತಿಲ್ಲ."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ಕೆಟ್ಟ ಗುಪ್ತಪದ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "ಇದು ಹಳೆಯದಕ್ಕೆ ಬಹಳಷ್ಟು ಹೋಲುತ್ತದೆ"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ಇದು ಹಳೆಯದರ ಹಾಗೆಯೇ ಇದೆ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ಇದು ಹಳೆಯದರ ಹಾಗೆಯೇ ಇದೆ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "ಇದು ಒಂದೇ ಬಗೆಯ ಬಹಳಷ್ಟು ಕ್ಯಾರೆಕ್ಟರುಗಳನ್ನು ಅನುಕ್ರಮವಾಗಿ ಹೊಂದಿದೆ"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ಇದು ಹಳೆಯದರ ಹಾಗೆಯೇ ಇದೆ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "ಇದು ಒಂದೇ ಬಗೆಯ ಬಹಳಷ್ಟು ಕ್ಯಾರೆಕ್ಟರುಗಳನ್ನು ಅನುಕ್ರಮವಾಗಿ ಹೊಂದಿದೆ"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ಸಾಕಷ್ಟು ಕ್ಯಾರೆಕ್ಟರ್ ವರ್ಗಗಳು ಇಲ್ಲ"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "ಸಾಕಷ್ಟು ಕ್ಯಾರೆಕ್ಟರ್ ವರ್ಗಗಳು ಇಲ್ಲ"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "ಸಾಕಷ್ಟು ಕ್ಯಾರೆಕ್ಟರ್ ವರ್ಗಗಳು ಇಲ್ಲ"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "ಇದು ಒಂದೇ ಬಗೆಯ ಬಹಳಷ್ಟು ಕ್ಯಾರೆಕ್ಟರುಗಳನ್ನು ಅನುಕ್ರಮವಾಗಿ ಹೊಂದಿದೆ"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "ಇದು ಒಂದೇ ಬಗೆಯ ಬಹಳಷ್ಟು ಕ್ಯಾರೆಕ್ಟರುಗಳನ್ನು ಅನುಕ್ರಮವಾಗಿ ಹೊಂದಿದೆ"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "ಯಾವುದೇ ಗುಪ್ತಪದ ನೀಡಲಾಗಿಲ್ಲ"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ಇದು ಒಂದು ಸಮಾನ ಪೂರ್ವಾಪರವಾಗಿದೆ (palindrome)"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "ಗೊತ್ತಿರದ ದೋಷ"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "ಗೊತ್ತಿರದ ದೋಷ"
diff -r 76025b51c466 -r bc63c08e8a10 po/ko.po
--- a/po/ko.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ko.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-09-04 16:29+1000\n"
"Last-Translator: Eunju Kim <eukim(a)redhat.com>\n"
"Language-Team: Korean <ko(a)li.org>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "죄송합니다. 암호가 일치하지 않습니다."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "잘못된 암호: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "이전 암호와 유사함"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "이전 암호와 같음"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "이전 암호와 같음"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "너무 많은 동일한 문자가 연속적으로 포함되어있습니다 "
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "이전 암호와 같음"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "너무 많은 동일한 문자가 연속적으로 포함되어있습니다 "
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "문자 클래스가 부족합니다 "
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "문자 클래스가 부족합니다 "
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "문자 클래스가 부족합니다 "
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "너무 많은 동일한 문자가 연속적으로 포함되어있습니다 "
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "너무 많은 동일한 문자가 연속적으로 포함되어있습니다 "
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "암호가 없음"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "앞뒤 어느쪽에서 읽어도 같은 문맥임"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "알 수 없는 오류"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "알 수 없는 오류"
diff -r 76025b51c466 -r bc63c08e8a10 po/libpwquality.pot
--- a/po/libpwquality.pot Thu Nov 10 10:53:59 2011 +0100
+++ b/po/libpwquality.pot Fri Nov 11 12:28:16 2011 +0100
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: libpwquality 0.9\n"
+"Project-Id-Version: libpwquality 0.9.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr ""
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr ""
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -92,131 +92,135 @@
msgid "The password is too similar to the old one"
msgstr ""
-#: src/error.c:46
+#: src/error.c:45
+msgid "The password contains the user name in some form"
+msgstr ""
+
+#: src/error.c:48
#, c-format
msgid "The password contains less than %ld digits"
msgstr ""
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr ""
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, c-format
msgid "The password is shorter than %ld characters"
msgstr ""
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr ""
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
msgid "The password fails the dictionary check"
msgstr ""
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
msgid "Unknown setting"
msgstr ""
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr ""
diff -r 76025b51c466 -r bc63c08e8a10 po/ml.po
--- a/po/ml.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ml.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2010-03-24 14:41+0530\n"
"Last-Translator: \n"
"Language-Team: <en(a)li.org>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "ക്ഷമിക്കണം, അടയാളവാക്കുകള് തമ്മില് ചേരുന്നില്ല."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "തെറ്റായ അടയാളവാക്ക്: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "പഴയതിന് സാമ്യമുള്ളതു്"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "പഴയത് പോലെ തന്നെയാകുന്നതു്"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "പഴയത് പോലെ തന്നെയാകുന്നതു്"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "അടുത്തടുത്ത് ഒരേപോലുള്ള അനവധി അക്ഷരങ്ങളുണ്ടു്"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "പഴയത് പോലെ തന്നെയാകുന്നതു്"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "അടുത്തടുത്ത് ഒരേപോലുള്ള അനവധി അക്ഷരങ്ങളുണ്ടു്"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "മതിയായ ക്യാരക്ടര് ക്ലാസ്സുകള് ലഭ്യമല്ല"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "മതിയായ ക്യാരക്ടര് ക്ലാസ്സുകള് ലഭ്യമല്ല"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "മതിയായ ക്യാരക്ടര് ക്ലാസ്സുകള് ലഭ്യമല്ല"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "അടുത്തടുത്ത് ഒരേപോലുള്ള അനവധി അക്ഷരങ്ങളുണ്ടു്"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "അടുത്തടുത്ത് ഒരേപോലുള്ള അനവധി അക്ഷരങ്ങളുണ്ടു്"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "അടയാളവാക്ക് നല്കിയിട്ടില്ല"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ഒരു പാലിന്ഡ്രോം ആണു്"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "അപരിചിതമായ പിശക്"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "അപരിചിതമായ പിശക്"
diff -r 76025b51c466 -r bc63c08e8a10 po/mr.po
--- a/po/mr.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/mr.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-14 11:31+0530\n"
"Last-Translator: Sandeep Shedmake <sandeep.shedmake(a)gmail.com>\n"
"Language-Team: marathi\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "माफ करा, गुप्तशब्द जुळत नाही."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "अयोग्य गुप्तशब्द: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "प्रविष्ट केलेले जुण्या नुरूपच आहे"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "प्रविष्ट केलेले जुण्या प्रमाणेच आहे"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "प्रविष्ट केलेले जुण्या प्रमाणेच आहे"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "पाठोपाठ खूप जास्त समान अक्षर आढळले"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "प्रविष्ट केलेले जुण्या प्रमाणेच आहे"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "पाठोपाठ खूप जास्त समान अक्षर आढळले"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "अतिरिक्त अक्षर गट उपलब्ध नाही"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "अतिरिक्त अक्षर गट उपलब्ध नाही"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "अतिरिक्त अक्षर गट उपलब्ध नाही"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "पाठोपाठ खूप जास्त समान अक्षर आढळले"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "पाठोपाठ खूप जास्त समान अक्षर आढळले"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "गुप्तशब्द दिलेला नाही"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "पॅलींड्रोम आहे"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "अपरिचित चूक"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "अपरिचित चूक"
diff -r 76025b51c466 -r bc63c08e8a10 po/ms.po
--- a/po/ms.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ms.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2008-09-25 23:52+0800\n"
"Last-Translator: Sharuzzaman Ahmat Raslan <sharuzzaman(a)myrealbox.com>\n"
"Language-Team: Malay <translation-team-ms(a)lists.sourceforge.net>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "Sijil dan kekunci diberi tidak sepadan."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, fuzzy, c-format
msgid "BAD PASSWORD: %s"
msgstr "Katalaluan Tidak Betul"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -95,136 +95,141 @@
msgid "The password is too similar to the old one"
msgstr ""
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr " --src - pakej berikut adalah pakej sumber (sama dgn -s).\n"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr " --src - pakej berikut adalah pakej sumber (sama dgn -s).\n"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr " --src - pakej berikut adalah pakej sumber (sama dgn -s).\n"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "Tidak cukup volum fizikal"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "Tidak cukup volum fizikal"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "Tidak cukup volum fizikal"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "Tidak cukup volum fizikal"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "Tidak cukup volum fizikal"
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
#, fuzzy
msgid "No password supplied"
msgstr "Kata Laluan & Akaun Pengguna"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "seadanya"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "ralat tidak diketahui"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
#, fuzzy
msgid "Unknown error"
msgstr "ralat tidak diketahui"
diff -r 76025b51c466 -r bc63c08e8a10 po/nb.po
--- a/po/nb.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/nb.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2008-04-30 12:59+0200\n"
"Last-Translator: Olav Pettershagen <olav.pet(a)online.no>\n"
"Language-Team: <nb(a)li.org>\n"
@@ -29,14 +29,14 @@
msgid "Sorry, passwords do not match."
msgstr "Beklager, ikke samsvar mellom passord."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "SVAKT PASSORD: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -45,16 +45,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -95,134 +95,139 @@
msgid "The password is too similar to the old one"
msgstr "er for likt det gamle"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "er det samme som det gamle"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "er det samme som det gamle"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "er det samme som det gamle"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "ikke nok tegnklasser"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ikke nok tegnklasser"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "ikke nok tegnklasser"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "ikke nok tegnklasser"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "ikke nok tegnklasser"
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Passord ikke angitt"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "er et palindrom"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Ukjent feil"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Ukjent feil"
diff -r 76025b51c466 -r bc63c08e8a10 po/nl.po
--- a/po/nl.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/nl.po Fri Nov 11 12:28:16 2011 +0100
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2010-07-13 14:11+0200\n"
"Last-Translator: Geert Warrink <geert.warrink(a)onsnet.nu>\n"
"Language-Team: Fedora\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Sorry, wachtwoorden komen niet overeen."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "SLECHT WACHTWOORD: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "lijkt te veel op het oude"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "is hetzelfde als het oude"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "is hetzelfde als het oude"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "bevat teveel dezelfde opeenvolgende karakters"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "is hetzelfde als het oude"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "bevat teveel dezelfde opeenvolgende karakters"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "niet genoeg karakter klasses"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "niet genoeg karakter klasses"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "niet genoeg karakter klasses"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "bevat teveel dezelfde opeenvolgende karakters"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "bevat teveel dezelfde opeenvolgende karakters"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Geen wachtwoord opgegeven"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "is een palindroom"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Onbekende fout"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Onbekende fout"
diff -r 76025b51c466 -r bc63c08e8a10 po/or.po
--- a/po/or.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/or.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-01 15:07+0530\n"
"Last-Translator: Manoj Kumar Giri <mgiri(a)redhat.com>\n"
"Language-Team: Oriya <oriya-it(a)googlegroups.com>\n"
@@ -35,14 +35,14 @@
msgid "Sorry, passwords do not match."
msgstr "କ୍ଷମା କରିବେ, ପ୍ରବେଶ ସଙ୍କେତ ମିଶୁ ନାହିଁ।"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ଖରାପ ପ୍ରବେଶ ସଙ୍କେତ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -51,16 +51,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -101,135 +101,140 @@
msgid "The password is too similar to the old one"
msgstr "ଏହା ପୂର୍ବ ପ୍ରବେଶ ସଙ୍କେତ ସହିତ ବହୁତ ସମାନ ଅଟେ"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ପୁରୁଣା ପ୍ରବେଶ ସଙ୍କେତ ସହିତ ଏହା ସମାନ ଅଟେ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ପୁରୁଣା ପ୍ରବେଶ ସଙ୍କେତ ସହିତ ଏହା ସମାନ ଅଟେ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "ଅତ୍ୟଧିକ ସମାନ ଅକ୍ଷରକୁ ଲଗାତାର ଧାରଣ କରିଥାଏ"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ପୁରୁଣା ପ୍ରବେଶ ସଙ୍କେତ ସହିତ ଏହା ସମାନ ଅଟେ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "ଅତ୍ୟଧିକ ସମାନ ଅକ୍ଷରକୁ ଲଗାତାର ଧାରଣ କରିଥାଏ"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ଯଥେଷ୍ଟ ବର୍ଣ୍ଣ ଶ୍ରେଣୀ ନାହିଁ"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "ଯଥେଷ୍ଟ ବର୍ଣ୍ଣ ଶ୍ରେଣୀ ନାହିଁ"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "ଯଥେଷ୍ଟ ବର୍ଣ୍ଣ ଶ୍ରେଣୀ ନାହିଁ"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "ଅତ୍ୟଧିକ ସମାନ ଅକ୍ଷରକୁ ଲଗାତାର ଧାରଣ କରିଥାଏ"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "ଅତ୍ୟଧିକ ସମାନ ଅକ୍ଷରକୁ ଲଗାତାର ଧାରଣ କରିଥାଏ"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "କୌଣସି ପ୍ରବେଶ ସଙ୍କେତ ପ୍ରଦାନ କରାଯାଇ ନାହିଁ"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ପ୍ରବେଶ ସଙ୍କେତଟି ଗୋଟିଏ ପାଲିନଡ୍ରୋମ ଅଟେ"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "ଅଜଣା ତୃଟି"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "ଅଜଣା ତୃଟି"
diff -r 76025b51c466 -r bc63c08e8a10 po/pa.po
--- a/po/pa.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/pa.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-06-01 16:19+0530\n"
"Last-Translator: Jaswinder Singh <jsingh(a)redhat.com>\n"
"Language-Team: Punjabi <Punjabi-users(a)lists.sourceforge.net>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "ਮਾਫ ਕਰਨਾ ਪਾਸਵਰਡ ਮੇਲ ਨਹੀਂ ਖਾਂਦਾ।"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ਗਲਤ ਪਾਸਵਰਡ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "ਪੁਰਾਣੇ ਨਾਲ ਬਹੁਤ ਮਿਲਦਾ-ਜੁਲਦਾ ਹੈ"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ਪੁਰਾਣੇ ਵਰਗਾ ਹੈ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ਪੁਰਾਣੇ ਵਰਗਾ ਹੈ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "ਲਗਾਤਾਰ ਬਹੁਤ ਸਾਰੇ ਮਿਲਦੇ-ਜੁਲਦੇ ਅੱਖਰ ਸ਼ਾਮਿਲ ਹਨ"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ਪੁਰਾਣੇ ਵਰਗਾ ਹੈ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "ਲਗਾਤਾਰ ਬਹੁਤ ਸਾਰੇ ਮਿਲਦੇ-ਜੁਲਦੇ ਅੱਖਰ ਸ਼ਾਮਿਲ ਹਨ"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ਲੋੜੀਂਦੀਆਂ ਅੱਖਰ ਸ਼੍ਰੇਣੀਆਂ ਨਹੀਂ ਹਨ"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "ਲੋੜੀਂਦੀਆਂ ਅੱਖਰ ਸ਼੍ਰੇਣੀਆਂ ਨਹੀਂ ਹਨ"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "ਲੋੜੀਂਦੀਆਂ ਅੱਖਰ ਸ਼੍ਰੇਣੀਆਂ ਨਹੀਂ ਹਨ"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "ਲਗਾਤਾਰ ਬਹੁਤ ਸਾਰੇ ਮਿਲਦੇ-ਜੁਲਦੇ ਅੱਖਰ ਸ਼ਾਮਿਲ ਹਨ"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "ਲਗਾਤਾਰ ਬਹੁਤ ਸਾਰੇ ਮਿਲਦੇ-ਜੁਲਦੇ ਅੱਖਰ ਸ਼ਾਮਿਲ ਹਨ"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "ਕੋਈ ਪਾਸਵਰਡ ਨਹੀਂ ਦਿੱਤਾ ਗਿਆ"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "ਇੱਕ palindrome ਹੈ"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "ਅਣਜਾਣੀ ਗਲਤੀ"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "ਅਣਜਾਣੀ ਗਲਤੀ"
diff -r 76025b51c466 -r bc63c08e8a10 po/pl.po
--- a/po/pl.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/pl.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-09-27 13:48+0200\n"
"Last-Translator: Piotr Drąg <piotrdrag(a)gmail.com>\n"
"Language-Team: Polish <fedora-trans-pl(a)redhat.com>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Podane hasła nie zgadzają się."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "BŁĘDNE HASŁO: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -98,135 +98,140 @@
msgid "The password is too similar to the old one"
msgstr "jest za bardzo podobne do poprzedniego"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "jest identyczne ze starym"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "jest identyczne ze starym"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "zawiera za dużo takich samych znaków po sobie"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "jest identyczne ze starym"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "zawiera za dużo takich samych znaków po sobie"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "za mało klas znaków"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "za mało klas znaków"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "za mało klas znaków"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "zawiera za dużo takich samych znaków po sobie"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "zawiera za dużo takich samych znaków po sobie"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nie podano hasła"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "jest palindromem"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Nieznany błąd"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Nieznany błąd"
diff -r 76025b51c466 -r bc63c08e8a10 po/pt.po
--- a/po/pt.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/pt.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-09 16:42+0100\n"
"Last-Translator: Rui Gouveia <rui.gouveia(a)globaltek.pt>\n"
"Language-Team: pt <fedora-trans-pt(a)redhat.com>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Lamento, as senhas não coincidem."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "MÁ SENHA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "é muito semelhante à anterior"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "é igual à anterior"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "é igual à anterior"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "contém demasiados caracteres iguais consecutivos"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "é igual à anterior"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "contém demasiados caracteres iguais consecutivos"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "não tem classes de caracteres suficientes"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "não tem classes de caracteres suficientes"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "não tem classes de caracteres suficientes"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "contém demasiados caracteres iguais consecutivos"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "contém demasiados caracteres iguais consecutivos"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Não foi fornecida uma senha"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "é um palíndromo"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Erro desconhecido"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Erro desconhecido"
diff -r 76025b51c466 -r bc63c08e8a10 po/pt_BR.po
--- a/po/pt_BR.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/pt_BR.po Fri Nov 11 12:28:16 2011 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-02-20 12:41-0300\n"
"Last-Translator: Taylon <taylonsilva(a)gmail.com>\n"
"Language-Team: Brazilian Portuguese <fedora-trans-pt_br(a)redhat.com>\n"
@@ -33,14 +33,14 @@
msgid "Sorry, passwords do not match."
msgstr "As senhas não são iguais."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "SENHA INCORRETA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -49,16 +49,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -99,135 +99,140 @@
msgid "The password is too similar to the old one"
msgstr "é muito semelhante à antiga"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "é igual à antiga senha"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "é igual à antiga senha"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "contém muitos caracteres igual consecutivamente"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "é igual à antiga senha"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "contém muitos caracteres igual consecutivamente"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "classes de caractere insuficientes"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "classes de caractere insuficientes"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "classes de caractere insuficientes"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "contém muitos caracteres igual consecutivamente"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "contém muitos caracteres igual consecutivamente"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nenhuma senha informada"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "é um palíndromo"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Erro desconhecido"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Erro desconhecido"
diff -r 76025b51c466 -r bc63c08e8a10 po/ru.po
--- a/po/ru.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ru.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-08-21 15:33+1000\n"
"Last-Translator: Yulia Poyarkova <yulia.poyarkova(a)redhat.com>\n"
"Language-Team: \n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Извините, но пароли не совпадают."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "НЕУДАЧНЫЙ ПАРОЛЬ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "слишком похож на старый"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "совпадает со старым"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "совпадает со старым"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "содержит слишком длинную последовательность одинаковых символов"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "совпадает со старым"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "содержит слишком длинную последовательность одинаковых символов"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "слишком мало символов различных типов"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "слишком мало символов различных типов"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "слишком мало символов различных типов"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "содержит слишком длинную последовательность одинаковых символов"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "содержит слишком длинную последовательность одинаковых символов"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Пароль не указан"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "является палиндромом"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Неизвестная ошибка"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Неизвестная ошибка"
diff -r 76025b51c466 -r bc63c08e8a10 po/si.po
--- a/po/si.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/si.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2007-06-22 12:24+0530\n"
"Last-Translator: Danishka Navin <snavin(a)redhat.com>\n"
"Language-Team: Sinhala <en(a)li.org>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "සමාවෙන්න, රහස්පද ගැලපෙන්නේ නැත."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "BAD PASSWORD: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,133 +96,138 @@
msgid "The password is too similar to the old one"
msgstr "එය පැරණි රහස්පදය බොගොදුරට සමාන වේ"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "එය පැරණි රහස්පදය හා සමාන වේ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "එය පැරණි රහස්පදය හා සමාන වේ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "එය පැරණි රහස්පදය හා සමාන වේ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "එය පැරණි රහස්පදය බොගොදුරට සමාන වේ"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "රහස්පදය සපයා නැත"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "එය පැලින්ඩ්රොමයකි"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "නොදන්නා දෝෂයක්"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "නොදන්නා දෝෂයක්"
diff -r 76025b51c466 -r bc63c08e8a10 po/sk.po
--- a/po/sk.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/sk.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-24 22:24+0100\n"
"Last-Translator: Pavol Šimo <palo.simo(a)gmail.com>\n"
"Language-Team: Slovak <fedora-trans-sk(a)redhat.com>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "Prepáčte, heslá sa nezhodujú."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "NESPRÁVNE HESLO: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "je príliš podobné predchádzajúcemu"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "je rovnaké ako predchádzajúce"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "je rovnaké ako predchádzajúce"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "obsahuje príliš veľa rovnakých znakov za sebou"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "je rovnaké ako predchádzajúce"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "obsahuje príliš veľa rovnakých znakov za sebou"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "nedostatok rôznych druhov znakov"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "nedostatok rôznych druhov znakov"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "nedostatok rôznych druhov znakov"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "obsahuje príliš veľa rovnakých znakov za sebou"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "obsahuje príliš veľa rovnakých znakov za sebou"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Heslo nezadané"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "je palindróm"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Neznáma chyba"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Neznáma chyba"
diff -r 76025b51c466 -r bc63c08e8a10 po/sr.po
--- a/po/sr.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/sr.po Fri Nov 11 12:28:16 2011 +0100
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-25 22:53+0100\n"
"Last-Translator: Miloš Komarčević <kmilos(a)gmail.com>\n"
"Language-Team: Serbian (sr) <fedora-trans-sr(a)redhat.com>\n"
@@ -33,14 +33,14 @@
msgid "Sorry, passwords do not match."
msgstr "Извините, лозинке се не подударају."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ЛОША ЛОЗИНКА: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -49,16 +49,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -99,135 +99,140 @@
msgid "The password is too similar to the old one"
msgstr "сувише је слична претходној"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "иста је као и стара"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "иста је као и стара"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "садржи превише истих знакова узастопно"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "иста је као и стара"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "садржи превише истих знакова узастопно"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "нема довољно класа знакова"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "нема довољно класа знакова"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "нема довољно класа знакова"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "садржи превише истих знакова узастопно"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "садржи превише истих знакова узастопно"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Није понуђена лозинка"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "палиндром је"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Непозната грешка"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Непозната грешка"
diff -r 76025b51c466 -r bc63c08e8a10 po/sr(a)latin.po
--- a/po/sr(a)latin.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/sr(a)latin.po Fri Nov 11 12:28:16 2011 +0100
@@ -9,7 +9,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-03-25 22:53+0100\n"
"Last-Translator: Miloš Komarčević <kmilos(a)gmail.com>\n"
"Language-Team: Serbian (sr) <fedora-trans-sr(a)redhat.com>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "Izvinite, lozinke se ne podudaraju."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "LOŠA LOZINKA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "suviše je slična prethodnoj"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ista je kao i stara"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ista je kao i stara"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "sadrži previše istih znakova uzastopno"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ista je kao i stara"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "sadrži previše istih znakova uzastopno"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "nema dovoljno klasa znakova"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "nema dovoljno klasa znakova"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "nema dovoljno klasa znakova"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "sadrži previše istih znakova uzastopno"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "sadrži previše istih znakova uzastopno"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Nije ponuđena lozinka"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "palindrom je"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Nepoznata greška"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Nepoznata greška"
diff -r 76025b51c466 -r bc63c08e8a10 po/sv.po
--- a/po/sv.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/sv.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2010-03-25 19:44+0100\n"
"Last-Translator: Daniel Nylander <po(a)danielnylander.se>\n"
"Language-Team: Swedish <tp-sv(a)listor.tp-sv.se>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "Tyvärr, lösenorden stämmer inte överens."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "DÅLIGT LÖSENORD: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "är för likt det gamla"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "är samma som det gamla"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "är samma som det gamla"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "innehåller för många tecken av samma sort i följd"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "är samma som det gamla"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "innehåller för många tecken av samma sort i följd"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "för få teckenklasser"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "för få teckenklasser"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "för få teckenklasser"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "innehåller för många tecken av samma sort i följd"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "innehåller för många tecken av samma sort i följd"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Inget lösenord angivet"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "är ett palindrom"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Okänt fel"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Okänt fel"
diff -r 76025b51c466 -r bc63c08e8a10 po/ta.po
--- a/po/ta.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/ta.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-03 22:27+0530\n"
"Last-Translator: I. Felix <ifelix(a)redhat.com>\n"
"Language-Team: Tamil <fedora-trans-ta(a)redhat.com>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "கடவுச்சொல் பொருந்தவில்லை."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "தவறான கடவுச்சொல்: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "இது பழையதை ஒத்தே உள்ளது"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "இது பழையதைப் போல உள்ளது"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "இது பழையதைப் போல உள்ளது"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "நிறைய அதே எழுத்துக்கள் தொடர்ந்து கொண்டுள்ளது"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "இது பழையதைப் போல உள்ளது"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "நிறைய அதே எழுத்துக்கள் தொடர்ந்து கொண்டுள்ளது"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "போதிய எழுத்து வகுப்புகள் இல்லை"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "போதிய எழுத்து வகுப்புகள் இல்லை"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "போதிய எழுத்து வகுப்புகள் இல்லை"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "நிறைய அதே எழுத்துக்கள் தொடர்ந்து கொண்டுள்ளது"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "நிறைய அதே எழுத்துக்கள் தொடர்ந்து கொண்டுள்ளது"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "கடவுச்சொல் கொடுக்கப்படவில்லை"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "இது ஒரு palindrome"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "தெரியாத பிழை"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "தெரியாத பிழை"
diff -r 76025b51c466 -r bc63c08e8a10 po/te.po
--- a/po/te.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/te.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-14 15:14+0530\n"
"Last-Translator: Krishna Babu K <kkrothap(a)redhat.com>\n"
"Language-Team: Telugu <en(a)li.org>\n"
@@ -34,14 +34,14 @@
msgid "Sorry, passwords do not match."
msgstr "క్షమించాలి, సంకేతపదము సరిపోలలేదు."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "చెడ్డ సంకేతపదము: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -50,16 +50,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -100,135 +100,140 @@
msgid "The password is too similar to the old one"
msgstr "పాతదానికి మరీ దగ్గరపోలికగావుంది"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "ఇది పాతదేనా"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "ఇది పాతదేనా"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "ఒకదానితర్వాత వొకటి అదే అక్షరాలు చాలావున్నాయి"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "ఇది పాతదేనా"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "ఒకదానితర్వాత వొకటి అదే అక్షరాలు చాలావున్నాయి"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "సరిపోవునంత కారెక్టర్ క్లాసెస్ లేవు"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "సరిపోవునంత కారెక్టర్ క్లాసెస్ లేవు"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "సరిపోవునంత కారెక్టర్ క్లాసెస్ లేవు"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "ఒకదానితర్వాత వొకటి అదే అక్షరాలు చాలావున్నాయి"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "ఒకదానితర్వాత వొకటి అదే అక్షరాలు చాలావున్నాయి"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "ఎటువంటి సంకేతపదము యివ్వలేదు"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "పాలిండ్రోమా"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "తెలియని దోషము"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "తెలియని దోషము"
diff -r 76025b51c466 -r bc63c08e8a10 po/tr.po
--- a/po/tr.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/tr.po Fri Nov 11 12:28:16 2011 +0100
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2006-05-03 19:00+0200\n"
"Last-Translator: Bahadır Kandemir <bahadir(a)pardus.org.tr>\n"
"Language-Team: Türkçe <tr(a)li.org>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Üzgünüm, parolalar birbirine uymuyor."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "KÖTÜ PAROLA: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -98,135 +98,140 @@
msgid "The password is too similar to the old one"
msgstr "eskisine çok benziyor"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "eskisi ile aynı"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "eskisi ile aynı"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "aynı karakterleri arka arkaya içeriyor"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "eskisi ile aynı"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "aynı karakterleri arka arkaya içeriyor"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "yetersiz karakter sınıfı"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "yetersiz karakter sınıfı"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "yetersiz karakter sınıfı"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "aynı karakterleri arka arkaya içeriyor"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "aynı karakterleri arka arkaya içeriyor"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Parola girilmedi"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "bir palindrom (iki yönden aynı şekilde okunuyor)"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Bilinmeyen hata"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Bilinmeyen hata"
diff -r 76025b51c466 -r bc63c08e8a10 po/uk.po
--- a/po/uk.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/uk.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2010-03-07 13:00+0200\n"
"Last-Translator: Yuri Chornoivan <yurchor(a)ukr.net>\n"
"Language-Team: Ukrainian <translation(a)linux.org.ua>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Вибачте, паролі не збігаються."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "ПОГАНИЙ ПАРОЛЬ: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -98,135 +98,140 @@
msgid "The password is too similar to the old one"
msgstr "занадто подібний до старого"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "такий самий, як і старий"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "такий самий, як і старий"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "містить забагато послідовних однакових символів"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "такий самий, як і старий"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "містить забагато послідовних однакових символів"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "недостатнє використання класів символів"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "недостатнє використання класів символів"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "недостатнє використання класів символів"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "містить забагато послідовних однакових символів"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "містить забагато послідовних однакових символів"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Пароль не встановлено"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "— це паліндром"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Невідома помилка"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Невідома помилка"
diff -r 76025b51c466 -r bc63c08e8a10 po/vi.po
--- a/po/vi.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/vi.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2011-06-04 17:58+0700\n"
"Last-Translator: Lê Trường An <truongan(a)linuxmail.org>\n"
"Language-Team: Vietnamese <du-an-most(a)lists.hanoilug.org>\n"
@@ -32,14 +32,14 @@
msgid "Sorry, passwords do not match."
msgstr "Xin lỗi, mật khẩu không khớp."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "Mật khẩu không an toàn: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -48,16 +48,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -98,135 +98,140 @@
msgid "The password is too similar to the old one"
msgstr "quá giống cái cũ"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "là giống như cũ"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "là giống như cũ"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "chứa quá nhiều kí tự giống nhau liên tiếp"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "là giống như cũ"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "chứa quá nhiều kí tự giống nhau liên tiếp"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "không đủ các lớp nhân vật"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "không đủ các lớp nhân vật"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "không đủ các lớp nhân vật"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "chứa quá nhiều kí tự giống nhau liên tiếp"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "chứa quá nhiều kí tự giống nhau liên tiếp"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Không có mật khẩu được cung cấp"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "là một xâu palindrome"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Lỗi không rõ"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Lỗi không rõ"
diff -r 76025b51c466 -r bc63c08e8a10 po/zh_CN.po
--- a/po/zh_CN.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/zh_CN.po Fri Nov 11 12:28:16 2011 +0100
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-03 12:47+1000\n"
"Last-Translator: Leah Liu <lliu(a)redhat.com>\n"
"Language-Team: Simplified Chinese <zh(a)li.org>\n"
@@ -31,14 +31,14 @@
msgid "Sorry, passwords do not match."
msgstr "抱歉,密码不匹配。"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "无效的密码: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -47,16 +47,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -97,135 +97,140 @@
msgid "The password is too similar to the old one"
msgstr "与旧密码过于相似"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "与旧密码相同"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "与旧密码相同"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "包含过多连续相同的字符"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "与旧密码相同"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "包含过多连续相同的字符"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "没有足够的字符分类"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "没有足够的字符分类"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "没有足够的字符分类"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "包含过多连续相同的字符"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "包含过多连续相同的字符"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "密码未提供"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "是回文"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "未知的错误"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "未知的错误"
diff -r 76025b51c466 -r bc63c08e8a10 po/zh_TW.po
--- a/po/zh_TW.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/zh_TW.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2009-04-06 21:21+1000\n"
"Last-Translator: Terry Chuang <tchuang(a)redhat.com>\n"
"Language-Team: <zh(a)li.org>\n"
@@ -30,14 +30,14 @@
msgid "Sorry, passwords do not match."
msgstr "抱歉,密碼不符合。"
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "不良的密碼: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -46,16 +46,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -96,135 +96,140 @@
msgid "The password is too similar to the old one"
msgstr "與舊的密碼太相似"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "與舊的密碼相同"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "與舊的密碼相同"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, fuzzy, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr "包含了太多連續的相同字元"
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "與舊的密碼相同"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, fuzzy, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr "包含了太多連續的相同字元"
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "字元類別不足"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, fuzzy, c-format
msgid "The password contains less than %ld character classes"
msgstr "字元類別不足"
-#: src/error.c:81
+#: src/error.c:83
#, fuzzy
msgid "The password does not contain enough character classes"
msgstr "字元類別不足"
-#: src/error.c:84
+#: src/error.c:86
#, fuzzy, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr "包含了太多連續的相同字元"
-#: src/error.c:87
+#: src/error.c:89
#, fuzzy
msgid "The password contains too many same characters consecutively"
msgstr "包含了太多連續的相同字元"
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "未提供密碼"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "是一個回文"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "未知的錯誤"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "未知的錯誤"
diff -r 76025b51c466 -r bc63c08e8a10 po/zu.po
--- a/po/zu.po Thu Nov 10 10:53:59 2011 +0100
+++ b/po/zu.po Fri Nov 11 12:28:16 2011 +0100
@@ -5,7 +5,7 @@
msgstr ""
"Project-Id-Version: libpwquality 0.9\n"
"Report-Msgid-Bugs-To: http://fedorahosted.org/libpwquality\n"
-"POT-Creation-Date: 2011-09-21 11:38+0200\n"
+"POT-Creation-Date: 2011-11-11 10:48+0100\n"
"PO-Revision-Date: 2006-11-03 12:03\n"
"Last-Translator: Novell Language <language(a)novell.com>\n"
"Language-Team: Novell Language <language(a)novell.com>\n"
@@ -28,14 +28,14 @@
msgid "Sorry, passwords do not match."
msgstr "Uxolo, amaphasiwedi awahambelani."
-#: src/pam_pwquality.c:168
+#: src/pam_pwquality.c:178
#, c-format
msgid "BAD PASSWORD: %s"
msgstr "IPHASIWEDI ENGASEBENZI: %s"
#: src/pwscore.c:21
#, c-format
-msgid "Usage: %s\n"
+msgid "Usage: %s [user]\n"
msgstr ""
#: src/pwscore.c:22
@@ -44,16 +44,16 @@
" The command reads the password to be scored from the standard input.\n"
msgstr ""
-#: src/pwscore.c:45 src/pwscore.c:53 src/pwscore.c:58
+#: src/pwscore.c:50 src/pwscore.c:58 src/pwscore.c:63
#, c-format
msgid "Error: %s\n"
msgstr ""
-#: src/pwscore.c:45
+#: src/pwscore.c:50
msgid "Could not obtain the password to be scored"
msgstr ""
-#: src/pwscore.c:65
+#: src/pwscore.c:70
#, c-format
msgid ""
"Password quality check failed:\n"
@@ -94,133 +94,138 @@
msgid "The password is too similar to the old one"
msgstr "ifana kakhulu nendala"
-#: src/error.c:46
+#: src/error.c:45
+#, fuzzy
+msgid "The password contains the user name in some form"
+msgstr "iyafana nendala"
+
+#: src/error.c:48
#, fuzzy, c-format
msgid "The password contains less than %ld digits"
msgstr "iyafana nendala"
-#: src/error.c:49
+#: src/error.c:51
msgid "The password contains too few digits"
msgstr ""
-#: src/error.c:52
+#: src/error.c:54
#, c-format
msgid "The password contains less than %ld uppercase letters"
msgstr ""
-#: src/error.c:55
+#: src/error.c:57
msgid "The password contains too few uppercase letters"
msgstr ""
-#: src/error.c:58
+#: src/error.c:60
#, fuzzy, c-format
msgid "The password contains less than %ld lowercase letters"
msgstr "iyafana nendala"
-#: src/error.c:61
+#: src/error.c:63
msgid "The password contains too few lowercase letters"
msgstr ""
-#: src/error.c:64
+#: src/error.c:66
#, c-format
msgid "The password contains less than %ld non-alphanumeric characters"
msgstr ""
-#: src/error.c:67
+#: src/error.c:69
msgid "The password contains too few non-alphanumeric characters"
msgstr ""
-#: src/error.c:70
+#: src/error.c:72
#, fuzzy, c-format
msgid "The password is shorter than %ld characters"
msgstr "ifana kakhulu nendala"
-#: src/error.c:73
+#: src/error.c:75
msgid "The password is too short"
msgstr ""
-#: src/error.c:75
+#: src/error.c:77
msgid "The password is just rotated old one"
msgstr ""
-#: src/error.c:78
+#: src/error.c:80
#, c-format
msgid "The password contains less than %ld character classes"
msgstr ""
-#: src/error.c:81
+#: src/error.c:83
msgid "The password does not contain enough character classes"
msgstr ""
-#: src/error.c:84
+#: src/error.c:86
#, c-format
msgid "The password contains more than %ld same characters consecutively"
msgstr ""
-#: src/error.c:87
+#: src/error.c:89
msgid "The password contains too many same characters consecutively"
msgstr ""
-#: src/error.c:89
+#: src/error.c:91
msgid "No password supplied"
msgstr "Ayikho iphasiwedi enikeziwe"
-#: src/error.c:91
+#: src/error.c:93
msgid "Cannot obtain random numbers from the RNG device"
msgstr ""
-#: src/error.c:93
+#: src/error.c:95
msgid "Password generation failed - required entropy too low for settings"
msgstr ""
-#: src/error.c:96 src/error.c:99
+#: src/error.c:98 src/error.c:101
#, fuzzy
msgid "The password fails the dictionary check"
msgstr "iyi-palindrome"
-#: src/error.c:102 src/error.c:106
+#: src/error.c:104 src/error.c:108
#, fuzzy
msgid "Unknown setting"
msgstr "Iphutha elingaziwa"
-#: src/error.c:109
+#: src/error.c:111
msgid "Bad integer value of setting"
msgstr ""
-#: src/error.c:113
+#: src/error.c:115
msgid "Bad integer value"
msgstr ""
-#: src/error.c:116
+#: src/error.c:118
#, c-format
msgid "Setting %s is not of integer type"
msgstr ""
-#: src/error.c:120
+#: src/error.c:122
msgid "Setting is not of integer type"
msgstr ""
-#: src/error.c:123
+#: src/error.c:125
#, c-format
msgid "Setting %s is not of string type"
msgstr ""
-#: src/error.c:127
+#: src/error.c:129
msgid "Setting is not of string type"
msgstr ""
-#: src/error.c:129
+#: src/error.c:131
msgid "Opening the configuration file failed"
msgstr ""
-#: src/error.c:131
+#: src/error.c:133
msgid "The configuration file is malformed"
msgstr ""
-#: src/error.c:133
+#: src/error.c:135
msgid "Fatal failure"
msgstr ""
-#: src/error.c:135
+#: src/error.c:137
msgid "Unknown error"
msgstr "Iphutha elingaziwa"
diff -r 76025b51c466 -r bc63c08e8a10 python/Makefile.am
--- a/python/Makefile.am Thu Nov 10 10:53:59 2011 +0100
+++ b/python/Makefile.am Fri Nov 11 12:28:16 2011 +0100
@@ -4,7 +4,7 @@
#
pythonincdir = $(includedir)/python@PYTHONREV@
-pythonsitedir = $(libdir)/python@PYTHONREV@/site-packages
+pythonsitedir = @PYTHONSITEDIR@
CLEANFILES = *~ constants.c pwquality.so
diff -r 76025b51c466 -r bc63c08e8a10 python/pwquality.c
--- a/python/pwquality.c Thu Nov 10 10:53:59 2011 +0100
+++ b/python/pwquality.c Fri Nov 11 12:28:16 2011 +0100
@@ -40,16 +40,23 @@
static PyMethodDef pwqsettings_methods[] = {
{ "read_config", (PyCFunction)read_config, METH_VARARGS,
- "Read the settings from configuration file"
+ "Read the settings from configuration file\n\nParameters:\n"
+ " cfgfilename - path to the configuration file (optional)"
},
{ "set_option", (PyCFunction)set_option, METH_VARARGS,
- "Set option from name=value pair"
+ "Set option from name=value pair\n\nParameters:\n"
+ " option - string with the name=value pair"
},
{ "generate", (PyCFunction)generate, METH_VARARGS,
- "Generate password with requested entropy"
+ "Generate password with requested entropy\n\nParameters:\n"
+ " entropy - integer entropy bits used to generate the password"
},
{ "check", (PyCFunction)check, METH_VARARGS,
"Check whether the password conforms to the requirements and return password strength score"
+ "\n\nParameters:\n"
+ " password - password string to be checked\n"
+ " oldpassword - old password string (or None) for additional checks (optional)\n"
+ " username - user name (or None) for additional checks (optional)"
},
{ NULL } /* Sentinel */
};
@@ -126,7 +133,7 @@
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
- "PWQSettings objects", /* tp_doc */
+ "PWQSettings objects - libpwquality functionality wrapper", /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
@@ -348,7 +355,10 @@
if (module == NULL)
return;
- PWQError = PyErr_NewException("pwquality.PWQError", NULL, NULL);
+ PWQError = PyErr_NewExceptionWithDoc("pwquality.PWQError",
+ "Standard exception thrown from PWQSettings method calls\n\n"
+ "The exception value is always integer error code and string description",
+ NULL, NULL);
if (PWQError == NULL) {
Py_DECREF(module);
return;
diff -r 76025b51c466 -r bc63c08e8a10 src/pwquality.conf
--- a/src/pwquality.conf Thu Nov 10 10:53:59 2011 +0100
+++ b/src/pwquality.conf Fri Nov 11 12:28:16 2011 +0100
@@ -5,10 +5,6 @@
# old password.
# difok = 5
#
-# How many characters should the password have before difok will be
-# ignored.
-# difignore = 23
-#
# Minimum acceptable size for the new password (plus one if
# credits are not disabled which is the default). (See pam_cracklib manual.)
# Cannot be set to lower value than 6.
12 years, 5 months
/srv/hg/libpwquality: Allow None for oldpassword and username.
by admin@fedoraproject.org
changeset 76025b51c466 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=7602...
summary: Allow None for oldpassword and username.
diffstat:
python/pwquality.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r 57b56c4e321f -r 76025b51c466 python/pwquality.c
--- a/python/pwquality.c Tue Nov 08 08:30:27 2011 +0100
+++ b/python/pwquality.c Thu Nov 10 10:53:59 2011 +0100
@@ -127,12 +127,12 @@
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
"PWQSettings objects", /* tp_doc */
- 0, /* tp_traverse */
- 0, /* tp_clear */
- 0, /* tp_richcompare */
- 0, /* tp_weaklistoffset */
- 0, /* tp_iter */
- 0, /* tp_iternext */
+ 0, /* tp_traverse */
+ 0, /* tp_clear */
+ 0, /* tp_richcompare */
+ 0, /* tp_weaklistoffset */
+ 0, /* tp_iter */
+ 0, /* tp_iternext */
pwqsettings_methods, /* tp_methods */
0, /* tp_members */
pwqsettings_getseters, /* tp_getset */
@@ -325,7 +325,7 @@
void *auxerror;
int rc;
- if (!PyArg_ParseTuple(args, "s|ss", &password, &oldpassword, &username))
+ if (!PyArg_ParseTuple(args, "s|zz", &password, &oldpassword, &username))
return NULL;
if ((rc = pwquality_check(self->pwq, password, oldpassword,
username, &auxerror)) < 0) {
@@ -359,7 +359,7 @@
Py_INCREF(&pwqsettings_type);
PyModule_AddObject(module, "PWQSettings", (PyObject *)&pwqsettings_type);
-#include "constants.c"
+#include "constants.c"
}
/*
12 years, 5 months
/srv/hg/libpwquality: 2 new changesets
by admin@fedoraproject.org
changeset d6fce6222783 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=d6fc...
summary: Prepare for new release.
changeset 57b56c4e321f in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=57b5...
summary: Fix autogen for newer automake.
diffstat:
autogen.sh | 2 ++
configure.in | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (43 lines):
diff -r 09539d472e81 -r 57b56c4e321f autogen.sh
--- a/autogen.sh Mon Nov 07 17:42:00 2011 +0100
+++ b/autogen.sh Tue Nov 08 08:30:27 2011 +0100
@@ -1,5 +1,7 @@
#!/bin/sh
set -x
+autopoint --force
+libtoolize --force --copy
aclocal -I m4
autoheader
automake -a
diff -r 09539d472e81 -r 57b56c4e321f configure.in
--- a/configure.in Mon Nov 07 17:42:00 2011 +0100
+++ b/configure.in Tue Nov 08 08:30:27 2011 +0100
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([libpwquality], [0.9])
+AC_INIT([libpwquality], [0.9.9])
AM_INIT_AUTOMAKE([-Wall])
AC_PREREQ(2.61)
AC_CONFIG_HEADERS([config.h])
@@ -44,7 +44,7 @@
fi
dnl Localization support
-AM_GNU_GETTEXT_VERSION
+AM_GNU_GETTEXT_VERSION([0.15])
AM_GNU_GETTEXT([external])
AC_CHECK_FUNCS(dngettext)
AH_BOTTOM([#ifdef ENABLE_NLS
@@ -100,10 +100,10 @@
dnl Check for cracklib
AC_CHECK_HEADERS([crack.h],
AC_CHECK_LIB([crack], [FascistCheck], LIBCRACK="-lcrack", LIBCRACK=""))
-if test x$LIBCRACK = xno ; then
+if test x$LIBCRACK = x ; then
AC_MSG_ERROR([No or unusable cracklib library])
fi
-AC_SUBST(LIBCRACK)
+AC_SUBST([LIBCRACK])
AC_ARG_WITH([randomdev], AS_HELP_STRING([--with-randomdev=(<path>|yes)],[use specified random device instead of /dev/urandom]), opt_randomdev=$withval)
if test "$opt_randomdev" = yes -o -z "$opt_randomdev"; then
12 years, 5 months
/srv/hg/libpwquality: Add Python interface for libpwquality.
by admin@fedoraproject.org
changeset 09539d472e81 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=0953...
summary: Add Python interface for libpwquality.
diffstat:
.hgignore | 2 +
Makefile.am | 2 +-
configure.in | 10 +-
python/Makefile.am | 16 ++
python/pwquality.c | 396 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
python/setup.py | 74 ++++++++++
6 files changed, 498 insertions(+), 2 deletions(-)
diffs (544 lines):
diff -r 7cf418d178ec -r 09539d472e81 .hgignore
--- a/.hgignore Mon Nov 07 15:13:10 2011 +0100
+++ b/.hgignore Mon Nov 07 17:42:00 2011 +0100
@@ -37,3 +37,5 @@
po/remove-*
src/pwmake
src/pwscore
+python/constants.c
+python/pwquality.so
diff -r 7cf418d178ec -r 09539d472e81 Makefile.am
--- a/Makefile.am Mon Nov 07 15:13:10 2011 +0100
+++ b/Makefile.am Mon Nov 07 17:42:00 2011 +0100
@@ -6,7 +6,7 @@
AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 check-news
-SUBDIRS = po src
+SUBDIRS = po src python
CLEANFILES = *~
diff -r 7cf418d178ec -r 09539d472e81 configure.in
--- a/configure.in Mon Nov 07 15:13:10 2011 +0100
+++ b/configure.in Mon Nov 07 17:42:00 2011 +0100
@@ -88,6 +88,14 @@
AC_SUBST(SCONFIGDIR)
dnl options and defaults
+AC_ARG_WITH(python-rev,
+ [ --with-pythonrev=2.7 version of python for which modules should be built],
+ PYTHONREV=$withval,[
+ AC_MSG_CHECKING([python version])
+ [PYTHONREV=`python -c 'import sys;print "%s.%s" % (sys.version_info[0], sys.version_info[1])'`]
+ AC_MSG_RESULT($PYTHONREV)
+ ])
+AC_SUBST(PYTHONREV)
dnl Check for cracklib
AC_CHECK_HEADERS([crack.h],
@@ -111,5 +119,5 @@
AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol)
dnl Files to be created from when we run configure
-AC_CONFIG_FILES([Makefile libpwquality.spec src/Makefile po/Makefile.in])
+AC_CONFIG_FILES([Makefile libpwquality.spec src/Makefile po/Makefile.in python/Makefile])
AC_OUTPUT
diff -r 7cf418d178ec -r 09539d472e81 python/Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/python/Makefile.am Mon Nov 07 17:42:00 2011 +0100
@@ -0,0 +1,16 @@
+#
+# Copyright (c) 2011 Red Hat, Inc.
+# Copyright (c) 2011 Tomas Mraz <tm(a)t8m.info>
+#
+
+pythonincdir = $(includedir)/python@PYTHONREV@
+pythonsitedir = $(libdir)/python@PYTHONREV@/site-packages
+
+CLEANFILES = *~ constants.c pwquality.so
+
+EXTRA_DIST = pwquality.c setup.py
+
+pythonsite_SCRIPTS = pwquality.so
+
+pwquality.so: ../src/pwquality.h pwquality.c setup.py
+ python setup.py build --build-lib=.
diff -r 7cf418d178ec -r 09539d472e81 python/pwquality.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/python/pwquality.c Mon Nov 07 17:42:00 2011 +0100
@@ -0,0 +1,396 @@
+/*
+ * libpwquality Python bindings
+ *
+ * Copyright (c) Red Hat, Inc, 2011
+ * Copyright (c) Tomas Mraz <tm(a)t8m.info>, 2011
+ *
+ * See the end of the file for the License Information
+ */
+
+#include <Python.h>
+#include "pwquality.h"
+
+static PyObject *PWQError;
+
+typedef struct {
+ PyObject_HEAD
+ pwquality_settings_t *pwq;
+} PWQSettings;
+
+static PyObject *
+pwqsettings_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
+static void
+pwqsettings_dealloc(PWQSettings *self);
+static PyObject *
+pwqsettings_getint(PWQSettings *self, void *setting);
+static int
+pwqsettings_setint(PWQSettings *self, PyObject *value, void *setting);
+static PyObject *
+pwqsettings_getstr(PWQSettings *self, void *setting);
+static int
+pwqsettings_setstr(PWQSettings *self, PyObject *value, void *setting);
+static PyObject *
+read_config(PWQSettings *self, PyObject *args);
+static PyObject *
+set_option(PWQSettings *self, PyObject *args);
+static PyObject *
+generate(PWQSettings *self, PyObject *args);
+static PyObject *
+check(PWQSettings *self, PyObject *args);
+
+static PyMethodDef pwqsettings_methods[] = {
+ { "read_config", (PyCFunction)read_config, METH_VARARGS,
+ "Read the settings from configuration file"
+ },
+ { "set_option", (PyCFunction)set_option, METH_VARARGS,
+ "Set option from name=value pair"
+ },
+ { "generate", (PyCFunction)generate, METH_VARARGS,
+ "Generate password with requested entropy"
+ },
+ { "check", (PyCFunction)check, METH_VARARGS,
+ "Check whether the password conforms to the requirements and return password strength score"
+ },
+ { NULL } /* Sentinel */
+};
+
+static PyGetSetDef pwqsettings_getseters[] = {
+ { "difok",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Minimum difference from the old password",
+ (void *)PWQ_SETTING_DIFF_OK
+ },
+ { "minlen",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Minimum length of the new password",
+ (void *)PWQ_SETTING_MIN_LENGTH
+ },
+ { "dcredit",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Credit for or minimum of digits",
+ (void *)PWQ_SETTING_DIG_CREDIT
+ },
+ { "ucredit",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Credit for or minimum of uppercase characters",
+ (void *)PWQ_SETTING_UP_CREDIT
+ },
+ { "lcredit",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Credit for or minimum of lowercase characters",
+ (void *)PWQ_SETTING_LOW_CREDIT
+ },
+ { "ocredit",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Credit for or minimum of other characters",
+ (void *)PWQ_SETTING_OTH_CREDIT
+ },
+ { "minclass",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Minimum number of character classes",
+ (void *)PWQ_SETTING_MIN_CLASS
+ },
+ { "maxrepeat",
+ (getter)pwqsettings_getint, (setter)pwqsettings_setint,
+ "Maximum repeated consecutive characters",
+ (void *)PWQ_SETTING_MAX_REPEAT
+ },
+ { "dictpath",
+ (getter)pwqsettings_getstr, (setter)pwqsettings_setstr,
+ "Path to the cracklib dictionary",
+ (void *)PWQ_SETTING_DICT_PATH
+ },
+ { NULL } /* Sentinel */
+};
+
+
+static PyTypeObject pwqsettings_type = {
+ PyObject_HEAD_INIT(NULL)
+ 0, /* ob_size */
+ "pwquality.PWQSettings", /* tp_name */
+ sizeof(PWQSettings), /* tp_basicsize */
+ 0, /* tp_itemsize */
+ (destructor)pwqsettings_dealloc, /* tp_dealloc */
+ 0, /* tp_print */
+ 0, /* tp_getattr */
+ 0, /* tp_setattr */
+ 0, /* tp_compare */
+ 0, /* tp_repr */
+ 0, /* tp_as_number */
+ 0, /* tp_as_sequence */
+ 0, /* tp_as_mapping */
+ 0, /* tp_hash */
+ 0, /* tp_call */
+ 0, /* tp_str */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
+ 0, /* tp_as_buffer */
+ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
+ "PWQSettings objects", /* tp_doc */
+ 0, /* tp_traverse */
+ 0, /* tp_clear */
+ 0, /* tp_richcompare */
+ 0, /* tp_weaklistoffset */
+ 0, /* tp_iter */
+ 0, /* tp_iternext */
+ pwqsettings_methods, /* tp_methods */
+ 0, /* tp_members */
+ pwqsettings_getseters, /* tp_getset */
+ 0, /* tp_base */
+ 0, /* tp_dict */
+ 0, /* tp_descr_get */
+ 0, /* tp_descr_set */
+ 0, /* tp_dictoffset */
+ 0, /* tp_init */
+ 0, /* tp_alloc */
+ pwqsettings_new, /* tp_new */
+};
+
+static PyMethodDef pwquality_methods[] = {
+ { NULL } /* Sentinel */
+};
+
+static PyObject *
+pwqerror(int rc, void *auxerror)
+{
+ char buf[PWQ_MAX_ERROR_MESSAGE_LEN];
+ PyObject *py_errvalue;
+ const char *msg;
+
+ msg = pwquality_strerror(buf, sizeof(buf), rc, auxerror);
+
+ if (rc == PWQ_ERROR_MEM_ALLOC)
+ return PyErr_NoMemory();
+
+ py_errvalue = Py_BuildValue("is", rc, msg);
+ if (py_errvalue == NULL)
+ return NULL;
+
+ if (rc == PWQ_ERROR_UNKNOWN_SETTING || rc == PWQ_ERROR_NON_INT_SETTING
+ || rc == PWQ_ERROR_NON_STR_SETTING) {
+ PyErr_SetObject(PyExc_AttributeError, py_errvalue);
+ } else {
+ PyErr_SetObject(PWQError, py_errvalue);
+ }
+ return NULL;
+}
+
+static PyObject *
+pwqsettings_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
+{
+ PWQSettings *self;
+
+ self = (PWQSettings *)type->tp_alloc(type, 0);
+ if (self) {
+ self->pwq = pwquality_default_settings();
+ if (self->pwq == NULL) {
+ Py_DECREF(self);
+ return PyErr_NoMemory();
+ }
+ }
+ return (PyObject *)self;
+}
+
+static void
+pwqsettings_dealloc(PWQSettings *self)
+{
+ pwquality_free_settings(self->pwq);
+ self->ob_type->tp_free((PyObject *)self);
+}
+
+static PyObject *
+pwqsettings_getint(PWQSettings *self, void *setting)
+{
+ int value;
+ int rc;
+
+ if ((rc = pwquality_get_int_value(self->pwq, (int)(ssize_t)setting, &value)) < 0) {
+ return pwqerror(rc, NULL);
+ }
+ return PyInt_FromLong((long)value);
+}
+
+static int
+pwqsettings_setint(PWQSettings *self, PyObject *value, void *setting)
+{
+ long l;
+ int rc;
+
+ l = PyInt_AsLong(value);
+ if (PyErr_Occurred() == NULL) {
+ if ((rc = pwquality_set_int_value(self->pwq,
+ (int)(ssize_t)setting, (int)l)) < 0) {
+ pwqerror(rc, NULL);
+ return -1;
+ }
+ return 0;
+ }
+ return -1;
+}
+
+static PyObject *
+pwqsettings_getstr(PWQSettings *self, void *setting)
+{
+ const char *value;
+ int rc;
+
+ if ((rc = pwquality_get_str_value(self->pwq, (int)(ssize_t)setting, &value)) < 0) {
+ return pwqerror(rc, NULL);
+ }
+ if (value == NULL) {
+ Py_INCREF(Py_None);
+ return Py_None;
+ }
+ return PyString_FromString(value);
+}
+
+static int
+pwqsettings_setstr(PWQSettings *self, PyObject *value, void *setting)
+{
+ const char *s;
+ int rc;
+
+ if (value == (PyObject *)Py_None)
+ s = NULL;
+ else
+ s = PyString_AsString(value);
+
+ if (PyErr_Occurred() == NULL) {
+ if ((rc = pwquality_set_str_value(self->pwq,
+ (int)(ssize_t)setting, s)) < 0) {
+ pwqerror(rc, NULL);
+ return -1;
+ }
+ return 0;
+ }
+ return -1;
+}
+
+static PyObject *
+read_config(PWQSettings *self, PyObject *args)
+{
+ char *cfgfile = NULL;
+ void *auxerror;
+ int rc;
+
+ if (!PyArg_ParseTuple(args, "|s", &cfgfile))
+ return NULL;
+ if ((rc = pwquality_read_config(self->pwq, cfgfile, &auxerror)) < 0) {
+ return pwqerror(rc, auxerror);
+ }
+ Py_INCREF(Py_None);
+ return Py_None;
+}
+
+static PyObject *
+set_option(PWQSettings *self, PyObject *args)
+{
+ char *option;
+ int rc;
+
+ if (!PyArg_ParseTuple(args, "s", &option))
+ return NULL;
+ if ((rc = pwquality_set_option(self->pwq, option)) < 0) {
+ return pwqerror(rc, NULL);
+ }
+ Py_INCREF(Py_None);
+ return Py_None;
+}
+
+static PyObject *
+generate(PWQSettings *self, PyObject *args)
+{
+ int entropy_bits;
+ char *password;
+ PyObject *passobj;
+ int rc;
+
+ if (!PyArg_ParseTuple(args, "i", &entropy_bits))
+ return NULL;
+ if ((rc = pwquality_generate(self->pwq, entropy_bits, &password)) < 0) {
+ return pwqerror(rc, NULL);
+ }
+
+ passobj = PyString_FromString(password);
+ free(password);
+ return passobj;
+}
+
+static PyObject *
+check(PWQSettings *self, PyObject *args)
+{
+ char *password;
+ char *oldpassword = NULL;
+ char *username = NULL;
+ void *auxerror;
+ int rc;
+
+ if (!PyArg_ParseTuple(args, "s|ss", &password, &oldpassword, &username))
+ return NULL;
+ if ((rc = pwquality_check(self->pwq, password, oldpassword,
+ username, &auxerror)) < 0) {
+ return pwqerror(rc, auxerror);
+ }
+
+ return PyInt_FromLong((long)rc);
+}
+
+PyMODINIT_FUNC
+initpwquality(void)
+{
+ PyObject *module;
+
+ if (PyType_Ready(&pwqsettings_type) < 0)
+ return;
+
+ module = Py_InitModule3("pwquality", pwquality_methods,
+ "Libpwquality wrapper module");
+ if (module == NULL)
+ return;
+
+ PWQError = PyErr_NewException("pwquality.PWQError", NULL, NULL);
+ if (PWQError == NULL) {
+ Py_DECREF(module);
+ return;
+ }
+ Py_INCREF(PWQError);
+ PyModule_AddObject(module, "PWQError", PWQError);
+
+ Py_INCREF(&pwqsettings_type);
+ PyModule_AddObject(module, "PWQSettings", (PyObject *)&pwqsettings_type);
+
+#include "constants.c"
+}
+
+/*
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, and the entire permission notice in its entirety,
+ * including the disclaimer of warranties.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote
+ * products derived from this software without specific prior
+ * written permission.
+ *
+ * ALTERNATIVELY, this product may be distributed under the terms of
+ * the GNU Public License, in which case the provisions of the GPL are
+ * required INSTEAD OF the above restrictions. (This clause is
+ * necessary due to a potential bad interaction between the GPL and
+ * the restrictions contained in a BSD-style copyright.)
+ *
+ * THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
diff -r 7cf418d178ec -r 09539d472e81 python/setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/python/setup.py Mon Nov 07 17:42:00 2011 +0100
@@ -0,0 +1,74 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# See the end of the file for Copyright and License Information
+#
+
+from distutils.core import setup, Extension
+from distutils.command.build_ext import build_ext as _build_ext
+
+class build_ext(_build_ext):
+ def genconstants(self, headerfile, outputfile):
+ hf = open(headerfile, 'r')
+ of = open(outputfile, 'w')
+ of.write('/* This file is generated during build time from pwquality.h */\n\n')
+ for line in hf:
+ if line.startswith('#define PWQ_'):
+ s = line.split()
+ of.write('PyModule_AddIntConstant(module, "%s", %s);\n' % (s[1], s[2]))
+
+ def run(self):
+ self.genconstants('../src/pwquality.h', 'constants.c')
+ _build_ext.run(self)
+
+pwqmodule = Extension('pwquality',
+ sources = ['pwquality.c'],
+ include_dirs = ['../src'],
+ library_dirs = ['../src/.libs'],
+ libraries = ['pwquality'])
+
+setup(
+ name = 'pwquality',
+ version = '0.9.1',
+ description = 'Python bindings for the libpwquality library for password quality checking',
+ author = 'Tomáš Mráz',
+ author_email = 'tm(a)t8m.info',
+ url = 'http://fedorahosted.org/libpwquality',
+ license = 'BSD or GPL+',
+ ext_modules = [pwqmodule],
+ cmdclass = {'build_ext': build_ext}
+)
+
+# Copyright (c) Red Hat, Inc, 2011
+# Copyright (c) Tomas Mraz <tm(a)t8m.info>, 2011
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+# notice, and the entire permission notice in its entirety,
+# including the disclaimer of warranties.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. The name of the author may not be used to endorse or promote
+# products derived from this software without specific prior
+# written permission.
+#
+# ALTERNATIVELY, this product may be distributed under the terms of
+# the GNU Public License, in which case the provisions of the GPL are
+# required INSTEAD OF the above restrictions. (This clause is
+# necessary due to a potential bad interaction between the GPL and
+# the restrictions contained in a BSD-style copyright.)
+#
+# THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+# OF THE POSSIBILITY OF SUCH DAMAGE.
12 years, 5 months
/srv/hg/libpwquality: Change pwquality_get_str_setting() to retu...
by admin@fedoraproject.org
changeset 7cf418d178ec in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=7cf4...
summary: Change pwquality_get_str_setting() to return error value.
diffstat:
src/pwquality.h | 6 +++---
src/settings.c | 11 ++++++-----
2 files changed, 9 insertions(+), 8 deletions(-)
diffs (42 lines):
diff -r d80b226e7f77 -r 7cf418d178ec src/pwquality.h
--- a/src/pwquality.h Mon Nov 07 11:58:40 2011 +0100
+++ b/src/pwquality.h Mon Nov 07 15:13:10 2011 +0100
@@ -87,9 +87,9 @@
int
pwquality_get_int_value(pwquality_settings_t *pwq, int setting, int *value);
-/* Get value of a string setting, or NULL if setting unknown. */
-const char *
-pwquality_get_str_value(pwquality_settings_t *pwq, int setting);
+/* Get value of a string setting. */
+int
+pwquality_get_str_value(pwquality_settings_t *pwq, int setting, const char **value);
/* Generate a random password of entropy_bits entropy and check it according to
* the settings. */
diff -r d80b226e7f77 -r 7cf418d178ec src/settings.c
--- a/src/settings.c Mon Nov 07 11:58:40 2011 +0100
+++ b/src/settings.c Mon Nov 07 15:13:10 2011 +0100
@@ -301,16 +301,17 @@
}
/* get value of a string setting, or NULL if setting unknown */
-const char *
-pwquality_get_str_value(pwquality_settings_t *pwq, int setting)
+int
+pwquality_get_str_value(pwquality_settings_t *pwq, int setting, const char **value)
{
switch(setting) {
case PWQ_SETTING_DICT_PATH:
- return pwq->dict_path;
+ *value = pwq->dict_path;
+ break;
default:
- return NULL;
+ return PWQ_ERROR_NON_STR_SETTING;
}
-
+ return 0;
}
/*
12 years, 5 months
/srv/hg/libpwquality: Drop the difignore setting, it makes no se...
by admin@fedoraproject.org
changeset d80b226e7f77 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=d80b...
summary: Drop the difignore setting, it makes no sense.
diffstat:
src/pam_pwquality.c | 2 ++
src/pwqprivate.h | 15 ++++++---------
src/pwquality.h | 1 -
src/settings.c | 8 --------
4 files changed, 8 insertions(+), 18 deletions(-)
diffs (96 lines):
diff -r 12a9e626fadb -r d80b226e7f77 src/pam_pwquality.c
--- a/src/pam_pwquality.c Tue Nov 01 14:13:48 2011 +0100
+++ b/src/pam_pwquality.c Mon Nov 07 11:58:40 2011 +0100
@@ -79,6 +79,8 @@
opt->retry_times = strtol(*argv+6, &ep, 10);
if (!ep || (opt->retry_times < 1))
opt->retry_times = CO_RETRY_TIMES;
+ } else if (!strncmp(*argv, "difignore=", 10)) {
+ /* ignored for compatibility with pam_cracklib */
} else if (!strncmp(*argv, "reject_username", 15)) {
/* ignored for compatibility with pam_cracklib */
} else if (!strncmp(*argv, "authtok_type", 12)) {
diff -r 12a9e626fadb -r d80b226e7f77 src/pwqprivate.h
--- a/src/pwqprivate.h Tue Nov 01 14:13:48 2011 +0100
+++ b/src/pwqprivate.h Mon Nov 07 11:58:40 2011 +0100
@@ -14,16 +14,14 @@
struct pwquality_settings {
int diff_ok;
- int diff_ignore;
- int min_length;
- int dig_credit;
- int up_credit;
- int low_credit;
- int oth_credit;
+ int min_length;
+ int dig_credit;
+ int up_credit;
+ int low_credit;
+ int oth_credit;
int min_class;
- int max_repeat;
+ int max_repeat;
char *dict_path;
-
};
struct setting_mapping {
@@ -33,7 +31,6 @@
};
#define PWQ_DEFAULT_DIFF_OK 5
-#define PWQ_DEFAULT_DIFF_IGNORE 23
#define PWQ_DEFAULT_MIN_LENGTH 9
#define PWQ_DEFAULT_DIG_CREDIT 1
#define PWQ_DEFAULT_UP_CREDIT 1
diff -r 12a9e626fadb -r d80b226e7f77 src/pwquality.h
--- a/src/pwquality.h Tue Nov 01 14:13:48 2011 +0100
+++ b/src/pwquality.h Mon Nov 07 11:58:40 2011 +0100
@@ -11,7 +11,6 @@
#define PWQUALITY_H
#define PWQ_SETTING_DIFF_OK 1
-#define PWQ_SETTING_DIFF_IGNORE 2
#define PWQ_SETTING_MIN_LENGTH 3
#define PWQ_SETTING_DIG_CREDIT 4
#define PWQ_SETTING_UP_CREDIT 5
diff -r 12a9e626fadb -r d80b226e7f77 src/settings.c
--- a/src/settings.c Tue Nov 01 14:13:48 2011 +0100
+++ b/src/settings.c Mon Nov 07 11:58:40 2011 +0100
@@ -27,7 +27,6 @@
return NULL;
pwq->diff_ok = PWQ_DEFAULT_DIFF_OK;
- pwq->diff_ignore = PWQ_DEFAULT_DIFF_IGNORE;
pwq->min_length = PWQ_DEFAULT_MIN_LENGTH;
pwq->dig_credit = PWQ_DEFAULT_DIG_CREDIT;
pwq->up_credit = PWQ_DEFAULT_UP_CREDIT;
@@ -51,7 +50,6 @@
static const struct setting_mapping s_map[] = {
{ "difok", PWQ_SETTING_DIFF_OK, PWQ_TYPE_INT},
- { "difignore", PWQ_SETTING_DIFF_IGNORE, PWQ_TYPE_INT},
{ "minlen", PWQ_SETTING_MIN_LENGTH, PWQ_TYPE_INT},
{ "dcredit", PWQ_SETTING_DIG_CREDIT, PWQ_TYPE_INT},
{ "ucredit", PWQ_SETTING_UP_CREDIT, PWQ_TYPE_INT},
@@ -209,9 +207,6 @@
case PWQ_SETTING_DIFF_OK:
pwq->diff_ok = value;
break;
- case PWQ_SETTING_DIFF_IGNORE:
- pwq->diff_ignore = value;
- break;
case PWQ_SETTING_MIN_LENGTH:
if (value < PWQ_BASE_MIN_LENGTH)
value = PWQ_BASE_MIN_LENGTH;
@@ -278,9 +273,6 @@
case PWQ_SETTING_DIFF_OK:
*value = pwq->diff_ok;
break;
- case PWQ_SETTING_DIFF_IGNORE:
- *value = pwq->diff_ignore;
- break;
case PWQ_SETTING_MIN_LENGTH:
*value = pwq->min_length;
break;
12 years, 5 months
/srv/hg/libpwquality: Fixes for problems found in review
by admin@fedoraproject.org
changeset 12a9e626fadb in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=12a9...
summary: Fixes for problems found in review
diffstat:
.hgignore | 3 +++
libpwquality.spec.in | 20 ++++++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r 11e238259d43 -r 12a9e626fadb .hgignore
--- a/.hgignore Tue Nov 01 14:12:22 2011 +0100
+++ b/.hgignore Tue Nov 01 14:13:48 2011 +0100
@@ -8,6 +8,9 @@
*.la
*.a
*.gmo
+*.tar.bz2
+*.tar.gz
+*.spec
POTFILES
Makefile
Makefile.in
diff -r 11e238259d43 -r 12a9e626fadb libpwquality.spec.in
--- a/libpwquality.spec.in Tue Nov 01 14:12:22 2011 +0100
+++ b/libpwquality.spec.in Tue Nov 01 14:13:48 2011 +0100
@@ -2,20 +2,20 @@
Name: libpwquality
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
-# The library is BSD licensed with option to relicense as GPLv2+
+# The package is BSD licensed with option to relicense as GPL+
# - this option is redundant as the BSD license allows that anyway.
-License: BSD and GPLv2+
+License: BSD or GPL+
Group: System Environment/Base
-Source0: http://fedorahosted.org/releases/l/i/libpwquality-%{version}.tar.bz2
+Source0: http://fedorahosted.org/releases/l/i/libpwquality/libpwquality-%{version}...
-%define _moduledir /%{_lib}/security
-%define _secconfdir %{_sysconfdir}/security
+%global _moduledir /%{_lib}/security
+%global _secconfdir %{_sysconfdir}/security
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: cracklib-dicts >= 2.8
-Requires(post): /sbin/ldconfig
+Requires: pam%{?_isa}
BuildRequires: cracklib-devel
BuildRequires: gettext
+BuildRequires: pam-devel
URL: http://libpwquality.fedorahosted.org/
@@ -46,7 +46,7 @@
make %{?_smp_mflags}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
mkdir -p $RPM_BUILD_ROOT%{_libdir}
pushd $RPM_BUILD_ROOT%{_libdir}
@@ -80,5 +80,9 @@
%{_libdir}/libpwquality.so
%changelog
+* Mon Oct 10 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9-2
+- fixes for problems found in review (missing BR on pam-devel,
+ License field, Source URL, Require pam, other cleanups)
+
* Mon Oct 3 2011 Tomas Mraz <tmraz(a)redhat.com> 0.9-1
- first spec file for libpwquality
12 years, 5 months
/srv/hg/libpwquality: Add a check against username.
by admin@fedoraproject.org
changeset 11e238259d43 in /srv/hg/libpwquality
details: http://hg.fedorahosted.org/hg/srv/hg/libpwquality?cmd=changeset;node=11e2...
summary: Add a check against username.
diffstat:
src/check.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
src/error.c | 2 ++
src/generate.c | 2 +-
src/pam_pwquality.c | 10 +++++++++-
src/pwquality.h | 5 ++++-
src/pwscore.c | 11 ++++++++---
6 files changed, 77 insertions(+), 9 deletions(-)
diffs (233 lines):
diff -r 56e5589380fe -r 11e238259d43 src/check.c
--- a/src/check.c Mon Oct 03 16:26:48 2011 +0200
+++ b/src/check.c Tue Nov 01 14:12:22 2011 +0100
@@ -296,6 +296,43 @@
return 0;
}
+static int usercheck(pwquality_settings_t *pwq, const char *new,
+ char *user)
+{
+ char *f, *b;
+ int dist;
+
+ if (strstr(new, user) != NULL)
+ return 1;
+
+ dist = distance(new, user);
+ if (dist >= 0 && dist < PWQ_DEFAULT_DIFF_OK)
+ return 1;
+
+ /* now reverse the username, we can do that in place
+ as it is strdup-ed */
+ f = user;
+ b = user + strlen(user) - 1;
+ while (f < b) {
+ char c;
+
+ c = *f;
+ *f = *b;
+ *b = c;
+ --b;
+ ++f;
+ }
+
+ if (strstr(new, user) != NULL)
+ return 1;
+
+ dist = distance(new, user);
+ if (dist >= 0 && dist < PWQ_DEFAULT_DIFF_OK)
+ return 1;
+
+ return 0;
+}
+
static char *
str_lower(char *string)
{
@@ -319,15 +356,23 @@
static int
password_check(pwquality_settings_t *pwq,
- const char *new, const char *old, void **auxerror)
+ const char *new, const char *old, const char *user,
+ void **auxerror)
{
int rv = 0;
char *oldmono = NULL, *newmono, *wrapped = NULL;
+ char *usermono = NULL;
newmono = str_lower(x_strdup(new));
if (!newmono)
rv = PWQ_ERROR_MEM_ALLOC;
+ if (!rv && user) {
+ usermono = str_lower(x_strdup(user));
+ if (!usermono)
+ rv = PWQ_ERROR_MEM_ALLOC;
+ }
+
if (!rv && old) {
oldmono = str_lower(x_strdup(old));
if (oldmono)
@@ -365,11 +410,16 @@
if (!rv && consecutive(pwq, new, auxerror))
rv = PWQ_ERROR_MAX_CONSECUTIVE;
+ if (!rv && usermono && usercheck(pwq, newmono, usermono))
+ rv = PWQ_ERROR_USER_CHECK;
+
if (newmono) {
memset(newmono, 0, strlen(newmono));
free(newmono);
}
+ free(usermono);
+
if (oldmono) {
memset(oldmono, 0, strlen(oldmono));
free(oldmono);
@@ -443,7 +493,7 @@
* the old password is optional */
int
pwquality_check(pwquality_settings_t *pwq, const char *password,
- const char *oldpassword, void **auxerror)
+ const char *oldpassword, const char *user, void **auxerror)
{
const char *msg;
int score;
@@ -466,7 +516,7 @@
return PWQ_ERROR_CRACKLIB_CHECK;
}
- score = password_check(pwq, password, oldpassword, auxerror);
+ score = password_check(pwq, password, oldpassword, user, auxerror);
if (score == 0) {
score = password_score(pwq, password);
}
diff -r 56e5589380fe -r 11e238259d43 src/error.c
--- a/src/error.c Mon Oct 03 16:26:48 2011 +0200
+++ b/src/error.c Tue Nov 01 14:12:22 2011 +0100
@@ -41,6 +41,8 @@
return _("The password differs with case changes only");
case PWQ_ERROR_TOO_SIMILAR:
return _("The password is too similar to the old one");
+ case PWQ_ERROR_USER_CHECK:
+ return _("The password contains the user name in some form");
case PWQ_ERROR_MIN_DIGITS:
if (auxerror) {
snprintf(buf, len, _("The password contains less than %ld digits"), (long)auxerror);
diff -r 56e5589380fe -r 11e238259d43 src/generate.c
--- a/src/generate.c Mon Oct 03 16:26:48 2011 +0200
+++ b/src/generate.c Tue Nov 01 14:12:22 2011 +0100
@@ -157,7 +157,7 @@
*ptr = consonants1[idx];
++ptr;
}
- } while (pwquality_check(pwq, tmp, NULL, NULL) < 0 &&
+ } while (pwquality_check(pwq, tmp, NULL, NULL, NULL) < 0 &&
++try < PWQ_NUM_GENERATION_TRIES);
/* clean up */
diff -r 56e5589380fe -r 11e238259d43 src/pam_pwquality.c
--- a/src/pam_pwquality.c Mon Oct 03 16:26:48 2011 +0200
+++ b/src/pam_pwquality.c Tue Nov 01 14:12:22 2011 +0100
@@ -123,8 +123,16 @@
} else if (flags & PAM_UPDATE_AUTHTOK) {
int retval;
const void *oldtoken;
+ const char *user;
int tries;
+ retval = pam_get_user(pamh, &user, NULL);
+ if (retval != PAM_SUCCESS || user == NULL) {
+ if (ctrl & PAM_DEBUG_ARG)
+ pam_syslog(pamh, LOG_ERR, "Can not get username");
+ return PAM_AUTHTOK_ERR;
+ }
+
retval = pam_get_item(pamh, PAM_OLDAUTHTOK, &oldtoken);
if (retval != PAM_SUCCESS) {
if (ctrl & PAM_DEBUG_ARG)
@@ -157,7 +165,7 @@
}
/* now test this passwd against libpwquality */
- retval = pwquality_check(options.pwq, newtoken, oldtoken, &auxerror);
+ retval = pwquality_check(options.pwq, newtoken, oldtoken, user, &auxerror);
if (retval < 0) {
const char *msg;
diff -r 56e5589380fe -r 11e238259d43 src/pwquality.h
--- a/src/pwquality.h Mon Oct 03 16:26:48 2011 +0200
+++ b/src/pwquality.h Tue Nov 01 14:12:22 2011 +0100
@@ -51,6 +51,7 @@
#define PWQ_ERROR_CRACKLIB_CHECK -22
#define PWQ_ERROR_RNG -23
#define PWQ_ERROR_GENERATION_FAILED -24
+#define PWQ_ERROR_USER_CHECK -25
typedef struct pwquality_settings pwquality_settings_t;
@@ -102,6 +103,8 @@
* and possibly also auxiliary error information that must be
* passed into pwquality_strerror() function.
* The old password is optional and can be NULL.
+ * The user is used for checking the password against user name
+ * and potentially other passwd information and can be NULL.
* The auxerror can be NULL - in that case the auxiliary error information
* is not returned.
* Not passing the *auxerror into pwquality_strerror() can lead to memory leaks.
@@ -109,7 +112,7 @@
* the score for the same passwords will be lower. */
int
pwquality_check(pwquality_settings_t *pwq, const char *password,
- const char *oldpassword, void **auxerror);
+ const char *oldpassword, const char *user, void **auxerror);
/* Translate the error code and auxiliary message into a localized
* text message.
diff -r 56e5589380fe -r 11e238259d43 src/pwscore.c
--- a/src/pwscore.c Mon Oct 03 16:26:48 2011 +0200
+++ b/src/pwscore.c Tue Nov 01 14:12:22 2011 +0100
@@ -18,7 +18,7 @@
int
usage(const char *progname) {
- fprintf(stderr, _("Usage: %s\n"), progname);
+ fprintf(stderr, _("Usage: %s [user]\n"), progname);
fprintf(stderr, _(" The command reads the password to be scored from the standard input.\n"));
}
@@ -31,16 +31,21 @@
void *auxerror;
char buf[1024];
size_t len;
+ char *user = NULL;
setlocale(LC_ALL, "");
bindtextdomain("libpwquality", "/usr/share/locale");
textdomain("libpwquality");
- if (argc != 1) {
+ if (argc > 2) {
usage(basename(argv[0]));
exit(3);
}
+ if (argc == 2) {
+ user = argv[1];
+ }
+
if (fgets(buf, sizeof(buf), stdin) == NULL || (len = strlen(buf)) == 0) {
fprintf(stderr, _("Error: %s\n"), _("Could not obtain the password to be scored"));
exit(4);
@@ -59,7 +64,7 @@
exit(3);
}
- rv = pwquality_check(pwq, buf, NULL, &auxerror);
+ rv = pwquality_check(pwq, buf, NULL, user, &auxerror);
if (rv < 0) {
fprintf(stderr, _("Password quality check failed:\n %s\n"),
12 years, 5 months