Months misspelled. "ta" added to the ends.

Bug #374446 reported by Isak Frants
8
Affects Status Importance Assigned to Milestone
GLibC
Fix Released
Medium
langpack-locales (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

Binary package hint: nautilus

Months are spelled wrong in Nautilus when using Swedish. "ta" is added to every month at the end.

3. What I expected to happen.

"januari" would continue to be named "januari" instead of "januarita" and "maj" instead of "majta".

4. What happened instead.

Nautilus gives wrong info in "Detailed list", in "Information" in side panel and in the properties of the file.

http://img79.imageshack.us/img79/4541/dump.png

This happens to all file types I've tried, not just to .xls which happen to be in the image.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.26.2-0ubuntu2
ProcEnviron:
 LANG=sv_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.29-02062901-generic i686

Revision history for this message
In , Clint Adams (clint) wrote :

fi_FI was changed for BZ#5814; sv_FI lags behind

Revision history for this message
In , Clint Adams (clint) wrote :

Created attachment 3654
patch to make sv_FI behave like fi_FI

Revision history for this message
In , Drepper-fsp (drepper-fsp) wrote :

The patch is in cvs.

Revision history for this message
Isak Frants (isakfrants) wrote :
Revision history for this message
Isak Frants (isakfrants) wrote :

This seems to only affect sv_FI.UTF-8, not even sv_SE.UTF-8 is affected although they are much the same?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is a translation one

affects: nautilus (Ubuntu) → language-pack-gnome-ta (Ubuntu)
affects: language-pack-gnome-ta (Ubuntu) → language-pack-gnome-sv (Ubuntu)
Revision history for this message
Daniel Nylander (yeager) wrote :

There is a bug(?) in /usr/lib/locale/sv_FI.utf8/LC_TIME

%a %e. %Bta %Y %H.%M.%S

I don't know who put "ta" in there or if it should be there

Revision history for this message
Isak Frants (isakfrants) wrote :

Great work Daniel! I appreciate you took time to get that information.

Maybe it's just some typo left over if something else have been copied/pasted/edited. Or perhaps it should look like that in other languages, but not in sv_FI. Hopefully someone with enough permissions could correct it.

Revision history for this message
Isak Frants (isakfrants) wrote :

Any progress on this one? What package provides the LC_TIME file?

Revision history for this message
In , Sebstrand (sebstrand) wrote :

The patch introduced a bug in d_t_fmt: the letters 'ta' get appended to the
month, giving amusing month names like majta and junita. The letters are
appropriate in the Finnish version, but not for Swedish. Removing <U0074><U0061>
from d_t_fmt fixes this.

Revision history for this message
Lars Ljung (larslj) wrote :

As I understand it the error is in the definition of d_t_fmt in /usr/share/i18n/locales/sv_FI

affects: language-pack-gnome-sv (Ubuntu) → langpack-locales (Ubuntu)
Changed in langpack-locales (Ubuntu):
status: New → Confirmed
Revision history for this message
Lars Ljung (larslj) wrote :

Here is a debdiff to solve the problem

Changed in glibc:
status: Unknown → Confirmed
Martin Pitt (pitti)
Changed in langpack-locales (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: Confirmed → In Progress
Martin Pitt (pitti)
Changed in langpack-locales (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package langpack-locales - 2.9+git20090617-2

---------------
langpack-locales (2.9+git20090617-2) karmic; urgency=low

  * Add ubuntu-sv_FI-dateformat.patch: Remove erroneous "ta" suffix in date
    format. (LP: #374446)

 -- Martin Pitt <email address hidden> Tue, 06 Oct 2009 11:27:54 +0200

Changed in langpack-locales (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Isak Frants (isakfrants) wrote :

Great news! Thanks!

Revision history for this message
In , JohanH (johan-heikkila) wrote :

Created attachment 5689
corrects first day and format of d_t_fmt in sv_FI

There are two errors in sv_FI

Error 1:

First day of week should be monday in sv_FI, just like it is in fi_FI and
sv_SE. See SFS-EN 28601, which is Finnish version of ISO 8601 and it says that
monday is first day of the week. For reference, Sweden has SS-EN 28601, which is the same standard.

Error 2:

This is probably a copy/paste error from fi_FI into sv_FI: The format of
d_t_fmt is wrong in sv_FI. Currently it is %a %e. %Bta %Y %H.%M.%S, even though
it should be %a %e. %B %Y %H.%M.%S, without the 'ta' after %B. Including 'ta'
after %B is grammatically correct in Finnish, but is entirely wrong and looks
ridiculous in Swedish. It makes months appear as e.g. 'Januarita', which is
nonsense in Swedish. 'Januari' without 'ta' is the correct format in Swedish.

patch for sv_FI attached that corrects these two errors (sv_FI_correction.patch)

Revision history for this message
In , Drepper-fsp (drepper-fsp) wrote :

I've added the patch. But don't ever in future use context diffs.

Revision history for this message
Isak Frants (isakfrants) wrote :

This should be fixed upstream now, so Ubuntu patch can be dropped when glibc is updated.

Changed in glibc:
importance: Unknown → Medium
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.