diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-26 22:43:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-26 22:43:51 +0000 |
commit | debfd75f3384cac10939c62c2f884ae3c1a8cb4e (patch) | |
tree | eb193784ba36ca816a1c5dfb347e5b68b952d2f4 /modules | |
parent | 2c3d33006cbe4b9d65d4c9922c44f548e6cd43b6 (diff) |
modules/freifunk: fix same problem
Diffstat (limited to 'modules')
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua b/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua index 56e956363..2192697fd 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/public_status.lua @@ -27,11 +27,11 @@ f:field(DummyValue, "_memtotal", translate("m_i_memory")).value = string.format("%.2f MB (%.0f%% %s, %.0f%% %s, %.0f%% %s)", tonumber(memtotal) / 1024, 100 * memcached / memtotal, - translate("mem_cached") or "", + tostring(translate("mem_cached"), "")), 100 * membuffers / memtotal, - translate("mem_buffered") or "", + tostring(translate("mem_buffered", "")), 100 * memfree / memtotal, - translate("mem_free") or "") + tostring(translate("mem_free", "")) f:field(DummyValue, "_systime", translate("m_i_systemtime")).value = os.date("%c") |