diff --git a/code/BlogHolder.php b/code/BlogHolder.php index b50d830..dfb582a 100644 --- a/code/BlogHolder.php +++ b/code/BlogHolder.php @@ -233,7 +233,7 @@ class BlogHolder_Controller extends BlogTree_Controller { $contentfield, $tagfield, new LiteralField("Tagsnote"," ") + _t('BlogHolder.SPUC', "Please separate tags using commas.")."
") ); $submitAction = new FormAction('postblog', _t('BlogHolder.POST', 'Post blog entry')); diff --git a/code/widgets/ArchiveWidget.php b/code/widgets/ArchiveWidget.php index 77b2c7b..dd130c7 100644 --- a/code/widgets/ArchiveWidget.php +++ b/code/widgets/ArchiveWidget.php @@ -22,12 +22,12 @@ class ArchiveWidget extends Widget { 'DisplayMode' => 'month' ); - static $title = 'Browse by Date'; + static $title; - static $cmsTitle = 'Blog Archive'; - - static $description = 'Show a list of months or years in which there are blog posts, and provide links to them.'; + static $cmsTitle; + static $description; + function getCMSFields() { $fields = parent::getCMSFields(); @@ -107,4 +107,7 @@ class ArchiveWidget extends Widget { } } +ArchiveWidget::$title = i18n::_t('ArchiveWidget.BrowseByDate', 'Browse by Date'); +ArchiveWidget::$cmsTitle = i18n::_t('ArchiveWidget.BlogArchive', 'Blog Archive'); +ArchiveWidget::$description = i18n::_t('ArchiveWidget.Description', 'Show a list of months or years in which there are blog posts, and provide links to them.'); ?> diff --git a/code/widgets/TagCloudWidget.php b/code/widgets/TagCloudWidget.php index ed1bbe0..c2c535a 100644 --- a/code/widgets/TagCloudWidget.php +++ b/code/widgets/TagCloudWidget.php @@ -21,8 +21,8 @@ class TagCloudWidget extends Widget { "Sortby" => "alphabet" ); - static $cmsTitle = "Tag Cloud"; - static $description = "Shows a tag cloud of tags on your blog."; + static $cmsTitle; + static $description; static $popularities = array( 'not-popular', 'not-very-popular', 'somewhat-popular', 'popular', 'very-popular', 'ultra-popular' ); @@ -145,5 +145,6 @@ class TagCloudWidget extends Widget { } } - +TagCloudWidget::$cmsTitle = i18n::_t('TagCloudWidget.TAGCLOUD', 'Tag Cloud'); +TagCloudWidget::$description = i18n::_t('TagCloudWidget.DESCRIPTION', 'Shows a tag cloud of tags on your blog.'); ?> diff --git a/lang/de_DE.php b/lang/de_DE.php index 3e4ff0b..c7f14b5 100644 --- a/lang/de_DE.php +++ b/lang/de_DE.php @@ -16,6 +16,9 @@ if(array_key_exists('de_DE', $lang) && is_array($lang['de_DE'])) { $lang['de_DE'] = $lang['en_US']; } +$lang['de_DE']['ArchiveWidget']['BlogArchive'] = 'Archiv'; +$lang['de_DE']['ArchiveWidget']['BrowseByDate'] = '√úbersicht'; +$lang['de_DE']['ArchiveWidget']['Description'] = 'Zeigt eine Liste von Monaten oder Jahren, welche Blog Eintr√§ge enthalten und erstellt Links'; $lang['de_DE']['ArchiveWidget']['DispBY'] = 'Anzeige nach'; $lang['de_DE']['ArchiveWidget']['MONTH'] = 'Monat'; $lang['de_DE']['ArchiveWidget']['PLURALNAME'] = 'Archiv-Widgets'; @@ -56,8 +59,11 @@ $lang['de_DE']['BlogManagementWidget.ss']['POSTNEW'] = 'Neuen Eintrag schreiben' $lang['de_DE']['BlogManagementWidget']['UNM1'] = 'Sie haben 1 noch nicht moderierten Kommentar'; $lang['de_DE']['BlogManagementWidget']['UNMM'] = 'Sie haben %i noch nicht moderierte Kommentare'; $lang['de_DE']['BlogSummary.ss']['COMMENTS'] = 'Kommentare'; +$lang['de_DE']['BlogSummary.ss']['COMMENTSTITLE'] = 'Kommentare von diesem Eintrag anzeigen.'; $lang['de_DE']['BlogSummary.ss']['POSTEDBY'] = 'Verfasst von'; $lang['de_DE']['BlogSummary.ss']['POSTEDON'] = 'am'; +$lang['de_DE']['BlogSummary.ss']['READFULLPOSTTITLE'] = 'Den ganzen Eintrag lesen'; +$lang['de_DE']['BlogSummary.ss']['READFULLPOST'] = 'Weiterlesen'; $lang['de_DE']['BlogSummary.ss']['VIEWFULL'] = 'Detaillierte Ansicht von dem Titel --'; $lang['de_DE']['RSSWidget']['CT'] = 'Eigener Titel für den feed'; $lang['de_DE']['RSSWidget']['NTS'] = 'Anzahl der angezeigten Items'; @@ -68,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']['TagCloudWidget']['CMSTITLE'] = 'Tags'; +$lang['de_DE']['TagCloudWidget']['DESCRIPTION'] = 'Zeigt die Liste der Tags des Blogs.'; $lang['de_DE']['TagCloudWidget']['LIMIT'] = 'Anzahl der erlaubten Tags'; $lang['de_DE']['TagCloudWidget']['PLURALNAME'] = 'Tag-Cloud-Widgets'; $lang['de_DE']['TagCloudWidget']['SBAL'] = 'Alphabet'; diff --git a/lang/en_US.php b/lang/en_US.php index 1496f5b..63579bb 100644 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -2,6 +2,9 @@ global $lang; +$lang['en_US']['ArchiveWidget']['BlogArchive'] = 'Blog Archive'; +$lang['en_US']['ArchiveWidget']['BrowseByDate'] = 'Browse by Date'; +$lang['en_US']['ArchiveWidget']['Description'] = 'Show a list of months or years in which there are blog posts, and provide links to them.'; $lang['en_US']['ArchiveWidget']['DispBY'] = 'Display by'; $lang['en_US']['ArchiveWidget']['MONTH'] = 'month'; $lang['en_US']['ArchiveWidget']['PLURALNAME'] = array( @@ -72,9 +75,12 @@ $lang['en_US']['BlogManagementWidget']['UNM1'] = 'You have 1 unmoderated comment $lang['en_US']['BlogManagementWidget']['UNMM'] = 'You have %i unmoderated comments'; $lang['en_US']['BlogManagementWidget.ss']['LOGOUT'] = 'Logout'; $lang['en_US']['BlogManagementWidget.ss']['POSTNEW'] = 'Post a new blog entry'; +$lang['en_US']['BlogSummary.ss']['COMMENTSTITLE'] = 'View Comments for this post.'; $lang['en_US']['BlogSummary.ss']['COMMENTS'] = 'Comments'; $lang['en_US']['BlogSummary.ss']['POSTEDBY'] = 'Posted by'; $lang['en_US']['BlogSummary.ss']['POSTEDON'] = 'on'; +$lang['en_US']['BlogSummary.ss']['READFULLPOSTTITLE'] = 'Read Full Post'; +$lang['en_US']['BlogSummary.ss']['READFULLPOST'] = 'Read the full post'; $lang['en_US']['BlogSummary.ss']['VIEWFULL'] = 'View full post titled -'; $lang['en_US']['BlogTree']['PLURALNAME'] = array( 'Blog Tres', @@ -111,6 +117,8 @@ $lang['en_US']['SubscribeRSSWidget']['SINGULARNAME'] = array( ); $lang['en_US']['SubscribeRSSWidget.ss']['SUBSCRIBETEXT'] = 'Subscribe'; $lang['en_US']['SubscribeRSSWidget.ss']['SUBSCRIBETITLE'] = 'Subscribe to this blog via RSS'; +$lang['en_US']['TagCloudWidget']['CMSTITLE'] = 'Tag Cloud'; +$lang['en_US']['TagCloudWidget']['DESCRIPTION'] = 'Shows a tag cloud of tags on your blog.'; $lang['en_US']['TagCloudWidget']['LIMIT'] = 'Limit number of tags'; $lang['en_US']['TagCloudWidget']['PLURALNAME'] = array( 'Tag Cloud Widgets', diff --git a/templates/ArchiveWidget.ss b/templates/ArchiveWidget.ss index 198fc53..41e69b9 100644 --- a/templates/ArchiveWidget.ss +++ b/templates/ArchiveWidget.ss @@ -2,8 +2,8 @@