Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#7517 closed bug (fixed)

[ReadOnlyBootPrompt] Wrong flag for Swedish

Reported by: deejam Owned by: stippi
Priority: high Milestone: R1/alpha3
Component: Applications/FirstBootPrompt Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

The Swedish flag in ReadOnlyBootPrompt is the Argentine one. Was previously right.

Alpha3-hrev41550

Attachments (1)

readonlybootpromt-wrong-sv-flag.png (30.1 KB ) - added by deejam 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by taos, 8 years ago

Maybe caused by mixing "se" (Sweden) and "sv" (El Salvador, flag resembles the Argentinian)?

Looks like ReadOnlyBootPrompt searches for avaiable languages in the catalog files - and the Swedish catkeys are named "sv.catkeys" instead of "se.catkeys"...

Last edited 8 years ago by taos (previous) (diff)

comment:2 by taos, 8 years ago

Opened a new ticket: #7524 (Localization: Rename Swedish catkeys from "sv.catkeys" to "se.catkeys"?)

comment:3 by taos, 8 years ago

Please, ignore my comment. The catkeys are named for the language, not for the country.

But that might be the problem of the current implementation (r1a3-rc-hrev41552) for retrieving the flags: ReadOnlyBootPrompt looks for the catkeys, gets the language code and uses this as country code when looking for the flag.

In the screenshot you can see Belarusian (country code: BY, language code: be) accompanied by the Belgian flag (country code: BE).

comment:4 by bonefish, 8 years ago

Milestone: R1R1/alpha3
Priority: normalhigh
Type: enhancementbug

That's rather embarrassing. The flags should be removed for the time being (until we actually have icons for the languages). An alternative would be a tree view like the one in the Locale preflet. Though I thought there are countries where different variations of the same language are spoken, for which this view wouldn't work either.

Bumping priority and moving to alpha 3 milestone.

comment:5 by bonefish, 8 years ago

Resolution: fixed
Status: newclosed

Disabled flags in hrev41630.

comment:6 by mmadia, 7 years ago

Component: Applications/ReadOnlyBootPromptApplications/FirstBootPrompt

Modifying ticket to reflect the renaming of ReadOnlyBootPrompt to FirstBootPrompt.

Note: See TracTickets for help on using tickets.