[wesnoth-commits] [wesnoth/wesnoth] 48e6b8: i18n: Convert POSIX/Win32 locale table file into a...

Iris Morelle noreply at github.com
Sun Jan 19 15:40:06 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 48e6b821b024f8d36dac4d89d45ea002fbcd198a
      https://github.com/wesnoth/wesnoth/commit/48e6b821b024f8d36dac4d89d45ea002fbcd198a
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M projectfiles/CodeBlocks-SCons/wesnoth.cbp
    M projectfiles/CodeBlocks/tests.cbp
    M projectfiles/CodeBlocks/wesnoth.cbp
    M projectfiles/VC14/wesnoth.vcxproj
    M projectfiles/VC14/wesnoth.vcxproj.filters
    M projectfiles/VC16/wesnoth.vcxproj
    M projectfiles/VC16/wesnoth.vcxproj.filters
    M src/language.cpp
    R src/language_win32.ii

  Log Message:
  -----------
  i18n: Convert POSIX/Win32 locale table file into a map

This removes the need for the separate file and the giant if chain by
using a std::map instead.


  Commit: df3b0222a881c9b49dd77b9d170571efdc144ab2
      https://github.com/wesnoth/wesnoth/commit/df3b0222a881c9b49dd77b9d170571efdc144ab2
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-01-19 (Sun, 19 Jan 2020)

  Changed paths:
    M src/language.cpp

  Log Message:
  -----------
  i18n: Less naïve approach at identifying language codes

This solves an issue I pointed out in PR #4705 where language codes
longer than 2 characters would get misidentified during the conversion
to Windows locale names.


Compare: https://github.com/wesnoth/wesnoth/compare/3028a83cb660...df3b0222a881



More information about the Commits mailing list