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 779415 - Translated X-Geoclue-Reason string not used in a dialog window
Translated X-Geoclue-Reason string not used in a dialog window
Status: RESOLVED DUPLICATE of bug 779413
Product: gnome-weather
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Weather Maintainer(s)
GNOME Weather Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-03-01 12:15 UTC by Jiri Grönroos
Modified: 2017-03-20 20:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-weather showing X-Geoclue-Reason in English (75.21 KB, image/png)
2017-03-01 12:15 UTC, Jiri Grönroos
Details

Description Jiri Grönroos 2017-03-01 12:15:14 UTC
Created attachment 346964 [details]
gnome-weather showing X-Geoclue-Reason in English

When opening gnome-weather (or gnome-clocks [bug #779413]) for the first time, GNOME shows a dialog that asks for permission to access location (since commit 4d1ec657652e69c9476d469b6a388c8431c78de2). This dialog should use X-Geoclue-Reason string that belongs to https://git.gnome.org/browse/gnome-weather/tree/data/org.gnome.Weather.Application.desktop.in

"_X-Geoclue-Reason=Allows weather information to be displayed for your location."

This string has been in .pot file since 3.19 and has been translated in Finnish (since commit 6efd040a44a3223fc8111d9cb63775d756192c9a) before the release of 3.20 so it should be used at least in 3.20.2. However, the dialog still uses English string instead of translated string.

This bug affects 3.20.2 on fully up-to-date Fedora 25, and as far as I can remember, both 3.20 (Fedora 24) and 3.24 (Fedora 26) as well.

[name@kabylake ~]$ dnf info gnome-weather
Name        : gnome-weather
Arkkitehtuu : noarch
Epoch       : 0
Versio      : 3.20.2
Release     : 1.fc25
Koko        : 5.5 M
Repo        : @System
From repo   : anaconda
Summary     : A weather application for GNOME
URL         : https://live.gnome.org/Design/Apps/Weather
License     : GPLv2+ and LGPLv2+ and MIT and CC-BY and CC-BY-SA
Description : gnome-weather is a weather application for GNOME

[name@kabylake ~]$ cat /etc/redhat-release 
Fedora release 25 (Twenty Five)
Comment 1 Piotr Drąg 2017-03-20 20:01:26 UTC

*** This bug has been marked as a duplicate of bug 779413 ***