comparison rhodecode/templates/base/root.html @ 2428:530bd12fc18a beta

removed JSON array envelope from filter files function - switched to translation map for labels in file filter
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 08 Jun 2012 22:26:39 +0200
parents 6bef2a9f73e2
children d2a528b60e50
comparison
equal deleted inserted replaced
2427:f467c75544af 2428:530bd12fc18a
41 var TRANSLATION_MAP = { 41 var TRANSLATION_MAP = {
42 'add another comment':'${_("add another comment")}', 42 'add another comment':'${_("add another comment")}',
43 'Stop following this repository':"${_('Stop following this repository')}", 43 'Stop following this repository':"${_('Stop following this repository')}",
44 'Start following this repository':"${_('Start following this repository')}", 44 'Start following this repository':"${_('Start following this repository')}",
45 'Group':"${_('Group')}", 45 'Group':"${_('Group')}",
46 'members':"${_('members')}" 46 'members':"${_('members')}",
47 'search truncated': "${_('search truncated')}",
48 'no matching files': "${_('no matching files')}"
47 49
48 }; 50 };
49 var _TM = TRANSLATION_MAP; 51 var _TM = TRANSLATION_MAP;
50 </script> 52 </script>
51 <script type="text/javascript" src="${h.url('/js/yui.2.9.js')}"></script> 53 <script type="text/javascript" src="${h.url('/js/yui.2.9.js')}"></script>