Skip to content

Commit c8e2f17

Browse files
authored
Merge pull request #128 from atomiix/fix/30008
Fix translations
2 parents d22f38d + 5cd69da commit c8e2f17

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

classes/Form/ConfigurationForm.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ public function generate()
149149
],
150150
[
151151
'type' => 'select',
152-
'label' => $this->module->getTranslator()->trans('Cancelled order states', [], 'Modules.GAnalytics.Admin'),
152+
'label' => $this->module->getTranslator()->trans('Canceled order states', [], 'Modules.GAnalytics.Admin'),
153153
'name' => 'GA_CANCELLED_STATES',
154-
'desc' => $this->module->getTranslator()->trans('Choose order states, in which you consider the given order cancelled. This will be usually only the default "Cancelled" state, but some shops may have extra states like "Returned" etc.', [], 'Modules.GAnalytics.Admin'),
154+
'desc' => $this->module->getTranslator()->trans('Choose order states, in which you consider the given order canceled. This will usually be the default "Canceled" state, but some shops may have extra states like "Returned" etc.', [], 'Modules.GAnalytics.Admin'),
155155
'class' => 'chosen',
156156
'multiple' => true,
157157
'options' => [
@@ -238,15 +238,15 @@ public function treat()
238238

239239
if (null !== $gaTrackBackOffice) {
240240
Configuration::updateValue('GA_TRACK_BACKOFFICE_ENABLED', (bool) $gaTrackBackOffice);
241-
$treatmentResult .= $this->module->displayConfirmation($this->module->getTranslator()->trans('Settings for Enable Back Office tracking updated successfully', [], 'Modules.GAnalytics.Admin'));
241+
$treatmentResult .= $this->module->displayConfirmation($this->module->getTranslator()->trans('Settings for Enable Back Office tracking updated successfully.', [], 'Modules.GAnalytics.Admin'));
242242
}
243243

244244
if ($gaCancelledStates === false) {
245245
Configuration::updateValue('GA_CANCELLED_STATES', '');
246246
} else {
247247
Configuration::updateValue('GA_CANCELLED_STATES', json_encode($gaCancelledStates));
248248
}
249-
$treatmentResult .= $this->module->displayConfirmation($this->module->getTranslator()->trans('Settings for cancelled order states updated successfully', [], 'Modules.GAnalytics.Admin'));
249+
$treatmentResult .= $this->module->displayConfirmation($this->module->getTranslator()->trans('Settings for canceled order states updated successfully.', [], 'Modules.GAnalytics.Admin'));
250250

251251
return $treatmentResult;
252252
}

0 commit comments

Comments
 (0)