[wesnoth-commits] [wesnoth/wesnoth] 75f7cb: wmlxgettext: support double quotes in raw strings ...

Steve Cotton noreply at github.com
Sat Jan 16 20:15:50 UTC 2021


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 75f7cb1e85c22d091ae033c25192a3cb3a73a31b
      https://github.com/wesnoth/wesnoth/commit/75f7cb1e85c22d091ae033c25192a3cb3a73a31b
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M changelog.md
    M data/tools/pywmlx/state/machine.py
    M data/tools/pywmlx/state/wml_states.py

  Log Message:
  -----------
  wmlxgettext: support double quotes in raw strings (fixes #4484)

This adds support for _<<map="{maps/01_First_Map.map}">>, as used in the
editor file format documentation.

This doesn't require another .pot update, because both the workaround in
3d77d36 and this fix generate the same string in the .pot file. However, it
does change the string that the Wesnoth executable looks for so that it matches
the .pot file's contents.

Cherry picked from commit c30c30acfc3b8ba85742a449e2e65beec3dedfcd, and
additionally reverted commit 3d77d36bb0dc4db1afb3e3c1c0d2dbf7f4c6c77d.





More information about the Commits mailing list