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 762062 - gettext: add a simple syntax check plugin
gettext: add a simple syntax check plugin
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: plugins
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-15 08:04 UTC by Daiki Ueno
Modified: 2016-02-15 20:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gettext: add a simple syntax check plugin (21.50 KB, patch)
2016-02-15 08:04 UTC, Daiki Ueno
committed Details | Review
screenshot (74.46 KB, image/png)
2016-02-15 08:13 UTC, Daiki Ueno
  Details

Description Daiki Ueno 2016-02-15 08:04:11 UTC
This plugin performs syntax checks on translatable strings, using the
--check option of xgettext:
http://www.gnu.org/software/gettext/manual/html_node/xgettext-Invocation.html#index-_002d_002dcheck_002c-xgettext-option

It is helpful to keep the messages consistent with the Unicode character
usage guidelines:
https://wiki.gnome.org/Initiatives/GnomeGoals/UnicodeUsage
Comment 1 Daiki Ueno 2016-02-15 08:04:16 UTC
Created attachment 321200 [details] [review]
gettext: add a simple syntax check plugin
Comment 2 Daiki Ueno 2016-02-15 08:13:03 UTC
Created attachment 321202 [details]
screenshot
Comment 3 Christian Hergert 2016-02-15 20:33:06 UTC
Thanks! Pushed with some followup commits for style and such.

Attachment 321200 [details] pushed as d620292 - gettext: add a simple syntax check plugin