]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/History.php
Shaarli's translation
[github/shaarli/Shaarli.git] / application / History.php
index 5e3b1b72d475ce97fd05692bec751e661b13e182..35ec016a9be27c374dec0e96cbcd0d27e20a119a 100644 (file)
@@ -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'));
         }
     }