[Commits] [wesnoth/wesnoth] 2b9ca3: i18n: Fix typo

GitHub noreply at github.com
Tue Sep 1 01:02:23 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2b9ca340d34b6e6d7456329723ef57419c1ba652
      https://github.com/wesnoth/wesnoth/commit/2b9ca340d34b6e6d7456329723ef57419c1ba652
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M src/gettext.hpp
    M src/gettext_boost.cpp

  Log Message:
  -----------
  i18n: Fix typo

No functional changes.


  Commit: 28df1449e887962d3d20f4b3acc0f45dfd80a1e1
      https://github.com/wesnoth/wesnoth/commit/28df1449e887962d3d20f4b3acc0f45dfd80a1e1
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M src/gettext.cpp

  Log Message:
  -----------
  i18n/legacy: Fix typo

No functional changes.


  Commit: 352a432171a48c36b3e73dfb906a132bc10cde0b
      https://github.com/wesnoth/wesnoth/commit/352a432171a48c36b3e73dfb906a132bc10cde0b
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M changelog
    M players_changelog
    M src/gettext.cpp
    M src/gettext_boost.cpp

  Log Message:
  -----------
  i18n: Skip and warn about textdomain names with a slash (bug #23839)

boost::locale::generator::add_messages_domain() interprets the slash
specially, interpreting everything after it as an encoding name.

It's not clear to me why providing a textdomain with an erroneous name
like this causes Boost.Locale to throw a boost::locale::conv exception
(invalid_charset_error, apparently) when handling t_strings bound to
completely different textdomain, but if we can avoid the issue
altogether then that's good enough.

Made the legacy implementation skip and warn about these names too even
if bindtextdomain(3) says nothing about slashes having a meaning.


  Commit: cedd277da18a3367553eddb893c14065ae6aa33d
      https://github.com/wesnoth/wesnoth/commit/cedd277da18a3367553eddb893c14065ae6aa33d
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-31 (Mon, 31 Aug 2015)

  Changed paths:
    M src/gettext_boost.cpp

  Log Message:
  -----------
  i18n: Fix typo in log message


Compare: https://github.com/wesnoth/wesnoth/compare/5ca8d2b6e5c7...cedd277da18a


More information about the Commits mailing list