default: context: lang: 'en' visitor: 'lion' node: 'zena' src: 'simple text' tem: 'simple text' res: 'simple text' img_tag_use_icon: context: node: 'wiki' tem: "<%= img_tag(@node, :alt_src => 'icon') %>" res: "bird" set_lang_fr: context: lang: 'fr' tem: "<%= _('Next page') %>" res: "page suivante" set_bad_lang_xz: context: lang: 'xz' tem: "<%= _('Next page') %>" res: "Next page" zen_url: context: node: status tem: "<%= zen_url(@node, :mode=>'rss', :format=>'xml') %>" res: "http://test.host/oo/projects-list/Clean-Water-project/page22_rss.xml" zen_url_root_mode_format: context: node: zena tem: "<%= zen_url(@node, :mode=>'rss', :format=>'xml') %>" res: "http://test.host/oo/project11_rss.xml" zen_url_root: context: node: zena tem: "<%= zen_url(@node) %>" res: "http://test.host/oo" sort_array: tem: "<%= sort_array([{:a => 5, :name => 'five'}, {:a => 1, :name => 'one'}, {:a => 3, :name => 'three'}]) {|e| e[:a]}.map {|e| e[:name]}.inspect %>" res: "[\"one\", \"three\", \"five\"]" group_array: tem: "<%= group_array([{:a => 2, :name => 'dos'}, {:a => 1, :name => 'one'}, {:a => 2, :name => 'two'}]) {|e| e[:a]}.map {|e| e.map{|f| f[:name]}}.inspect %>" res: "[[\"dos\", \"two\"], [\"one\"]]" cal_day_names: tem: "<%= cal_day_names(:tiny) %>" res: "SunMonTueWedThuFriSat" cal_day_names_fr: context: lang: fr tem: "<%= cal_day_names(:tiny) %>" res: "lunmarmerjeuvensamdim" cal_day_names_large: tem: "<%= cal_day_names(:large) %>" res: "SundayMondayTuesdayWednesdayThursdayFridaySaturday" cal_class: tem: | [<%= cal_class(Date.civil(2008,06,26), Date.civil(2008,06,26)) %>] [<%= cal_class(Date.civil(2008,06,28), Date.civil(2008,06,26)) %>] [<%= cal_class(Date.civil(2008,06,29), Date.civil(2008,06,26)) %>] [<%= cal_class(Date.civil(2008,06,28), Date.civil(2008,06,28)) %>] [<%= cal_class(Date.civil(2008,05,02), Date.civil(2008,05,28)) %>] [<%= cal_class(Date.civil(2008,05,30), Date.civil(2008,06,28)) %>] [<%= cal_class(Date.civil(2008,05,31), Date.civil(2008,06,28)) %>] res: | [ class='ref'] [ class='sat'] [ class='sun'] [ class='sat ref'] [] [ class='other'] [ class='satother']