-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move strings to separate file #923
- Loading branch information
1 parent
6243c0b
commit 5144776
Showing
2 changed files
with
31 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// TODO: Support translations | ||
// https://github.com/FreezingMoon/AncientBeast/issues/923 | ||
|
||
export const strings = { | ||
abilities: { | ||
noTarget: 'No targets available.', | ||
noPlasma: 'Not enough plasma.', | ||
noPsy: 'Psyhelm overload: too many units!', | ||
alreadyUsed: 'This ability has already been used.', | ||
tooMuch: 'Too much %stat%.', | ||
notEnough: 'Not enough %stat%.', | ||
notMoveable: 'This creature cannot be moved.', | ||
passiveCycle: 'Switches between any usable abilities.', | ||
passiveUnavailable: 'No usable abilities to switch to.', | ||
}, | ||
ui: { | ||
dash: { | ||
materializeOverload: 'Overload! Maximum number of units controlled', | ||
selectUnit: 'Please select an available unit from the left grid', | ||
lowPlasma: 'Low Plasma! Cannot materialize the selected unit', | ||
// plasmaCost : String : plasma cost of the unit to materialize | ||
materializeUnit: (plasmaCost: string) => { | ||
return 'Materialize unit at target location for ' + plasmaCost + ' plasma'; | ||
}, | ||
materializeUsed: 'Materialization has already been used this round', | ||
heavyDev: 'This unit is currently under heavy development', | ||
}, | ||
}, | ||
} as const; |
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