-
-
Notifications
You must be signed in to change notification settings - Fork 522
refactor: config file TBD #1348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Size Change: +488 B (+0.11%) Total Size: 449 kB
ℹ️ View Unchanged
|
| "tutorial": { | ||
| "begin": { | ||
| "en": "Begin Tutorial", | ||
| "kr": "튜토리얼 시작", | ||
| "ru": "Начать обучение", | ||
| "zh": "开始教程" | ||
| }, | ||
| "help": { | ||
| "en": "Help", | ||
| "ja": "助ける", | ||
| "kr": "정답 확인", | ||
| "ru": "Помощь", | ||
| "zh": "帮助" | ||
| }, | ||
| "solve": { | ||
| "en": "Solve", | ||
| "ja": "説き明かす", | ||
| "ru": "Решить", | ||
| "zh": "解决" | ||
| } | ||
| "beginTutorial": { | ||
| "en": "Begin Tutorial", | ||
| "kr": "튜토리얼 시작", | ||
| "ru": "Начать обучение", | ||
| "zh": "开始教程" | ||
| }, | ||
| "help": { | ||
| "en": "Help", | ||
| "ja": "助ける", | ||
| "kr": "정답 확인", | ||
| "ru": "Помощь", | ||
| "zh": "帮助" | ||
| }, | ||
| "solve": { | ||
| "en": "Solve", | ||
| "ja": "説き明かす", | ||
| "ru": "Решить", | ||
| "zh": "解决" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flattening this out makes it a bit easier & more consistent to access (useTranslation) for little loss; the nesting only gives an indication of where the string is used, nothing essential.
| "zh": "简体中文" | ||
| }, | ||
| "repo": "preact", | ||
| "repo": "preactjs/preact", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not against just inlining the string altogether, but if we do have it hoisted to our app-wide config, feels like org + repo makes more sense.
5aaa6ef to
325eeb3
Compare
325eeb3 to
5c1567a
Compare
No description provided.