liquid_feedback_frontend
changeset 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 | a851cc1d9903 |
children | f543b8bf57a1 |
files | app/main/initiative/show_static.lua config/default.lua |
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",
2.1 --- a/config/default.lua Wed Feb 24 12:37:28 2010 +0100 2.2 +++ b/config/default.lua Tue Mar 02 12:17:34 2010 +0100 2.3 @@ -1,5 +1,5 @@ 2.4 config.app_name = "LiquidFeedback" 2.5 -config.app_version = "beta12.1" 2.6 +config.app_version = "beta12.2" 2.7 2.8 config.app_title = config.app_name .. " (" .. request.get_config_name() .. " environment)" 2.9