From 1ed54dccff16df11d36174ede726c37c290c7fd9 Mon Sep 17 00:00:00 2001 From: Gesina Schwalbe Date: Tue, 29 Dec 2020 23:58:45 +0100 Subject: [PATCH] replaced " by ' in HBS localize arguments --- src/templates/actor/partials/items.hbs | 93 ++++++++++++++------------ 1 file changed, 49 insertions(+), 44 deletions(-) diff --git a/src/templates/actor/partials/items.hbs b/src/templates/actor/partials/items.hbs index 2e773eba..6b48fe37 100644 --- a/src/templates/actor/partials/items.hbs +++ b/src/templates/actor/partials/items.hbs @@ -3,26 +3,28 @@
{{!-- WEAPONS --}} -

{{localize "DS4.ItemTypeWeapon"}}

{{!-- SPECIFIC --}} +

{{localize 'DS4.ItemTypeWeapon'}}

{{!-- SPECIFIC --}}
  1. -
    E
    {{!-- equipped --}} {{!-- SPECIFIC --}} +
    E
    {{!-- equipped --}} {{!-- SPECIFIC --}}
    -
    #
    {{!-- amount --}} +
    #
    {{!-- amount --}}
    -
    {{localize "DS4.ItemName"}}
    -
    {{localize "DS4.AttackTypeAbbr"}}
    {{!-- SPECIFIC --}} +
    {{localize 'DS4.ItemName'}}
    +
    {{localize 'DS4.AttackTypeAbbr'}}
    {{!-- SPECIFIC --}}
    -
    {{localize "DS4.WeaponBonusAbbr"}}
    {{!-- SPECIFIC --}} -
    {{localize "DS4.OpponentDefenseAbbr"}}
    {{!-- SPECIFIC --}} +
    {{localize 'DS4.WeaponBonusAbbr'}} +
    {{!-- SPECIFIC --}} +
    {{localize + 'DS4.OpponentDefenseAbbr'}}
    {{!-- SPECIFIC --}}
    -
    {{localize "DS4.Description"}}
    +
    {{localize 'DS4.Description'}}
    {{!-- add button --}}
    {{!-- SPECIFIC --}} - + - {{localize "DS4.UserInteractionAddItem"}} + {{localize 'DS4.UserInteractionAddItem'}}
  2. {{#each itemsByType.weapon as |item id|}} {{!-- SPECIFIC --}} @@ -61,24 +63,26 @@
{{!-- ARMOR --}} -

{{localize "DS4.ItemTypeArmor"}}

{{!-- SPECIFIC --}} +

{{localize 'DS4.ItemTypeArmor'}}

{{!-- SPECIFIC --}}
  1. -
    E
    {{!-- equipped --}} {{!-- SPECIFIC --}} +
    E
    {{!-- equipped --}} {{!-- SPECIFIC --}}
    -
    #
    {{!-- amount --}} +
    #
    {{!-- amount --}}
    -
    {{localize "DS4.ItemName"}}
    -
    {{localize "DS4.ArmorMaterialTypeAbbr"}}
    {{!-- SPECIFIC --}} -
    {{localize "DS4.ArmorTypeAbbr"}}
    {{!-- SPECIFIC --}} -
    {{localize "DS4.ArmorValueAbbr"}}
    {{!-- SPECIFIC --}} -
    {{localize "DS4.Description"}}
    +
    {{localize 'DS4.ItemName'}}
    +
    {{localize 'DS4.ArmorMaterialTypeAbbr'}}
    {{!-- + SPECIFIC --}} +
    {{localize 'DS4.ArmorTypeAbbr'}}
    {{!-- SPECIFIC --}} +
    {{localize 'DS4.ArmorValueAbbr'}} +
    {{!-- SPECIFIC --}} +
    {{localize 'DS4.Description'}}
    {{!-- add button --}}
    {{!-- SPECIFIC --}} - + - {{localize "DS4.UserInteractionAddItem"}} + {{localize 'DS4.UserInteractionAddItem'}}
  2. {{#each itemsByType.armor as |item id|}} {{!-- SPECIFIC --}} @@ -116,22 +120,23 @@ {{!-- SHIELD --}} -

    {{localize "DS4.ItemTypeShield"}}

    {{!-- SPECIFIC --}} +

    {{localize 'DS4.ItemTypeShield'}}

    {{!-- SPECIFIC --}}
    1. -
      E
      {{!-- equipped --}} {{!-- SPECIFIC --}} +
      E
      {{!-- equipped --}} {{!-- SPECIFIC --}}
      -
      #
      {{!-- amount --}} +
      #
      {{!-- amount --}}
      -
      {{localize "DS4.ItemName"}}
      -
      {{localize "DS4.ArmorValueAbbr"}}
      {{!-- SPECIFIC --}} -
      {{localize "DS4.Description"}}
      +
      {{localize 'DS4.ItemName'}}
      +
      {{localize 'DS4.ArmorValueAbbr'}} +
      {{!-- SPECIFIC --}} +
      {{localize 'DS4.Description'}}
      {{!-- add button --}}
      {{!-- SPECIFIC --}} - + - {{localize "DS4.UserInteractionAddItem"}} + {{localize 'DS4.UserInteractionAddItem'}}
    2. {{#each itemsByType.shield as |item id|}} {{!-- SPECIFIC --}} @@ -166,22 +171,22 @@
    {{!-- TRINKET --}} -

    {{localize "DS4.ItemTypeTrinket"}}

    {{!-- SPECIFIC --}} +

    {{localize 'DS4.ItemTypeTrinket'}}

    {{!-- SPECIFIC --}}
    1. -
      E
      {{!-- equipped --}} {{!-- SPECIFIC --}} +
      E
      {{!-- equipped --}} {{!-- SPECIFIC --}}
      -
      #
      {{!-- amount --}} +
      #
      {{!-- amount --}}
      -
      {{localize "DS4.ItemName"}}
      -
      {{localize "DS4.StorageLocation"}}
      {{!-- SPECIFIC --}} -
      {{localize "DS4.Description"}}
      +
      {{localize 'DS4.ItemName'}}
      +
      {{localize 'DS4.StorageLocation'}}
      {{!-- SPECIFIC --}} +
      {{localize 'DS4.Description'}}
      {{!-- add button --}}
      {{!-- SPECIFIC --}} - + - {{localize "DS4.UserInteractionAddItem"}} + {{localize 'DS4.UserInteractionAddItem'}}
    2. {{#each itemsByType.trinket as |item id|}} {{!-- SPECIFIC --}} @@ -202,7 +207,7 @@ {{!-- name --}}

      {{item.name}}

      {{!-- storage location --}} -
      {{{itemData.storageLocation}}}
      {{!-- SPECIFIC --}} +
      {{{itemData.storageLocation}}}
      {{!-- SPECIFIC --}} {{!-- description --}}
      {{{itemData.description}}}
      {{!-- edit & delete buttons --}} @@ -216,21 +221,21 @@
    {{!-- EQUIPMENT --}} -

    {{localize "DS4.ItemTypeEquipment"}}

    {{!-- SPECIFIC --}} +

    {{localize 'DS4.ItemTypeEquipment'}}

    {{!-- SPECIFIC --}}
    1. -
      #
      {{!-- amount --}} +
      #
      {{!-- amount --}}
      -
      {{localize "DS4.ItemName"}}
      -
      {{localize "DS4.StorageLocation"}}
      {{!-- SPECIFIC --}} -
      {{localize "DS4.Description"}}
      +
      {{localize 'DS4.ItemName'}}
      +
      {{localize 'DS4.StorageLocation'}}
      {{!-- SPECIFIC --}} +
      {{localize 'DS4.Description'}}
      {{!-- add button --}}
      {{!-- SPECIFIC --}} - {{localize "DS4.UserInteractionAddItem"}} + {{localize 'DS4.UserInteractionAddItem'}}
    2. {{#each itemsByType.equipment as |item id|}} {{!-- SPECIFIC --}} @@ -247,7 +252,7 @@ {{!-- name --}}

      {{item.name}}

      {{!-- storage location --}} -
      {{{itemData.storageLocation}}}
      {{!-- SPECIFIC --}} +
      {{{itemData.storageLocation}}}
      {{!-- SPECIFIC --}} {{!-- description --}}
      {{{itemData.description}}}
      {{!-- edit & delete buttons --}}