Skip to content

Commit

Permalink
Merge pull request #5020 from adamkankovsky/webui-replace-backticks-d…
Browse files Browse the repository at this point in the history
…ue-to-translation

webui: Back/Next button are not localized
  • Loading branch information
KKoukiou committed Aug 8, 2023
2 parents f4c1650 + 9d125a1 commit ac0b288
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion po/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,10 @@ main.pot: $(POTFILE_INPUT)
$(GETTEXT_V_EXTRACT)$(XGETTEXT) $(XGETTEXT_OPTIONS) --directory=$(top_srcdir) -o $@ \
$(patsubst $(top_srcdir)/%,%,$(POTFILE_INPUT))

# Javascript parsing is buggy in xgettext: template strings within JSX silently stop parsing the
# whole file. To work around this, explicitly set parsed language to C, which somehow works.
main_js.pot: $(POTFILE_INPUT)
$(GETTEXT_V_EXTRACT)$(XGETTEXT) $(XGETTEXT_OPTIONS) --language=JavaScript --directory=$(top_srcdir) -o $@ \
$(GETTEXT_V_EXTRACT)$(XGETTEXT) $(XGETTEXT_OPTIONS) --language=C --directory=$(top_srcdir) -o $@ \
$(patsubst $(top_srcdir)/%,%,$(POTFILE_JS_INPUT))

extra.pot: $(POTFILE_EXTRA)
Expand Down

0 comments on commit ac0b288

Please sign in to comment.