-
-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensuring the localization detonates without zh equivalents
- Loading branch information
Showing
9 changed files
with
96 additions
and
97 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import {backend} from './en' | ||
import en from './en' | ||
import {transformNestedObject} from './util' | ||
|
||
/** | ||
* Take this nested object, keep the shape, but make the final keys the dot delimited string | ||
* path of the nested key | ||
*/ | ||
const languageMap = transformNestedObject((key) => key, backend) | ||
const languageMap = transformNestedObject((key) => key, en) | ||
|
||
export default languageMap |
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.