File: language.info.xml

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (36 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="i18n">
	<name>language.info</name>
	<summary>Table summary information display string</summary>
	<since>1.10</since>

	<type type="string" />
	<default value="Showing _START_ to _END_ of _TOTAL_ entries" />

	<description>
		This string gives information to the end user about the information that is current on display on the page. The following tokens can be used in the string and will be dynamically replaced as the table display updates.

		These tokens can be placed anywhere in the string, or removed as needed by the language requires:
		
		* `_START_` - Display index of the first record on the current page
		* `_END_` - Display index of the last record on the current page
		* `_TOTAL_` - Number of records in the table after filtering
		* `_MAX_` - Number of records in the table without filtering
		* `_PAGE_` - Current page number
		* `_PAGES_` - Total number of pages of data in the table
	</description>

	<example title="Show page count"><![CDATA[
$('#example').dataTable( {
  "language": {
    "info": "Showing page _PAGE_ of _PAGES_"
  }
} );
]]></example>

	<related type="option">language</related>
	<related type="option">language.infoEmpty</related>
	<related type="option">language.infoFiltered</related>
	<related type="option">language.infoPostFix</related>
	<related type="option">language.thousands</related>
</dt-option>