Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed May 22, 2024
1 parent 282d0de commit 59b9a6a
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 43 deletions.
Binary file modified lang/ca.utf8/LC_MESSAGES/objectslend.mo
Binary file not shown.
Binary file modified lang/en_US/LC_MESSAGES/objectslend.mo
Binary file not shown.
Binary file modified lang/es.utf8/LC_MESSAGES/objectslend.mo
Binary file not shown.
Binary file modified lang/fr_FR.utf8/LC_MESSAGES/objectslend.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions lang/objectslend.pot
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -348,7 +348,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_ar.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ msgid "New status"
msgstr "حالة جديدة"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -348,7 +348,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_br.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -349,7 +349,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
10 changes: 5 additions & 5 deletions lang/objectslend_ca.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -351,7 +351,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Duplicat amb èxit des de #%id. Ara ho pots editar."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "Hi ha ocorregut un error duplicant l'objecte :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down Expand Up @@ -855,7 +855,7 @@ msgstr ""

#: ../tempcache/objects_list.html.twig:868
#, fuzzy
#| msgid "An error occured cloning object :("
#| msgid "An error occurred cloning object :("
msgid "An error occurred loading history display :("
msgstr "Hi ha ocorregut un error duplicant l'objecte :("

Expand All @@ -865,7 +865,7 @@ msgstr ""

#: ../tempcache/objects_list.html.twig:921
#, fuzzy
#| msgid "An error occured cloning object :("
#| msgid "An error occurred cloning object :("
msgid "An error occurred loading 'Take away' display :("
msgstr "Hi ha ocorregut un error duplicant l'objecte :("

Expand All @@ -875,7 +875,7 @@ msgstr ""

#: ../tempcache/objects_list.html.twig:968
#, fuzzy
#| msgid "An error occured cloning object :("
#| msgid "An error occurred cloning object :("
msgid "An error occurred loading 'Give back' display :("
msgstr "Hi ha ocorregut un error duplicant l'objecte :("

Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_de_DE.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ msgid "New status"
msgstr "Neuer Status"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -349,7 +349,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
8 changes: 4 additions & 4 deletions lang/objectslend_en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ msgid "New status"
msgstr "New status"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgstr "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr "An error occurred while storing the status."

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
msgid "Status has been saved"
Expand Down Expand Up @@ -347,8 +347,8 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Successfully cloned from #%id.<br/>You can now edit it."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgstr "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "An error occurred cloning object :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
msgid "Borrow an object"
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_es.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ msgid "New status"
msgstr "Estado nuevo"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr "Ha ocurrido un error mientras almacenada el estado."

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -352,7 +352,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Clonado correcto desde nº %id.<br>Ahora puede editarlo."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "Ha ocurrido un error al clonar objeto :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
6 changes: 3 additions & 3 deletions lang/objectslend_fr_FR.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ msgid "New status"
msgstr "Nouveau statut"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr "Une erreur est survenue à l'enregistrement du statut."

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -346,7 +346,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Clôné avec succès depuis #%id.<br/>Vous pouvez mainenant le modifier."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "Une erreur est survenue au clonage de l'objet :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down Expand Up @@ -1261,7 +1261,7 @@ msgstr "Vous devez accepter les conditions générales pour emprunter."
#~ msgid "Filter"
#~ msgstr "Filter"

#~ msgid "An SQL error has occured."
#~ msgid "An SQL error has occurred."
#~ msgstr "Une erreur SQL est survenue."

#~ msgid "Records per page:"
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_it_IT.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -352,7 +352,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_nb_NO.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -342,7 +342,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_oc.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -348,7 +348,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_ota.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -342,7 +342,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_pt.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -349,7 +349,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_ru.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -352,7 +352,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Успешно клонировано из #%id.<br> Теперь вы можете редактировать его."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "Произошла ошибка при клонировании объекта :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_si.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -342,7 +342,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_tr.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ msgid "New status"
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -345,7 +345,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr ""

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
4 changes: 2 additions & 2 deletions lang/objectslend_uk.utf8.po
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ msgid "New status"
msgstr "Новий стан"

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:268
msgid "An error occured while storing the status."
msgid "An error occurred while storing the status."
msgstr "Під час зберігання стану сталася помилка."

#: ../lib/GaletteObjectsLend/Controllers/Crud/StatusController.php:294
Expand Down Expand Up @@ -354,7 +354,7 @@ msgid "Successfully cloned from #%id.<br/>You can now edit it."
msgstr "Успішно клоновано з #%id.<br>Тепер можна редагувати."

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:551
msgid "An error occured cloning object :("
msgid "An error occurred cloning object :("
msgstr "Під час клонування об'єкта сталася помилка :("

#: ../lib/GaletteObjectsLend/Controllers/Crud/ObjectsController.php:582
Expand Down
Binary file modified lang/ru.utf8/LC_MESSAGES/objectslend.mo
Binary file not shown.
Binary file modified lang/uk.utf8/LC_MESSAGES/objectslend.mo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ public function doClone(Request $request, Response $response, int $id): Response
} else {
$this->flash->addMessage(
'error_detected',
_T('An error occured cloning object :(', 'objectslend')
_T('An error occurred cloning object :(', 'objectslend')
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function doEdit(Request $request, Response $response, int $id = null, str
$days = trim($post['rent_day_number']);
$status->rent_day_number = strlen($days) > 0 ? intval($days) : null;
if (!$status->store()) {
$error_detected[] = _T("An error occured while storing the status.", "objectslend");
$error_detected[] = _T("An error occurred while storing the status.", "objectslend");
}

if (count($error_detected)) {
Expand Down
2 changes: 1 addition & 1 deletion lib/GaletteObjectsLend/Entity/Picture.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function restorePictures(array &$success, array &$error): void
$e->getTraceAsString(),
Analog::ERROR
);
$error[] = _T("An error occured :(");
$error[] = _T("An error occurred :(");
}
}

Expand Down

0 comments on commit 59b9a6a

Please sign in to comment.