mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2024-12-28 07:54:35 +00:00
a
This commit is contained in:
parent
0f69e739a8
commit
16de24943d
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ end
|
|||
local function format_amount(amount, tag, classes)
|
||||
local s = string.format("%.02f%s", amount / 100, config.unit or "€")
|
||||
if tag == nil then return s end
|
||||
return string.format([[<%s class="amount-%s %s">%s</%s>"]], tag, amount >= 0 and "pos" or "neg", s, tag, classes or "")
|
||||
return string.format([[<%s class="amount-%s %s">%s</%s>"]], tag, amount >= 0 and "pos" or "neg", classes or "", s, tag)
|
||||
end
|
||||
|
||||
local function get_user_theme(username)
|
||||
|
|
|
@ -27,13 +27,13 @@ time.minute=minute
|
|||
time.minutes=minutes
|
||||
time.second=second
|
||||
time.seconds=seconds
|
||||
user.balance=Current balance:
|
||||
user.balance=Current balance
|
||||
user.form.buy.submit=Buy
|
||||
user.form.buy=Buy Product
|
||||
user.form.restock.submit=Restock
|
||||
user.form.restock=Restock Product
|
||||
user.form.transaction.submit=Update
|
||||
user.form.transaction=Create Transaction
|
||||
user.last_txn=Last transaction added %s.
|
||||
user.last_txn=Last transaction added {time}.
|
||||
user.view_log=View user log
|
||||
user.lazy_creation=This user account does not exist yet. It will only be created after the first transaction.
|
||||
|
|
Loading…
Reference in a new issue