Date format isn't good

Bug #1684097 reported by Olivier Febwin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
New
Medium
Unassigned
indicator-datetime (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Date format isn't good in date indicator whereas the translation format is good https://translations.launchpad.net/ubuntu/zesty/+source/indicator-datetime/+pots/indicator-datetime/fr/1/+translate

In french, it should be displayed "mer. 19 avril" ; not "mer. avril 19"

I think it miss this translation witch was present on xenial: https://translations.launchpad.net/ubuntu/xenial/+source/indicator-datetime/+pots/indicator-datetime/fr/5/+translate

See the attachment

Revision history for this message
Olivier Febwin (febcrash) wrote :
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Changed in ubuntu-translations:
assignee: nobody → Ubuntu French Translators (ubuntu-l10n-fr)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Revision history for this message
Jo Melnik (jo-melnik) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I see now that this issue is true for Swedish as well, so the issue is not specific to French. Can it be that the translation template for indicator-datetime needs to be updated?

Changed in ubuntu-translations:
assignee: Ubuntu French Translators (ubuntu-l10n-fr) → nobody
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

In Xenial the translation template has 33 items, and in Zesty it only has 13. I suspect that this bug was caused by this commit:

http://bazaar.launchpad.net/~indicator-applet-developers/indicator-datetime/trunk.16.10/revision/476

The missing translation, which Olivier mentioned in the bug description, is a string in the file formatter-desktop.cpp. However, no strings from that file is included in the Zesty translation template.

The file po/POTFILES.in, which was dropped through the commit, looked like this:

src/formatter.cpp
src/formatter-desktop.cpp
src/menu.cpp
src/snap.cpp
src/utils.c

The Zesty translation template only has items from:

src/menu.cpp
src/snap.cpp

I think there is a need to create a proper translation template somehow to fix this bug.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Sebastien: Any idea how to fix a proper POT file?

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

looks like https://code.launchpad.net/~dobey/indicator-datetime/fix-gsettings/+merge/317144 might fix it if somebody wants to give it a try

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

duplicate of bug #1664346

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

the other bug restores some of the sources you listed but not all so need to check if the commit is enough, it looks like it would fix the bug with the format described here

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Marking this bug as a duplicate, since there is an 'almost solution' available for the other bug.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Sebastien: The POT file in that MP seems to cover it. Especially the strings from formatter-desktop.cpp are included. So the commit ought to be enough to fix this bug.

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.