Re: GUI to ldap administration
On Mon, Mar 15, 2010 at 06:55:33PM +0100, Holger Levsen wrote:
> I think improving lwat might be a feasable short term solution (ie for
> squeeze), but this needs a (doable) list of what's missing.
>
[...]
> File bugs, send patches?
>
Hi,
the attached patch closes bug #520136 and #568407 as well as the typo
in the login template. The latter correction will probably make a
modification of the translations necessary (new msgid in the
po-files).
To be applied to the lwat debian source with (in the package
directory):
patch -p1 < patch
It would be nice to have at least the part of the patch concerning the
mentioned bugs applied to the source.
Regards,
Andi
diff -ur lwat-0.17_orig/debian/changelog lwat-0.17/debian/changelog
--- lwat-0.17_orig/debian/changelog 2010-03-16 15:06:27.000000000 +0100
+++ lwat-0.17/debian/changelog 2010-03-16 15:36:41.000000000 +0100
@@ -1,3 +1,12 @@
+lwat (0.17-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix string in po/de_DE.po (Closes: #520136)
+ * Fix share/mailnewuser (Closes: #568407)
+ * Fix typo in templates/login.tpl
+
+ -- Andreas B. Mundt <andi.mundt@web.de> Tue, 16 Mar 2010 15:36:20 +0100
+
lwat (0.17-4) unstable; urgency=low
* Bumped version to -4 since finnarne build a own package -3+svnXXX
diff -ur lwat-0.17_orig/po/de_DE.po lwat-0.17/po/de_DE.po
--- lwat-0.17_orig/po/de_DE.po 2008-01-14 09:50:57.000000000 +0100
+++ lwat-0.17/po/de_DE.po 2010-03-16 15:13:06.000000000 +0100
@@ -8,7 +8,7 @@
"Project-Id-Version: 0.5-pre0.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-01-14 00:43+0100\n"
-"PO-Revision-Date: 2008-01-14 08:04-0000\n"
+"PO-Revision-Date: 2010-03-16 15:13+0100\n"
"Last-Translator: Patrick Winnertz <winnie@der-winnie.de>\n"
"Language-Team: german\n"
"MIME-Version: 1.0\n"
@@ -788,7 +788,7 @@
#: lib/chguserpw.php:114
#, php-format
msgid "Changed password for %s"
-msgstr "Das passwort für %s ändern"
+msgstr "Das Passwort für %s wurde geändert"
#: lib/chguserpw.php:116
#, php-format
diff -ur lwat-0.17_orig/share/mailnewuser lwat-0.17/share/mailnewuser
--- lwat-0.17_orig/share/mailnewuser 2007-09-24 10:28:39.000000000 +0200
+++ lwat-0.17/share/mailnewuser 2010-03-16 15:16:09.000000000 +0100
@@ -38,7 +38,7 @@
done
if [ "$AGE" ] ; then
DATESTAMP="$(date -u -d -$AGE +%Y%m%d%H%M00Z)"
- FILTER="$FILTER($createTimeStamp>=$DATESTAMP)"
+ FILTER="$FILTER(createTimeStamp>=$DATESTAMP)"
fi
if [ -z "$FILTER" ] ; then
@@ -63,7 +63,7 @@
Welcome to the mail-system.
-Your email address is $USERNAME@intern
+Your email address is $USERNAME@postoffice.intern
Regards
EOF
diff -ur lwat-0.17_orig/templates/login.tpl lwat-0.17/templates/login.tpl
--- lwat-0.17_orig/templates/login.tpl 2010-03-16 15:06:27.000000000 +0100
+++ lwat-0.17/templates/login.tpl 2010-03-16 15:25:55.000000000 +0100
@@ -45,7 +45,7 @@
</form>
<div id=tip>
<H2>{t}Tip{/t}</H2>
- {t}Log in using the account of a user a that are allowed to add/edit/delete users and groups from ldap.{/t}<BR>
+ {t}Log in using the account of a user being allowed to add/edit/delete users and groups from ldap.{/t}<BR>
{t}If no such user has been created already, use the user admin, and the password you entered while ldap was set up.{/t}<BR>
{t}For debian-edu, that means that you log in using the username "admin", and the same password as for the unix root account.{/t}
</div>
Reply to: