From e5228377194f99400472a317f0e4b7406504dd35 Mon Sep 17 00:00:00 2001 From: aB0t Date: Fri, 21 Jul 2023 12:55:41 +0200 Subject: [PATCH] update 2023-07-21 12:55:41 --- src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.php | 14 +++++++------- .../code.power | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.php b/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.php index bc17f32..d9294b0 100644 --- a/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.php +++ b/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.php @@ -173,7 +173,7 @@ final class Linker elseif (!GuidHelper::valid($linker)) { return [ - 'error' => Text::_('COM_GETBIBLE_INVALID_SESSION_VALUE') + 'error' => Text::_('COM_GETBIBLE_INVALID_SESSION_KEY_VALUE') ]; } @@ -193,14 +193,14 @@ final class Linker if (($guid = $this->getPassGuid($linker, $oldPass)) === null) { return [ - 'error' => Text::_('COM_GETBIBLE_PASSWORD_INCORRECT') + 'error' => Text::_('COM_GETBIBLE_INCORRECT_FAVOURITE_VERSE_SELECTED') ]; } if (!$this->setPassword($linker, $pass)) { return [ - 'error' => Text::_('COM_GETBIBLE_PASSWORD_COULD_NOT_BE_CHANGED') + 'error' => Text::_('COM_GETBIBLE_FAVOURITE_VERSE_COULD_NOT_BE_CHANGED') ]; } @@ -210,20 +210,20 @@ final class Linker elseif (!$this->hasAccess($linker, $pass)) { return [ - 'error' => Text::_('COM_GETBIBLE_PASSWORD_INCORRECT') + 'error' => Text::_('COM_GETBIBLE_INCORRECT_FAVOURITE_VERSE_SELECTED') ]; } } elseif (!$this->setLinker($linker)) { return [ - 'error' => Text::_('COM_GETBIBLE_SESSION_COULD_NOT_BE_STORED') + 'error' => Text::_('COM_GETBIBLE_SESSION_KEY_COULD_NOT_BE_STORED') ]; } elseif (!$this->setPassword($linker, $pass)) { return [ - 'error' => Text::_('COM_GETBIBLE_PASSWORD_COULD_NOT_BE_STORED') + 'error' => Text::_('COM_GETBIBLE_FAVOURITE_VERSE_COULD_NOT_BE_STORED') ]; } elseif (($_linker = $this->load->item(['guid' => $linker],'linker')) === null) @@ -232,7 +232,7 @@ final class Linker } $_linker->published = 1; - $_linker->success = Text::_('COM_GETBIBLE_ACCESS_SUCCESSFULLY_SET'); + $_linker->success = Text::_('COM_GETBIBLE_FAVOURITE_VERSE_SUCCESSFULLY_SET'); // add to session $this->session->set('getbible_active_linker_guid', $linker); diff --git a/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.power b/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.power index 3cfc4be..6a32bbc 100644 --- a/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.power +++ b/src/36ab759f-7b42-4465-9c17-56ba1dd05f90/code.power @@ -143,7 +143,7 @@ elseif (!GuidHelper::valid($linker)) { return [ - 'error' => Text::_('Invalid session value.') + 'error' => Text::_('Invalid session key value.') ]; } @@ -163,14 +163,14 @@ if (($guid = $this->getPassGuid($linker, $oldPass)) === null) { return [ - 'error' => Text::_('Password incorrect.') + 'error' => Text::_('Incorrect favourite verse selected.') ]; } if (!$this->setPassword($linker, $pass)) { return [ - 'error' => Text::_('Password could not be changed.') + 'error' => Text::_('Favourite verse could not be changed.') ]; } @@ -180,20 +180,20 @@ elseif (!$this->hasAccess($linker, $pass)) { return [ - 'error' => Text::_('Password incorrect.') + 'error' => Text::_('Incorrect favourite verse selected.') ]; } } elseif (!$this->setLinker($linker)) { return [ - 'error' => Text::_('Session could not be stored.') + 'error' => Text::_('Session key could not be stored.') ]; } elseif (!$this->setPassword($linker, $pass)) { return [ - 'error' => Text::_('Password could not be stored.') + 'error' => Text::_('Favourite verse could not be stored.') ]; } elseif (($_linker = $this->load->item(['guid' => $linker],'linker')) === null) @@ -202,7 +202,7 @@ } $_linker->published = 1; - $_linker->success = Text::_('Access successfully set.'); + $_linker->success = Text::_('Favourite verse successfully set.'); // add to session $this->session->set('getbible_active_linker_guid', $linker);