extended translations

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-16 23:11:42 +02:00
parent c7205cb6af
commit c47f98032b
3 changed files with 9 additions and 5 deletions

View File

@@ -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}