Javascript files are not checked for left out files

Bug #544445 reported by Claude Paroz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
intltool
Triaged
High
Unassigned

Bug Description

With intltool-update -m, Javascript (.js) files are not checked if they are omitted from POTFILES.in. Now that GNOME is using more and more Javascript, this is becoming a crucial issue (see e.g. https://bugzilla.gnome.org/show_bug.cgi?id=613092). I suppose the fix is only an addition to the $buildin_gettext_support variable.

Revision history for this message
Данило Шеган (danilo) wrote :

I agree this is important to fix, but it's not that easy: JavaScript files are not natively supported by xgettext (i.e. try creating a JS file with a single-quoted string), so that's not going to work. We'll probably have to pass a suitable xgettext -L option for them, but ideally, someone would add native JavaScript support to gettext.

Changed in intltool:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Piotr Drąg (piotrdrag) wrote :

gettext supports JavaScript since 0.18.3.

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.