changeset 1780:b9539c4df92f beta

Translations fixes for Data table
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 17 Dec 2011 05:17:12 +0200
parents 9edd6ac132f0
children 089c81cf04d9
files rhodecode/templates/admin/repos/repos.html rhodecode/templates/index_base.html rhodecode/templates/journal/journal.html
diffstat 3 files changed, 16 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/admin/repos/repos.html	Fri Dec 16 22:01:44 2011 +0200
+++ b/rhodecode/templates/admin/repos/repos.html	Sat Dec 17 05:17:12 2011 +0200
@@ -108,9 +108,12 @@
 
   var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,
           {
-           sortedBy:{key:"name",dir:"asc"},
-           MSG_SORTASC:"${_('Click to sort ascending')}",
-           MSG_SORTDESC:"${_('Click to sort descending')}"
+            sortedBy:{key:"name",dir:"asc"},
+            MSG_SORTASC:"${_('Click to sort ascending')}",
+            MSG_SORTDESC:"${_('Click to sort descending')}",
+            MSG_EMPTY:"${_('No records found.')}",
+            MSG_ERROR:"${_('Data error.')}",
+            MSG_LOADING:"${_('Loading...')}",                
           }
   );
   myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/rhodecode/templates/index_base.html	Fri Dec 16 22:01:44 2011 +0200
+++ b/rhodecode/templates/index_base.html	Sat Dec 17 05:17:12 2011 +0200
@@ -180,7 +180,10 @@
               {
                sortedBy:{key:"name",dir:"asc"},
                MSG_SORTASC:"${_('Click to sort ascending')}",
-               MSG_SORTDESC:"${_('Click to sort descending')}"
+               MSG_SORTDESC:"${_('Click to sort descending')}",
+               MSG_EMPTY:"${_('No records found.')}",
+               MSG_ERROR:"${_('Data error.')}",
+               MSG_LOADING:"${_('Loading...')}",                
               }
       );
       myDataTable.subscribe('postRenderEvent',function(oArgs) {
--- a/rhodecode/templates/journal/journal.html	Fri Dec 16 22:01:44 2011 +0200
+++ b/rhodecode/templates/journal/journal.html	Sat Dec 17 05:17:12 2011 +0200
@@ -198,9 +198,12 @@
 
     var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,
             {
-             sortedBy:{key:"name",dir:"asc"},
-             MSG_SORTASC:"${_('Click to sort ascending')}",
-             MSG_SORTDESC:"${_('Click to sort descending')}"
+              sortedBy:{key:"name",dir:"asc"},
+              MSG_SORTASC:"${_('Click to sort ascending')}",
+              MSG_SORTDESC:"${_('Click to sort descending')}",
+              MSG_EMPTY:"${_('No records found.')}",
+              MSG_ERROR:"${_('Data error.')}",
+              MSG_LOADING:"${_('Loading...')}",                
             }
     );
     myDataTable.subscribe('postRenderEvent',function(oArgs) {