added German localization for spells

- added missing German localizations
- fixed some localizations
- renamed targetedSpell -> targetedSpellcasting for consistency
This commit is contained in:
Gesina Schwalbe 2021-01-10 00:30:51 +01:00
parent 18a4e2005a
commit 0eb447d279
9 changed files with 19 additions and 13 deletions

View file

@ -1,5 +1,7 @@
{ {
"DS4.UserInteractionAddItem": "Neu", "DS4.UserInteractionAddItem": "Neu",
"DS4.UserInteractionEditItem": "Bearbeiten",
"DS4.UserInteractionDeleteItem": "Löschen",
"DS4.NotOwned": "Nicht besessen", "DS4.NotOwned": "Nicht besessen",
"DS4.HeadingBiography": "Biografie", "DS4.HeadingBiography": "Biografie",
"DS4.HeadingDetails": "Details", "DS4.HeadingDetails": "Details",
@ -17,6 +19,7 @@
"DS4.AttackTypeMelee": "Schlagen", "DS4.AttackTypeMelee": "Schlagen",
"DS4.AttackTypeRanged": "Schießen", "DS4.AttackTypeRanged": "Schießen",
"DS4.AttackTypeMeleeRanged": "Schlagen + Schießen", "DS4.AttackTypeMeleeRanged": "Schlagen + Schießen",
"DS4.Description": "Beschreibung",
"DS4.Quantity": "Menge", "DS4.Quantity": "Menge",
"DS4.PriceGold": "Preis (Gold)", "DS4.PriceGold": "Preis (Gold)",
"DS4.StorageLocation": "Wo gelagert", "DS4.StorageLocation": "Wo gelagert",
@ -79,7 +82,7 @@
"DS4.SpellType": "Zauberspruchtyp", "DS4.SpellType": "Zauberspruchtyp",
"DS4.SpellTypeAbbr": "T", "DS4.SpellTypeAbbr": "T",
"DS4.SpellTypeSpellcasting": "Zaubern", "DS4.SpellTypeSpellcasting": "Zaubern",
"DS4.SpellTypeTargetedSpell": "Zielzaubern", "DS4.SpellTypeTargetedSpellcasting": "Zielzaubern",
"DS4.SpellCategory": "Kategorie", "DS4.SpellCategory": "Kategorie",
"DS4.SpellCategoryHealing": "Heilung", "DS4.SpellCategoryHealing": "Heilung",
"DS4.SpellCategoryFire": "Feuer", "DS4.SpellCategoryFire": "Feuer",

View file

@ -1,5 +1,7 @@
{ {
"DS4.UserInteractionAddItem": "Add item", "DS4.UserInteractionAddItem": "Add item",
"DS4.UserInteractionEditItem": "Edit item",
"DS4.UserInteractionDeleteItem": "Delete item",
"DS4.NotOwned": "No owner", "DS4.NotOwned": "No owner",
"DS4.HeadingBiography": "Biography", "DS4.HeadingBiography": "Biography",
"DS4.HeadingDetails": "Details", "DS4.HeadingDetails": "Details",
@ -17,6 +19,7 @@
"DS4.AttackTypeMelee": "Melee", "DS4.AttackTypeMelee": "Melee",
"DS4.AttackTypeRanged": "Ranged", "DS4.AttackTypeRanged": "Ranged",
"DS4.AttackTypeMeleeRanged": "Melee / Ranged", "DS4.AttackTypeMeleeRanged": "Melee / Ranged",
"DS4.Description": "Description",
"DS4.Quantity": "Quantity", "DS4.Quantity": "Quantity",
"DS4.PriceGold": "Price (Gold)", "DS4.PriceGold": "Price (Gold)",
"DS4.StorageLocation": "Stored at", "DS4.StorageLocation": "Stored at",
@ -79,7 +82,7 @@
"DS4.SpellType": "Spell Type", "DS4.SpellType": "Spell Type",
"DS4.SpellTypeAbbr": "T", "DS4.SpellTypeAbbr": "T",
"DS4.SpellTypeSpellcasting": "Spellcasting", "DS4.SpellTypeSpellcasting": "Spellcasting",
"DS4.SpellTypeTargetedSpell": "Targeted Spell", "DS4.SpellTypeTargetedSpellcasting": "Targeted Spellcasting",
"DS4.SpellCategory": "Category", "DS4.SpellCategory": "Category",
"DS4.SpellCategoryHealing": "Healing", "DS4.SpellCategoryHealing": "Healing",
"DS4.SpellCategoryFire": "Fire", "DS4.SpellCategoryFire": "Fire",
@ -110,8 +113,8 @@
"DS4.CombatValuesMovement": "Movement", "DS4.CombatValuesMovement": "Movement",
"DS4.CombatValuesMeleeAttack": "Melee Attack", "DS4.CombatValuesMeleeAttack": "Melee Attack",
"DS4.CombatValuesRangedAttack": "Ranged Attack", "DS4.CombatValuesRangedAttack": "Ranged Attack",
"DS4.CombatValuesSpellcasting": "Normal", "DS4.CombatValuesSpellcasting": "Spellcasting",
"DS4.CombatValuesTargetedSpellcasting": "Targeted", "DS4.CombatValuesTargetedSpellcasting": "Targeted Spellcasting",
"DS4.BaseInfoRace": "Race", "DS4.BaseInfoRace": "Race",
"DS4.BaseInfoClass": "Class", "DS4.BaseInfoClass": "Class",
"DS4.BaseInfoHeroClass": "Hero Class", "DS4.BaseInfoHeroClass": "Hero Class",

View file

@ -31,7 +31,7 @@ export const DS4 = {
*/ */
spellTypesIcons: { spellTypesIcons: {
spellcasting: "systems/ds4/assets/official/DS4-SPC.png", spellcasting: "systems/ds4/assets/official/DS4-SPC.png",
targetedSpell: "systems/ds4/assets/official/DS4-TSC.png", targetedSpellcasting: "systems/ds4/assets/official/DS4-TSC.png",
}, },
/** /**
@ -107,7 +107,7 @@ export const DS4 = {
spellTypes: { spellTypes: {
spellcasting: "DS4.SpellTypeSpellcasting", spellcasting: "DS4.SpellTypeSpellcasting",
targetedSpell: "DS4.SpellTypeTargetedSpell", targetedSpellcasting: "DS4.SpellTypeTargetedSpellcasting",
}, },
spellCategories: { spellCategories: {

View file

@ -34,7 +34,7 @@ interface DS4TalentRank extends ModifiableData<number> {
} }
interface DS4Spell extends DS4ItemBase, DS4ItemEquipable { interface DS4Spell extends DS4ItemBase, DS4ItemEquipable {
spellType: "spellcasting" | "targetedSpell"; spellType: "spellcasting" | "targetedSpellcasting";
bonus: string; bonus: string;
spellCategory: spellCategory:
| "healing" | "healing"

View file

@ -48,7 +48,7 @@
{{!-- item type specifics --}} {{!-- item type specifics --}}
{{> @partial-block }} {{> @partial-block }}
{{!-- description --}} {{!-- description --}}
<div class="flex4">{{localize 'DS4.HeadingDescription'}}</div> <div class="flex4">{{localize 'DS4.Description'}}</div>
{{!-- add button --}} {{!-- add button --}}
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }} {{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
</li> </li>

View file

@ -47,7 +47,7 @@
{{!-- cooldown duration --}} {{!-- cooldown duration --}}
<div class="item-num-val" title="{{localize 'DS4.SpellCooldownDuration'}}"><i class="fas fa-hourglass-half"></i></div> <div class="item-num-val" title="{{localize 'DS4.SpellCooldownDuration'}}"><i class="fas fa-hourglass-half"></i></div>
{{!-- description --}} {{!-- description --}}
{{!-- <div class="flex3">{{localize 'DS4.HeadingDescription'}}</div> --}} {{!-- <div class="flex3">{{localize 'DS4.Description'}}</div> --}}
{{!-- add button --}} {{!-- add button --}}
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='spell' }} {{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='spell' }}
</li> </li>

View file

@ -108,7 +108,7 @@
{{!-- name --}} {{!-- name --}}
<div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div> <div class="flex1 item-name">{{localize 'DS4.ItemName'}}</div>
{{!-- description --}} {{!-- description --}}
<div class="flex3">{{localize 'DS4.HeadingDescription'}}</div> <div class="flex3">{{localize 'DS4.Description'}}</div>
{{!-- add button --}} {{!-- add button --}}
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }} {{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType=dataType }}
</li> </li>
@ -130,7 +130,7 @@
{{!-- rank info --}} {{!-- rank info --}}
<div class="flex3">{{localize 'DS4.TalentRank'}}</div> <div class="flex3">{{localize 'DS4.TalentRank'}}</div>
{{!-- description --}} {{!-- description --}}
<div class="flex4">{{localize 'DS4.HeadingDescription'}}</div> <div class="flex4">{{localize 'DS4.Description'}}</div>
{{!-- add button --}} {{!-- add button --}}
{{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='talent' }} {{> systems/ds4/templates/actor/partials/overview-add-button.hbs dataType='talent' }}
</li> </li>

View file

@ -2,7 +2,7 @@
{{!-- Sheet Tab Navigation --}} {{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary"> <nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="description">{{localize "DS4.HeadingDescription"}}</a> <a class="item" data-tab="description">{{localize "DS4.Description"}}</a>
<a class="item" data-tab="effects">{{localize "DS4.HeadingEffects"}}</a> <a class="item" data-tab="effects">{{localize "DS4.HeadingEffects"}}</a>
{{#if isPhysical}} {{#if isPhysical}}
<a class="item" data-tab="details">{{localize "DS4.HeadingDetails"}}</a> <a class="item" data-tab="details">{{localize "DS4.HeadingDetails"}}</a>

View file

@ -31,7 +31,7 @@ Additional elements of the side-properties div can be handed over via the @parti
{{/if}} {{/if}}
{{> @partial-block}} {{> @partial-block}}
</div> </div>
<div class="description" title="{{localize 'DS4.HeadingDescription'}}"> <div class="description" title="{{localize 'DS4.Description'}}">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}} {{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div> </div>
</div> </div>