Translation file

This commit is contained in:
Martin 2022-12-13 16:41:51 +01:00
parent 40136c746a
commit c20ca61290
4 changed files with 32 additions and 7 deletions

14
assets/Data/eng.json Normal file
View File

@ -0,0 +1,14 @@
{
"WEAPON_LENGTH_TITLE": "",
"WEAPON_LENGTH_DESC": "",
"WEAPON_DAMAGE_TITLE": "",
"WEAPON_DAMAGE_DESC": "",
"HORIZONTAL_PROJECTILE_TITLE": "",
"HORIZONTAL_PROJECTILE_DESC": "",
"DIAGONAL_PROJECTILE_TITLE": "",
"DIAGONAL_PROJECTILE_DESC": "",
"HALO_PROJECTILE_TITLE": "",
"HALO_PROJECTILE_DESC": "",
"REGENERATION_TITLE": "",
"REGENERATION_DESC": ""
}

11
assets/Data/eng.json.meta Normal file
View File

@ -0,0 +1,11 @@
{
"ver": "1.0.0",
"importer": "json",
"imported": true,
"uuid": "7d43843c-0765-427c-9161-2fd9030369c8",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -12,7 +12,7 @@ export class LevelUpSkill extends Component {
public init(skillType: UpgradeType): void {
this.skillType = skillType;
this.skillTitle.string = `Skill ${skillType}`;
this.skillTitle.string = `${skillType}`;
this.node.on(NodeEventType.MOUSE_DOWN, this.chooseSkill, this);
}

View File

@ -1,10 +1,10 @@
export enum UpgradeType {
WeaponLength,
WeaponDamage,
HorizontalProjectile,
DiagonalProjectile,
HaloProjectlie,
Regeneration
WeaponLength = "WEAPON_LENGTH",
WeaponDamage = "WEAPON_DAMAGE",
HorizontalProjectile = "HORIZONTAL_PROJECTILE",
DiagonalProjectile = "DIAGONAL_PROJECTILE",
HaloProjectlie = "HALO_PROJECTILE",
Regeneration = "REGENERATION"
}
export enum MetaUpgradeType {