-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i18n: Complete zh-cn and add en-us & perf: Add RobotoMono font
- Loading branch information
1 parent
3af2844
commit 95bf563
Showing
13 changed files
with
150 additions
and
33 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"app.name": "Motive", | ||
|
||
"modal.about.title": "About", | ||
"modal.about.changelog": "Changelog", | ||
"modal.about.version": "Version", | ||
"modal.about.repo": "Github Repo", | ||
"modal.about.license": "License", | ||
"modal.about.ctx.donate": "Donate", | ||
"modal.about.ctx.donate.links": "Links", | ||
"modal.about.ctx.donate.links.repo": "Github Repo", | ||
"modal.about.ctx.donate.links.homepage": "Norcleeh's Github Homepage", | ||
"modal.about.ctx.donate.links.website": "Norcleeh's Website", | ||
|
||
"modal.import.title": "Import File", | ||
"modal.import.label": "Select / Drag & Drop mot file", | ||
"modal.import.load": "Load", | ||
"modal.import.clear": "Clear", | ||
|
||
"modal.manager.title": "Manager", | ||
|
||
"modal.settings.title": "Settings", | ||
"modal.settings.save": "Save", | ||
"modal.settings.cancel": "Cancel", | ||
|
||
"modal.object.save": "Save", | ||
"modal.object.cancel": "Cancel", | ||
"modal.object.delete": "Delete", | ||
"modal.object.ball.name": "Name", | ||
"modal.object.ball.mass": "Mass", | ||
"modal.object.block.name": "Name", | ||
"modal.object.block.mass": "Mass", | ||
|
||
"panel.tooltip.settings": "Settings", | ||
"panel.tooltip.manager": "Manager", | ||
"panel.tooltip.mouse-mode": "Mouse Mode", | ||
"panel.tooltip.wall": "Border Wall", | ||
"panel.tooltip.refresh": "Refresh", | ||
"panel.tooltip.pause": "Pause", | ||
"panel.tooltip.unpause": "Unpause", | ||
"panel.tooltip.export": "Export", | ||
"panel.tooltip.import": "Import", | ||
"panel.tooltip.about": "About", | ||
"panel.ctx.refresh": "Refresh", | ||
"panel.ctx.settings": "Settings", | ||
"panel.ctx.manager": "Manager", | ||
"panel.ctx.about": "About Motive", | ||
"panel.button.ctx.select": "Select", | ||
|
||
"canvas.ctx.refresh": "Refresh", | ||
"canvas.ctx.vector": "Add Vector", | ||
"canvas.ctx.vector.velocity": "Velocity", | ||
"canvas.ctx.vector.force": "Force", | ||
|
||
"obj.ball": "Ball", | ||
"obj.block": "Block", | ||
"obj.board": "Board", | ||
"obj.slope": "Slope", | ||
"obj.rope": "Rope", | ||
"obj.pole": "Pole", | ||
"obj.spring": "Spring", | ||
"obj.arc": "Arc", | ||
"obj.fixed": "Fixed Object" | ||
} |
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,7 +1,9 @@ | ||
import zh_cn from "./zh-cn.json"; | ||
import en_us from "./en-us.json"; | ||
|
||
export function getLocale(lang: string): { [key: string]: string } { | ||
switch(lang) { | ||
case "zh-cn": return zh_cn; | ||
case "en-us": return en_us; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
span { | ||
color: var(--mt-foreground-secondary); | ||
font-size: 10pt; | ||
font-family: FiraCode; | ||
} | ||
} | ||
} | ||
|
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