diff --git a/Changelog b/Changelog index 3bd731f..359e2ee 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,11 @@ +2019-01-08 2.1.1 Dmytro Nozdrin + * Fixed translations. + * Fixed f:translate ViewHelper obsolete property usage. + * Added change to the ChangeLog. + +2019-12-25 2.1.0 Dmytro Nozdrin + * Version for TYPO3 9.5 and 8.7. + 2017-11-21 2.0.0 Christian Riesche * Version for TYPO3 7.6 and 8.7. diff --git a/Configuration/TCA/tx_ncusefulpages_domain_model_comment.php b/Configuration/TCA/tx_ncusefulpages_domain_model_comment.php index c33af72..c6db3f6 100644 --- a/Configuration/TCA/tx_ncusefulpages_domain_model_comment.php +++ b/Configuration/TCA/tx_ncusefulpages_domain_model_comment.php @@ -3,7 +3,7 @@ return array( 'ctrl' => array( - 'title' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_comment', + 'title' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_comment', 'label' => 'content', 'tstamp' => 'tstamp', 'crdate' => 'crdate', @@ -25,7 +25,7 @@ 'columns' => array( 'content' => array( 'exclude' => 1, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_comment.content', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_comment.content', 'config' => array( 'type' => 'text', 'rows' => 15, @@ -39,20 +39,20 @@ ), 'rating' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_comment.rating', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_comment.rating', 'config' => array( 'type' => 'select', 'items' => array( array('-', 0), // Empty option despite 'eval'=>'required' to allow smooth transition without necessity of updating old records. - array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.useful', + array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.useful', \Netcreators\NcUsefulpages\Controller\CommentController::RATING_USEFUL), - array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.notUseful', + array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.notUseful', \Netcreators\NcUsefulpages\Controller\CommentController::RATING_NOT_USEFUL), - array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.undecided', + array('LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.undecided', \Netcreators\NcUsefulpages\Controller\CommentController::RATING_UNDECIDED) ), 'size' => 1, @@ -62,7 +62,7 @@ ), 'author_name' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_comment.author_name', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_comment.author_name', 'config' => array( 'type' => 'input', 'size' => 30, @@ -72,7 +72,7 @@ ), 'author_email' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_comment.author_email', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_comment.author_email', 'config' => array( 'type' => 'input', 'size' => 30, diff --git a/Configuration/TCA/tx_ncusefulpages_domain_model_page.php b/Configuration/TCA/tx_ncusefulpages_domain_model_page.php index ce95f2c..c022206 100644 --- a/Configuration/TCA/tx_ncusefulpages_domain_model_page.php +++ b/Configuration/TCA/tx_ncusefulpages_domain_model_page.php @@ -3,7 +3,7 @@ return array( 'ctrl' => array( - 'title' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page', + 'title' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page', 'label' => 'page_i_d', 'label_alt' => 'page_title', 'label_alt_force' => true, @@ -78,7 +78,7 @@ ), 'page_i_d' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.page_i_d', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.page_i_d', 'config' => array( 'type' => 'input', 'size' => 4, @@ -87,7 +87,7 @@ ), 'page_title' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.page_title', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.page_title', 'config' => array( 'type' => 'input', 'size' => 30, @@ -96,7 +96,7 @@ ), 'page_u_r_l' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.page_u_r_l', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.page_u_r_l', 'config' => array( 'type' => 'input', 'size' => 30, @@ -105,7 +105,7 @@ ), 'page_parameters' => array( 'exclude' => 1, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.page_parameters', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.page_parameters', 'config' => array( 'type' => 'text', 'rows' => 5, @@ -114,7 +114,7 @@ ), 'useful' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.useful', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.useful', 'config' => array( 'type' => 'input', 'size' => 4, @@ -123,7 +123,7 @@ ), 'notuseful' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.notUseful', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.notUseful', 'config' => array( 'type' => 'input', 'size' => 4, @@ -132,7 +132,7 @@ ), 'undecided' => array( 'exclude' => 0, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.undecided', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.undecided', 'config' => array( 'type' => 'input', 'size' => 4, @@ -141,7 +141,7 @@ ), 'comments' => array( 'exclude' => 1, - 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xml:tx_ncusefulpages_domain_model_page.comments', + 'label' => 'LLL:EXT:nc_usefulpages/Resources/Private/Language/locallang_db.xlf:tx_ncusefulpages_domain_model_page.comments', 'config' => array( 'type' => 'inline', 'foreign_table' => 'tx_ncusefulpages_domain_model_comment', diff --git a/Resources/Private/Language/de.locallang.xlf b/Resources/Private/Language/de.locallang.xlf new file mode 100644 index 0000000..7577d0e --- /dev/null +++ b/Resources/Private/Language/de.locallang.xlf @@ -0,0 +1,80 @@ + + + +
+ + + Beoordeel deze pagina + + + Ja + + + Nee + + + Dit is niet wat ik zocht + + + Bedankt voor uw input. + + + Wat was er onduidelijk of kan naar uw mening verbeterd worden? + + + Welke informatie zocht je? + + + Ga een stap terug + + + Stel je vraag aan een medewerker + + + Versturen + + + Indien u een reactie wilt ontvangen graag uw naam en e-mailadres invullen. + + + Uw naam + + + Uw e-mail adres + + + Beoordeling + + + Nuttig + + + Niet nuttig + + + Onbeslist + + + Opmerking verzonden + + + Uw reactie is aan onze medewerkers verzonden. + + + Er zijn volgende fouten: + + + Kon de widget voor pagina beoordeling niet weergegeven. + + + Kon u beoordeling over deze pagina niet opslaan. + + + Kon je reactie niet opslaan. + + + De <strong>%s</strong> veld mag niet leeg zijn! + + + + diff --git a/Resources/Private/Language/de.locallang_db.xlf b/Resources/Private/Language/de.locallang_db.xlf new file mode 100644 index 0000000..22328c9 --- /dev/null +++ b/Resources/Private/Language/de.locallang_db.xlf @@ -0,0 +1,50 @@ + + + +
+ + + Beoordeelde pagina (Useful Pages) + + + Pagina ID + + + Pagina URL + + + Pagina titel + + + Pagina plugin parameters + + + Nuttig + + + Niet nuttig + + + Onbeslist + + + Commentaren + + + Commentaar (Useful Pages) + + + Beoordeling + + + Inhoud + + + De naam van de auteur + + + De e-mail adres van de auteur + + + + diff --git a/Resources/Private/Language/fr.locallang.xlf b/Resources/Private/Language/fr.locallang.xlf new file mode 100644 index 0000000..ca29021 --- /dev/null +++ b/Resources/Private/Language/fr.locallang.xlf @@ -0,0 +1,95 @@ + + + +
+ + + Ce contenu vous a-t-il été utile ? + + + Ne pas remplir : + + + Oui + + + Non + + + Indécis + + + Valider + + + Votre vote a déjà été soumis. + + + Merci d'avoir noté cette page + + + Ce qui était clair ou pourrait être amélioré ? + + + Qu'est-ce que vous cherchez? + + + Retour à la page + + + Demander directement l'un de nos employés + + + Envoyer + + + Si vous souhaitez recevoir une réaction de notre part, s'il vous plaît entrer également votre nom et votre adresse e-mail + + + Nom + + + E-Mail + + + Fr Rating + + + Fr Useful + + + Fr Not useful + + + Fr Undecided + + + Si vous êtes humain, ne remplissez pas ce champ ! + + + Vous avez déjà voté sur cette page. + + + Votre commentaire a été envoyé + + + Votre commentaire a été envoyé + + + Les erreurs suivantes sont survenues : + + + Impossible d'afficher le module de notation de la page. + + + Impossible de noter la page. + + + Impossible de créer votre commentaire. + + + Le champ <strong>%s</strong> est obligatoire ! + + + + diff --git a/Resources/Private/Language/fr.locallang_db.xlf b/Resources/Private/Language/fr.locallang_db.xlf new file mode 100644 index 0000000..6b731ac --- /dev/null +++ b/Resources/Private/Language/fr.locallang_db.xlf @@ -0,0 +1,50 @@ + + + +
+ + + Notation de la page + + + ID de la page notée + + + URL de la page notée + + + Titre de la page notée + + + Paramètres du plugin affiché sur la page + + + Oui, utile + + + Non, pas utile + + + Indécis + + + Commentaires + + + Commentaire sur le contenu + + + Notation + + + Contenu + + + Nom de l'auteur + + + E-mail de l'auteur + + + + diff --git a/Resources/Private/Language/locallang.xlf b/Resources/Private/Language/locallang.xlf new file mode 100644 index 0000000..66f2535 --- /dev/null +++ b/Resources/Private/Language/locallang.xlf @@ -0,0 +1,80 @@ + + + +
+ + + Rate this page + + + Useful + + + Not useful + + + This is not what I was looking for + + + Thank you for rating this page. + + + What was unclear or could be improved? + + + What were you looking for? + + + Go one step back + + + Directly ask one of our employees + + + Send + + + If you would like to receive a reaction from us, please also enter your name and e-mail address. + + + Name + + + E-Mail + + + Rating + + + Useful + + + Not useful + + + Undecided + + + Comment sent + + + Your comment has been sent! + + + Following errors occurred: + + + Could not render page rating widget. + + + Could not rate the page. + + + Could not create your comment. + + + The <strong>%s</strong> field must not be empty! + + + + diff --git a/Resources/Private/Language/locallang.xml b/Resources/Private/Language/locallang.xml deleted file mode 100644 index fbe1fc3..0000000 --- a/Resources/Private/Language/locallang.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - module - Language labels for the Useful Pages extension in the FRONTEND - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Resources/Private/Language/locallang_db.xlf b/Resources/Private/Language/locallang_db.xlf new file mode 100644 index 0000000..52a8209 --- /dev/null +++ b/Resources/Private/Language/locallang_db.xlf @@ -0,0 +1,50 @@ + + + +
+ + + Page Rating (Useful Pages) + + + ID of the page being rated + + + URL of the page being rated + + + Title of the page being rated + + + Parameters of plugins shown on the page + + + Useful + + + Not useful + + + Undecided + + + Comments + + + Comment (Useful Pages) + + + Rating + + + Content + + + The author's name + + + The author's e-mail address + + + + diff --git a/Resources/Private/Language/locallang_db.xml b/Resources/Private/Language/locallang_db.xml deleted file mode 100644 index 02868bd..0000000 --- a/Resources/Private/Language/locallang_db.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - database - Language labels for database tables/fields belonging to extension 'nc_usefulpages' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Resources/Private/Partials/FormErrors.html b/Resources/Private/Partials/FormErrors.html index 550a1c0..4b67708 100644 --- a/Resources/Private/Partials/FormErrors.html +++ b/Resources/Private/Partials/FormErrors.html @@ -7,10 +7,7 @@ -
  • [{error.message} ({error.code})] -
  • +
  • [{error.message} ({error.code})]
  • diff --git a/ext_emconf.php b/ext_emconf.php index 43af105..c8b20ee 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -15,7 +15,7 @@ 'description' => 'Allows users to rate the current visited page as useful or not useful and give feedback.', 'category' => 'plugin', 'shy' => true, - 'version' => '2.1.0', + 'version' => '2.1.1', 'dependencies' => '', 'conflicts' => '', 'priority' => '', @@ -39,5 +39,4 @@ 'conflicts' => [], 'suggests' => [], ], - '_md5_values_when_last_written' => 'a:27:{s:9:"Changelog";s:4:"c545";s:12:"ext_icon.gif";s:4:"ea81";s:17:"ext_localconf.php";s:4:"4ef4";s:14:"ext_tables.php";s:4:"9433";s:14:"ext_tables.sql";s:4:"5cca";s:41:"Classes/Controller/AbstractController.php";s:4:"baad";s:40:"Classes/Controller/CommentController.php";s:4:"31ad";s:37:"Classes/Controller/PageController.php";s:4:"d134";s:32:"Classes/Domain/Model/Comment.php";s:4:"7d49";s:29:"Classes/Domain/Model/Page.php";s:4:"7fec";s:44:"Classes/Domain/Repository/PageRepository.php";s:4:"963f";s:58:"Classes/Exception/InvalidControllerActionArgumentError.php";s:4:"2d88";s:58:"Classes/Exception/MissingControllerActionArgumentError.php";s:4:"18e1";s:29:"Configuration/TCA/Comment.php";s:4:"d2ca";s:26:"Configuration/TCA/Page.php";s:4:"6b4f";s:34:"Configuration/TypoScript/setup.txt";s:4:"2625";s:40:"Resources/Private/Language/locallang.xml";s:4:"8da8";s:43:"Resources/Private/Language/locallang_db.xml";s:4:"524b";s:38:"Resources/Private/Layouts/Default.html";s:4:"10cd";s:43:"Resources/Private/Partials/CommentForm.html";s:4:"fc9a";s:42:"Resources/Private/Partials/FormErrors.html";s:4:"2244";s:47:"Resources/Private/Partials/NavigationLinks.html";s:4:"355e";s:47:"Resources/Private/Templates/Comment/Create.html";s:4:"fe08";s:43:"Resources/Private/Templates/Page/Index.html";s:4:"4c2a";s:43:"Resources/Private/Templates/Page/Rated.html";s:4:"5dcc";s:64:"Resources/Public/Icons/tx_ncusefulpages_domain_model_comment.gif";s:4:"53ba";s:61:"Resources/Public/Icons/tx_ncusefulpages_domain_model_page.gif";s:4:"905a";}', ];