|
30 | 30 |
|
31 | 31 | <div class="hr-text"> |
32 | 32 | <i class="fa-2x ti ti-sitemap"></i> |
33 | | - <span>{{ __s('Treeview - Configuration', 'treeview') }}</span> |
| 33 | + <span>{{ __('Treeview - Configuration', 'treeview') }}</span> |
34 | 34 | </div> |
35 | 35 |
|
36 | 36 | <form name='form' action='{{ action }}' method='post' class='left'> |
|
41 | 41 | 'target', |
42 | 42 | current_config['target'], |
43 | 43 | { |
44 | | - '_blank': __s('New window', 'treeview'), |
45 | | - 'right': __s('The central console', 'treeview') |
| 44 | + '_blank': __('New window', 'treeview'), |
| 45 | + 'right': __('The central console', 'treeview') |
46 | 46 | }, |
47 | | - __s('Target for all the nodes', 'treeview') |
| 47 | + __('Target for all the nodes', 'treeview') |
48 | 48 | ) }} |
49 | 49 |
|
50 | 50 | {{ fields.checkboxField( |
51 | 51 | 'folderLinks', |
52 | 52 | current_config['folderLinks'], |
53 | | - __s('Should folders be links', 'treeview') |
| 53 | + __('Should folders be links', 'treeview') |
54 | 54 | ) }} |
55 | 55 |
|
56 | 56 | {{ fields.checkboxField( |
57 | 57 | 'useSelection', |
58 | 58 | current_config['useSelection'], |
59 | | - __s('Nodes can be highlighted', 'treeview') |
| 59 | + __('Nodes can be highlighted', 'treeview') |
60 | 60 | ) }} |
61 | 61 |
|
62 | 62 | {{ fields.checkboxField( |
63 | 63 | 'useLines', |
64 | 64 | current_config['useLines'], |
65 | | - __s('Tree is drawn with lines', 'treeview') |
| 65 | + __('Tree is drawn with lines', 'treeview') |
66 | 66 | ) }} |
67 | 67 |
|
68 | 68 | {{ fields.checkboxField( |
69 | 69 | 'useIcons', |
70 | 70 | current_config['useIcons'], |
71 | | - __s('Tree is drawn with icons', 'treeview') |
| 71 | + __('Tree is drawn with icons', 'treeview') |
72 | 72 | ) }} |
73 | 73 |
|
74 | 74 | {{ fields.checkboxField( |
75 | 75 | 'closeSameLevel', |
76 | 76 | current_config['closeSameLevel'], |
77 | | - __s('Only one node within a parent', 'treeview') ~ ' ' ~ __s('can be expanded at the same time.', 'treeview') |
| 77 | + __('Only one node within a parent', 'treeview') ~ ' ' ~ __('can be expanded at the same time.', 'treeview') |
78 | 78 | ) }} |
79 | 79 |
|
80 | 80 | {{ fields.dropdownArrayField( |
81 | 81 | 'itemName', |
82 | 82 | current_config['itemName'], |
83 | 83 | { |
84 | | - '0': __s('Name'), |
85 | | - '1': __s('Inventory number'), |
86 | | - '2': __s('%1$s / %2$s', {'%1$s': __s('Name'), '%2$s': __s('Inventory number')}), |
87 | | - '3': __s('%1$s / %2$s', {'%1$s': __s('Inventory number'), '%2$s': __s('Name')}) |
| 84 | + '0': __('Name'), |
| 85 | + '1': __('Inventory number'), |
| 86 | + '2': __('%1$s / %2$s', {'%1$s': __('Name'), '%2$s': __('Inventory number')}), |
| 87 | + '3': __('%1$s / %2$s', {'%1$s': __('Inventory number'), '%2$s': __('Name')}) |
88 | 88 | }, |
89 | | - __s('Item name', 'treeview') |
| 89 | + __('Item name', 'treeview') |
90 | 90 | ) }} |
91 | 91 |
|
92 | 92 | {{ fields.dropdownArrayField( |
93 | 93 | 'locationName', |
94 | 94 | current_config['locationName'], |
95 | 95 | { |
96 | | - '0': __s('Short name', 'treeview'), |
97 | | - '1': __s('Long name', 'treeview'), |
98 | | - '2': __s('%1$s / %2$s', {'%1$s': __s('Short name', 'treeview'), '%2$s': __s('Comment', 'treeview')}), |
99 | | - '3': __s('%1$s / %2$s', {'%1$s': __s('Long name', 'treeview'), '%2$s': __s('Comment', 'treeview')}) |
| 96 | + '0': __('Short name', 'treeview'), |
| 97 | + '1': __('Long name', 'treeview'), |
| 98 | + '2': __('%1$s / %2$s', {'%1$s': __('Short name', 'treeview'), '%2$s': __('Comment', 'treeview')}), |
| 99 | + '3': __('%1$s / %2$s', {'%1$s': __('Long name', 'treeview'), '%2$s': __('Comment', 'treeview')}) |
100 | 100 | }, |
101 | | - __s('Location name', 'treeview') |
| 101 | + __('Location name', 'treeview') |
102 | 102 | ) }} |
103 | 103 |
|
104 | 104 | <div class="hr"></div> |
|
0 commit comments