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 670051 - timezone translations fail to respect LINGUAS
timezone translations fail to respect LINGUAS
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Date and Time
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-14 10:23 UTC by Alexandre Rostovtsev
Modified: 2012-02-14 11:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.24 KB, patch)
2012-02-14 10:29 UTC, Alexandre Rostovtsev
committed Details | Review

Description Alexandre Rostovtsev 2012-02-14 10:23:39 UTC
intltool-using applications are expected to honor the LINGUAS environment variable for translations when configuring and building from source. For example, if LINGUAS="en ru", then only the English and Russian versions of translated messages, schemas, etc. should be built.

g-c-c's main translation build system in po/ does honor LINGUAS because it uses intltool's standard Makefile.in.in. However, panels/datetime/po-timezones/ uses a custom Makefile.am that completely ignores LINGUAS.
Comment 1 Alexandre Rostovtsev 2012-02-14 10:29:14 UTC
Created attachment 207516 [details] [review]
proposed patch

This patch adapts the logic from intltool's Makefile.in.in to ensure that the value of LINGUAS is respected in panels/datetime/po-timezones/

(Note that intltool's Makefile.in.in also considers the value of the obsolete ALL_LINGUAS variable, which in 2012 can IMHO be safely ignored.)