-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* For TokenSigning backwards compatibility, some three-letter language codes are supported when used through hwcrypto.js * The extension does not set a default language - when language is not specified, the attribute is not included in the native application message Signed-off-by: Tanel Metsar <[email protected]>
- Loading branch information
Showing
8 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,6 @@ __pycache__ | |
|
||
# Vim | ||
*.swp | ||
|
||
# Visual Studio Code | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/background/actions/TokenSigning/threeLetterLanguageCodes.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import TypedMap from "../../../models/TypedMap"; | ||
|
||
/** | ||
* Map of ISO 639-2 three-letter language codes to ISO 639-1 two-letter language codes. | ||
* | ||
* This is only a partial list used for backwards compatibility. | ||
* | ||
* @see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | ||
*/ | ||
export default { | ||
"est": "et", | ||
"eng": "en", | ||
"rus": "ru", | ||
"lit": "lt", | ||
"lat": "lv", | ||
"tur": "tr", | ||
} as TypedMap<string>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters