forked from kartik-v/yii2-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDemo.php
38 lines (34 loc) · 1.02 KB
/
Demo.php
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
37
38
<?php
/**
* @package yii2-grid
* @author Kartik Visweswaran <[email protected]>
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2017
* @version 3.1.8
*/
namespace kartik\grid;
use Yii;
/**
* Dummy demo class used for generating translation messages for the grid demo.
*
* @author Kartik Visweswaran <[email protected]>
* @since 1.0
*/
class Demo
{
/**
* Demo messages
*/
public function messages()
{
return [
Yii::t('kvgrid', 'Add Book'),
Yii::t('kvgrid', 'Book Listing'),
Yii::t('kvgrid', 'Download Selected'),
Yii::t('kvgrid', 'Library'),
Yii::t('kvgrid', 'Reset Grid'),
Yii::t('kvgrid', 'The page summary displays SUM for first 3 amount columns and AVG for the last.'),
Yii::t('kvgrid', 'The table header sticks to the top in this demo as you scroll'),
Yii::t('kvgrid', 'Resize table columns just like a spreadsheet by dragging the column edges.')
];
}
}