Skip to content

Commit

Permalink
l10n
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Nov 12, 2021
1 parent da2e719 commit 8b5bc0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 9 additions & 4 deletions lib/Activity/Provider.php
Expand Up @@ -172,8 +172,9 @@ private function parseCreate(IEvent $activity, array $params): void {

$this->parseSimpleEvent(
$activity,
'A new restoring point ({type}) have been generated, ' .
'requiring maintenance mode for {downtime}. (id: {id}, status: {status})',
$this->l10n->t(
'A new restoring point ({type}) have been generated, requiring maintenance mode for {downtime}.'
),
$params
);
}
Expand All @@ -188,7 +189,9 @@ private function parseRestore(IEvent $activity, array $params): void {

$this->parseSimpleEvent(
$activity,
'Your system have been fully restored based on a restoring point from {date} (estimated rewind: {rewind})',
$this->l10n->t(
'Your system have been fully restored based on a restoring point from {date} (estimated rewind: {rewind})'
),
$params
);
}
Expand All @@ -203,7 +206,9 @@ private function parseRestoreFile(IEvent $activity, array $params): void {

$this->parseSimpleEvent(
$activity,
'The file {file} have been restored based on a restoring point from {date} (estimated rewind: {rewind})',
$this->l10n->t(
'The file {file} have been restored based on a restoring point from {date} (estimated rewind: {rewind})'
),
$params
);
}
Expand Down
1 change: 0 additions & 1 deletion lib/Command/PointList.php
Expand Up @@ -235,5 +235,4 @@ private function getDatabaseType(RestoringPoint $point): string {

return 'sqlite';
}

}

0 comments on commit 8b5bc0e

Please sign in to comment.