liquid_feedback_frontend
diff app/main/initiative/show_static.lua @ 35:cfc2b9aeca91
Bugfix in app/main/initiative/show_static.lua: Replaced incorrect usage of gsub with localization function
| author | bsw | 
|---|---|
| date | Tue Mar 02 12:17:34 2010 +0100 (2010-03-02) | 
| parents | a6caaff47205 | 
| children | 0849be391140 | 
   line diff
1.1 --- a/app/main/initiative/show_static.lua Wed Feb 24 12:37:28 2010 +0100 1.2 +++ b/app/main/initiative/show_static.lua Tue Mar 02 12:17:34 2010 +0100 1.3 @@ -38,7 +38,7 @@ 1.4 end 1.5 end) 1.6 1.7 -slot.put_into("sub_title", encode.html(_"Initiative: '#{name}'":gsub("#{name}", initiative.name) )) 1.8 +slot.put_into("sub_title", encode.html(_("Initiative: '#{name}'", { name = initiative.name }) )) 1.9 1.10 execute.view{ 1.11 module = "initiative",