Skip to content

Commit

Permalink
feat: add Danish (da), Norwegian (bokmål) (nb), and Swedish (sv) to p…
Browse files Browse the repository at this point in the history
…ossible glossary language codes
  • Loading branch information
daniel-jones-dev committed May 8, 2024
1 parent 13df742 commit b7fd098
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
### Added
* Add supported glossary languages: Danish (`'da'`), Norwegian (bokmål)
(`'nb'`), and Swedish (`'sv'`).


## [1.12.0] - 2024-04-08
### Added
* Verify keepalive is used by clients by rejecting session reuse on new sockets,
Expand Down Expand Up @@ -176,6 +182,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Initial version.


[Unreleased]: https://github.com/DeepLcom/deepl-mock/compare/v1.12.0...HEAD
[1.12.0]: https://github.com/DeepLcom/deepl-mock/compare/v1.11.0...v1.12.0
[1.11.0]: https://github.com/DeepLcom/deepl-mock/compare/v1.10.0...v1.11.0
[1.10.0]: https://github.com/DeepLcom/deepl-mock/compare/v1.9.1...v1.10.0
Expand Down
2 changes: 1 addition & 1 deletion languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const languages = new Map([
}],
]);

const glossaryLanguages = ['de', 'en', 'es', 'fr', 'it', 'ja', 'nl', 'pl', 'pt', 'ru', 'zh'];
const glossaryLanguages = ['da', 'de', 'en', 'es', 'fr', 'it', 'ja', 'nb', 'nl', 'pl', 'pt', 'ru', 'sv', 'zh'];
const glossaryLanguagePairs = glossaryLanguages.flatMap(
(source) => glossaryLanguages.map(
(target) => ((source === target) ? null : {
Expand Down

0 comments on commit b7fd098

Please sign in to comment.