@@ -162,86 +162,86 @@ public function displayForm()
162162 $ helper ->toolbar_btn = array (
163163 'save ' =>
164164 array (
165- 'desc ' => $ this ->l ('Save ' ),
165+ 'desc ' => $ this ->trans ('Save ' , array (), ' Admin.Actions ' ),
166166 'href ' => AdminController::$ currentIndex .'&configure= ' .$ this ->name .'&save ' .$ this ->name .
167167 '&token= ' .Tools::getAdminTokenLite ('AdminModules ' ),
168168 ),
169169 'back ' => array (
170170 'href ' => AdminController::$ currentIndex .'&token= ' .Tools::getAdminTokenLite ('AdminModules ' ),
171- 'desc ' => $ this ->l ('Back to list ' )
171+ 'desc ' => $ this ->trans ('Back to list ' , array (), ' Admin.Actions ' )
172172 )
173173 );
174174
175175 $ fields_form = array ();
176176 // Init Fields form array
177177 $ fields_form [0 ]['form ' ] = array (
178178 'legend ' => array (
179- 'title ' => $ this ->l ('Settings ' ),
179+ 'title ' => $ this ->trans ('Settings ' , array (), ' Admin.Global ' ),
180180 ),
181181 'input ' => array (
182182 array (
183183 'type ' => 'text ' ,
184- 'label ' => $ this ->l ('Google Analytics Tracking ID ' ),
184+ 'label ' => $ this ->trans ('Google Analytics Tracking ID ' , array (), ' Modules.GAnalytics.Admin ' ),
185185 'name ' => 'GA_ACCOUNT_ID ' ,
186186 'size ' => 20 ,
187187 'required ' => true ,
188- 'hint ' => $ this ->l ('This information is available in your Google Analytics account ' )
188+ 'hint ' => $ this ->trans ('This information is available in your Google Analytics account ' , array (), ' Modules.GAnalytics.Admin ' )
189189 ),
190190 array (
191191 'type ' => 'switch ' ,
192- 'label ' => $ this ->l ('Enable User ID tracking ' ),
192+ 'label ' => $ this ->trans ('Enable User ID tracking ' , array (), ' Modules.GAnalytics.Admin ' ),
193193 'name ' => 'GA_USERID_ENABLED ' ,
194194 'values ' => array (
195195 array (
196196 'id ' => 'ga_userid_enabled ' ,
197197 'value ' => 1 ,
198- 'label ' => $ this ->l ('Enabled ' )
198+ 'label ' => $ this ->trans ('Enabled ' , array (), ' Admin.Global ' )
199199 ),
200200 array (
201201 'id ' => 'ga_userid_disabled ' ,
202202 'value ' => 0 ,
203- 'label ' => $ this ->l ('Disabled ' )
203+ 'label ' => $ this ->trans ('Disabled ' , array (), ' Admin.Global ' )
204204 ))
205205 ),
206206 array (
207207 'type ' => 'switch ' ,
208- 'label ' => $ this ->l ('Anonymize IP ' ),
208+ 'label ' => $ this ->trans ('Anonymize IP ' , array (), ' Modules.GAnalytics.Admin ' ),
209209 'name ' => 'GA_ANONYMIZE_ENABLED ' ,
210- 'hint ' => $ this ->l ('Use this option to anonymize the visitor’s IP to comply with data privacy laws in some countries ' ),
210+ 'hint ' => $ this ->trans ('Use this option to anonymize the visitor’s IP to comply with data privacy laws in some countries ' ),
211211 'values ' => array (
212212 array (
213213 'id ' => 'ga_anonymize_enabled ' ,
214214 'value ' => 1 ,
215- 'label ' => $ this ->l ('Enabled ' )
215+ 'label ' => $ this ->trans ('Enabled ' , array (), ' Admin.Global ' )
216216 ),
217217 array (
218218 'id ' => 'ga_anonymize_disabled ' ,
219219 'value ' => 0 ,
220- 'label ' => $ this ->l ('Disabled ' )
220+ 'label ' => $ this ->trans ('Disabled ' , array (), ' Admin.Global ' )
221221 ),
222222 ),
223223 ),
224224 ),
225225 'submit ' => array (
226- 'title ' => $ this ->l ('Save ' ),
226+ 'title ' => $ this ->trans ('Save ' , array (), ' Admin.Actions ' ),
227227 )
228228 );
229229
230230 if ($ is_multistore_active ) {
231231 $ fields_form [0 ]['form ' ]['input ' ][] = array (
232232 'type ' => 'switch ' ,
233- 'label ' => $ this ->l ('Enable Cross-Domain tracking ' ),
233+ 'label ' => $ this ->trans ('Enable Cross-Domain tracking ' , array (), ' Modules.GAnalytics.Admin ' ),
234234 'name ' => 'GA_CROSSDOMAIN_ENABLED ' ,
235235 'values ' => array (
236236 array (
237237 'id ' => 'ga_crossdomain_enabled ' ,
238238 'value ' => 1 ,
239- 'label ' => $ this ->l ('Enabled ' )
239+ 'label ' => $ this ->trans ('Enabled ' , array (), ' Admin.Global ' )
240240 ),
241241 array (
242242 'id ' => 'ga_crossdomain_disabled ' ,
243243 'value ' => 0 ,
244- 'label ' => $ this ->l ('Disabled ' )
244+ 'label ' => $ this ->trans ('Disabled ' , array (), ' Admin.Global ' )
245245 )
246246 )
247247 );
0 commit comments