Finish refactoring 99% of the localization strings into objects
This commit is contained in:
parent
39dcbccf2f
commit
5553123f75
5 changed files with 59 additions and 47 deletions
|
|
@ -310,23 +310,23 @@
|
|||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
.dotdungeon .actor--circle-sync {
|
||||
.dotdungeon .actor--basic-sync {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync label {
|
||||
.dotdungeon .actor--basic-sync label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync .sync-input {
|
||||
.dotdungeon .actor--basic-sync .sync-input {
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync .name-input {
|
||||
.dotdungeon .actor--basic-sync .name-input {
|
||||
width: 60%;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
.dotdungeon .actor--circle-sync {
|
||||
.dotdungeon .actor--basic-sync {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync label {
|
||||
.dotdungeon .actor--basic-sync label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync .sync-input {
|
||||
.dotdungeon .actor--basic-sync .sync-input {
|
||||
width: 30%;
|
||||
text-align: center;
|
||||
}
|
||||
.dotdungeon .actor--circle-sync .name-input {
|
||||
.dotdungeon .actor--basic-sync .name-input {
|
||||
width: 60%;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -119,45 +119,57 @@
|
|||
"label": "Account Name",
|
||||
"placeholder": "Account Name..."
|
||||
}
|
||||
}
|
||||
},
|
||||
"backpack": {
|
||||
"materials.label": "Materials",
|
||||
"bytes.label": "Bytes"
|
||||
},
|
||||
"weapon": {
|
||||
"mainHand": "Main-Hand",
|
||||
"offHand": "Off-Hand",
|
||||
"name": "Name",
|
||||
"damage-type": {
|
||||
"label": "Damage Type",
|
||||
"slashing": "Slashing",
|
||||
"piercing": "Piercing",
|
||||
"smashing": "Smashing",
|
||||
"gun": "Gun",
|
||||
"neon": "Neon",
|
||||
"shadow": "Shadow",
|
||||
"solar": "Solar"
|
||||
},
|
||||
"is-ranged": "Is Ranged",
|
||||
"is-scoped": "Has Scope",
|
||||
"ammo-type": {
|
||||
"label": "Ammo",
|
||||
"ammoless": "No Ammo",
|
||||
"quiver": "Quivers",
|
||||
"mag": "Mags",
|
||||
"cell": "Cells"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sync": {
|
||||
"common": {
|
||||
"group": "Group Name",
|
||||
"sync": "Sync"
|
||||
}
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"aspect": {
|
||||
"name": "Name",
|
||||
"duration": "Duration (seconds)",
|
||||
"description": "Description",
|
||||
"send-to-chat": "Send Aspect to Chat"
|
||||
}
|
||||
},
|
||||
"notification": {
|
||||
"error": {
|
||||
"invalid-integer": "You must enter a valid whole number"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"dotdungeon.actor.pc.backpack.materials.label": "Materials",
|
||||
"dotdungeon.actor.pc.backpack.bytes.label": "Bytes",
|
||||
|
||||
"dotdungeon.actor.pc.weapon.mainHand": "Main-Hand",
|
||||
"dotdungeon.actor.pc.weapon.offHand": "Off-Hand",
|
||||
"dotdungeon.actor.pc.weapon.name": "Name",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.label": "Damage Type",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.slashing": "Slashing",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.piercing": "Piercing",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.smashing": "Smashing",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.gun": "Gun",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.neon": "Neon",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.shadow": "Shadow",
|
||||
"dotdungeon.actor.pc.weapon.damage-type.solar": "Solar",
|
||||
"dotdungeon.actor.pc.weapon.is-ranged": "Is Ranged",
|
||||
"dotdungeon.actor.pc.weapon.is-scoped": "Has Scope",
|
||||
"dotdungeon.actor.pc.weapon.ammo-type.label": "Ammo",
|
||||
"dotdungeon.actor.pc.weapon.ammo-type.ammoless": "No Ammo",
|
||||
"dotdungeon.actor.pc.weapon.ammo-type.quiver": "Quivers",
|
||||
"dotdungeon.actor.pc.weapon.ammo-type.mag": "Mags",
|
||||
"dotdungeon.actor.pc.weapon.ammo-type.cell": "Cells",
|
||||
|
||||
|
||||
"dotdungeon.actor.sync.circle.group": "Group Name",
|
||||
"dotdungeon.actor.sync.circle.sync": "Sync",
|
||||
|
||||
|
||||
"dotdungeon.item.aspect.name": "Name",
|
||||
"dotdungeon.item.aspect.duration": "Duration (seconds)",
|
||||
"dotdungeon.item.aspect.description": "Description",
|
||||
"dotdungeon.item.aspect.send-to-chat": "Send Aspect to Chat",
|
||||
|
||||
|
||||
"dotdungeon.notification.error.invalid-integer": "You must enter a valid whole number.",
|
||||
|
||||
|
||||
"dotdungeon.aria.aspect-description": "The information on how the aspect works",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@use "../../../mixins/breakpoints" as *;
|
||||
|
||||
.dotdungeon {
|
||||
.actor--circle-sync {
|
||||
.actor--basic-sync {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<form autocomplete="off" class="actor--circle-sync">
|
||||
<form autocomplete="off" class="actor--basic-sync">
|
||||
<label>
|
||||
{{localize "dotdungeon.actor.sync.circle.group"}}
|
||||
{{localize "dotdungeon.actor.sync.common.group"}}
|
||||
<input
|
||||
type="text"
|
||||
class="name-input"
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
>
|
||||
</label>
|
||||
<label>
|
||||
{{localize "dotdungeon.actor.sync.circle.sync"}}
|
||||
{{localize "dotdungeon.actor.sync.common.sync"}}
|
||||
<input
|
||||
type="number"
|
||||
class="sync-input"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue