From 75197145d571940e77b7f033d3edd02bf9348afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20G=C3=B6tzinger?= Date: Thu, 18 Jun 2015 07:38:08 +0200 Subject: [PATCH] Umstellung auf XLIFF --- composer.json | 8 +- languages/de/default.php | 56 ------ languages/de/default.xlf | 75 ++++++++ languages/de/modules.php | 34 ---- languages/de/modules.xlf | 15 ++ languages/de/rateit_backend.php | 86 --------- languages/de/rateit_backend.xlf | 303 ++++++++++++++++++++++++++++++++ languages/de/tl_article.php | 40 ----- languages/de/tl_article.xlf | 51 ++++++ languages/de/tl_content.php | 41 ----- languages/de/tl_content.xlf | 27 +++ languages/de/tl_faq.php | 38 ---- languages/de/tl_faq.xlf | 43 +++++ languages/de/tl_module.php | 57 ------ languages/de/tl_module.xlf | 99 +++++++++++ languages/de/tl_news.php | 40 ----- languages/de/tl_news.xlf | 43 +++++ languages/de/tl_page.php | 40 ----- languages/de/tl_page.xlf | 43 +++++ languages/de/tl_settings.php | 64 ------- languages/de/tl_settings.xlf | 135 ++++++++++++++ languages/en/default.php | 56 ------ languages/en/default.xlf | 75 ++++++++ languages/en/modules.php | 34 ---- languages/en/modules.xlf | 15 ++ languages/en/rateit_backend.php | 86 --------- languages/en/rateit_backend.xlf | 303 ++++++++++++++++++++++++++++++++ languages/en/tl_article.php | 41 ----- languages/en/tl_article.xlf | 51 ++++++ languages/en/tl_content.php | 41 ----- languages/en/tl_content.xlf | 27 +++ languages/en/tl_faq.php | 40 ----- languages/en/tl_faq.xlf | 43 +++++ languages/en/tl_module.php | 57 ------ languages/en/tl_module.xlf | 99 +++++++++++ languages/en/tl_news.php | 40 ----- languages/en/tl_news.xlf | 43 +++++ languages/en/tl_page.php | 40 ----- languages/en/tl_page.xlf | 43 +++++ languages/en/tl_settings.php | 64 ------- languages/en/tl_settings.xlf | 135 ++++++++++++++ 41 files changed, 1675 insertions(+), 996 deletions(-) delete mode 100644 languages/de/default.php create mode 100644 languages/de/default.xlf delete mode 100644 languages/de/modules.php create mode 100644 languages/de/modules.xlf delete mode 100644 languages/de/rateit_backend.php create mode 100644 languages/de/rateit_backend.xlf delete mode 100644 languages/de/tl_article.php create mode 100644 languages/de/tl_article.xlf delete mode 100644 languages/de/tl_content.php create mode 100644 languages/de/tl_content.xlf delete mode 100644 languages/de/tl_faq.php create mode 100644 languages/de/tl_faq.xlf delete mode 100644 languages/de/tl_module.php create mode 100644 languages/de/tl_module.xlf delete mode 100644 languages/de/tl_news.php create mode 100644 languages/de/tl_news.xlf delete mode 100644 languages/de/tl_page.php create mode 100644 languages/de/tl_page.xlf delete mode 100644 languages/de/tl_settings.php create mode 100644 languages/de/tl_settings.xlf delete mode 100644 languages/en/default.php create mode 100644 languages/en/default.xlf delete mode 100644 languages/en/modules.php create mode 100644 languages/en/modules.xlf delete mode 100644 languages/en/rateit_backend.php create mode 100644 languages/en/rateit_backend.xlf delete mode 100644 languages/en/tl_article.php create mode 100644 languages/en/tl_article.xlf delete mode 100644 languages/en/tl_content.php create mode 100644 languages/en/tl_content.xlf delete mode 100644 languages/en/tl_faq.php create mode 100644 languages/en/tl_faq.xlf delete mode 100644 languages/en/tl_module.php create mode 100644 languages/en/tl_module.xlf delete mode 100644 languages/en/tl_news.php create mode 100644 languages/en/tl_news.xlf delete mode 100644 languages/en/tl_page.php create mode 100644 languages/en/tl_page.xlf delete mode 100644 languages/en/tl_settings.php create mode 100644 languages/en/tl_settings.xlf diff --git a/composer.json b/composer.json index 94ef134..f3f2b31 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,13 @@ "contao": { "sources":{ "":"system/modules/rateit" + }, + "transifex":{ + "project": "rateit", + "prefix": "core-", + "languages_cto": "languages", + "languages_tx": "languages" } } } -} \ No newline at end of file +} diff --git a/languages/de/default.php b/languages/de/default.php deleted file mode 100644 index 1eb3056..0000000 --- a/languages/de/default.php +++ /dev/null @@ -1,56 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * front end modules - */ -$GLOBALS['TL_LANG']['FMD']['rateit'] = array('Rate It', 'Bietet Benutzern die Möglichkeit Bewertungen für Artikel, Seiten, News und FAQs abzugeben.'); -$GLOBALS['TL_LANG']['FMD']['rateit_top_ratings'] = array('Rate It - Beste/Meiste Bewertungen', 'Auflistung der x besten Bewertungen als Liste.'); - -/** - * content Elements - */ -$GLOBALS['TL_LANG']['CTE']['rateit'] = array('Rate It', 'Bietet Benutzern die Möglichkeit Bewertungen für Artikel, Seiten, News und FAQs abzugeben.'); - -$GLOBALS['TL_LANG']['rateit']['rating_label'] = array('Stimme', 'Stimmen'); -$GLOBALS['TL_LANG']['rateit']['heart'] = 'Herz'; -$GLOBALS['TL_LANG']['rateit']['hearts'] = 'Herzen'; -$GLOBALS['TL_LANG']['rateit']['star'] = 'Stern'; -$GLOBALS['TL_LANG']['rateit']['stars'] = 'Sterne'; - -/** - * Fehler - */ -$GLOBALS['TL_LANG']['rateit']['error']['invalid_id'] = 'ERROR: Ungültige ID für Rating angegeben.'; -$GLOBALS['TL_LANG']['rateit']['error']['invalid_rating'] = 'ERROR: Ungültiges Rating angegeben.'; -$GLOBALS['TL_LANG']['rateit']['error']['invalid_type'] = 'ERROR: Ungültiger Typ für Rating angegeben.'; -$GLOBALS['TL_LANG']['rateit']['error']['duplicate_vote'] = 'ERROR: Sie dürfen nicht mehrfach abstimmen.'; -$GLOBALS['TL_LANG']['rateit']['error']['duplicate_rkey'] = 'Der eindeutige Bezeichner "%s" für ein Rating existiert bereits. Bitte wählen Sie einen anderen Bezeichner.'; -?> \ No newline at end of file diff --git a/languages/de/default.xlf b/languages/de/default.xlf new file mode 100644 index 0000000..d8d9b1c --- /dev/null +++ b/languages/de/default.xlf @@ -0,0 +1,75 @@ + + + + + + Rate It + Rate It + + + Enables users to leave ratings for articles, pages, news and FAQs. + Bietet Benutzern die Möglichkeit Bewertungen für Artikel, Seiten, News und FAQs abzugeben. + + + Rate It - Best/Most ratings + Rate It - Beste/Meiste Bewertungen + + + List of the x best ratings. + Auflistung der x besten Bewertungen als Liste. + + + Rate It + Rate It + + + Enables users to leave ratings for articles, pages, news and FAQs. + Bietet Benutzern die Möglichkeit Bewertungen für Artikel, Seiten, News und FAQs abzugeben. + + + vote + Stimme + + + votes + Stimmen + + + heart + Herz + + + hearts + Herzen + + + star + Stern + + + stars + Sterne + + + ERROR: Invalid ID for rating given. + FEHLER: Ungültige ID für Rating angegeben. + + + ERROR: Invalid rating given. + FEHLER: Ungültiges Rating angegeben. + + + ERROR: Invalid type for rating given. + FEHLER: Ungültiger Typ für Rating angegeben. + + + ERROR: You may not vote more than once. + FEHLER: Sie dürfen nicht mehrfach abstimmen. + + + The unique identifier "% s" already exists for a rating. Please choose a different identifier. + Der eindeutige Bezeichner "%s" für ein Rating existiert bereits. Bitte wählen Sie einen anderen Bezeichner. + + + + diff --git a/languages/de/modules.php b/languages/de/modules.php deleted file mode 100644 index d89f75b..0000000 --- a/languages/de/modules.php +++ /dev/null @@ -1,34 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -// Back end modules -$GLOBALS['TL_LANG']['MOD']['rateit'] = array('Rate It', 'Bewertungen für Artikel, Seiten, News und FAQs ansehen'); - -?> \ No newline at end of file diff --git a/languages/de/modules.xlf b/languages/de/modules.xlf new file mode 100644 index 0000000..e36aa60 --- /dev/null +++ b/languages/de/modules.xlf @@ -0,0 +1,15 @@ + + + + + + Rate It + Rate It + + + View ratings for articles, pages, news and faqs + Bewertungen für Artikel, Seiten, News und FAQs ansehen + + + + diff --git a/languages/de/rateit_backend.php b/languages/de/rateit_backend.php deleted file mode 100644 index dcbc135..0000000 --- a/languages/de/rateit_backend.php +++ /dev/null @@ -1,86 +0,0 @@ -'Rating-Key', 'typ'=>'Typ', 'title'=>'Titel', - 'createdat'=>'Aktivierungszeitpunkt', 'active'=>'Aktiv', - 'rating'=>'Bewertung', 'stars'=>'Max. Bewertung', - 'percent'=>'Bewertung in Prozent', 'totalRatings'=>'Anzahl Bewertungen'); -$GLOBALS['TL_LANG']['tl_rateit']['xls_headers_detail'] = array('ip'=>'IP Adresse', 'member'=>'Frontend Benutzer', 'rating'=>'Bewertung', 'percent'=>'Bewertung in Prozent', - 'createdat'=>'Bewertungszeitpunkt'); diff --git a/languages/de/rateit_backend.xlf b/languages/de/rateit_backend.xlf new file mode 100644 index 0000000..6963030 --- /dev/null +++ b/languages/de/rateit_backend.xlf @@ -0,0 +1,303 @@ + + + + + + Back + Zurück + + + No matching ratings found. + Keine entsprechenden Bewertungen gefunden. + + + Detailview + Detailanzeige + + + By %s + Nach %s + + + Type + Typ + + + Please choose the rating type. + Bitte wählen Sie den Bewertungs-Typ. + + + Active/Inactive + Aktiv/Inaktiv + + + Please choose whether you want to display only active or inactive ratings. + Bitte wählen Sie, ob Sie nur aktive bzw. inaktive Bewertungen anzeigen wollen. + + + Type + Typ + + + Rating type (rating for an "article", a "page", a "news" or a "faq") + Typ des Ratings (Rating für eine "Seite" oder einen "Artikel") + + + Title + Titel + + + Title of the article, page, news or faq, on which the rating is included. + Titel der Seite oder des Artikels, auf der/dem das Rating eingebunden ist. + + + activated since + aktiviert seit + + + Day from which this rating has been enabled in the format "%s" + Tag ab dem dieses Bewertung aktiviert gewesen ist im Format %s + + + Status + Status + + + Indicates whether this rating is currently enabled or not. + Gibt an, ob diese Bewertung derzeit aktiviert ist oder nicht. + + + Rating + Bewertung + + + actual rating + aktueller Bewertungsstand + + + Overall rating + Gesamtbewertung + + + actual overall rating + aktueller Gesamt-Bewertungsstand + + + Total votes + Anzahl Bewertungen + + + Number of votes for this rating + Anzahl der abgegebenen Stimmen für diese Bewertung + + + %s/%d (%d Votes) + %s/%d (%d Stimmen) + + + %s/%d + %s/%d + + + Rating %s: %d of %d votes (corresponds %s%%) + Bewertung %s: %d von %d abgegebenen Bewertungen (entspricht %s%%) + + + Statistics + Statistik + + + Statistics + Statistik + + + Distribution of ratings + Verteilung der Bewertungen + + + Count of ratings + Anzahl Bewertungen + + + Rating + Bewertung + + + Count + Anzahl + + + Ratings per month + abgegebene Bewertungen pro Monat + + + Ratings per month + abgegebene Bewertungen pro Monat + + + Average rating + durchschn. Bewertung + + + Month + Monat + + + Count + Anzahl + + + Ratings + Abgegebene Bewertungen + + + List of all ratings + Liste aller abgegebenen Bewertungen + + + IP address + IP-Adresse + + + Frontend member + Frontend Benutzer + + + Valuation Point + Bewertungszeitpunkt + + + vote + Stimme + + + votes + Stimmen + + + Reset selected ratings + Markierte Bewertungen zurücksetzen + + + Page + Seite + + + Article + Artikel + + + News + Nachricht + + + FAQ + FAQ + + + Content element + Inhaltselement + + + Module + Modul + + + Gallery picture + Galerie-Bild + + + Blog entry + Beitrag + + + Rating + Bewertung + + + Title + Titel + + + Type + Typ + + + Activation date + Aktivierungsdatum + + + inactive + inaktiv + + + active + aktiv + + + Ratings + Bewertungen + + + Rating + Bewertung + + + Rating-Key + Rating-Key + + + Type + Typ + + + Title + Titel + + + Activation date + Aktivierungszeitpunkt + + + Active + Aktiv + + + Rating + Bewertung + + + Max. Rating + Max. Bewertung + + + Rating in percent + Bewertung in Prozent + + + Total votes + Anzahl Bewertungen + + + IP address + IP Adresse + + + Frontend member + Frontend Benutzer + + + Rating + Bewertung + + + Rating in percent + Bewertung in Prozent + + + Valuation Point + Bewertungszeitpunkt + + + + diff --git a/languages/de/tl_article.php b/languages/de/tl_article.php deleted file mode 100644 index e3dfa2b..0000000 --- a/languages/de/tl_article.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_article']['rateit_legend'] = 'Rate It-Einstellungen'; - -$GLOBALS['TL_LANG']['tl_article']['addRating'] = array('Rating aktivieren', 'Aktiviert das Rating für diesen Artikel'); -$GLOBALS['TL_LANG']['tl_article']['rateit_position'] = array('Position', 'Position des Rating (ober- oder unterhalb) des Artikels.'); -$GLOBALS['TL_LANG']['tl_article']['rateit_template'] = array('Template', 'Hier können Sie das Template für die Bewertung des Artikels auswählen.'); - -$GLOBALS['TL_LANG']['tl_article']['before'] = array('oberhalb', 'Anzeige des Texts oberhalb des Artikels'); -$GLOBALS['TL_LANG']['tl_article']['after'] = array('unterhalb', 'Anzeige des Texts unterhalb des Artikels'); -?> \ No newline at end of file diff --git a/languages/de/tl_article.xlf b/languages/de/tl_article.xlf new file mode 100644 index 0000000..5d03fa2 --- /dev/null +++ b/languages/de/tl_article.xlf @@ -0,0 +1,51 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + activate rating + Rating aktivieren + + + Enables the rating for this article + Aktiviert das Rating für diesen Artikel + + + position + Position + + + position of the rating (before or above) the article. + Position des Rating (ober- oder unterhalb) des Artikels. + + + Template + Template + + + Here you can select the template for the article's rating. + Hier können Sie das Template für die Bewertung des Artikels auswählen. + + + above + oberhalb + + + Display the text above the article + Anzeige des Texts oberhalb des Artikels + + + below + unterhalb + + + Display the text below the article + Anzeige des Texts unterhalb des Artikels + + + + diff --git a/languages/de/tl_content.php b/languages/de/tl_content.php deleted file mode 100644 index 4b1c7a1..0000000 --- a/languages/de/tl_content.php +++ /dev/null @@ -1,41 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_content']['rateit_legend'] = 'Rate It-Einstellungen'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_content']['rateit_title'] = array('Titel der Bewertung', 'Titel der Bewertung (wird im Backend angezeigt).'); -$GLOBALS['TL_LANG']['tl_content']['rateit_active'] = array('Aktiv', 'Aktiv bedeutet, dass die Bewertung sichtbar für den Frontend-Nutzer ist.'); -?> \ No newline at end of file diff --git a/languages/de/tl_content.xlf b/languages/de/tl_content.xlf new file mode 100644 index 0000000..1cf6bb8 --- /dev/null +++ b/languages/de/tl_content.xlf @@ -0,0 +1,27 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + Rating title + Titel der Bewertung + + + Rating title (shown in backend). + Titel der Bewertung (wird im Backend angezeigt). + + + Active + Aktiv + + + Active means that the review is visible to the front-end users. + Aktiv bedeutet, dass die Bewertung sichtbar für den Frontend-Nutzer ist. + + + + diff --git a/languages/de/tl_faq.php b/languages/de/tl_faq.php deleted file mode 100644 index 799ce5d..0000000 --- a/languages/de/tl_faq.php +++ /dev/null @@ -1,38 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_faq']['rating_legend'] = 'Rate It-Einstellungen'; -$GLOBALS['TL_LANG']['tl_faq']['addRating'] = array('Rating aktivieren', 'Aktiviert das Rating für diese FAQ'); -$GLOBALS['TL_LANG']['tl_faq']['rateit_position'] = array('Position', 'Position des Rating (ober- oder unterhalb) des FAQ-Beitrags.'); - -$GLOBALS['TL_LANG']['tl_faq']['before'] = array('oberhalb', 'Anzeige des Texts oberhalb des FAQ-Beitrags'); -$GLOBALS['TL_LANG']['tl_faq']['after'] = array('unterhalb', 'Anzeige des Texts unterhalb des FAQ-Beitrags'); -?> \ No newline at end of file diff --git a/languages/de/tl_faq.xlf b/languages/de/tl_faq.xlf new file mode 100644 index 0000000..01fc073 --- /dev/null +++ b/languages/de/tl_faq.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + activate rating + Rating aktivieren + + + Enables the rating for this news article + Aktiviert das Rating für diese FAQ + + + position + Position + + + position of the rating (before or above) the FAQ entry. + Position des Rating (ober- oder unterhalb) des FAQ-Beitrags. + + + above + oberhalb + + + Display the text above the FAQ entry + Anzeige des Texts oberhalb des FAQ-Beitrags + + + below + unterhalb + + + Display the text below the FAQ entry + Anzeige des Texts unterhalb des FAQ-Beitrags + + + + diff --git a/languages/de/tl_module.php b/languages/de/tl_module.php deleted file mode 100644 index bff1d71..0000000 --- a/languages/de/tl_module.php +++ /dev/null @@ -1,57 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_module']['rateit_legend'] = 'Rate It-Einstellungen'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_module']['rateit_title'] = array('Titel der Bewertung', 'Titel der Bewertung (wird im Backend angezeigt).'); -$GLOBALS['TL_LANG']['tl_module']['rateit_active'] = array('Aktiv', 'Aktiv bedeutet, dass die Bewertung sichtbar für den Frontend-Nutzer ist.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_types'] = array('Typen', 'Art der Bewertung'); -$GLOBALS['TL_LANG']['tl_module']['rateit_count'] = array('Max. Anzahl', 'Max. Anzahl anzuzeigender Einträge.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype'] = array('Art der Liste', 'Die x bestbewerteten Einträge oder die x meistbewerteten Einträge.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_template'] = array('Template', 'Hier können Sie das Template für die Bewertung des Artikels auswählen.'); - -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['page'] = 'Seite'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['article'] = 'Artikel'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['ce'] = 'Inhaltselement'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['module'] = 'Modul'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['news'] = 'Nachrichten'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['faq'] = 'FAQ'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['galpic'] = 'Galeriebild'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['news4ward'] = 'Beitrag'; - -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype']['best'] = 'Beste Bewertungen'; -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype']['most'] = 'Meiste Bewertungen'; -?> \ No newline at end of file diff --git a/languages/de/tl_module.xlf b/languages/de/tl_module.xlf new file mode 100644 index 0000000..b74d068 --- /dev/null +++ b/languages/de/tl_module.xlf @@ -0,0 +1,99 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + Rating title + Titel der Bewertung + + + Rating title (shown in backend). + Titel der Bewertung (wird im Backend angezeigt). + + + Active + Aktiv + + + Active means that the review is visible to the front-end users. + Aktiv bedeutet, dass die Bewertung sichtbar für den Frontend-Nutzer ist. + + + Types + Typen + + + Select the types for which you would like the best ratings to be displayed. + Art der Bewertung + + + Max. count + Max. Anzahl + + + Max. count of displayed values. + Max. Anzahl anzuzeigender Einträge. + + + List type + Art der Liste + + + The x best voted entries oder the x most voted entries. + Die x bestbewerteten Einträge oder die x meistbewerteten Einträge. + + + Template + Template + + + Here you can select the template for the article's rating. + Hier können Sie das Template für die Bewertung des Artikels auswählen. + + + Page + Seite + + + Article + Artikel + + + Content Element + Inhaltselement + + + Module + Modul + + + News + Nachrichten + + + FAQ + FAQ + + + Gallery Picture + Galeriebild + + + Blog entry + Beitrag + + + Best votes + Beste Bewertungen + + + Most votes + Meiste Bewertungen + + + + diff --git a/languages/de/tl_news.php b/languages/de/tl_news.php deleted file mode 100644 index 99c508a..0000000 --- a/languages/de/tl_news.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_news']['rating_legend'] = 'Rate It-Einstellungen'; - -$GLOBALS['TL_LANG']['tl_news']['addRating'] = array('Rating aktivieren', 'Aktiviert das Rating für diese Nachricht'); -$GLOBALS['TL_LANG']['tl_news']['rateit_position'] = array('Position', 'Position des Rating (ober- oder unterhalb) des News-Beitrags.'); - -$GLOBALS['TL_LANG']['tl_news']['before'] = array('oberhalb', 'Anzeige des Texts oberhalb des News-Beitrags'); -$GLOBALS['TL_LANG']['tl_news']['after'] = array('unterhalb', 'Anzeige des Texts unterhalb des News-Beitrags'); - -?> \ No newline at end of file diff --git a/languages/de/tl_news.xlf b/languages/de/tl_news.xlf new file mode 100644 index 0000000..547ddd0 --- /dev/null +++ b/languages/de/tl_news.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + activate rating + Rating aktivieren + + + Enables the rating for this news article + Aktiviert das Rating für diese Nachricht + + + position + Position + + + position of the rating (before or above) the news entry. + Position des Rating (ober- oder unterhalb) des News-Beitrags. + + + above + oberhalb + + + Display the text above the news entry + Anzeige des Texts oberhalb des News-Beitrags + + + below + unterhalb + + + Display the text below the news entry + Anzeige des Texts unterhalb des News-Beitrags + + + + diff --git a/languages/de/tl_page.php b/languages/de/tl_page.php deleted file mode 100644 index 0f4a8b0..0000000 --- a/languages/de/tl_page.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_page']['rateit_legend'] = 'Rate It-Einstellungen'; - -$GLOBALS['TL_LANG']['tl_page']['addRating'] = array('Rating aktivieren', 'Aktiviert das Rating für diese Seite'); -$GLOBALS['TL_LANG']['tl_page']['rateit_position'] = array('Position', 'Position des Rating (ober- oder unterhalb) der Seite.'); - -$GLOBALS['TL_LANG']['tl_page']['before'] = array('oberhalb', 'Anzeige des Texts oberhalb der Seite'); -$GLOBALS['TL_LANG']['tl_page']['after'] = array('unterhalb', 'Anzeige des Texts unterhalb der Seite'); - -?> \ No newline at end of file diff --git a/languages/de/tl_page.xlf b/languages/de/tl_page.xlf new file mode 100644 index 0000000..768ae7e --- /dev/null +++ b/languages/de/tl_page.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Einstellungen + + + activate rating + Rating aktivieren + + + Enables the rating for this page + Aktiviert das Rating für diese Seite + + + position + Position + + + position of the rating (before or above) the page. + Position des Rating (ober- oder unterhalb) der Seite. + + + above + oberhalb + + + Display the text above the page + Anzeige des Texts oberhalb der Seite + + + below + unterhalb + + + Display the text below the page + Anzeige des Texts unterhalb der Seite + + + + diff --git a/languages/de/tl_settings.php b/languages/de/tl_settings.php deleted file mode 100644 index 4088abe..0000000 --- a/languages/de/tl_settings.php +++ /dev/null @@ -1,64 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2012-2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package aeo - * @license GNU/LGPL - * @filesource - */ - -/** - * Name - */ -$GLOBALS['TL_LANG']['tl_settings']['rateit'] = "Rate It"; - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_settings']['rateit_legend'] = 'Rate It-Einstellungen'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_settings']['rating_type'] = array('Typ', 'Art der Darstellung. Mögliche Optionen sind "Herzen" oder "Sterne".'); -$GLOBALS['TL_LANG']['tl_settings']['rating_count'] = array('Anzahl der Herzen/Sterne', 'Anzahl der Herzen/Sterne die dargestellt werden.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_textposition'] = array('Textposition', 'Gibt an, ob der Text ober- oder unterhalb der Herzen bzw. Sterne erscheinen soll.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_listsize'] = array('Anzahl Einträge', 'Anzahl der angezeigten Einträge pro Seite in der Darstellung der Bewertungen im Backend.'); -$GLOBALS['TL_LANG']['tl_settings']['allow_duplicate_ratings'] = array('Doppelte Bewertungen zulassen', 'Darf mit der gleichen IP-Adresse mehrfach für das gleiche Rating abstimmen?'); -$GLOBALS['TL_LANG']['tl_settings']['allow_duplicate_ratings_for_members'] = array('Doppelte Bewertungen für Mitglieder zulassen', 'Darf ein angemeldeter Frontendbenutzer mehrfach für das gleiche Rating abstimmen?'); -$GLOBALS['TL_LANG']['tl_settings']['rating_template'] = array('Template', 'Hier können Sie das Template für die Bewertung auswählen.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_description'] = array('Beschriftung', 'Beschriftung für die einzelnen Ratings. Variablen werden dabei entsprechend ersetzt.
verfügbare Variablen:
%current% - aktuelle Bewertung
%max% - max. mögliche Bewertung
%type% - Art der Bewertung (Herzen/Sterne)
%count% - Anzahl abgegebener Stimmen
[Singular|Plural] - Text für abgegebene Stimmen

