Skip to content

Releases: faberNovel/ad_localize

4.0.4

09 Nov 11:13
Compare
Choose a tag to compare

Fixed

  • Fix android special character escaping #56
  • Fix platform filter on export #55

Changed

  • Use default terminal color for debug log

4.0.3

27 Oct 11:33
Compare
Choose a tag to compare

Fixed

  • Fix CSV detection and remove dependency to MimeType gem
  • Fix drive key detection in options

4.0.2

26 Oct 12:20
Compare
Choose a tag to compare

Fixed

  • Use percent HTML char for escaping '%' on android. #49 by flolom

4.0.1

26 Oct 12:21
Compare
Choose a tag to compare

Fixed

  • delete downloaded files even when any of them is a CSV file

4.0.0

26 Oct 12:22
Compare
Choose a tag to compare

Breaking change

  • Precedence to csv files. Only CSV files will be exported if both csv file and google spreadsheet are provided
  • In case of multiple CSVs or sheet ids, you should be aware that all sources will be merged. By default the merge policy to keep the first wording translation for each key
  • New architecture. Separate export process responsibilities in dedicated classes. Fixes #48, #20

Changed

  • it is now possible to provide an output path path that does not exist
  • if a service account configuration is provided, there won't be any files downloaded
  • it is now possible to provide a sheet id list
  • ActiveSupport::TestCase is now the base class of test classes
  • Only global constants are in the constant class
  • Replaced the Runner class file by a cli class
  • tests for ad_localize class are restricted to the minimum
  • No more file generated when there are no data to export
  • Less verbose logs. Now, they only describe the different steps of the export process
  • do not add InfoPlist translations to android strings.xml

Added

  • -e, -export_all_sheets option export all sheets from a spreadsheet by @sjcqs
  • -m, --merge-option to select the merge policy (keep or replace) by @sjcqs
  • it is now possible to select which locales you want to export
  • key class is tested
  • option handler is tested
  • execute_export_request is tested (only csv)
  • export request is tested
  • dedicated folder for fixture files
  • add ability to use AdLocalize in a Ruby program
  • add documentation for JSON and YAML support. Fixes #23

Fixed

  • comments will now be added to iOS and Android plural files
  • do not remove existing files in export output folder. Fixes #40

Removed

  • no more option -a option to indicate that a service account configuration will be provided. If set, the environment variable GCLOUD_CLIENT_SECRET content will be used
  • no more substitution of empty wording with by "Missing Translation" when using the option -d
  • no more Makefile, the Rakefile is sufficient. Use bundle exec rake -T to display the available commands
  • no more check for ordered interpolation variables in translations

3.6.0

26 Oct 12:52
13312c8
Compare
Choose a tag to compare

Added

  • add documentation for service account usage by @sjcqs
  • add compatibility with activesupport 6 by @Hugo-Hache

3.5.0

26 Oct 12:52
Compare
Choose a tag to compare

Added

  • add support for private spreadsheet using google service acccount by @sjcqs. Fixes #31
  • add makefile for easier testing by @felginep

Changed

  • improve error message to have useful information in case of google spreadsheet use by @felginep. Fixes #27
  • platform folder is no longer generated when there is only one platform selected. The files are directly generated in the output path. By @felginep. Fixes #29
  • raise error when google spreadsheet key is invalid by @felginep

Fixed

  • auto escape strings in Localizable.strings by @felginep. Fixes #26
  • trim keys to prevent user error by @felginep. Fixes #16

3.4.0

26 Oct 12:53
Compare
Choose a tag to compare

Added

  • Rails folks, @epaillous has improved the YAML support. You can now have multi-level wording.

3.3.0

26 Oct 12:53
Compare
Choose a tag to compare

Added

  • improve React support using keys with dots to generate nested JSON files by @epaillous

3.2.0

26 Oct 12:54
Compare
Choose a tag to compare

Added

Changed

  • Fix issue with Info.plist format by @felginep
  • Do not export plurals for android when there are no values by @felginep