Skip to content

Resolve "Make it easier to skip generation of translations in `gdk reconfigure`"

What does this Merge Request do?

This MR updates the make .gettext target which generates Rails translations, to only run when a gdk update is executed but not for gdk reconfigure.

A new make gettext-update target has been introduced which allows for translations to be generated as needed however.

Before

$ time gdk reconfigure
--snip--
gdk reconfigure  104.95s user 27.40s system 115% cpu 1:55.07 total

Now

$ time gdk reconfigure
--snip--
gdk reconfigure  52.54s user 23.20s system 148% cpu 51.021 total

Merge Request checklist

  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.

Closes #1119 (closed)

Edited by Ash McKenzie

Merge request reports