Beispiele:

%current%/%max% (%count% [Stimme|Stimmen]) liefert 3,7/5 Sterne (7 Stimmen)
%count% [Like|Likes] liefert 1 Like bzw. 4 Likes'); - -/** - * options - */ -$GLOBALS['TL_LANG']['tl_settings']['hearts'] = array('Herzen', 'Darstellung mit Herzen'); -$GLOBALS['TL_LANG']['tl_settings']['stars'] = array('Sterne', 'Darstellung mit Sternen'); -$GLOBALS['TL_LANG']['tl_settings']['1'] = array('1', '1'); -$GLOBALS['TL_LANG']['tl_settings']['5'] = array('5', '5'); -$GLOBALS['TL_LANG']['tl_settings']['10'] = array('10', '10'); -$GLOBALS['TL_LANG']['tl_settings']['before'] = array('oberhalb', 'Anzeige des Texts oberhalb der Herzen/Sterne'); -$GLOBALS['TL_LANG']['tl_settings']['after'] = array('unterhalb', 'Anzeige des Texts unterhalb der Herzen/Sterne'); - -?> diff --git a/languages/de/tl_settings.xlf b/languages/de/tl_settings.xlf new file mode 100644 index 0000000..0d125e9 --- /dev/null +++ b/languages/de/tl_settings.xlf @@ -0,0 +1,135 @@ + + + + + + Rate It + Rate It + + + Rate It-Settings + Rate It-Einstellungen + + + Type + Typ + + + Type of representation. Possible options are the "hearts" or "stars". + Art der Darstellung. Mögliche Optionen sind "Herzen" oder "Sterne". + + + Number of hearts/stars + Anzahl der Herzen/Sterne + + + Number of hearts/stars which are shown. + Anzahl der Herzen/Sterne die dargestellt werden. + + + Text position + Textposition + + + Specifies whether the text should appear above or below the hearts or stars. + Gibt an, ob der Text ober- oder unterhalb der Herzen bzw. Sterne erscheinen soll. + + + number of entries + Anzahl Einträge + + + Number of entries displayed per page in the representation of ratings in the backend. + Anzahl der angezeigten Einträge pro Seite in der Darstellung der Bewertungen im Backend. + + + Allow Duplicate votes + Doppelte Bewertungen zulassen + + + The same ip address may vote more than once for the same rating? + Darf mit der gleichen IP-Adresse mehrfach für das gleiche Rating abstimmen? + + + Allow Duplicate votes for members + Doppelte Bewertungen für Mitglieder zulassen + + + A logged in frontend user may vote more than once for the same rating? + Darf ein angemeldeter Frontendbenutzer mehrfach für das gleiche Rating abstimmen? + + + Template + Template + + + Here you can select the template for the rating. + Hier können Sie das Template für die Bewertung auswählen. + + + Label + Beschriftung + + + Label for ratings. Variables are replaced<br>available variables: <br>%current% - current rating<br>%max% - max. possible rating<br>%type% - type of rating (hearts/stars)<br>%count% - number of votes<br>[singular|plural] - Text for votes<br><br>examples:<br >%current%/%max% (%count% [vote|votes]) returns 3.7/5 stars (7 votes)<br>%count% [Like|Likes] returns 1 Like or 4 Likes + Beschriftung für die einzelnen Ratings. Variablen werden dabei entsprechend ersetzt.<br>verfügbare Variablen:<br>%current% - aktuelle Bewertung<br>%max% - max. mögliche Bewertung<br>%type% - Art der Bewertung (Herzen/Sterne)<br>%count% - Anzahl abgegebener Stimmen<br>[Singular|Plural] - Text für abgegebene Stimmen<br><br>Beispiele:<br><br>%current%/%max% (%count% [Stimme|Stimmen]) liefert 3,7/5 Sterne (7 Stimmen)<br>%count% [Like|Likes] liefert 1 Like bzw. 4 Likes + + + hearts + Herzen + + + Illustration with hearts + Darstellung mit Herzen + + + stars + Sterne + + + Illustration with stars + Darstellung mit Sternen + + + 1 + 1 + + + 1 + 1 + + + 5 + 5 + + + 5 + 5 + + + 10 + 10 + + + 10 + 10 + + + above + oberhalb + + + Display the text above the hearts/stars + Anzeige des Texts oberhalb der Herzen/Sterne + + + below + unterhalb + + + Display the text below the heart / star + Anzeige des Texts unterhalb der Herzen/Sterne + + + + diff --git a/languages/en/default.php b/languages/en/default.php deleted file mode 100644 index 02c4469..0000000 --- a/languages/en/default.php +++ /dev/null @@ -1,56 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * front end modules - */ -$GLOBALS['TL_LANG']['FMD']['rateit'] = array('Rate It', 'Enables users to leave ratings for articles, pages, news and FAQs.'); -$GLOBALS['TL_LANG']['FMD']['rateit_top_ratings'] = array('Rate It - Best/Most ratings', 'List of the x best ratings.'); - -/** - * content Elements - */ -$GLOBALS['TL_LANG']['CTE']['rateit'] = array('Rate It', 'Enables users to leave ratings for articles, pages, news and FAQs.'); - -$GLOBALS['TL_LANG']['rateit']['rating_label'] = array('vote', 'votes'); -$GLOBALS['TL_LANG']['rateit']['heart'] = 'heart'; -$GLOBALS['TL_LANG']['rateit']['hearts'] = 'hearts'; -$GLOBALS['TL_LANG']['rateit']['star'] = 'star'; -$GLOBALS['TL_LANG']['rateit']['stars'] = 'stars'; - -/** - * Fehler - */ -$GLOBALS['TL_LANG']['rateit']['error']['invalid_id'] = 'ERROR: Invalid ID for rating given.'; -$GLOBALS['TL_LANG']['rateit']['error']['invalid_rating'] = 'ERROR: Invalid rating given.'; -$GLOBALS['TL_LANG']['rateit']['error']['invalid_type'] = 'ERROR: Invalid type for rating given.'; -$GLOBALS['TL_LANG']['rateit']['error']['duplicate_vote'] = 'ERROR: You may not vote more than once.'; -$GLOBALS['TL_LANG']['rateit']['error']['duplicate_rkey'] = 'The unique identifier "% s" already exists for a rating. Please choose a different identifier.'; -?> \ No newline at end of file diff --git a/languages/en/default.xlf b/languages/en/default.xlf new file mode 100644 index 0000000..bc5edbd --- /dev/null +++ b/languages/en/default.xlf @@ -0,0 +1,75 @@ + + + + + + Rate It + Rate It + + + Enables users to leave ratings for articles, pages, news and FAQs. + Enables users to leave ratings for articles, pages, news and FAQs. + + + Rate It - Best/Most ratings + Rate It - Best/Most ratings + + + List of the x best ratings. + List of the x best ratings. + + + Rate It + Rate It + + + Enables users to leave ratings for articles, pages, news and FAQs. + Enables users to leave ratings for articles, pages, news and FAQs. + + + vote + vote + + + votes + votes + + + heart + heart + + + hearts + hearts + + + star + star + + + stars + stars + + + ERROR: Invalid ID for rating given. + ERROR: Invalid ID for rating given. + + + ERROR: Invalid rating given. + ERROR: Invalid rating given. + + + ERROR: Invalid type for rating given. + ERROR: Invalid type for rating given. + + + ERROR: You may not vote more than once. + ERROR: You may not vote more than once. + + + The unique identifier "% s" already exists for a rating. Please choose a different identifier. + The unique identifier "% s" already exists for a rating. Please choose a different identifier. + + + + diff --git a/languages/en/modules.php b/languages/en/modules.php deleted file mode 100644 index 6b5bde5..0000000 --- a/languages/en/modules.php +++ /dev/null @@ -1,34 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -// Back end modules -$GLOBALS['TL_LANG']['MOD']['rateit'] = array('Rate It', 'View ratings for articles, pages, news and faqs'); - -?> \ No newline at end of file diff --git a/languages/en/modules.xlf b/languages/en/modules.xlf new file mode 100644 index 0000000..ca5d019 --- /dev/null +++ b/languages/en/modules.xlf @@ -0,0 +1,15 @@ + + + + + + Rate It + Rate It + + + View ratings for articles, pages, news and faqs + View ratings for articles, pages, news and faqs + + + + diff --git a/languages/en/rateit_backend.php b/languages/en/rateit_backend.php deleted file mode 100644 index d145f5a..0000000 --- a/languages/en/rateit_backend.php +++ /dev/null @@ -1,86 +0,0 @@ -'Rating-Key', 'typ'=>'Type', 'title'=>'Title', - 'createdat'=>'Activation date', 'active'=>'Active', - 'rating'=>'Rating', 'stars'=>'Max. Rating', - 'percent'=>'Rating in percent', 'totalRatings'=>'Total votes'); -$GLOBALS['TL_LANG']['tl_rateit']['xls_headers_detail'] = array('ip'=>'IP address', 'member'=>'Frontend member', 'rating'=>'Rating', 'percent'=>'Rating in percent', - 'createdat'=>'Valuation Point'); diff --git a/languages/en/rateit_backend.xlf b/languages/en/rateit_backend.xlf new file mode 100644 index 0000000..971cf6a --- /dev/null +++ b/languages/en/rateit_backend.xlf @@ -0,0 +1,303 @@ + + + + + + Back + Back + + + No matching ratings found. + No matching ratings found. + + + Detailview + Detailview + + + By %s + By %s + + + Type + Type + + + Please choose the rating type. + Please choose the rating type. + + + Active/Inactive + Active/Inactive + + + Please choose whether you want to display only active or inactive ratings. + Please choose whether you want to display only active or inactive ratings. + + + Type + Type + + + Rating type (rating for an "article", a "page", a "news" or a "faq") + Rating type (rating for an "article", a "page", a "news" or a "faq") + + + Title + Title + + + Title of the article, page, news or faq, on which the rating is included. + Title of the article, page, news or faq, on which the rating is included. + + + activated since + activated since + + + Day from which this rating has been enabled in the format "%s" + Day from which this rating has been enabled in the format "%s" + + + Status + Status + + + Indicates whether this rating is currently enabled or not. + Indicates whether this rating is currently enabled or not. + + + Rating + Rating + + + actual rating + actual rating + + + Overall rating + Overall rating + + + actual overall rating + actual overall rating + + + Total votes + Total votes + + + Number of votes for this rating + Number of votes for this rating + + + %s/%d (%d Votes) + %s/%d (%d Votes) + + + %s/%d + %s/%d + + + Rating %s: %d of %d votes (corresponds %s%%) + Rating %s: %d of %d votes (corresponds %s%%) + + + Statistics + Statistics + + + Statistics + Statistics + + + Distribution of ratings + Distribution of ratings + + + Count of ratings + Count of ratings + + + Rating + Rating + + + Count + Count + + + Ratings per month + Ratings per month + + + Ratings per month + Ratings per month + + + Average rating + Average rating + + + Month + Month + + + Count + Count + + + Ratings + Ratings + + + List of all ratings + List of all ratings + + + IP address + IP address + + + Frontend member + Frontend member + + + Valuation Point + Valuation Point + + + vote + vote + + + votes + votes + + + Reset selected ratings + Reset selected ratings + + + Page + Page + + + Article + Article + + + News + News + + + FAQ + FAQ + + + Content element + Content element + + + Module + Module + + + Gallery picture + Gallery picture + + + Blog entry + Blog entry + + + Rating + Rating + + + Title + Title + + + Type + Type + + + Activation date + Activation date + + + inactive + inactive + + + active + active + + + Ratings + Ratings + + + Rating + Rating + + + Rating-Key + Rating-Key + + + Type + Type + + + Title + Title + + + Activation date + Activation date + + + Active + Active + + + Rating + Rating + + + Max. Rating + Max. Rating + + + Rating in percent + Rating in percent + + + Total votes + Total votes + + + IP address + IP address + + + Frontend member + Frontend member + + + Rating + Rating + + + Rating in percent + Rating in percent + + + Valuation Point + Valuation Point + + + + diff --git a/languages/en/tl_article.php b/languages/en/tl_article.php deleted file mode 100644 index aa2e240..0000000 --- a/languages/en/tl_article.php +++ /dev/null @@ -1,41 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_article']['rateit_legend'] = 'Rate It-Settings'; - -$GLOBALS['TL_LANG']['tl_article']['addRating'] = array('activate rating', 'Enables the rating for this article'); -$GLOBALS['TL_LANG']['tl_article']['rateit_position'] = array('position', 'position of the rating (before or above) the article.'); -$GLOBALS['TL_LANG']['tl_article']['rateit_template'] = array('Template', 'Here you can select the template for the article\'s rating.'); - -$GLOBALS['TL_LANG']['tl_article']['before'] = array('above', 'Display the text above the article'); -$GLOBALS['TL_LANG']['tl_article']['after'] = array('below', 'Display the text below the article'); - -?> \ No newline at end of file diff --git a/languages/en/tl_article.xlf b/languages/en/tl_article.xlf new file mode 100644 index 0000000..836dd9a --- /dev/null +++ b/languages/en/tl_article.xlf @@ -0,0 +1,51 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + activate rating + activate rating + + + Enables the rating for this article + Enables the rating for this article + + + position + position + + + position of the rating (before or above) the article. + position of the rating (before or above) the article. + + + Template + Template + + + Here you can select the template for the article's rating. + Here you can select the template for the article's rating. + + + above + above + + + Display the text above the article + Display the text above the article + + + below + below + + + Display the text below the article + Display the text below the article + + + + diff --git a/languages/en/tl_content.php b/languages/en/tl_content.php deleted file mode 100644 index 3e00334..0000000 --- a/languages/en/tl_content.php +++ /dev/null @@ -1,41 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_content']['rateit_legend'] = 'Rate It-Settings'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_content']['rateit_title'] = array('Rating title', 'Rating title (shown in backend).'); -$GLOBALS['TL_LANG']['tl_content']['rateit_active'] = array('Active', 'Active means that the review is visible to the front-end users.'); -?> \ No newline at end of file diff --git a/languages/en/tl_content.xlf b/languages/en/tl_content.xlf new file mode 100644 index 0000000..2524e19 --- /dev/null +++ b/languages/en/tl_content.xlf @@ -0,0 +1,27 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + Rating title + Rating title + + + Rating title (shown in backend). + Rating title (shown in backend). + + + Active + Active + + + Active means that the review is visible to the front-end users. + Active means that the review is visible to the front-end users. + + + + diff --git a/languages/en/tl_faq.php b/languages/en/tl_faq.php deleted file mode 100644 index fc9af69..0000000 --- a/languages/en/tl_faq.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_faq']['rating_legend'] = 'Rate It-Settings'; - -$GLOBALS['TL_LANG']['tl_faq']['addRating'] = array('activate rating', 'Enables the rating for this news article'); -$GLOBALS['TL_LANG']['tl_faq']['rateit_position'] = array('position', 'position of the rating (before or above) the FAQ entry.'); - -$GLOBALS['TL_LANG']['tl_faq']['before'] = array('above', 'Display the text above the FAQ entry'); -$GLOBALS['TL_LANG']['tl_faq']['after'] = array('below', 'Display the text below the FAQ entry'); - -?> \ No newline at end of file diff --git a/languages/en/tl_faq.xlf b/languages/en/tl_faq.xlf new file mode 100644 index 0000000..b761336 --- /dev/null +++ b/languages/en/tl_faq.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + activate rating + activate rating + + + Enables the rating for this news article + Enables the rating for this news article + + + position + position + + + position of the rating (before or above) the FAQ entry. + position of the rating (before or above) the FAQ entry. + + + above + above + + + Display the text above the FAQ entry + Display the text above the FAQ entry + + + below + below + + + Display the text below the FAQ entry + Display the text below the FAQ entry + + + + diff --git a/languages/en/tl_module.php b/languages/en/tl_module.php deleted file mode 100644 index 40433f8..0000000 --- a/languages/en/tl_module.php +++ /dev/null @@ -1,57 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_module']['rateit_legend'] = 'Rate It-Settings'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_module']['rateit_title'] = array('Rating title', 'Rating title (shown in backend).'); -$GLOBALS['TL_LANG']['tl_module']['rateit_active'] = array('Active', 'Active means that the review is visible to the front-end users.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_types'] = array('Types', 'Select the types for which you would like the best ratings to be displayed.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_count'] = array('Max. count', 'Max. count of displayed values.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype'] = array('List type', 'The x best voted entries oder the x most voted entries.'); -$GLOBALS['TL_LANG']['tl_module']['rateit_template'] = array('Template', 'Here you can select the template for the article\'s rating.'); - -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['page'] = 'Page'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['article'] = 'Article'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['ce'] = 'Content Element'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['module'] = 'Module'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['news'] = 'News'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['faq'] = 'FAQ'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['galpic'] = 'Gallery Picture'; -$GLOBALS['TL_LANG']['tl_module']['rateit_types']['news4ward'] = 'Blog entry'; - -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype']['best'] = 'Best votes'; -$GLOBALS['TL_LANG']['tl_module']['rateit_toptype']['most'] = 'Most votes'; -?> \ No newline at end of file diff --git a/languages/en/tl_module.xlf b/languages/en/tl_module.xlf new file mode 100644 index 0000000..532b756 --- /dev/null +++ b/languages/en/tl_module.xlf @@ -0,0 +1,99 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + Rating title + Rating title + + + Rating title (shown in backend). + Rating title (shown in backend). + + + Active + Active + + + Active means that the review is visible to the front-end users. + Active means that the review is visible to the front-end users. + + + Types + Types + + + Select the types for which you would like the best ratings to be displayed. + Select the types for which you would like the best ratings to be displayed. + + + Max. count + Max. count + + + Max. count of displayed values. + Max. count of displayed values. + + + List type + List type + + + The x best voted entries oder the x most voted entries. + The x best voted entries oder the x most voted entries. + + + Template + Template + + + Here you can select the template for the article's rating. + Here you can select the template for the article's rating. + + + Page + Page + + + Article + Article + + + Content Element + Content Element + + + Module + Module + + + News + News + + + FAQ + FAQ + + + Gallery Picture + Gallery Picture + + + Blog entry + Blog entry + + + Best votes + Best votes + + + Most votes + Most votes + + + + diff --git a/languages/en/tl_news.php b/languages/en/tl_news.php deleted file mode 100644 index eddf93a..0000000 --- a/languages/en/tl_news.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_news']['rating_legend'] = 'Rate It-Settings'; - -$GLOBALS['TL_LANG']['tl_news']['addRating'] = array('activate rating', 'Enables the rating for this news article'); -$GLOBALS['TL_LANG']['tl_news']['rateit_position'] = array('position', 'position of the rating (before or above) the news entry.'); - -$GLOBALS['TL_LANG']['tl_news']['before'] = array('above', 'Display the text above the news entry'); -$GLOBALS['TL_LANG']['tl_news']['after'] = array('below', 'Display the text below the news entry'); - -?> \ No newline at end of file diff --git a/languages/en/tl_news.xlf b/languages/en/tl_news.xlf new file mode 100644 index 0000000..c362e08 --- /dev/null +++ b/languages/en/tl_news.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + activate rating + activate rating + + + Enables the rating for this news article + Enables the rating for this news article + + + position + position + + + position of the rating (before or above) the news entry. + position of the rating (before or above) the news entry. + + + above + above + + + Display the text above the news entry + Display the text above the news entry + + + below + below + + + Display the text below the news entry + Display the text below the news entry + + + + diff --git a/languages/en/tl_page.php b/languages/en/tl_page.php deleted file mode 100644 index 2ee3411..0000000 --- a/languages/en/tl_page.php +++ /dev/null @@ -1,40 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package rateit - * @license GNU/LGPL - * @filesource - */ - - -$GLOBALS['TL_LANG']['tl_page']['rateit_legend'] = 'Rate It-Settings'; - -$GLOBALS['TL_LANG']['tl_page']['addRating'] = array('activate rating', 'Enables the rating for this page'); -$GLOBALS['TL_LANG']['tl_page']['rateit_position'] = array('position', 'position of the rating (before or above) the page.'); - -$GLOBALS['TL_LANG']['tl_page']['before'] = array('above', 'Display the text above the page'); -$GLOBALS['TL_LANG']['tl_page']['after'] = array('below', 'Display the text below the page'); - -?> \ No newline at end of file diff --git a/languages/en/tl_page.xlf b/languages/en/tl_page.xlf new file mode 100644 index 0000000..405afa6 --- /dev/null +++ b/languages/en/tl_page.xlf @@ -0,0 +1,43 @@ + + + + + + Rate It-Settings + Rate It-Settings + + + activate rating + activate rating + + + Enables the rating for this page + Enables the rating for this page + + + position + position + + + position of the rating (before or above) the page. + position of the rating (before or above) the page. + + + above + above + + + Display the text above the page + Display the text above the page + + + below + below + + + Display the text below the page + Display the text below the page + + + + diff --git a/languages/en/tl_settings.php b/languages/en/tl_settings.php deleted file mode 100644 index 1c0e9c5..0000000 --- a/languages/en/tl_settings.php +++ /dev/null @@ -1,64 +0,0 @@ -. - * - * PHP version 5 - * @copyright cgo IT, 2012-2013 - * @author Carsten Götzinger (info@cgo-it.de) - * @package aeo - * @license GNU/LGPL - * @filesource - */ - -/** - * Name - */ -$GLOBALS['TL_LANG']['tl_settings']['rateit'] = "Rate It"; - -/** - * legends - */ -$GLOBALS['TL_LANG']['tl_settings']['rateit_legend'] = 'Rate It-Settings'; - -/** - * fields - */ -$GLOBALS['TL_LANG']['tl_settings']['rating_type'] = array('Type', 'Type of representation. Possible options are the "hearts" or "stars".'); -$GLOBALS['TL_LANG']['tl_settings']['rating_count'] = array('Number of hearts/stars', 'Number of hearts/stars which are shown.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_textposition'] = array('Text position', 'Specifies whether the text should appear above or below the hearts or stars.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_listsize'] = array('number of entries', 'Number of entries displayed per page in the representation of ratings in the backend.'); -$GLOBALS['TL_LANG']['tl_settings']['allow_duplicate_ratings'] = array('Allow Duplicate votes', 'The same ip address may vote more than once for the same rating?'); -$GLOBALS['TL_LANG']['tl_settings']['allow_duplicate_ratings_for_members'] = array('Allow Duplicate votes for members', 'A logged in frontend user may vote more than once for the same rating?'); -$GLOBALS['TL_LANG']['tl_settings']['rating_template'] = array('Template', 'Here you can select the template for the rating.'); -$GLOBALS['TL_LANG']['tl_settings']['rating_description'] = array('Label', 'Label for ratings. Variables are replaced
available variables:
%current% - current rating
%max% - max. possible rating
%type% - type of rating (hearts/stars)
%count% - number of votes
[singular|plural] - Text for votes

examples:
%current%/%max% (%count% [vote|votes]) returns 3.7/5 stars (7 votes)
%count% [Like|Likes] returns 1 Like or 4 Likes'); - -/** - * options - */ -$GLOBALS['TL_LANG']['tl_settings']['hearts'] = array('hearts', 'Illustration with hearts'); -$GLOBALS['TL_LANG']['tl_settings']['stars'] = array('stars', 'Illustration with stars'); -$GLOBALS['TL_LANG']['tl_settings']['1'] = array('1', '1'); -$GLOBALS['TL_LANG']['tl_settings']['5'] = array('5', '5'); -$GLOBALS['TL_LANG']['tl_settings']['10'] = array('10', '10'); -$GLOBALS['TL_LANG']['tl_settings']['before'] = array('above', 'Display the text above the hearts/stars'); -$GLOBALS['TL_LANG']['tl_settings']['after'] = array('below', 'Display the text below the heart / star'); - -?> diff --git a/languages/en/tl_settings.xlf b/languages/en/tl_settings.xlf new file mode 100644 index 0000000..3b078ae --- /dev/null +++ b/languages/en/tl_settings.xlf @@ -0,0 +1,135 @@ + + + + + + Rate It + Rate It + + + Rate It-Settings + Rate It-Settings + + + Type + Type + + + Type of representation. Possible options are the "hearts" or "stars". + Type of representation. Possible options are the "hearts" or "stars". + + + Number of hearts/stars + Number of hearts/stars + + + Number of hearts/stars which are shown. + Number of hearts/stars which are shown. + + + Text position + Text position + + + Specifies whether the text should appear above or below the hearts or stars. + Specifies whether the text should appear above or below the hearts or stars. + + + number of entries + number of entries + + + Number of entries displayed per page in the representation of ratings in the backend. + Number of entries displayed per page in the representation of ratings in the backend. + + + Allow Duplicate votes + Allow Duplicate votes + + + The same ip address may vote more than once for the same rating? + The same ip address may vote more than once for the same rating? + + + Allow Duplicate votes for members + Allow Duplicate votes for members + + + A logged in frontend user may vote more than once for the same rating? + A logged in frontend user may vote more than once for the same rating? + + + Template + Template + + + Here you can select the template for the rating. + Here you can select the template for the rating. + + + Label + Label + + + Label for ratings. Variables are replaced<br>available variables: <br>%current% - current rating<br>%max% - max. possible rating<br>%type% - type of rating (hearts/stars)<br>%count% - number of votes<br>[singular|plural] - Text for votes<br><br>examples:<br >%current%/%max% (%count% [vote|votes]) returns 3.7/5 stars (7 votes)<br>%count% [Like|Likes] returns 1 Like or 4 Likes + Label for ratings. Variables are replaced<br>available variables: <br>%current% - current rating<br>%max% - max. possible rating<br>%type% - type of rating (hearts/stars)<br>%count% - number of votes<br>[singular|plural] - Text for votes<br><br>examples:<br >%current%/%max% (%count% [vote|votes]) returns 3.7/5 stars (7 votes)<br>%count% [Like|Likes] returns 1 Like or 4 Likes + + + hearts + hearts + + + Illustration with hearts + Illustration with hearts + + + stars + stars + + + Illustration with stars + Illustration with stars + + + 1 + 1 + + + 1 + 1 + + + 5 + 5 + + + 5 + 5 + + + 10 + 10 + + + 10 + 10 + + + above + above + + + Display the text above the hearts/stars + Display the text above the hearts/stars + + + below + below + + + Display the text below the heart / star + Display the text below the heart / star + + + +