Skip to content

Commit

Permalink
Bump version to 2.1.1
Browse files Browse the repository at this point in the history
* Bumps CLI version to 2.1.1.
* Updates the CHANGELOG.
  • Loading branch information
stelabouras committed Sep 21, 2023
1 parent 4d96210 commit 56d0a0c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,19 @@ source strings, respecting the original keys passed by the developer.
- Extra option for the `push` command has been introduced: `--excluded-files`
that excludes the provided filenames from processing, filtering out any included
strings.

## Transifex Command Line Tool 2.1.1

*September 21, 2023*

- Adds `--source-locale` option to `pull` command so that developers can specify
the source locale, if it's different than `en`. If not provided, the `pull`
logic default to the `en` source locale.
- Fixes an issue on `push` command where the unsupported SDK files were not
being excluded by the localization parsing logic.
- Addresses language tag discrepancy: In the `push` command, the
`--source-locale` option refers to the source locale of the Xcode project and
the format used by Xcode and iOS is different than the format used by Transifex
(e.g `en-US` instead of `en_US`). For that reason the source locale string is
now normalized before being passed to the exporter logic so that the latter can
always be able to export the source locale from the Xcode project.
2 changes: 1 addition & 1 deletion Sources/TXCli/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ that can be bundled with the iOS application.
The tool can be also used to force CDS cache invalidation so that the next pull
command will fetch fresh translations from CDS.
""",
version: "2.1.0",
version: "2.1.1",
subcommands: [Push.self, Pull.self, Invalidate.self])
}

Expand Down

0 comments on commit 56d0a0c

Please sign in to comment.