liquid_feedback_frontend

changeset 1100:41f55e4cb905

Added translation of phase durations
author bsw
date Mon Oct 27 12:03:08 2014 +0100 (2014-10-27)
parents 533e41fab403
children b18e198c2624
files app/main/policy/_list.lua
line diff
     1.1 --- a/app/main/policy/_list.lua	Mon Oct 27 12:02:31 2014 +0100
     1.2 +++ b/app/main/policy/_list.lua	Mon Oct 27 12:03:08 2014 +0100
     1.3 @@ -55,11 +55,11 @@
     1.4            if policy.polling then
     1.5              ui.field.text{ label = _"New" .. ":", value = _"without" }
     1.6            else
     1.7 -            ui.field.text{ label = _"New" .. ":", value = "≤ " .. policy.admission_time }
     1.8 +            ui.field.text{ label = _"New" .. ":", value = "≤ " .. format.interval_text(policy.admission_time) }
     1.9            end
    1.10 -          ui.field.text{ label = _"Discussion" .. ":", value = policy.discussion_time or _"variable" }
    1.11 -          ui.field.text{ label = _"Frozen" .. ":", value = policy.verification_time or _"variable" }
    1.12 -          ui.field.text{ label = _"Voting" .. ":", value = policy.voting_time or _"variable" }
    1.13 +          ui.field.text{ label = _"Discussion" .. ":", value = format.interval_text(policy.discussion_time) or _"variable" }
    1.14 +          ui.field.text{ label = _"Frozen" .. ":", value = format.interval_text(policy.verification_time) or _"variable" }
    1.15 +          ui.field.text{ label = _"Voting" .. ":", value = format.interval_text(policy.voting_time) or _"variable" }
    1.16  
    1.17            ui.heading { level = 4, content = _"Quorums" }
    1.18            

Impressum / About Us