Bug 191283 - In summary-->Next Events-->the message put: day,date in %n days
Summary: In summary-->Next Events-->the message put: day,date in %n days
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 182402 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-01 20:13 UTC by Carlos Gomez
Modified: 2009-05-21 20:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kontact and problem with the number of days in spanish (21.06 KB, image/jpeg)
2009-05-21 10:27 UTC, Javier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Gomez 2009-05-01 20:13:19 UTC
Version:           1.1 (using KDE 4.2.2)
Compiler:          gcc 
OS:                Linux
Installed from:    Ubuntu Packages

In the kontact's menu summary,you can view the next events you've got. The message display:

Monday,7 May 2009 in %n days Title of the event hour.

The problem is: " %n " days.

Sorry for my english.
Many thanks.
Carlos Gomez Cainzos
alangomez@ole.com
Comment 1 Allen Winter 2009-05-14 21:39:38 UTC
this might be caused by a bad translation.

what language are you using?
Comment 2 Carlos Gomez 2009-05-15 12:29:29 UTC
I'm using spanish language.
Comment 3 Albert Astals Cid 2009-05-15 23:47:38 UTC
Could you please attach a screenshot?
Comment 4 Javier 2009-05-21 10:27:33 UTC
Created attachment 33896 [details]
Kontact and problem with the number of days in spanish
Comment 5 Javier 2009-05-21 10:28:24 UTC
This also affects me and I also use spanish, so I've uploaded a screenshot
Comment 6 Javier 2009-05-21 13:10:09 UTC
I've just remembered I reported this same bug some time ago:

This can be marked duplicated of 182402
https://bugs.kde.org/show_bug.cgi?id=182402
Comment 7 Carlos Gomez 2009-05-21 17:23:34 UTC
Many thank's Javier.
Comment 8 Albert Astals Cid 2009-05-21 19:59:53 UTC
Sorry but this is a Ubuntu feature, their better than KDE translators decided the translation for

%1 years
was 
%n years
instead of
%1 years
as KDE Spanish translators have translated.

You can see the correct KDE translation at [1] and the wrong Ubuntu translation doing 

$ msgunfmt /usr/share/locale-langpack/es/LC_MESSAGES/kontact.mo | grep -a1 -b2 "%1 years"

19788-msgid "one year"
19805:msgid_plural "%1 years"
19829-msgstr[0] "un año"
19849-msgstr[1] "%n años"

[1] http://websvn.kde.org/branches/stable/l10n-kde4/es/messages/kdepim/kontact.po?view=markup
Comment 9 Albert Astals Cid 2009-05-21 20:00:57 UTC
*** Bug 182402 has been marked as a duplicate of this bug. ***
Comment 10 Albert Astals Cid 2009-05-21 20:04:58 UTC
err. when i said 

%1 years
was 
%n years
instead of
%1 years

i meant

%1 years
was 
%n años
instead of
%1 años

Sorry :D