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

@translation/angular

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@translation/angular - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

6

CHANGELOG.md
# Changelog
## [v1.6.0](https://github.com/translation/angular/releases/tag/v1.6.0) (2023-02-20)
#### Fixes (bugs & defects):
* Don't write empty `<target>` in translated XLF, it prevented the fallback to source language to work as intended.
## [v1.5.0](https://github.com/translation/angular/releases/tag/v1.5.0) (2023-01-13)

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@translation/angular",
"version": "1.5.0",
"version": "1.6.0",
"description": "Translation.io client for Angular applications",

@@ -5,0 +5,0 @@ "repository": {

@@ -499,3 +499,3 @@ # [Translation.io](https://translation.io/angular) client for Angular

Translation.io is directly integrated in the great
[Lingui](https://lingui.js.org/) internationalization project.
[Lingui](https://lingui.dev/) internationalization project.

@@ -502,0 +502,0 @@ * GitHub: https://github.com/translation/lingui

@@ -352,3 +352,3 @@ const Interpolation = require('../utils/interpolation')

if (targetXmlUnit) {
if (targetXmlUnit && translatedTargetSegment.target != '') { // if not translated, then no <target>, then fallback to source language
targetXmlUnit.target = this.recomposeTarget(targetXmlUnit, translatedTargetSegment)

@@ -440,2 +440,1 @@ }

module.exports = Base
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