Internationalized the SubscribeRSSWidget

This commit is contained in:
Johannes Weberhofer 2011-11-23 17:09:20 +01:00
parent 33810c33ca
commit c558d25713
3 changed files with 16 additions and 0 deletions

View File

@ -15,6 +15,18 @@ class SubscribeRSSWidget extends Widget {
static $description = 'Shows a link allowing a user to subscribe to this blog via RSS.';
function Title() {
return i18n::_t('SubscribeRSSWidget.ss.SUBSCRIBESHORTTITLE', SubscribeRSSWidget::$title);
}
function CmsTitle() {
return i18n::_t('SubscribeRSSWidget.SINGULARNAME', SubscribeRSSWidget::$cmsTitle);
}
function Description() {
return i18n::_t('SubscribeRSSWidget.ss.DESCRIPTION', SubscribeRSSWidget::$description);
}
/**
* Return an absolute URL based on the BlogHolder
* that this widget is located on.

View File

@ -74,6 +74,8 @@ $lang['de_DE']['SubscribeRSSWidget']['PLURALNAME'] = 'RSS-Abonnier-Widgets';
$lang['de_DE']['SubscribeRSSWidget']['SINGULARNAME'] = 'RSS-Abonnier-Widget';
$lang['de_DE']['SubscribeRSSWidget.ss']['SUBSCRIBETEXT'] = 'Abonnieren';
$lang['de_DE']['SubscribeRSSWidget.ss']['SUBSCRIBETITLE'] = 'Abonniere diesen Blog per RSS';
$lang['de_DE']['SubscribeRSSWidget.ss']['SUBSCRIBESHORTTITLE'] = 'Via RSS abonnieren';
$lang['de_DE']['SubscribeRSSWidget.ss']['DESCRIPTION'] = 'Zeigt dem Benutzer einen Link um den Blog Via RSS zu abonnieren.';
$lang['de_DE']['TagCloudWidget']['CMSTITLE'] = 'Tags';
$lang['de_DE']['TagCloudWidget']['DESCRIPTION'] = 'Zeigt die Liste der Tags des Blogs.';
$lang['de_DE']['TagCloudWidget']['LIMIT'] = 'Anzahl der erlaubten Tags';

View File

@ -68,6 +68,8 @@ $lang['en_GB']['SubscribeRSSWidget']['PLURALNAME'] = 'Subscript to RSS Widgets';
$lang['en_GB']['SubscribeRSSWidget']['SINGULARNAME'] = 'Subscript to an RSS Widget';
$lang['en_GB']['SubscribeRSSWidget.ss']['SUBSCRIBETEXT'] = 'Subscribe';
$lang['en_GB']['SubscribeRSSWidget.ss']['SUBSCRIBETITLE'] = 'Subscribe to this blog via RSS';
$lang['en_GB']['SubscribeRSSWidget.ss']['SUBSCRIBESHORTTITLE'] = 'Subscribe via RSS';
$lang['en_GB']['SubscribeRSSWidget.ss']['DESCRIPTION'] = 'Shows a link allowing a user to subscribe to this blog via RSS.';
$lang['en_GB']['TagCloudWidget']['LIMIT'] = 'Limit number of tags';
$lang['en_GB']['TagCloudWidget']['PLURALNAME'] = 'Tag Cloud Widgets';
$lang['en_GB']['TagCloudWidget']['SBAL'] = 'alphabet';