Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#14663 closed (fixed)

L10N of dates in Norwegian.

Reported by: nfg Owned by: nobody
Component: Translations Version: 1.2
Severity: Keywords: l10n norwegian formats
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I just enabled L10N of formats, but stumbled on an error.

The input formats for Norwegian is wrong. It uses %j (day of the year), but it should use %d (day of the month).

Attachments (1)

norwegian_format_strings.diff (6.1 KB) - added by nfg 3 years ago.
Correct norwegian input formats.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by nfg

Correct norwegian input formats.

comment:1 Changed 3 years ago by anonymous

  • milestone set to 1.3
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by rasca

Someone who knows Norwegian other than the patch uploader should check this patch, and if it's okey mark it as Ready For Checkin.

comment:3 Changed 3 years ago by claudep

  • Component changed from Internationalization to Translations

comment:4 Changed 3 years ago by claudep

  • Triage Stage changed from Accepted to Ready for checkin

This came from the confusion between 'j' Django format (day of the month without leading zeros, and Python strftime '%j' (day of the year). This is clearly a bug and I don't think we need native speaker confirmation.

comment:5 Changed 3 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [14791]) Fixed #14663 -- Corrected Norwegian locale format strings. Thanks to nfg for the report and patch.

comment:6 Changed 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.