CHANGELOG

1.1.0

Fix for addComments - https://github.com/ttag-org/babel-plugin-ttag/issues/105

1.1.0-0

babel-plugin-ttag

ttag now can discover translations from require and can be used in purely nodejs projects with commonjs modules. https://github.com/ttag-org/ttag/issues/44

1.0.3

ttag

Fixed behavior for untranslated strings - https://github.com/ttag-org/ttag/issues/111

1.0.1

Renaming project to ttag and babel-ttag-plugin

0.8.0

c-3po lib

  • Deleted setDefaultHeaders method. You should call new setDefaultLang to change the default language.
  • removed c-3po/loader and gettext-parser dependency, beacause it is little bit out of the scope of the library. You should import and call parser separately.
import gt from 'gettext-parser';
import fs from 'fs';

gt.po.parse(fs.readFileSync('file.po'));

c-3po-plugin

  • Deleted defaultHeaders setting from the config. You should use defaultLang instead.
  • Added new setting numberedExpressions to allow any expressions inside translated strings.

0.7.3

c-3po-plugin

Fixed issue with contexts extraction

0.7.2

c-3po lib

Added typescript types definitions PR-89 PR-88

0.7.0


  1. Added context's feature to c-3po lib and babel-plugin-c-3po see doc
  2. Validation for libarary (addLocale, ngettext).
  3. Skipped deprecated replaceVariableNames argument for addLocale func.

0.6.1

c-3po lib:

Fixed multiline for jt PR

0.6.0

c-3po lib:

Implemented useLocales method PR

c-3po-plugin

Validation fix for the computed properties PR

0.5.8

Fixes for fuzzy translations issue - 68

c-3po-plugin

Validation fix for the computed properties PR

0.5.7

c-3po-plugin

Validation fix for the computed properties PR

0.5.6

c-3po-plugin

Add validation for variable expressions mismatch. PR

0.5.5

c-3po lib:

Fix for multiline translations. PR

0.5.4

c-3po-plugin

Fixed extraction for member expressions with computed properties. PR

c-3po lib:

Removed module attribute from package.json.

0.5.3

c-3po-plugin

Fix for member expressions extraction with this. (checkout PR for the details)

0.5.2

c-3po-plugin

Fix for ngettext validation in jsx (multiple presets issue).

0.5.1

c-3po lib:

Renamed setHeaders to setDefaultHeaders for consistency with babel plugin setting.

c-3po-plugin

Applied sort for file references. Can be handy for avoiding merge conflicts.

0.5.0


  1. Default headers setup - doc
  2. Multiline support for c-3po lib + setDedent setting - doc
  3. Tutorial about development and production setup with c-3po and webpack
  4. Removed ntfrom the core lib.
  5. pkg.module support (details here)

Migration guide - from 0.4.x to 0.5.x

0.4.x

Extracted format changed from ${ 0 } to ${ name }.

results matching ""

    No results matching ""