translate product list form submtis

This commit is contained in:
metamuffin 2024-11-09 02:13:49 +01:00
parent 47683e1c27
commit 5e2f11877f
No known key found for this signature in database
GPG key ID: 718F9749DCDBD654
2 changed files with 4 additions and 2 deletions

View file

@ -630,14 +630,14 @@ local function r_products()
<input type="text" name="user" id="user" />
<label for="barcode">{+field.barcode}: </label>
<input type="text" name="barcode" id="barcode" />
<input type="submit" value="{+field.add.short}" class="amount-ntr button" />
<input type="submit" value="{+products.form.add.submit}" class="amount-ntr button" />
</form>
<form action="/?products" method="POST" class="box backgroundbox">
<h3>{+products.form.remove}</h3>
<input type="text" name="delete" value="1" hidden />
<label for="barcode">{+field.barcode}: </label>
<input type="text" name="barcode" id="barcode" />
<input type="submit" value="{+field.remove.short}" class="amount-ntr button" />
<input type="submit" value="{+products.form.remove.submit}" class="amount-ntr button" />
</form>
</div>
]], {

View file

@ -22,7 +22,9 @@ log.actions.revert=Revert
log.actions=Actions
log=Log
products.form.add=Add Product
products.form.add.submit=Add
products.form.remove=Remove Product
products.form.remove.submit=Remove
products.form.title=Product List
products.title=Product List
products=Products