After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311472 - useless and wrong singular string when plural expected
useless and wrong singular string when plural expected
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x
Other Linux
: Normal trivial
: ---
Assigned To: André Klapper
Evolution QA team
Depends on:
Blocks: 236276
 
 
Reported: 2005-07-25 12:06 UTC by C Shilpa
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description C Shilpa 2005-07-25 12:06:04 UTC
Version details: 2.3.5
Distribution/Version: SuSE 9.3

1. Open evolution
2. Right-click on a folder which contains only one message and select properties
In the folder properties dialog, it shows up the first string under the General
tab as 'Total message'

Expected results:
The string should be 'Total messages'.

Other information:
It shows up as 'Total messages' for folders containing 0 messages or more than 1
message.
Comment 1 Not Zed 2005-08-05 08:36:06 UTC
Hmm, introduced here:


revision 1.3
date: 2004/06/16 21:41:52;  author: dobey;  state: Exp;  lines: +50 -35
branches:  1.3.6;  1.3.14;
2004-06-16  Rodney Dawes  <dobey@novell.com>

	* em-folder-properties.c: Include gtk[hv]box.h so we can use them
	(emfp_dialog_got_folder): Fix the border widths and spacings for
	the internal widgets and the dialog's vbox and action area to be
	compliant with the HIG
	Fix the general layout of the dialog to be HIG-compliant as well
	Use ngettext for the row labels for number of messages
	Add a cancel button, since we are not instant-apply
	Align the message counts to the right
	Part of this patch is from Christian Neumair <chris@gnome-de.org>
Comment 2 André Klapper 2005-08-29 12:28:18 UTC
yeah, right. string freeze. targetting to 2.5, adding dependencies.
Comment 3 André Klapper 2005-09-16 03:14:00 UTC
label = gtk_label_new (ngettext ("Total message:", "Total messages:",
prop_data->total));
Comment 4 André Klapper 2005-12-23 03:44:12 UTC
same with "Unread message"
Comment 5 André Klapper 2005-12-28 16:02:06 UTC
do NOT remove the ngettext though it seems like always using the plural in english language (see bug 272567), but do change the english wording instead
Comment 6 André Klapper 2005-12-29 22:45:37 UTC
committed fix to head, see
http://cvs.gnome.org/viewcvs/evolution/mail/em-folder-properties.c?r1=1.9&r2=1.10

fix will be included in evolution 2.5.4.


** This fix was written at the Evolution Team Germany conference and meeting. **