\Gettext_Translations
Synopsis
- // methods
- public void gettext_select_plural_form()
- public array nplurals_and_expression_from_header()
- public void make_plural_form_function()
- public string parenthesize_plural_exression()
- public array make_headers()
- public void set_header()
- // Inherited methods from Translations
- public bool add_entry()
- public bool add_entry_or_merge()
- public void set_header()
- public void set_headers()
- public void get_header()
- public void translate_entry()
- public string translate()
- public void select_plural_form()
- public int get_plural_forms_count()
- public void translate_plural()
- public void merge_with()
- public void merge_originals_with()
Hierarchy
Extends
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
14 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
14 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
14 | 9 | error | The var keyword must not be used to declare a property |
14 | 9 | error | Visibility must be declared on property "$entries" |
15 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
15 | 5 | error | Line indented incorrectly; expected at least 8 spaces, found 4 |
15 | 9 | error | The var keyword must not be used to declare a property |
15 | 9 | error | Visibility must be declared on property "$headers" |
23 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
23 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
23 | 5 | error | Method name "Translations::add_entry" is not in camel caps format |
23 | 5 | error | Visibility must be declared on method "add_entry" |
23 | 32 | error | Opening brace should be on a new line |
24 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
24 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
25 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
25 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
26 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
26 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
27 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
27 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
28 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
28 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
28 | 9 | error | Inline control structures are not allowed |
29 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
29 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
30 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
30 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
31 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
31 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
37 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
37 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
37 | 5 | error | Method name "Translations::add_entry_or_merge" is not in camel caps format |
37 | 5 | error | Visibility must be declared on method "add_entry_or_merge" |
37 | 41 | error | Opening brace should be on a new line |
38 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
38 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
39 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
39 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
40 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
40 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
41 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
41 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
42 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
42 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
42 | 9 | error | Inline control structures are not allowed |
43 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
43 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
43 | 9 | error | Inline control structures are not allowed |
44 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
45 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
45 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
45 | 9 | error | Expected 1 space after ELSE keyword; newline found |
45 | 9 | error | Inline control structures are not allowed |
46 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
47 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
47 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
48 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
48 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
60 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
60 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
60 | 5 | error | Method name "Translations::set_header" is not in camel caps format |
60 | 5 | error | Visibility must be declared on method "set_header" |
60 | 42 | error | Opening brace should be on a new line |
61 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
61 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
62 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
62 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
67 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
67 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
67 | 5 | error | Method name "Translations::set_headers" is not in camel caps format |
67 | 5 | error | Visibility must be declared on method "set_headers" |
67 | 36 | error | Opening brace should be on a new line |
68 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
68 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
68 | 9 | error | Expected 1 space after FOREACH keyword; 0 found |
69 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
69 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
70 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
70 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
71 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
71 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
76 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
76 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
76 | 5 | error | Method name "Translations::get_header" is not in camel caps format |
76 | 5 | error | Visibility must be declared on method "get_header" |
76 | 34 | error | Opening brace should be on a new line |
77 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
77 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
78 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
78 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
83 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
83 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
83 | 5 | error | Method name "Translations::translate_entry" is not in camel caps format |
83 | 5 | error | Visibility must be declared on method "translate_entry" |
83 | 39 | error | Opening brace should be on a new line |
84 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
84 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
85 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
85 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
86 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
86 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
93 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
93 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
93 | 5 | error | Visibility must be declared on method "translate" |
93 | 43 | error | Incorrect spacing between argument "$context" and equals sign; expected 1 but found 0 |
93 | 43 | error | Incorrect spacing between default value and equals sign for argument "$context"; expected 1 but found 0 |
93 | 50 | error | Opening brace should be on a new line |
94 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
94 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
95 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
95 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
96 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
96 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
97 | 1 | error | Spaces must be used to indent lines; tabs are not allowed |
97 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
110 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
110 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
110 | 5 | error | Method name "Translations::select_plural_form" is not in camel caps format |
110 | 5 | error | Visibility must be declared on method "select_plural_form" |
110 | 41 | error | Opening brace should be on a new line |
111 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
111 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
112 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
112 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
117 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
117 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
117 | 5 | error | Method name "Translations::get_plural_forms_count" is not in camel caps format |
117 | 5 | error | Visibility must be declared on method "get_plural_forms_count" |
117 | 39 | error | Opening brace should be on a new line |
118 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
118 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
119 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
119 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
127 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
127 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
127 | 5 | error | Method name "Translations::translate_plural" is not in camel caps format |
127 | 5 | error | Visibility must be declared on method "translate_plural" |
127 | 76 | error | Opening brace should be on a new line |
128 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
128 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
129 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
129 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
130 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
130 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
131 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
131 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
132 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
132 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
132 | 9 | error | Inline control structures are not allowed |
133 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
134 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
135 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
135 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
136 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
136 | 9 | error | Line indented incorrectly; expected 16 spaces, found 8 |
136 | 9 | error | Expected 1 space after ELSE keyword; newline found |
136 | 9 | error | Inline control structures are not allowed |
137 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
137 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
138 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
138 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
146 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
146 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
146 | 5 | error | Method name "Translations::merge_with" is not in camel caps format |
146 | 5 | error | Visibility must be declared on method "merge_with" |
146 | 34 | error | Opening brace should be on a new line |
147 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
147 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
147 | 9 | error | Expected 1 space after FOREACH keyword; 0 found |
147 | 9 | error | Space found after opening bracket of FOREACH loop |
147 | 9 | error | Space found before closing bracket of FOREACH loop |
147 | 17 | error | Expected 0 spaces after opening bracket; 1 found |
147 | 43 | error | Expected 0 spaces before closing bracket; 1 found |
148 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
148 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
149 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
149 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
150 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
150 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
155 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
155 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
155 | 5 | error | Method name "Translations::merge_originals_with" is not in camel caps format |
155 | 5 | error | Visibility must be declared on method "merge_originals_with" |
155 | 44 | error | Opening brace should be on a new line |
156 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
156 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
156 | 9 | error | Expected 1 space after FOREACH keyword; 0 found |
156 | 9 | error | Space found after opening bracket of FOREACH loop |
156 | 9 | error | Space found before closing bracket of FOREACH loop |
156 | 17 | error | Expected 0 spaces after opening bracket; 1 found |
156 | 43 | error | Expected 0 spaces before closing bracket; 1 found |
157 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
157 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
157 | 13 | error | Inline control structures are not allowed |
157 | 17 | error | Expected 0 spaces after opening bracket; 1 found |
157 | 19 | error | Space after opening parenthesis of function call prohibited |
157 | 19 | error | Expected 0 spaces before closing bracket; 1 found |
157 | 57 | error | Expected 0 spaces before closing bracket; 1 found |
158 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
159 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
159 | 13 | error | Line indented incorrectly; expected 16 spaces, found 12 |
159 | 13 | error | Expected 1 space after ELSE keyword; newline found |
159 | 13 | error | Inline control structures are not allowed |
160 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
161 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
161 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
162 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
162 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
174 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
174 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
174 | 5 | error | Method name "Gettext_Translations::gettext_select_plural_form" is not in camel caps format |
174 | 5 | error | Visibility must be declared on method "gettext_select_plural_form" |
174 | 49 | error | Opening brace should be on a new line |
175 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
175 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
176 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
176 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
176 | 123 | warning | Line exceeds 120 characters; contains 123 characters |
177 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
177 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
178 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
178 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
179 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
179 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
180 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
180 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
181 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
181 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
187 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
187 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
187 | 5 | error | Method name "Gettext_Translations::nplurals_and_expression_from_header" is not in camel caps format |
187 | 5 | error | Visibility must be declared on method "nplurals_and_expression_from_header" |
187 | 59 | error | Opening brace should be on a new line |
188 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
188 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
189 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
189 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
190 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
190 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
191 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
191 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
192 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
192 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
193 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
193 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
194 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
194 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
195 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
195 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
203 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
203 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
203 | 5 | error | Method name "Gettext_Translations::make_plural_form_function" is not in camel caps format |
203 | 5 | error | Visibility must be declared on method "make_plural_form_function" |
203 | 64 | error | Opening brace should be on a new line |
204 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
204 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
205 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
205 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
208 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
208 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
209 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
209 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
218 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
218 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
218 | 5 | error | Method name "Gettext_Translations::parenthesize_plural_exression" is not in camel caps format |
218 | 5 | error | Visibility must be declared on method "parenthesize_plural_exression" |
218 | 57 | error | Opening brace should be on a new line |
219 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
219 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
220 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
220 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
221 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
221 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
222 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
222 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
223 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
223 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
224 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
224 | 13 | error | Line indented incorrectly; expected 16 spaces, found 12 |
225 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
225 | 17 | error | Line indented incorrectly; expected 20 spaces, found 16 |
226 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
226 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
227 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
227 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
228 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
229 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
229 | 17 | error | Line indented incorrectly; expected 20 spaces, found 16 |
230 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
230 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
231 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
232 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
232 | 17 | error | Line indented incorrectly; expected 20 spaces, found 16 |
233 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
233 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
234 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
234 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
235 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
236 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
236 | 17 | error | Line indented incorrectly; expected 20 spaces, found 16 |
237 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
237 | 21 | error | Line indented incorrectly; expected at least 24 spaces, found 20 |
238 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
238 | 13 | error | Line indented incorrectly; expected 16 spaces, found 12 |
239 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
239 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
240 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
240 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
241 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
241 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
247 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
247 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
247 | 5 | error | Method name "Gettext_Translations::make_headers" is not in camel caps format |
247 | 5 | error | Visibility must be declared on method "make_headers" |
247 | 41 | error | Opening brace should be on a new line |
248 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
248 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
249 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
250 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
250 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
251 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
251 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
252 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
252 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
252 | 9 | error | Expected 1 space after FOREACH keyword; 0 found |
253 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
253 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
254 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
254 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
254 | 13 | error | Inline control structures are not allowed |
255 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
255 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
256 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
256 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
257 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
257 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
258 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
258 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
264 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
264 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
264 | 5 | error | Method name "Gettext_Translations::set_header" is not in camel caps format |
264 | 5 | error | Visibility must be declared on method "set_header" |
264 | 42 | error | Opening brace should be on a new line |
265 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
265 | 9 | error | Line indented incorrectly; expected at least 12 spaces, found 8 |
266 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
266 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
267 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
267 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
267 | 123 | warning | Line exceeds 120 characters; contains 123 characters |
268 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
268 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
269 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
269 | 13 | error | Line indented incorrectly; expected at least 16 spaces, found 12 |
270 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
270 | 9 | error | Line indented incorrectly; expected 12 spaces, found 8 |
271 | 1 | error | Spaces must be used for alignment; tabs are not allowed |
271 | 5 | error | Line indented incorrectly; expected 8 spaces, found 4 |
Members
public
- $entries
- $headers
Methods
public
- gettext_select_plural_form() — The gettext implementation of select_plural_form.
- make_headers()
- make_plural_form_function() — Makes a function, which will return the right translation index, according to the plural forms header
- nplurals_and_expression_from_header()
- parenthesize_plural_exression() — Adds parentheses to the inner parts of ternary operators in plural expressions, because PHP evaluates ternary oerators from left to right
- set_header()
Inherited from Translations
public
- add_entry() — Add entry to the PO structure
- add_entry_or_merge()
- get_header()
- get_plural_forms_count()
- merge_originals_with()
- merge_with() — Merge $other in the current object.
- select_plural_form() — Given the number of items, returns the 0-based index of the plural form to use
- set_header() — Sets $header PO header to $value
- set_headers()
- translate()
- translate_entry()
- translate_plural()
History
-
2017-05-29T22:42:45+00:00 (commit #ba5872a)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Core remastered to Bootstrap CSS framework.
-
2017-05-17T09:50:09+00:00 (commit #bcd6e9c)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2
-
2017-05-16T19:52:59+00:00 (commit #fd0a296)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
PSR-2 applied
-
2016-01-25T17:45:50+00:00 (commit #97e2af2)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Pre v.3.0
-
2015-03-28T21:15:41+00:00 (commit #158813e)
Author: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru) / Commiter: Калёнов Денис Михайлович (a-KaDeMi-k@yandex.ru)
ję v2
-
2015-03-17T22:34:17+00:00 (commit #28c49e6)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
#23: Написать автоматические тесты для всей системы https://github.com/Limych/GeniBase/issues/issue/23
-
2015-03-13T19:41:13+00:00 (commit #839eee5)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Setting user ID cookie and some minor code changes. #50
-
2015-03-11T20:40:06+00:00 (commit #d811aca)
Author: Limych (andrey@khrolenok.ru) / Commiter: Limych (andrey@khrolenok.ru)
Added actions.