diff --git a/docs/index.html b/docs/index.html index d3d26f77..203156d5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4090,6 +4090,53 @@ $('table').trigger( 'search', [['', '', '', '', 'orange']] ); // find orange in + + + Object + This object contains the phrases (in English by default) added to the aria-label on each header column.
+
+
+ This is how the object is set up: +
$.tablesorter.language = {
+  sortAsc  : 'Ascending sort applied, ',
+  sortDesc : 'Descending sort applied, ',
+  sortNone : 'No sort applied, ',
+  nextAsc  : 'activate to apply an ascending sort',
+  nextDesc : 'activate to apply a descending sort',
+  nextNone : 'activate to remove the sort'
+};
+ So, as an example, in the following situation: + + Then the label will be built as follows: +
// "Header Name" + $.tablesorter.language.sortAsc + $.tablesorter.language.nextDesc
+"Account #: Ascending sort applied, activate to apply a descending sort"
+ If the next click were to reset the sort (sortReset applied), then the message would use $.tablesorter.language.nextNone.
+
+ Use this variable to change the language as follows: +
$(function(){
+
+  $.tablesorter.language = {
+    sortAsc  : "sorting from a to z, ",
+    sortDesc : "sorting from z to a, ",
+    sortNone : "not sorted, but ",
+    nextAsc  : "click to sort from a to z",
+    nextDesc : "click to sort from z to a",
+    nextNone : "click to clear the sort"
+  }
+  $("table").tablesorter();
+});
+
+ +