aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/languages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/languages')
-rw-r--r--mod/blog/languages/en.php153
1 files changed, 75 insertions, 78 deletions
diff --git a/mod/blog/languages/en.php b/mod/blog/languages/en.php
index 9496cee00..5248a6f51 100644
--- a/mod/blog/languages/en.php
+++ b/mod/blog/languages/en.php
@@ -1,81 +1,78 @@
<?php
+/**
+ * Blog English language file.
+ *
+ */
- $english = array(
-
- /**
- * Menu items and titles
- */
-
- 'blog' => "Blog",
- 'blogs' => "Blogs",
- 'blog:user' => "%s's blog",
- 'blog:user:friends' => "%s's friends' blog",
- 'blog:your' => "Your blog",
- 'blog:posttitle' => "%s's blog: %s",
- 'blog:friends' => "Friends' blogs",
- 'blog:yourfriends' => "Your friends' latest blogs",
- 'blog:everyone' => "All site blogs",
- 'blog:newpost' => "New blog post",
- 'blog:via' => "via blog",
- 'blog:read' => "Read blog",
-
- 'blog:addpost' => "Write a blog post",
- 'blog:editpost' => "Edit blog post",
-
- 'blog:text' => "Blog text",
-
- 'blog:strapline' => "%s",
-
- 'item:object:blog' => 'Blog posts',
-
- 'blog:never' => 'never',
- 'blog:preview' => 'Preview',
-
- 'blog:draft:save' => 'Save draft',
- 'blog:draft:saved' => 'Draft last saved',
- 'blog:comments:allow' => 'Allow comments',
-
- 'blog:preview:description' => 'This is an unsaved preview of your blog post.',
- 'blog:preview:description:link' => 'To continue editing or save your post, click here.',
-
- 'blog:enableblog' => 'Enable group blog',
-
- 'blog:group' => 'Group blog',
-
- /**
- * Blog river
- **/
-
- //generic terms to use
- 'blog:river:created' => "%s wrote",
- 'blog:river:updated' => "%s updated",
- 'blog:river:posted' => "%s posted",
-
- //these get inserted into the river links to take the user to the entity
- 'blog:river:create' => "a new blog post titled",
- 'blog:river:update' => "a blog post titled",
- 'blog:river:annotate' => "a comment on this blog post",
-
-
- /**
- * Status messages
- */
-
- 'blog:posted' => "Your blog post was successfully posted.",
- 'blog:deleted' => "Your blog post was successfully deleted.",
-
- /**
- * Error messages
- */
-
- 'blog:error' => 'Something went wrong. Please try again.',
- 'blog:save:failure' => "Your blog post could not be saved. Please try again.",
- 'blog:blank' => "Sorry; you need to fill in both the title and body before you can make a post.",
- 'blog:notfound' => "Sorry; we could not find the specified blog post.",
- 'blog:notdeleted' => "Sorry; we could not delete this blog post.",
-
- );
-
- add_translation("en",$english);
+$english = array(
+ 'blog' => 'Blogs',
+ 'blog:blogs' => 'Blogs',
+ 'blog:revisions' => 'Revisions',
+ 'blog:archives' => 'Archives',
+ 'blog:blog' => 'Blog',
+ 'item:object:blog' => 'Blogs',
-?> \ No newline at end of file
+ 'blog:title:user_blogs' => '%s\'s blogs',
+ 'blog:title:all_blogs' => 'All site blogs',
+ 'blog:title:friends' => 'Friends\' blogs',
+
+ 'blog:group' => 'Group blog',
+ 'blog:enableblog' => 'Enable group blog',
+ 'blog:write' => 'Write a blog post',
+
+ // Editing
+ 'blog:add' => 'Add blog post',
+ 'blog:edit' => 'Edit blog post',
+ 'blog:excerpt' => 'Excerpt',
+ 'blog:body' => 'Body',
+ 'blog:save_status' => 'Last saved: ',
+ 'blog:never' => 'Never',
+
+ // Statuses
+ 'blog:status' => 'Status',
+ 'blog:status:draft' => 'Draft',
+ 'blog:status:published' => 'Published',
+ 'blog:status:unsaved_draft' => 'Unsaved Draft',
+
+ 'blog:revision' => 'Revision',
+ 'blog:auto_saved_revision' => 'Auto Saved Revision',
+
+ // messages
+ 'blog:message:saved' => 'Blog post saved.',
+ 'blog:error:cannot_save' => 'Cannot save blog post.',
+ 'blog:error:cannot_write_to_container' => 'Insufficient access to save blog to group.',
+ 'blog:messages:warning:draft' => 'There is an unsaved draft of this post!',
+ 'blog:edit_revision_notice' => '(Old version)',
+ 'blog:message:deleted_post' => 'Blog post deleted.',
+ 'blog:error:cannot_delete_post' => 'Cannot delete blog post.',
+ 'blog:none' => 'No blog posts',
+ 'blog:error:missing:title' => 'Please enter a blog title!',
+ 'blog:error:missing:description' => 'Please enter the body of your blog!',
+ 'blog:error:cannot_edit_post' => 'This post may not exist or you may not have permissions to edit it.',
+ 'blog:error:revision_not_found' => 'Cannot find this revision.',
+
+ // river
+ 'river:create:object:blog' => '%s published a blog post %s',
+ 'river:comment:object:blog' => '%s commented on the blog %s',
+
+ // notifications
+ 'blog:newpost' => 'A new blog post',
+ 'blog:notification' =>
+'
+%s made a new blog post.
+
+%s
+%s
+
+View and comment on the new blog post:
+%s
+',
+
+ // widget
+ 'blog:widget:description' => 'Display your latest blog posts',
+ 'blog:moreblogs' => 'More blog posts',
+ 'blog:numbertodisplay' => 'Number of blog posts to display',
+ 'blog:noblogs' => 'No blog posts'
+);
+
+add_translation('en', $english);