Commit 8d86a29b authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

Plugin epub - Ajout de traductions manquantes

parent a515fa04
......@@ -215,7 +215,7 @@ function create_epub($title, $qry_articles, $external_content){
$book->setIdentifier("http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."/".$title, EPub::IDENTIFIER_URI);
$book->setLanguage("fr"); // TODO L10N
$book->setDescription("Auto generated epub file with articles from Leed rss reader.");
//$book->addCSSFile("styles.css", "css1", $cssData); //TODO add Leed css ?
//$book->setCoverImage("Cover.jpg", file_get_contents("demo/cover-image.jpg"), "image/jpeg");
......@@ -230,7 +230,7 @@ function create_epub($title, $qry_articles, $external_content){
$html_content = $epubbook_start
. '<h2 class="articleTitle">'.$title_article.'</h2>'
. '<h3 class="articleDetails"> par '.$author_article.' '._t('P_EPUB_ON_DATE').' '.date("d/m/Y", $data['pubdate']).' '._t('P_EPUB_AT_TIME').' ' .date("H:i:s",$data['pubdate']).'</h3>'
. '<h3 class="articleDetails">'._t('P_EPUB_BY').' '.$author_article.' '._t('P_EPUB_ON_DATE').' '.date("d/m/Y", $data['pubdate']).' '._t('P_EPUB_AT_TIME').' ' .date("H:i:s",$data['pubdate']).'</h3>'
. $data['content'].constant("EPUBBOOK_END");
$html_content = html_entity_decode($html_content, ENT_QUOTES, 'UTF-8');
......@@ -21,5 +21,7 @@
"P_EPUB_SET_VERSION":"EPUB version of created files:",
"P_EPUB_TEXTONLY":"Text only",
"P_EPUB_UNKNOWN_ACTION_ERROR":"Unknown action for epub plugin:",
"P_EPUB_UNREAD_ARTICLES":"Unread Leed articles"
\ No newline at end of file
"P_EPUB_UNREAD_ARTICLES":"Unread Leed articles",
"P_EPUB_DESCRIPTION":"Automatically generated ebook by your Leed rss reader.",
......@@ -21,5 +21,7 @@
"P_EPUB_SET_VERSION":"Version EPUB à utiliser pour créer les fichiers :",
"P_EPUB_TEXTONLY":"Texte seulement",
"P_EPUB_UNKNOWN_ACTION_ERROR":"Action inconnue pour le plugin epub :",
"P_EPUB_UNREAD_ARTICLES":"Articles Leed non lus"
\ No newline at end of file
"P_EPUB_UNREAD_ARTICLES":"Articles Leed non lus",
"P_EPUB_DESCRIPTION":"Ebook automatiquement généré par votre lecteur de flux RSS Leed.",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment