extended translations
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -94,14 +94,14 @@ Code: <LineEditor type="span" editable={true} value={item.code} onSet={v => patc
|
||||
{/each}
|
||||
</select><br/>
|
||||
{#if !add_prop.existing_prop_id}
|
||||
<input type="text" placeholder="new prop" bind:value={add_prop.new_prop.name} />
|
||||
<input type="text" placeholder={t('new_property')} bind:value={add_prop.new_prop.name} />
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
<form {onsubmit}>
|
||||
<input type="text" placeholder="value" bind:value={add_prop.value} />
|
||||
<input type="text" placeholder={t('value')} bind:value={add_prop.value} />
|
||||
{#if !add_prop.existing_prop_id}
|
||||
<input type="text" placeholder="unit" bind:value={add_prop.new_prop.unit} />
|
||||
<input type="text" placeholder={t('unit')} bind:value={add_prop.new_prop.unit} />
|
||||
{:else}
|
||||
{properties.filter(p => p.id == add_prop.existing_prop_id)[0].unit}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user