aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-07-26 13:04:12 +0200
committertcit <tcit@tcit.fr>2014-07-26 13:04:12 +0200
commitab86a5124ae4a23cc37dc78ccfbd73089b3248d8 (patch)
tree87538b6d0b533a4dd814b782f8aa5e9fc77cc783 /inc
parent8492f37323c63ac4caed3246077c11bb2c5be79b (diff)
downloadwallabag-ab86a5124ae4a23cc37dc78ccfbd73089b3248d8.tar.gz
wallabag-ab86a5124ae4a23cc37dc78ccfbd73089b3248d8.tar.zst
wallabag-ab86a5124ae4a23cc37dc78ccfbd73089b3248d8.zip
more translations
Diffstat (limited to 'inc')
-rw-r--r--inc/poche/WallabagEBooks.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/poche/WallabagEBooks.class.php b/inc/poche/WallabagEBooks.class.php
index 906a2247..80aa7e43 100644
--- a/inc/poche/WallabagEBooks.class.php
+++ b/inc/poche/WallabagEBooks.class.php
@@ -55,7 +55,7 @@ class WallabagEBooks
55 case 'category': 55 case 'category':
56 $category = filter_var($this->value, FILTER_SANITIZE_STRING); 56 $category = filter_var($this->value, FILTER_SANITIZE_STRING);
57 $this->entries = $this->wallabag->store->getEntriesByView($category, $this->wallabag->user->getId()); 57 $this->entries = $this->wallabag->store->getEntriesByView($category, $this->wallabag->user->getId());
58 $this->bookTitle = sprintf(_('All articles in category %s'), $category); 58 $this->bookTitle = sprintf(_('Articles in category %s'), $category);
59 $this->bookFileName = substr(sprintf(_('Category %s'), $category), 0, 200); 59 $this->bookFileName = substr(sprintf(_('Category %s'), $category), 0, 200);
60 Tools::logm('Producing ebook from category ' . $category); 60 Tools::logm('Producing ebook from category ' . $category);
61 break; 61 break;
@@ -63,7 +63,7 @@ class WallabagEBooks
63 $search = filter_var($this->value, FILTER_SANITIZE_STRING); 63 $search = filter_var($this->value, FILTER_SANITIZE_STRING);
64 Tools::logm($search); 64 Tools::logm($search);
65 $this->entries = $this->wallabag->store->search($search, $this->wallabag->user->getId()); 65 $this->entries = $this->wallabag->store->search($search, $this->wallabag->user->getId());
66 $this->bookTitle = sprintf(_('All articles for search %s'), $search); 66 $this->bookTitle = sprintf(_('Articles for search %s'), $search);
67 $this->bookFileName = substr(sprintf(_('Search %s'), $search), 0, 200); 67 $this->bookFileName = substr(sprintf(_('Search %s'), $search), 0, 200);
68 Tools::logm('Producing ebook from search ' . $search); 68 Tools::logm('Producing ebook from search ' . $search);
69 break; 69 break;
@@ -207,7 +207,7 @@ class WallabagMobi extends WallabagEBooks
207 $error = FALSE; 207 $error = FALSE;
208 # testing Mail function 208 # testing Mail function
209 if (!function_exists('mail')) { 209 if (!function_exists('mail')) {
210 $error = _('Mail function is unavailable'); 210 $error = _("Mail function is disabled. You can't send emails from your server");
211 } 211 }
212 212
213 $char_in = array('/', '.', ',', ':', '|'); # we sanitize filename to avoid conflicts with special characters (for instance, / goes for a directory) 213 $char_in = array('/', '.', ',', ':', '|'); # we sanitize filename to avoid conflicts with special characters (for instance, / goes for a directory)
@@ -244,7 +244,7 @@ class WallabagMobi extends WallabagEBooks
244 # trying to get the kindle email adress 244 # trying to get the kindle email adress
245 if (!$this->wallabag->user->getConfigValue('kindleemail')) 245 if (!$this->wallabag->user->getConfigValue('kindleemail'))
246 { 246 {
247 $error = _('You didn\'t set your kindle\'s email adress !'); 247 $error = _("You didn't set your kindle's email adress !");
248 } 248 }
249 if (!$error) { 249 if (!$error) {
250 mail($this->wallabag->user->getConfigValue('kindleemail'), '[wallabag] ' . $this->bookTitle, "", $header ); 250 mail($this->wallabag->user->getConfigValue('kindleemail'), '[wallabag] ' . $this->bookTitle, "", $header );