diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index 61e4d3c..abce81e 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -324,7 +324,7 @@ local function get_active_users() table.insert(users, user) end - table.sort(users, function(a, b) return ((a.time == b.time) and a.name > b.name) or (a.time > b.time) end) + table.sort(users, function(a, b) return ((a.time == b.time) and a.name > b.name) or (a.time > b.time) end) return users end @@ -544,9 +544,10 @@ local function r_users(show_special) end print([[
]]) -- for printing print([[") + print(format([[
{+users.inactive_list}
]]) end) end diff --git a/locale/en.ini b/locale/en.ini index 6b77621..44cf1e7 100644 --- a/locale/en.ini +++ b/locale/en.ini @@ -66,3 +66,4 @@ error.invalid_price=Price invalid error.invalid_name=Name invalid error.open_products=Failed to open products file error.no_path=No path +users.inactive_list=Inactive Users