File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99### Added
10+ * New languages available: Indonesian (` 'id' ` ) and Turkish (` 'tr' ` ). Add language code constants and tests.
11+
12+ Note: older library versions also support the new languages, this update only adds new code constants.
1013### Changed
1114### Deprecated
1215### Removed
Original file line number Diff line number Diff line change @@ -330,6 +330,7 @@ def remove_regional_variant(language: Union[str]) -> str:
330330 FINNISH = "fi"
331331 FRENCH = "fr"
332332 HUNGARIAN = "hu"
333+ INDONESIAN = "id"
333334 ITALIAN = "it"
334335 JAPANESE = "ja"
335336 LITHUANIAN = "lt"
@@ -344,6 +345,7 @@ def remove_regional_variant(language: Union[str]) -> str:
344345 SLOVAK = "sk"
345346 SLOVENIAN = "sl"
346347 SWEDISH = "sv"
348+ TURKISH = "tr"
347349 CHINESE = "zh"
348350
349351
Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ def output_document_path(tmpdir):
358358 "FI" : "protonisäde" ,
359359 "FR" : "faisceau de protons" ,
360360 "HU" : "protonnyaláb" ,
361+ "ID" : "berkas proton" ,
361362 "IT" : "fascio di protoni" ,
362363 "JA" : "陽子ビーム" ,
363364 "LT" : "protonų spindulys" ,
@@ -372,5 +373,6 @@ def output_document_path(tmpdir):
372373 "SK" : "protónový lúč" ,
373374 "SL" : "protonski žarek" ,
374375 "SV" : "protonstråle" ,
376+ "TR" : "proton ışını" ,
375377 "ZH" : "质子束" ,
376378}
You can’t perform that action at this time.
0 commit comments