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

Releases: angular-translate/angular-translate

2.6.0

08 Feb 19:41
Compare
Choose a tag to compare

Bug Fixes

  • directive:
    • newlines before/after translation ids should be ignored (8dcf3e23, closes #909)
    • fix missing update using dynamic translationIds (faebe195, closes #854)
    • ensure internal watcher will be removed (e69f4a14)
    • fix minor memory leak (5e4533a4)
  • filter: apply notFoundIndicators also for instant translations correctly (5a9f436f, closes #866)
  • service:
    • fix an issue with default interpolator and expressions (75b7381f)
    • use $window/$windowProvider instead of window fix(docs): update ngdocs on storag (bfa7b7b2)
    • fallback languages follow shortcuts (fixes #758) (cce897a3)

Features

  • $translatePartialLoader: adds optional priority param to the addPart function (570617cf)
  • directive: add $translateProvider.directityPriority (b0b77162)
  • loader: support for multiple static translation files (c462ee6a)
  • service: extend loader api: add isPartLoaded and getRegisteredParts to $translatePartialL (54f8ab3e)

2.5.2

10 Dec 22:09
Compare
Choose a tag to compare

Bug Fixes

  • directive: missing watch for expression within elements text nodes (31c03560, closes #701)

2.5.0

07 Dec 18:33
Compare
Choose a tag to compare

Bug Fixes

  • directive: ensure directive's text will be parsed at least once (49cfef0f)
  • loader: under circum understances translation table got lost (df373811)
  • messageformat-interpolation: fix support for messageformat 0.2.* (ac8d5ed1)
  • service:
    • fix npe when resolving fallback language for instant (7c09d89d)
    • apply fix for empty strings in navigator.language (5b4edd99)

Features

  • $translateUrlLoader: allow to use custom query parameter name for url loader (e360bf8c)
  • directive:
    • translate attributes (optimize process flow) (508fd32e)
    • translate attributes using directive (1d06d2a1, closes #568) (demo)
  • module: use same fallback for module.run when no storage key is set and not being able t (247253dd, closes #739)
  • storage: rename set() into put() (ef6a613e)

Breaking Changes

  • This marks storage.set() as deprecated. In the
    next major release v3, the old method set() will be dropped in favor
    of put().

Relates #772
(ef6a613e)