@@ -1417,9 +1417,10 @@ DataTable.defaults = {
1417
1417
/**
1418
1418
* ARIA label that is added to the table headers when the column may be
1419
1419
* sorted ascending by activing the column (click or return when focused).
1420
- * Note that the column header is prefixed to this string.
1420
+ * The variable _HEADER_ is replaced by the column header. If not present,
1421
+ * the column header is prefixed to this string.
1421
1422
* @type string
1422
- * @default : activate to sort column ascending
1423
+ * @default _HEADER_ : activate to sort column ascending
1423
1424
*
1424
1425
* @dtopt Language
1425
1426
* @name DataTable.defaults.language.aria.sortAscending
@@ -1429,20 +1430,21 @@ DataTable.defaults = {
1429
1430
* $('#example').dataTable( {
1430
1431
* "language": {
1431
1432
* "aria": {
1432
- * "sortAscending": " - click/return to sort ascending"
1433
+ * "sortAscending": "click to sort by _HEADER_ ascending"
1433
1434
* }
1434
1435
* }
1435
1436
* } );
1436
1437
* } );
1437
1438
*/
1438
- "sSortAscending" : ": activate to sort column ascending" ,
1439
+ "sSortAscending" : "_HEADER_ : activate to sort column ascending" ,
1439
1440
1440
1441
/**
1441
1442
* ARIA label that is added to the table headers when the column may be
1442
1443
* sorted descending by activing the column (click or return when focused).
1443
- * Note that the column header is prefixed to this string.
1444
+ * The variable _HEADER_ is replaced by the column header. If not present,
1445
+ * the column header is prefixed to this string.
1444
1446
* @type string
1445
- * @default : activate to sort column ascending
1447
+ * @default _HEADER_ : activate to sort column ascending
1446
1448
*
1447
1449
* @dtopt Language
1448
1450
* @name DataTable.defaults.language.aria.sortDescending
@@ -1452,13 +1454,13 @@ DataTable.defaults = {
1452
1454
* $('#example').dataTable( {
1453
1455
* "language": {
1454
1456
* "aria": {
1455
- * "sortDescending": " - click/return to sort descending"
1457
+ * "sortDescending": "click to sort by _HEADER_ descending"
1456
1458
* }
1457
1459
* }
1458
1460
* } );
1459
1461
* } );
1460
1462
*/
1461
- "sSortDescending" : ": activate to sort column descending"
1463
+ "sSortDescending" : "_HEADER_ : activate to sort column descending"
1462
1464
} ,
1463
1465
1464
1466
/**
0 commit comments