liquid_feedback_frontend
changeset 1795:2526423907d9
Added missing translations
author | bsw |
---|---|
date | Thu Oct 21 14:46:56 2021 +0200 (2021-10-21) |
parents | 7c7c8195f982 |
children | 16206342faca |
files | app/main/admin/policy_show.lua |
line diff
1.1 --- a/app/main/admin/policy_show.lua Thu Oct 21 14:42:10 2021 +0200 1.2 +++ b/app/main/admin/policy_show.lua Thu Oct 21 14:46:56 2021 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -local function field(name, label, value, tooltip) 1.5 +flocal function field(name, label, value, tooltip) 1.6 ui.field.text{ 1.7 container_attr = { class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label" }, 1.8 attr = { id = "field_" .. name, class = "mdl-textfield__input" }, 1.9 @@ -107,10 +107,10 @@ 1.10 id = policy.id, 1.11 content = function() 1.12 1.13 - field("index", "Index (for sorting)", hint and "1" or nil) 1.14 + field("index", _"Index (for sorting)", hint and "1" or nil) 1.15 ui.field.boolean{ label = _"Active?", name = "active", value = hint and true or nil } 1.16 1.17 - field("name", "Name") 1.18 + field("name", _"Name") 1.19 1.20 ui.field.text{ label = _"Description", name = "description", multiline = true } 1.21 ui.field.text{ label = _"Hint", readonly = true,