Warafear hai 1 ano
pai
achega
b05fe74fe2

+ 1 - 1
src/app/journal/journal-stats/ability-panel/ability-panel.component.html

@@ -19,7 +19,7 @@
       (click)="active = 3"
       [class]="active === 3 ? 'active' : ''"
     >
-      {{ isMonk ? "Ki" : "Zaubern" }}
+      {{ isMonk ? "Ki" : ("magic.spell" | translate) }}
     </button>
     <button
       class="tab-button"

+ 3 - 1
src/app/journal/journal-stats/ability-panel/spellslots/spellslots-modal/spellslots-modal.component.html

@@ -31,7 +31,9 @@
           </div>
         }
       </div>
-      <icon-button [icon]="'add'" (click)="addSpellLevel()"></icon-button>
+      @if (spellslots.length < 9) {
+        <icon-button [icon]="'add'" (click)="addSpellLevel()"></icon-button>
+      }
     }
   } @else {
     <div class="title">{{ "magic.ki" | translate }}</div>

+ 1 - 0
src/assets/i18n/de.json

@@ -598,6 +598,7 @@
   "magic": {
     "spellCasting": "Zaubern",
     "ki": "Ki-Punkte",
+    "spell": "Zaubern",
     "spellslots": "Zauberplätze",
     "empty": "Noch keine Zauberplätze hinzugefügt",
     "spellcastingAttribute": "Zauberwirken-Attribut",

+ 2 - 1
src/assets/i18n/en.json

@@ -388,7 +388,7 @@
     "jumpingDescription": "A character can jump based on their strength. If you have moved 10 feet (2 fields) before jumping, you can jump twice the distance."
   },
   "proficiency": {
-    "label": "Proficiency Bonus",
+    "label": "Proficiency",
     "shortLabel": "Proficiency",
     "description": "The proficiency bonus is added to all save, attack and skill rolls in which a player is proficient in. The proficiency bonus increases with the character level."
   },
@@ -596,6 +596,7 @@
   "magic": {
     "spellCasting": "Spell Casting",
     "ki": "Ki Points",
+    "spell": "Spell",
     "spellslots": "Spell Slots",
     "empty": "No spell slots added yet",
     "spellcastingAttribute": "Spell Casting Attribute",