1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-30 12:52:24 -05:00

more translations

This commit is contained in:
tcit 2014-07-26 13:04:12 +02:00
parent 8492f37323
commit ab86a5124a
5 changed files with 121 additions and 6 deletions

View File

@ -55,7 +55,7 @@ class WallabagEBooks
case 'category': case 'category':
$category = filter_var($this->value, FILTER_SANITIZE_STRING); $category = filter_var($this->value, FILTER_SANITIZE_STRING);
$this->entries = $this->wallabag->store->getEntriesByView($category, $this->wallabag->user->getId()); $this->entries = $this->wallabag->store->getEntriesByView($category, $this->wallabag->user->getId());
$this->bookTitle = sprintf(_('All articles in category %s'), $category); $this->bookTitle = sprintf(_('Articles in category %s'), $category);
$this->bookFileName = substr(sprintf(_('Category %s'), $category), 0, 200); $this->bookFileName = substr(sprintf(_('Category %s'), $category), 0, 200);
Tools::logm('Producing ebook from category ' . $category); Tools::logm('Producing ebook from category ' . $category);
break; break;
@ -63,7 +63,7 @@ class WallabagEBooks
$search = filter_var($this->value, FILTER_SANITIZE_STRING); $search = filter_var($this->value, FILTER_SANITIZE_STRING);
Tools::logm($search); Tools::logm($search);
$this->entries = $this->wallabag->store->search($search, $this->wallabag->user->getId()); $this->entries = $this->wallabag->store->search($search, $this->wallabag->user->getId());
$this->bookTitle = sprintf(_('All articles for search %s'), $search); $this->bookTitle = sprintf(_('Articles for search %s'), $search);
$this->bookFileName = substr(sprintf(_('Search %s'), $search), 0, 200); $this->bookFileName = substr(sprintf(_('Search %s'), $search), 0, 200);
Tools::logm('Producing ebook from search ' . $search); Tools::logm('Producing ebook from search ' . $search);
break; break;
@ -207,7 +207,7 @@ class WallabagMobi extends WallabagEBooks
$error = FALSE; $error = FALSE;
# testing Mail function # testing Mail function
if (!function_exists('mail')) { if (!function_exists('mail')) {
$error = _('Mail function is unavailable'); $error = _("Mail function is disabled. You can't send emails from your server");
} }
$char_in = array('/', '.', ',', ':', '|'); # we sanitize filename to avoid conflicts with special characters (for instance, / goes for a directory) $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
# trying to get the kindle email adress # trying to get the kindle email adress
if (!$this->wallabag->user->getConfigValue('kindleemail')) if (!$this->wallabag->user->getConfigValue('kindleemail'))
{ {
$error = _('You didn\'t set your kindle\'s email adress !'); $error = _("You didn't set your kindle's email adress !");
} }
if (!$error) { if (!$error) {
mail($this->wallabag->user->getConfigValue('kindleemail'), '[wallabag] ' . $this->bookTitle, "", $header ); mail($this->wallabag->user->getConfigValue('kindleemail'), '[wallabag] ' . $this->bookTitle, "", $header );

View File

@ -141,8 +141,10 @@ msgstr "Repeat your new password:"
msgid "Import" msgid "Import"
msgstr "Import" msgstr "Import"
msgid "Please execute the import script locally as it can take a very long time." msgid ""
msgstr "Please execute the import script locally as it can take a very long time." "Please execute the import script locally as it can take a very long time."
msgstr ""
"Please execute the import script locally as it can take a very long time."
msgid "More info in the official documentation:" msgid "More info in the official documentation:"
msgstr "More info in the official documentation:" msgstr "More info in the official documentation:"
@ -584,6 +586,61 @@ msgstr "Download as Mobi"
msgid "Download as PDF" msgid "Download as PDF"
msgstr "Download as PDF" msgstr "Download as PDF"
msgid "All my articles on %s"
msgstr "All my articles on %s"
msgid "Allarticles"
msgstr "Allarticles"
msgid "Articles tagged %s"
msgstr "Articles tagged %s"
msgid "Tag %s"
msgstr "Tag %s"
msgid "Articles in category %s"
msgstr "All articles in category %s"
msgid "Category %s"
msgstr "Category %s"
msgid "Articles for search %s"
msgstr "All articles for search %s"
msgid "Search %s"
msgstr "Search %s"
msgid "wallabag articles book"
msgstr "wallabag articles book"
msgid "Some articles saved on my wallabag"
msgstr "Some articles saved on my wallabag"
msgid "Produced by wallabag with PHPePub"
msgstr "Produced by wallabag with PHPePub"
msgid ""
"Please open <a href='https://github.com/wallabag/wallabag/issues'>an issue</"
"a> if you have trouble with the display of this E-Book on your device."
msgstr ""
"Please open <a href='https://github.com/wallabag/wallabag/issues'>an issue</"
"a> if you have trouble with the display of this E-Book on your device."
msgid "Produced by wallabag with PHPMobi"
msgstr "Produced by wallabag with PHPMobi"
msgid "Mail function is disabled. You can't send emails from your server"
msgstr "Mail function is disabled. You can't send emails from your server"
msgid "You didn't set your kindle's email adress !"
msgstr "You didn't set your kindle's email adress !"
msgid "The email has been sent to your kindle !"
msgstr "The email has been sent to your kindle !"
msgid "Produced by wallabag with mPDF"
msgstr "Produced by wallabag with mPDF"
#~ msgid "poche it!" #~ msgid "poche it!"
#~ msgstr "poche it!" #~ msgstr "poche it!"

View File

@ -708,3 +708,61 @@ msgstr "Télécharger en Mobi"
msgid "Download as PDF" msgid "Download as PDF"
msgstr "Télécharger en PDF" msgstr "Télécharger en PDF"
msgid "All my articles on %s"
msgstr "Tous mes articles le %s"
msgid "Allarticles"
msgstr "TousArticles"
msgid "Articles tagged %s"
msgstr "Articles avec le tag %s"
msgid "Tag %s"
msgstr "Tag %s"
msgid "Articles in category %s"
msgstr "Articles de la catégorie %s"
msgid "Category %s"
msgstr "Catégorie %s"
msgid "Articles for search %s"
msgstr "Articles pour la recherche %s"
msgid "Search %s"
msgstr "Recherche %s"
msgid "wallabag articles book"
msgstr "Livre d'articles issus de wallabag"
msgid "Some articles saved on my wallabag"
msgstr "Des articles sauvegardés sur wallabag"
msgid "Produced by wallabag with PHPePub"
msgstr "Produit par wallabag avec PHPePub"
msgid ""
"Please open <a href='https://github.com/wallabag/wallabag/issues'>an issue</"
"a> if you have trouble with the display of this E-Book on your device."
msgstr ""
"Merci d'ouvrir <a href='https://github.com/wallabag/wallabag/issues'>un "
"ticket</a> si vous avez des problèmes d'affichage de cet E-Book sur votre "
"appareil."
msgid "Produced by wallabag with PHPMobi"
msgstr "Produit par wallabag avec PHPMobi"
msgid "Mail function is disabled. You can't send emails from your server"
msgstr ""
"La fonction mail est désactivée. Vous ne pouvez pas envoyer d'E-mails depuis "
"votre serveur"
msgid "You didn't set your kindle's email adress !"
msgstr "Vous n'avez pas renseigné l'adresse E-mail de votre Kindle !"
msgid "The email has been sent to your kindle !"
msgstr "L'E-mail a été envoyé à votre Kindle !"
msgid "Produced by wallabag with mPDF"
msgstr "Produit par wallabag avec mPDF"