Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-translate

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-translate - npm Package Versions

123

2.6.0

Diff

Changelog

Source

2.6.0 (2015-02-08)

Bug Fixes

  • directive: ensure internal watcher will be removed (e69f4a1)
  • directive: fix minor memory leak (5e4533a)
  • directive: fix missing update using dynamic translationIds (faebe19), closes #854
  • directive: newlines before/after translation ids should be ignored (8dcf3e2), closes #909
  • directive, service: return value of translate-default also in case fallback languages are used - rel (fcd6b3e)
  • filter: apply notFoundIndicators also for instant translations correctly (5a9f436), closes #866
  • service: fallback languages follow shortcuts (fixes #758) (cce897a), closes #758
  • service: fix an issue with default interpolator and expressions (75b7381)
  • service: use $window/$windowProvider instead of window (bfa7b7b)

Features

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

<a name="2.5.2"></a>

knalli
published 2.5.2 •

Changelog

Source

2.5.2 (2014-12-10)

Bug Fixes

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

<a name="2.5.0"></a>

knalli
published 2.5.1 •

knalli
published 2.5.0 •

Changelog

Source

2.5.0 (2014-12-07)

Bug Fixes

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

Features

  • $translateUrlLoader: allow to use custom query parameter name for url loader (e360bf8)
  • module: use same fallback for module.run when no storage key is set (247253d), closes #739
  • storage: rename set() into put() (ef6a613)

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

<a name="2.4.2"></a>

knalli
published 2.4.2 •

Changelog

Source

2.4.2 (2014-10-21)

Bug Fixes

  • partialloader: fix possible circular dependency (25f252c), closes #766

Features

  • directive: translate attributes (optimize process flow) (508fd32)
  • directive: translate attributes using directive (1d06d2a), closes #568
  • directive: translate-cloak supports optional value for cloaking (f7ccb7f)

<a name="2.4.1"></a>

knalli
published 2.4.1 •

Changelog

Source

2.4.1 (2014-10-03)

Bug Fixes

  • service: add missing final event on new (async) translations (22cc8b4)
  • service: constructor useUrlLoader() missed optional options (22f5c4b)
  • service, loaders: the loader options ($http) have been merged wrong (0c35a95), closes #754 #547

<a name="2.4.0"></a>

knalli
published 2.4.0 •

Changelog

Source

2.4.0 (2014-09-22)

Bug Fixes

  • filter: interpolated params w/ scope aren't possible starting AJS1.3 (9465318)
  • filter: mark filter being stateful required since Angular 1.3 rc2 (bffbf04)
  • service: $nextLang should be not unset parallel loadings (d1745e4), closes #647
  • service: avoid possible doubled requested on refresh() (98d429d)
  • service: avoid possible npe in internal getTranslationTable() (9aaa9a0)
  • service: correctly iterate in fallback languages (fixes #690) (ac2f35c), closes #690

Features

  • loader: apply support for loaderOptions.$http (8613bef)
  • loaders: introduce loader cache (b685601), closes #529
  • service: enrich events with the currently handled language key (73b289d)
  • service: interpolate translationId in case of rejected translation (3efaac5), closes #730
  • service: introduce versionInfo function (e37d89c)
  • service: prefer detecting language by navigator.languages #722 (2204f4f)

BREAKING CHANGES

  • Since filters are stateless and have no access to its scope anymore (see https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f), a context must be given explicitly. This removes the feature of an interpolation based on the scope (context), even without the $rootScope. However, the feature will still work in AJS <=1.2, so we won't remove it completely yet. Handle the feature as slightly deprecated.

<a name="2.3.0"></a>

knalli
published 2.2.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc