-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fixed translation of preparation levels #1964 * Added spec for CheckboxList & SpecializationBlock components * Move labels to constants * Refactoring
- Loading branch information
1 parent
dd19f20
commit 9122d43
Showing
5 changed files
with
341 additions
and
13 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
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,11 @@ | ||
import { ProficiencyLevelEnum } from '~/types' | ||
|
||
export const proficiencyLevelLabels: ReadonlyMap<ProficiencyLevelEnum, string> = | ||
new Map([ | ||
[ProficiencyLevelEnum.Beginner, 'common.levels.beginner'], | ||
[ProficiencyLevelEnum.Intermediate, 'common.levels.intermediate'], | ||
[ProficiencyLevelEnum.Advanced, 'common.levels.advanced'], | ||
[ProficiencyLevelEnum.TestPreparation, 'common.levels.testPreparation'], | ||
[ProficiencyLevelEnum.Professional, 'common.levels.professional'], | ||
[ProficiencyLevelEnum.Specialized, 'common.levels.specialized'] | ||
]) |
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
Oops, something went wrong.