X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FHistory.php;h=35ec016a9be27c374dec0e96cbcd0d27e20a119a;hb=1004742f09b55ff781c13745781b9a7e90986faa;hp=5e3b1b72d475ce97fd05692bec751e661b13e182;hpb=66e74d50d38a6fea8fc904a1746157633de7cc65;p=github%2Fshaarli%2FShaarli.git diff --git a/application/History.php b/application/History.php index 5e3b1b72..35ec016a 100644 --- a/application/History.php +++ b/application/History.php @@ -171,7 +171,7 @@ class History } if (! is_writable($this->historyFilePath)) { - throw new Exception('History file isn\'t readable or writable'); + throw new Exception(t('History file isn\'t readable or writable')); } } @@ -182,7 +182,7 @@ class History { $this->history = FileUtils::readFlatDB($this->historyFilePath, []); if ($this->history === false) { - throw new Exception('Could not parse history file'); + throw new Exception(t('Could not parse history file')); } }