After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791469 - "(null)" timezone names in timezone entry
"(null)" timezone names in timezone entry
Status: RESOLVED FIXED
Product: libgweather
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: future
Assigned To: libgweather-maint
libgweather-maint
Depends on:
Blocks:
 
 
Reported: 2017-12-11 09:40 UTC by Bastien Nocera
Modified: 2017-12-11 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
timezone: Fix timezone names being empty (1.73 KB, patch)
2017-12-11 10:15 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2017-12-11 09:40:53 UTC
1. Launch "test_locations"
2. Enter the name of a city in a country with multiple timezones
3. See that the menu entries are called "(null)" followed by a GMT offset
Comment 1 Bastien Nocera 2017-12-11 10:15:03 UTC
Created attachment 365350 [details] [review]
timezone: Fix timezone names being empty

1. Launch "test_locations"
2. Enter the name of a city in a country with multiple timezones
3. See that the menu entries are called "(null)" followed by a GMT offset

As we changed the way that the xml file is translated (we look localised
names up at run-time, instead of merging them in one big XML), we
shouldn't have "name" as a tag, but "_name" so the timezone names are
marked for translation.
Comment 2 Bastien Nocera 2017-12-11 10:19:40 UTC
Attachment 365350 [details] pushed as 40dadbd - timezone: Fix timezone names being empty