Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Releases: skolmer/i18n-tag-schema

v2.0.4

12 Nov 15:09
Compare
Choose a tag to compare

<a name"2.0.4">

2.0.4 (2016-11-12)

Bug Fixes

  • package: added missing dependency (f07ed966) 🙄

v2.0.3

12 Nov 14:49
Compare
Choose a tag to compare

<a name"2.0.3">

2.0.3 (2016-11-12)

Bug Fixes

  • typings:
    • fixed return type of exportTranslationKeys (f8be593b)
    • fixed typings of i18n-tag-schema/dist/lib/export (ed14ad6e)

v2.0.2

12 Nov 14:18
Compare
Choose a tag to compare

<a name"2.0.2">

2.0.2 (2016-11-12)

Bug Fixes

  • typings: fixed exportTranslationKeys return type (60643807)

v2.0.1

12 Nov 14:07
Compare
Choose a tag to compare

<a name"2.0.1">

2.0.1 (2016-11-12)

Bug Fixes

  • typings: fixed some type definitions (4763ab94)

v2.0.0

12 Nov 01:29
Compare
Choose a tag to compare

<a name"2.0.0">

2.0.0 (2016-11-12)

Features

  • cli:
    • added preprocessor option. (e9477289, closes #17)
    • updated cli and added progress bar (ee115b64)
  • i18nTagSchema:
    • added typescript support (7a976187)
    • added a progress callback to options (12f9320c)
  • options: added babylonConfig option to override default babylon parser options (44da5e01)
  • preprocessors: added preprocessor option. (53052d49, closes #16)

Breaking Changes

  • removed callback option. use ES2015 promise or ES2017 async/await instead. (7df7df82)
  • The i18nTagSchema default export has been remove and renamed to generateTranslationSchema (38bce233)
  • The validateSchema function has been renamed to validateTranslations (8ee5fefc)
  • Added new options parameter to i18nTagSchema, exportTranslationKeys and validateSchema (54a36ec1)

v1.5.3

30 Oct 16:50
Compare
Choose a tag to compare

<a name"1.5.3">

1.5.3 (2016-10-30)

Bug Fixes

  • i18nTagSchema: properly resolve __translationGroup global as i18n tag param (39cf615c)

v1.5.2

08 Sep 10:46
Compare
Choose a tag to compare

Fixes CLI on Unix #7

v1.5.1

24 Aug 15:01
Compare
Choose a tag to compare

Fixed 0 keys ( 0 added / 0 removed ) status issue

v1.5.0

24 Aug 11:48
Compare
Choose a tag to compare

Major Bugfixes

  • Fixes a bug that leads to duplicated required attributes in the translation schema #5
  • Fixed a bug where i18n tags are grouped even if they don't use the local this.i18n instance
  • Removed groups param (⚠This is a breaking change⚠) and added resolving of __translationGroup constant. If you update to v1.5.0 take care that you also remove the groups param from your code.

v1.4.0

i18nTagSchema('./src', '\\.jsx?$', './translation.schema.json', false, (output, type) => {
    // log(output)
})

v1.5.0

i18nTagSchema('./src', '\\.jsx?$', './translation.schema.json', (output, type) => {
    // log(output)
})

skolmer/i18n-tag-examples@63f58a2

v1.4.0

10 Jul 01:38
Compare
Choose a tag to compare
  • exportTranslationKeys from directory or source file (templatesFromFile in v1.2) docs
  • validateSchema can be used to validate a single translation file or all files in a directory docs
  • Updated CLI to support directory and file based export and validation