Country name for "Prague" is wrong

Bug #1494004 reported by zub
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Low
Unassigned
Ubuntu Clock App
Fix Released
Low
Bartosz Kosiorek

Bug Description

The name of the country for the city "Prague" is shown as "Czech", which is wrong. "Czech" is either an adjective, or a noun for a person coming from the Czech Republic, but not a noun for the country. The correct version is "Czech Republic" which is also what is returned from http://geoname-lookup.ubuntu.com/?query=Prague

The string is in backend/modules/WorldClock/statictimezonemodel.cpp. It's translatable, so this change unfortunately propagates to the .po files.

It seems that when translated, it's mostly translated correctly as the country, though for some languages I do not know. I noticed that in de.po which was translated as "Tschechisch" (Czech, as in language). So I made a bit of sed workout, replaced all the "Czech" to "Czech Republic" and manually fixed the German translation to "Tschechien", as in the country.

I'm not sure if this sed + custom fix approach to changing the .po files is reasonable. If not, then the .pot and .po files can be just updated, at the cost of losing some translations.

Related branches

Revision history for this message
zub (zub-linux) wrote :
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Thanks for the bug report and the patch. We will have to go the official route and create a Merge Proposal which corrects the name in the cpp file which in turn will update the pot file. It won't help patching the .po files manually since launchpad automatic translations will overwrite it. We will lose translations for that one string, but nonetheless let's fix this mistake in the upcoming release.

Changed in ubuntu-clock-app:
importance: Undecided → Low
status: New → Confirmed
milestone: none → 3.6
assignee: nobody → Bartosz Kosiorek (gang65)
Changed in ubuntu-clock-app:
status: Confirmed → In Progress
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-clock-app at revision 379, scheduled for release in ubuntu-clock-app, milestone 3.6

Changed in ubuntu-clock-app:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
importance: Undecided → Low
status: New → Confirmed
milestone: none → ww46-2015
Changed in ubuntu-clock-app:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → 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.