]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #2824 moved byline text in core language file
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:58:46 +0000 (16:58 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 19 Feb 2011 16:58:46 +0000 (16:58 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8334 36083f99-b078-4883-b0ff-0f9b5a30f544

languages/en.php
mod/blog/languages/en.php
mod/blog/lib/blog.php
mod/blog/views/default/object/blog.php
mod/bookmarks/views/default/object/bookmarks.php
mod/file/views/default/object/file.php
mod/thewire/views/default/object/thewire.php

index 6232c97d96374ee0c2ad4c486564d600f5c34987..b5b994a1b511ae6df94af997995c72c37469eca6 100644 (file)
@@ -1025,6 +1025,7 @@ You cannot reply to this email.",
 /**
  * Entities
  */
+       'byline' => 'By %s',
        'entity:default:strapline' => 'Created %s by %s',
        'entity:default:missingsupport:popup' => 'This entity cannot be displayed correctly. This may be because it requires support provided by a plugin that is no longer installed.',
 
index 1fe34215ed756b9eedb5b47523ad244db70fbced..b5a9f070d625cd8ff2af14fa7eade0a7089dadf6 100644 (file)
@@ -7,11 +7,9 @@
 $english = array(
        'blog' => 'Blogs',
        'blog:blogs' => 'Blogs',
-       'blog:owned_blogs' => '%s',
        'blog:revisions' => 'Revisions',
        'blog:archives' => 'Archives',
        'blog:blog' => 'Blog',
-       'blog:author_by_line' => 'By %s',
        'item:object:blog' => 'Blogs',
 
        'blog:title:user_blogs' => '%s\'s Blogs',
index 7fa1b9c5bfa9f8c6a8ca18b241b4cad112b7e9b2..aa9241d231cf9dc86802f00f8341b1c4fa8023cc 100644 (file)
@@ -31,7 +31,7 @@ function blog_get_page_content_read($guid = NULL) {
        $return['title'] = htmlspecialchars($blog->title);
 
        $container = $blog->getContainerEntity();
-       $crumbs_title = elgg_echo('blog:owned_blogs', array($container->name));
+       $crumbs_title = $container->name;
        if (elgg_instanceof($container, 'group')) {
                elgg_push_breadcrumb($crumbs_title, "pg/blog/group/$container->guid/owner");
        } else {
@@ -77,7 +77,7 @@ function blog_get_page_content_list($container_guid = NULL) {
                $return['title'] = elgg_echo('blog:title:user_blogs', array($container->name));
                elgg_set_page_owner_guid($container_guid);
 
-               $crumbs_title = elgg_echo('blog:owned_blogs', array($container->name));
+               $crumbs_title = $container->name;
                elgg_push_breadcrumb($crumbs_title);
 
                if ($container_guid == $loggedin_userid) {
@@ -141,7 +141,7 @@ function blog_get_page_content_friends($user_guid) {
        $return['filter_context'] = 'friends';
        $return['title'] = elgg_echo('blog:title:friends');
 
-       $crumbs_title = elgg_echo('blog:owned_blogs', array($user->name));
+       $crumbs_title = $user->name;
        elgg_push_breadcrumb($crumbs_title, "pg/blog/owner/{$user->username}");
        elgg_push_breadcrumb(elgg_echo('friends'));
 
@@ -197,7 +197,7 @@ function blog_get_page_content_archive($owner_guid, $lower = 0, $upper = 0) {
 
        $user = get_user($owner_guid);
 
-       $crumbs_title = elgg_echo('blog:owned_blogs', array($user->name));
+       $crumbs_title = $user->name;
        elgg_push_breadcrumb($crumbs_title, "pg/blog/owner/{$user->username}");
        elgg_push_breadcrumb(elgg_echo('blog:archives'));
 
index 61abf129f62019ef6ca3acf89bb6159f139736e2..a1d28ae1daac4ccce6d7d59d3d12df1c33f344d9 100644 (file)
@@ -22,7 +22,7 @@ $owner_link = elgg_view('output/url', array(
        'href' => "pg/blog/owner/$owner->username",
        'text' => $owner->name,
 ));
-$author_text = elgg_echo('blog:author_by_line', array($owner_link));
+$author_text = elgg_echo('byline', array($owner_link));
 $tags = elgg_view('output/tags', array('tags' => $blog->tags));
 $date = elgg_view_friendly_time($blog->publish_date);
 
index 46c2466edeb45004b0236db17715b6cf1dda26bb..3ac281e72f46bec35b125c225f3fdc9634235699 100644 (file)
@@ -23,7 +23,7 @@ $owner_link = elgg_view('output/url', array(
        'href' => "pg/file/owner/$owner->username",
        'text' => $owner->name,
 ));
-$author_text = elgg_echo('blog:author_by_line', array($owner_link));
+$author_text = elgg_echo('byline', array($owner_link));
 
 $tags = elgg_view('output/tags', array('tags' => $bookmark->tags));
 $date = elgg_view_friendly_time($bookmark->time_created);
index bbc138826a717a9163e11500a9c5ba1bcccf12d1..eb489581dd18331ed5e4dcda3b1ccabf52a67908 100644 (file)
@@ -25,7 +25,7 @@ $owner_link = elgg_view('output/url', array(
        'href' => "pg/file/owner/$owner->username",
        'text' => $owner->name,
 ));
-$author_text = elgg_echo('blog:author_by_line', array($owner_link));
+$author_text = elgg_echo('byline', array($owner_link));
 
 $file_icon = elgg_view_entity_icon($file, 'small');
 
index 6be137dffec3dfb0e9a37023670ccfaf627a9024..49202d6e8f2bb6f946778ca748513476201017d8 100644 (file)
@@ -26,7 +26,7 @@ $owner_link = elgg_view('output/url', array(
        'href' => "pg/thewire/owner/$owner->username",
        'text' => $owner->name,
 ));
-$author_text = elgg_echo('blog:author_by_line', array($owner_link));
+$author_text = elgg_echo('byline', array($owner_link));
 $date = elgg_view_friendly_time($post->time_created);
 
 $metadata = elgg_view('thewire/metadata', array(