From 5bebd97bcadbb414f9a578d20163b78942fc77d1 Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Mon, 27 Feb 2012 15:14:19 -0800 Subject: [PATCH] added translations to post viewer --- config/locales/javascript/javascript.en.yml | 240 +++++++++--------- .../templates/post-viewer/feedback.handlebars | 10 +- .../post-viewer/new-comment.handlebars | 4 +- 3 files changed, 131 insertions(+), 123 deletions(-) diff --git a/config/locales/javascript/javascript.en.yml b/config/locales/javascript/javascript.en.yml index 8364967f4..f0cba1913 100644 --- a/config/locales/javascript/javascript.en.yml +++ b/config/locales/javascript/javascript.en.yml @@ -5,128 +5,136 @@ en: javascripts: - confirm_dialog: "Are you sure?" - delete: "Delete" - ignore: "Ignore" - timeago: - prefixAgo: "" - prefixFromNow: "" - suffixAgo: "ago" - suffixFromNow: "from now" - seconds: "less than a minute" - minute: "about a minute" - minutes: "%d minutes" - hour: "about an hour" - hours: "about %d hours" - day: "a day" - days: "%d days" - month: "about a month" - months: "%d months" - year: "about a year" - years: "%d years" + confirm_dialog: "Are you sure?" + delete: "Delete" + ignore: "Ignore" + timeago: + prefixAgo: "" + prefixFromNow: "" + suffixAgo: "ago" + suffixFromNow: "from now" + seconds: "less than a minute" + minute: "about a minute" + minutes: "%d minutes" + hour: "about an hour" + hours: "about %d hours" + day: "a day" + days: "%d days" + month: "about a month" + months: "%d months" + year: "about a year" + years: "%d years" - my_activity: "My Activity" - my_stream: "Stream" + my_activity: "My Activity" + my_stream: "Stream" + + videos: + watch: "Watch this video on <%= provider %>" + unknown: "Unknown video type" + search_for: "Search for <%= name %>" + publisher: + at_least_one_aspect: "You must publish to at least one aspect" + limited: "Limited - your post will only be seen by people you are sharing with" + public: "Public - your post will be visible to everyone and found by search engines" + infinite_scroll: + no_more: "No more posts." + aspect_dropdown: + add_to_aspect: "Add contact" + select_aspects: "Select aspects" + all_aspects: "All aspects" + stopped_sharing_with: "You have stopped sharing with <%= name %>." + started_sharing_with: "You have started sharing with <%= name %>!" + error: "Couldn't start sharing with <%= name %>. Are you ignoring them?" + toggle: + zero: "Select aspects" + one: "In <%= count %> aspect" + two: "In <%= count %> aspects" + few: "In <%= count %> aspects" + many: "In <%= count %> aspects" + other: "In <%= count %> aspects" + show_more: "show more" + failed_to_like: "Failed to like!" + failed_to_post_message: "Failed to post message!" + comments: + show: "show all comments" + hide: "hide comments" + reshares: + duplicate: "That good, huh? You've already reshared that post!" + aspect_navigation: + select_all: "Select all" + deselect_all: "Deselect all" + no_aspects: "No aspects selected" + getting_started: + hey: "Hey, <%= name %>!" + no_tags: "Hey, you haven't followed any tags! Continue anyway?" + alright_ill_wait: "Alright, I'll wait." + preparing_your_stream: "Preparing your personalized stream..." + photo_uploader: + looking_good: "OMG, you look awesome!" + tags: + wasnt_that_interesting: "OK, I suppose #<%= tagName %> wasn't all that interesting..." + + stream: + hide: "Hide" + public: "Public" + limited: "Limited" + like: "Like" + unlike: "Unlike" + reshare: "Reshare" + comment: "Comment" + original_post_deleted: "Original post deleted by author." + show_nsfw_post: "Show post" + show_nsfw_posts: "Show all" + hide_nsfw_posts: "Hide #nsfw posts" + follow: "Follow" + unfollow: "Unfollow" + + likes: + zero: "<%= count %> Likes" + one: "<%= count %> Like" + two: "<%= count %> Likes" + few: "<%= count %> Likes" + many: "<%= count %> Likes" + other: "<%= count %> Likes" - videos: - watch: "Watch this video on <%= provider %>" - unknown: "Unknown video type" - search_for: "Search for <%= name %>" - publisher: - at_least_one_aspect: "You must publish to at least one aspect" - limited: "Limited - your post will only be seen by people you are sharing with" - public: "Public - your post will be visible to everyone and found by search engines" - infinite_scroll: - no_more: "No more posts." - aspect_dropdown: - add_to_aspect: "Add contact" - select_aspects: "Select aspects" - all_aspects: "All aspects" - stopped_sharing_with: "You have stopped sharing with <%= name %>." - started_sharing_with: "You have started sharing with <%= name %>!" - error: "Couldn't start sharing with <%= name %>. Are you ignoring them?" - toggle: - zero: "Select aspects" - one: "In <%= count %> aspect" - two: "In <%= count %> aspects" - few: "In <%= count %> aspects" - many: "In <%= count %> aspects" - other: "In <%= count %> aspects" - show_more: "show more" - failed_to_like: "Failed to like!" - failed_to_post_message: "Failed to post message!" - comments: - show: "show all comments" - hide: "hide comments" reshares: - duplicate: "That good, huh? You've already reshared that post!" - aspect_navigation: - select_all: "Select all" - deselect_all: "Deselect all" - no_aspects: "No aspects selected" - getting_started: - hey: "Hey, <%= name %>!" - no_tags: "Hey, you haven't followed any tags! Continue anyway?" - alright_ill_wait: "Alright, I'll wait." - preparing_your_stream: "Preparing your personalized stream..." - photo_uploader: - looking_good: "OMG, you look awesome!" - tags: - wasnt_that_interesting: "OK, I suppose #<%= tagName %> wasn't all that interesting..." + zero: "<%= count %> Reshares" + one: "<%= count %> Reshare" + two: "<%= count %> Reshares" + few: "<%= count %> Reshares" + many: "<%= count %> Reshares" + other: "<%= count %> Reshares" - stream: - hide: "Hide" - public: "Public" - limited: "Limited" - like: "Like" - unlike: "Unlike" - reshare: "Reshare" - comment: "Comment" - original_post_deleted: "Original post deleted by author." - show_nsfw_post: "Show post" - show_nsfw_posts: "Show all" - hide_nsfw_posts: "Hide #nsfw posts" - follow: "Follow" - unfollow: "Unfollow" + more_comments: + zero: "Show <%= count %> more comments" + one: "Show <%= count %> more comment" + two: "Show <%= count %> more comments" + few: "Show <%= count %> more comments" + many: "Show <%= count %> more comments" + other: "Show <%= count %> more comments" - likes: - zero: "<%= count %> Likes" - one: "<%= count %> Like" - two: "<%= count %> Likes" - few: "<%= count %> Likes" - many: "<%= count %> Likes" - other: "<%= count %> Likes" + header: + home: "Home" + profile: "Profile" + contacts: "Contacts" + settings: "Settings" + admin: "Admin" + log_out: "Log out" - reshares: - zero: "<%= count %> Reshares" - one: "<%= count %> Reshare" - two: "<%= count %> Reshares" - few: "<%= count %> Reshares" - many: "<%= count %> Reshares" - other: "<%= count %> Reshares" + notifications: "Notifications" + messages: "Messages" - more_comments: - zero: "Show <%= count %> more comments" - one: "Show <%= count %> more comment" - two: "Show <%= count %> more comments" - few: "Show <%= count %> more comments" - many: "Show <%= count %> more comments" - other: "Show <%= count %> more comments" + search: "Search" - header: - home: "Home" - profile: "Profile" - contacts: "Contacts" - settings: "Settings" - admin: "Admin" - log_out: "Log out" - - notifications: "Notifications" - messages: "Messages" - - search: "Search" - - recent_notifications: "Recent Notifications" - mark_all_as_read: "Mark all as read" - view_all: "View all" + recent_notifications: "Recent Notifications" + mark_all_as_read: "Mark all as read" + view_all: "View all" + viewer: + stop_following_post: "Stop following post" + follow_post: "Follow post" + like: "Like" + unlike: "Unlike" + reshare: "Reshare" + reshared: "Reshared" + comment: "Comment" diff --git a/public/javascripts/app/templates/post-viewer/feedback.handlebars b/public/javascripts/app/templates/post-viewer/feedback.handlebars index 54b48835a..280217087 100644 --- a/public/javascripts/app/templates/post-viewer/feedback.handlebars +++ b/public/javascripts/app/templates/post-viewer/feedback.handlebars @@ -1,4 +1,4 @@ - + {{#if user_like}} {{else}} @@ -7,7 +7,7 @@ {{likes_count}} - + {{#if user_participation}} {{else}} @@ -17,7 +17,7 @@ {{#if userCanReshare}} - + {{#if user_reshare}} {{else}} @@ -27,7 +27,7 @@ {{/if}} - + {{comments_count}} @@ -37,7 +37,7 @@
- + diff --git a/public/javascripts/app/templates/post-viewer/new-comment.handlebars b/public/javascripts/app/templates/post-viewer/new-comment.handlebars index 789ed216d..a1eab8349 100644 --- a/public/javascripts/app/templates/post-viewer/new-comment.handlebars +++ b/public/javascripts/app/templates/post-viewer/new-comment.handlebars @@ -1,8 +1,8 @@
- +