Skip to content

Releases: L-Sherry/Localize-me

0.6.1

17 Mar 16:29
f615506
Compare
Choose a tag to compare

This minor version:

  • Fixes a minor issue when the game is started for the first time
  • Fix a crash when translating mods with CCLoader v3
  • Add support for CCModManager, which is yet another mod installer

0.6.0

28 Jun 20:52
Compare
Choose a tag to compare

This version adds support for CCLoader v3 while keeping compatibility with the other modloaders.

Compared to CCLoader v2, CCloader v3 has a localizable interface and the ability to translate mod names and descriptions.

0.5.3

16 May 20:45
Compare
Choose a tag to compare

This new release adds one feature and one feature only:

  • DLCs can now be translated.

0.5.2

13 Mar 23:03
Compare
Choose a tag to compare

A bugfix release fixing these bugs:

  • The first invocation of reserve_char no longer gives a location already occupied by a character of the game.
  • Will no longer crash if there is a jQuery.ajax() user that does not use a context object.

0.5.1

23 Feb 18:23
Compare
Choose a tag to compare

A new release with loads of improvements.

  • Everything has been refactored for greater code size maintainability.
  • Add a proper documentation separate from the source code.
  • Several new font patching features:
    • Allow to replace the font entirely.
    • The font patcher functions will now always receive a canvas.
    • Add a algorithm that takes the base font image and automatically create colored variants from it.
    • Add patch_base_font to disambiguate between patching the base font and patching the colored variants. The default for colored variants is now to recolor them automatically.
    • Add reserve_char function that finds free space for a new character or resize the font image if
      there is no space left.
    • Add import_from_font which can import new characters from externally-defined fonts.
  • Add support for displaying flags in the language menu.
  • Stop caching pack files to save RAM.

0.4.3

30 Nov 20:36
Compare
Choose a tag to compare

This is merely a re-release of 0.4.2 that improve compliance of metadata with an upcoming CLS standard.

Nothing else changed.

0.4.2

13 Aug 19:25
Compare
Choose a tag to compare

This is a bugfix release, with only one change:

  • Workaround a bug of the game's bundled old CryptoJS version that would crash the game when using stale encrypted translations.

0.4.1

12 Jul 21:15
Compare
Choose a tag to compare

Changes:

  • Remove dependencies on some modloader features, which mean this mod is now compatible with both CCLoader and CCInjector (and also by editing node-webkit.html by hand if you don't like modloaders)
  • Make uninstallation safer by never saving any custom locale in the global settings. only localStorage is used to store the current custom locale, and the game handles missing locales just fine there.
  • Add pre_patch_font hook that can wait, since the patch_font hook cannot wait.
  • Add number formatting support, to override what the game does. This is not complete yet, but the
    format_number hook and number_locale setting are available now.

0.3.1

21 Jun 21:02
Compare
Choose a tag to compare

Changes:

  • When trying to find a pack file for a lang file (i.e. a file in assets/lang), use the path to the original file path first, then fall back to the modified path for backward compatibility.

This mean that if a mod tries to translate e.g. lang/sc/gui.de_DE.json into lang/sc/gui.de_AT.json, then previously, we would look for a packfile matching lang/sc/gui.de_AT.json, expecting it to contain stuff likelang/sc/gui.de_AT.json/labels/....

Now, we first look at lang/sc/gui.de_DE.json for lang/sc/gui.de_DE.json/labels/.... If lang/sc/gui.de_DE.json is not found in the map file, then use the previous scheme instead.

  • Add url_prefix entry to allow translation mods to be relocatable. Every URL found in a map_file or
    even the URL of the map file itself is prefixed with url_prefix. A script can get its own URL using document.currentScript.src and could derive a url_prefix value from that.

  • the 'en_LEA' test translation can now be enabled by putting 'en_LEA' somewhere in the query string.

0.2.0

11 Jun 20:20
Compare
Choose a tag to compare

Initial release with:

  • support for selecting new languages in the menu.
  • support for patching langLabels in all files.
  • support for patching Lang files.
  • support for customizing missing translations.
  • support for patching fonts.