Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Jul 18, 2022
1 parent 94e9ae6 commit 109774d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions lang/fr_FR.UTF-8/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -16920,19 +16920,19 @@ msgstr "Attention, taille maximale dépassée pour le champ '%s' (max: %d), il s
msgid "Update already in progress"
msgstr "Une mise à jour est déjà en cours"

msgid "An error occurred when retrieving current version"
msgid "An error occurred when retrieving the current version"
msgstr "Une erreur s'est produite lors de la récupération de la version actuelle"

msgid "Cannot retrieve current version"
msgstr "La version actuelle n'a pas pu être trouvée"
msgid "Cannot retrieve the current version"
msgstr "La version actuelle n'a pas pu être récupérée"

msgid "An error occurred when getting available updates"
msgid "An error occurred when retrieving available updates"
msgstr "Une erreur s'est produite lors de la récupération des mises à jour disponibles"

msgid "An error occurred when applying update %s (%s)"
msgid "An error occurred when applying the update %s (%s)"
msgstr "Une erreur s'est produite lors de l'application de la mise à jour %s (%s)"

msgid "Error while locking update process"
msgid "Error while locking the update process"
msgstr "Erreur lors du verrouillage du processus de mise à jour"

msgid "Error while unlocking update process"
Expand All @@ -16950,11 +16950,11 @@ msgstr "La version %s de PHP est requise (%s installée)"
msgid "PHP extension %s not loaded"
msgstr "L'extension %s de PHP n'est pas chargée"

msgid "Error when getting database version"
msgid "Error when retrieving the database version"
msgstr "Erreur lors de la récupération de la version de la base de données"

msgid "Cannot retrieve database version information"
msgstr "Les informations de version de la base de données n'ont pas pu être trouvées"
msgid "Cannot retrieve the database version information"
msgstr "Les informations de version de la base de données n'ont pas pu être récupérées"

msgid "MariaDB version %s required (%s installed)"
msgstr "La version %s de MariaDB est requise (%s installée)"
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class UpdateLockerException extends RepositoryException
*/
public static function errorWhileLockingUpdate(\Throwable $e): self
{
return new self(_('Error while locking update process'), 0, $e);
return new self(_('Error while locking the update process'), 0, $e);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public static function updateAlreadyInProgress(): self
*/
public static function errorWhenRetrievingCurrentVersion(\Throwable $e): self
{
return new self(_('An error occurred when retrieving current version'), 0, $e);
return new self(_('An error occurred when retrieving the current version'), 0, $e);
}

/**
* @return self
*/
public static function cannotRetrieveCurrentVersion(): self
{
return new self(_('Cannot retrieve current version'));
return new self(_('Cannot retrieve the current version'));
}

/**
Expand All @@ -55,7 +55,7 @@ public static function cannotRetrieveCurrentVersion(): self
*/
public static function errorWhenRetrievingAvailableUpdates(\Throwable $e): self
{
return new self(_('An error occurred when getting available updates'), 0, $e);
return new self(_('An error occurred when retrieving available updates'), 0, $e);
}

/**
Expand All @@ -70,7 +70,7 @@ public static function errorWhenApplyingUpdate(
\Throwable $e
): self {
return new self(
sprintf(_('An error occurred when applying update %s (%s)'), $version, $technicalMessage),
sprintf(_('An error occurred when applying the update %s (%s)'), $version, $technicalMessage),
0,
$e
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DatabaseRequirementException extends RequirementException
public static function errorWhenGettingDatabaseVersion(\Throwable $e): self
{
return new self(
_('Error when getting database version'),
_('Error when retrieving the database version'),
0,
$e,
);
Expand All @@ -44,6 +44,6 @@ public static function errorWhenGettingDatabaseVersion(\Throwable $e): self
*/
public static function cannotRetrieveVersionInformation(): self
{
return new self(_('Cannot retrieve database version information'));
return new self(_('Cannot retrieve the database version information'));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private function initDatabaseVersionInformation(): void
}

if (empty($this->version) || empty($this->versionComment)) {
$this->info('Cannot retrieve database version information');
$this->info('Cannot retrieve the database version information');
throw DatabaseRequirementException::cannotRetrieveVersionInformation();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
$this->presenter
->expects($this->once())
->method('setResponseStatus')
->with(new ErrorResponse('Cannot retrieve current version'));
->with(new ErrorResponse('Cannot retrieve the current version'));

$updateVersions($this->presenter);
});
Expand Down

0 comments on commit 109774d

Please sign in to comment.