[imp] Bad visual response when adding names to adress book

Alexander Skwar ASkwar@DigitalProjects.com
Sat, 6 Oct 2001 16:04:00 +0200


---------------------- multipart/mixed attachment
So sprach =BBAlexander 'Digital Projects' Skwar=AB am 2001-10-06 um 15:04:1=
1 +0200 :
> Attached is a diff against the 2.3.7-cvs IMP which does just this.

Uhm, seems like the attachment got lost.  Let's try it again with
mutt...

Alexander Skwar
--=20
How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:	http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die g=FCnstige Art an Linux Distributionen zu kommen
		Uptime: 2 days 8 hours 44 minutes

---------------------- multipart/mixed attachment
diff -ur ORIGINAL/imp/message.php MOD/imp/message.php
--- ORIGINAL/imp/message.php	Sat Oct  6 14:39:37 2001
+++ MOD/imp/message.php	Sat Oct  6 14:50:55 2001
@@ -341,7 +341,7 @@
      } elseif (!$res) {
          Horde::raiseMessage(_("An unknown error occured adding new entry.=
"), HORDE_ERROR);
      } else {
-         Horde::raiseMessage(_("New entry was successfully added to the ad=
dressbook"), HORDE_SUCCESS);
+         Horde::raiseMessage(sprintf(_("Entry '%s' was successfully added =
to the addressbook"), $newName), HORDE_SUCCESS);
      }
      break;
 }
Only in MOD/imp/po: .es_ES.po.swp
diff -ur ORIGINAL/imp/po/cs_CZ.po MOD/imp/po/cs_CZ.po
--- ORIGINAL/imp/po/cs_CZ.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/cs_CZ.po	Sat Oct  6 14:55:49 2001
@@ -691,8 +691,9 @@
 msgid "New User Introduction"
 msgstr "=DAvod pro Nov=E9 U=BEivatele"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "Nov=E1 polo=BEka byla =FAsp=EC=B9n=EC p=F8id=E1na do Kontakt=F9"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: Nov=E1 polo=BEka byla =FAsp=EC=B9n=EC p=F8id=E1na do Kontakt=
=F9"
=20
 msgid "New messages"
 msgstr "Nov=E9 Zpr=E1vy"
diff -ur ORIGINAL/imp/po/de_DE.po MOD/imp/po/de_DE.po
--- ORIGINAL/imp/po/de_DE.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/de_DE.po	Sat Oct  6 14:52:40 2001
@@ -738,8 +738,9 @@
 msgid "New User Introduction"
 msgstr "Einf=FChrung f=FCr neue Benutzer"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "Der neue Eintrag wurde erfolgreich dem Adressbuch hinzugef=FCgt"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "Der Eintrag '%s' wurde dem Adressbuch hinzugef=FCgt"
=20
 msgid "New messages"
 msgstr "Neue Nachrichten"
diff -ur ORIGINAL/imp/po/es_ES.po MOD/imp/po/es_ES.po
--- ORIGINAL/imp/po/es_ES.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/es_ES.po	Sat Oct  6 14:51:19 2001
@@ -731,9 +731,10 @@
 msgid "New User Introduction"
 msgstr "Introducci=F3n para usuarios nuevos"
=20
-msgid "New entry was successfully added to the addressbook"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
 msgstr ""
-"El nuevo registro fue agregado satisfactoriamente a la libreta direccione=
s"
+"El nuevo registro '%s' fue agregado satisfactoriamente a la libreta direc=
ciones"
=20
 msgid "New messages"
 msgstr "Mensajes nuevos"
diff -ur ORIGINAL/imp/po/fr_FR.po MOD/imp/po/fr_FR.po
--- ORIGINAL/imp/po/fr_FR.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/fr_FR.po	Sat Oct  6 14:54:02 2001
@@ -732,8 +732,9 @@
 msgid "New User Introduction"
 msgstr "Aide aux nouveaux utilisateurs"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "Ajout r=E9ussi dans le carnet d'adresse"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: Ajout r=E9ussi dans le carnet d'adresse"
=20
 msgid "New messages"
 msgstr "Nouveaux messages"
diff -ur ORIGINAL/imp/po/it_IT.po MOD/imp/po/it_IT.po
--- ORIGINAL/imp/po/it_IT.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/it_IT.po	Sat Oct  6 14:54:26 2001
@@ -638,8 +638,9 @@
 msgid "New User Introduction"
 msgstr "Introduzione di un Nuovo Utente"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "La nuova entrata =E8 stata aggiunta alla Rubrica con successo"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: La nuova entrata =E8 stata aggiunta alla Rubrica con successo"
=20
 msgid "New messages"
 msgstr "Nuovi messaggi"
diff -ur ORIGINAL/imp/po/nl_NL.po MOD/imp/po/nl_NL.po
--- ORIGINAL/imp/po/nl_NL.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/nl_NL.po	Sat Oct  6 14:52:53 2001
@@ -725,8 +725,9 @@
 msgid "New User Introduction"
 msgstr "\"Nieuwe gebruiker\" introductie"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "Nieuwe invoer met succes aan het adresboek toegevoegd"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "Nieuwe invoer '%s' met succes aan het adresboek toegevoegd"
=20
 msgid "New messages"
 msgstr "Nieuwe berichten"
diff -ur ORIGINAL/imp/po/no_BOK.po MOD/imp/po/no_BOK.po
--- ORIGINAL/imp/po/no_BOK.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/no_BOK.po	Sat Oct  6 14:55:28 2001
@@ -334,8 +334,9 @@
 msgstr "En ukjent feil oppstod ved ny oppføring."
=20
 #: ../message.php:340
-msgid "New entry was successfully added to the addressbook"
-msgstr "Oppføringen ble lagt til adresseboken"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: Oppføringen ble lagt til adresseboken"
=20
 #: ../message.php:346
 msgid "This message to"
diff -ur ORIGINAL/imp/po/pl_PL.po MOD/imp/po/pl_PL.po
--- ORIGINAL/imp/po/pl_PL.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/pl_PL.po	Sat Oct  6 14:55:06 2001
@@ -726,8 +726,9 @@
 msgid "New User Introduction"
 msgstr "Wprowadzenie dla nowych u=BFytkownik=F3w"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "Nowa pozycja zosta=B3a pomyslnie zapisana w ksi=B1=BFce adresowej"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: Nowa pozycja zosta=B3a pomyslnie zapisana w ksi=B1=BFce adreso=
wej"
=20
 msgid "New messages"
 msgstr "Nowe wiadomo=B6ci"
diff -ur ORIGINAL/imp/po/pt_BR.po MOD/imp/po/pt_BR.po
--- ORIGINAL/imp/po/pt_BR.po	Sat Oct  6 14:39:37 2001
+++ MOD/imp/po/pt_BR.po	Sat Oct  6 14:56:06 2001
@@ -338,8 +338,9 @@
 msgstr "Ocorreu um erro desconhecido adicionando nova entrada."
=20
 #: ../message.php:340
-msgid "New entry was successfully added to the addressbook"
-msgstr "Nova entrada adicionada com sucesso ao cat=E1logo de endere=E7os"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: Nova entrada adicionada com sucesso ao cat=E1logo de endere=E7=
os"
=20
 #: ../message.php:346
 msgid "This message to"
diff -ur ORIGINAL/imp/po/ru_win.po MOD/imp/po/ru_win.po
--- ORIGINAL/imp/po/ru_win.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/ru_win.po	Sat Oct  6 14:54:47 2001
@@ -710,8 +710,9 @@
 msgid "New User Introduction"
 msgstr "=C2=F1=F2=F3=EF=EB=E5=ED=E8=E5 =E4=EB=FF =ED=EE=E2=FB=F5 =EF=EE=EB=
=FC=E7=EE=E2=E0=F2=E5=EB=E5=E9"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "=CD=EE=E2=E0=FF =E7=E0=EF=E8=F1=FC =E4=EE=E1=E0=E2=EB=E5=ED=E0 =E2=
 =E7=E0=EF=E8=F1=ED=F3=FE =EA=ED=E8=E3=F3"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: =CD=EE=E2=E0=FF =E7=E0=EF=E8=F1=FC =E4=EE=E1=E0=E2=EB=E5=ED=E0=
 =E2 =E7=E0=EF=E8=F1=ED=F3=FE =EA=ED=E8=E3=F3"
=20
 msgid "New messages"
 msgstr "=CD=EE=E2=FB=E5 =F1=EE=EE=E1=F9=E5=ED=E8=FF"
diff -ur ORIGINAL/imp/po/uk.po MOD/imp/po/uk.po
--- ORIGINAL/imp/po/uk.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/uk.po	Sat Oct  6 14:53:20 2001
@@ -644,8 +644,9 @@
 msgid "New User Introduction"
 msgstr "=F0=CF=D2=C1=C4=CE=C9=CB =C4=CC=D1 =D0=CF=DE=C1=D4=CB=A6=D7=C3=D1"
=20
-msgid "New entry was successfully added to the addressbook"
-msgstr "=EE=CF=D7=C9=CA =DA=C1=D0=C9=D3 =D5=D3=D0=A6=DB=CE=CF =C4=CF=C4=C1=
=CE=C9=CA =C4=CF =DA=C1=D0=C9=D3=CE=C9=CB=C1"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
+msgstr "%s: =EE=CF=D7=C9=CA =DA=C1=D0=C9=D3 =D5=D3=D0=A6=DB=CE=CF =C4=CF=
=C4=C1=CE=C9=CA =C4=CF =DA=C1=D0=C9=D3=CE=C9=CB=C1"
=20
 msgid "New messages"
 msgstr "=EE=CF=D7=A6 =CC=C9=D3=D4=C9"
diff -ur ORIGINAL/imp/po/zh_CN.po MOD/imp/po/zh_CN.po
--- ORIGINAL/imp/po/zh_CN.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/zh_CN.po	Sat Oct  6 14:51:42 2001
@@ -589,7 +589,8 @@
 msgid "New User Introduction"
 msgstr "=D0=C2=D3=C3=BB=A7=BD=E9=C9=DC"
=20
-msgid "New entry was successfully added to the addressbook"
+#, c-format
+msgid "Entry '%s' was successfully added to the addressbook"
 msgstr ""
=20
 msgid "New messages"
diff -ur ORIGINAL/imp/po/zh_TW.po MOD/imp/po/zh_TW.po
--- ORIGINAL/imp/po/zh_TW.po	Sat Oct  6 14:39:36 2001
+++ MOD/imp/po/zh_TW.po	Sat Oct  6 14:53:11 2001
@@ -677,8 +677,9 @@
 msgid "New User Introduction"=0D
 msgstr "=B7s=A5=CE=A4=E1=A4=B6=B2=D0"=0D
 =0D
-msgid "New entry was successfully added to the addressbook"=0D
-msgstr "=A4w=B7s=BCW=B0O=BF=FD=A6=DC=B3q=B0T=BF=FD"=0D
+#, c-format=0D
+msgid "Entry '%s' was successfully added to the addressbook"=0D
+msgstr "%s: =A4w=B7s=BCW=B0O=BF=FD=A6=DC=B3q=B0T=BF=FD"=0D
 =0D
 msgid "New messages"=0D
 msgstr "=B7s=B6l=A5=F3"=0D

---------------------- multipart/mixed attachment--


>From jan@horde.org Date: Sat,  6 Oct 2001 16:49:17 +0200
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 38559 invoked from network); 6 Oct 2001 14:54:19 -0000
Received: from mailout00.sul.t-online.com (HELO mailout00.sul.t-online.de) (194.25.134.16)
  by clark.horde.org with SMTP; 6 Oct 2001 14:54:19 -0000
Received: from fwd07.sul.t-online.de 
	by mailout00.sul.t-online.de with smtp 
	id 15psqI-0005yw-04; Sat, 06 Oct 2001 16:54:18 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.16]) by fmrl07.sul.t-online.com
	with esmtp id 15psq4-17GOmmC; Sat, 6 Oct 2001 16:54:04 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id f96EnIc04304
	for <imp@lists.horde.org>; Sat, 6 Oct 2001 16:49:18 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Sat,  6 Oct 2001 16:49:17 +0200
Message-ID: <1002379757.3bbf19edeb271@linux.wg.de>
Date: Sat,  6 Oct 2001 16:49:17 +0200
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <1002373451.3bbf014bc578c@unsicher.horde.imp.lieder.ath.cx>
In-Reply-To: <1002373451.3bbf014bc578c@unsicher.horde.imp.lieder.ath.cx>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Bad visual response when adding names to adress book

Zitat von Alexander Skwar <ASkwar@DigitalProjects.com>:

> Would it be possible to add the name of the new adress to the response line
> ("Der neue Eintrag...")?  In this case, the message should be changed to:
> 
> Der Eintrag "<Realname>" wurde erfolgreich dem Adressbuch hinzugef|gt.
> 
> English:
> 
> The entry "<Realname>" was added to the adressbook.

This makes sense to me, I'll commit your patch.
Btw, you don't need to modify the .po files as well - that's the translator's 
work.

Jan.

:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::