Remove unused translations

This commit is contained in:
Steffen van Bergerem 2016-07-03 10:20:18 +02:00
parent 8d16270fcb
commit 715cb1bb87
No known key found for this signature in database
GPG key ID: 2F08F75F9525C7E0
5 changed files with 14 additions and 205 deletions

View file

@ -1,6 +1,6 @@
<div class='pull-right'> <div class='pull-right'>
{{#if loggedIn}} {{#if loggedIn}}
<a href="#" class="like" title="{{#if userLike}} {{t "viewer.unlike"}} {{else}} {{t "viewer.like"}} {{/if}}"> <a href="#" class="like" title="{{#if userLike}} {{t "stream.unlike"}} {{else}} {{t "stream.like"}} {{/if}}">
{{#if userLike}} {{#if userLike}}
<i class="entypo-heart red large"></i> <i class="entypo-heart red large"></i>
{{else}} {{else}}
@ -8,12 +8,12 @@
{{/if}} {{/if}}
</a> </a>
<a href="#" class="focus-comment" title="{{t "viewer.comment"}}"> <a href="#" class="focus-comment" title="{{t "stream.comment"}}">
<i class="entypo-comment gray large"></i> <i class="entypo-comment gray large"></i>
</a> </a>
{{#if userCanReshare}} {{#if userCanReshare}}
<a href="#" class="reshare" title="{{t "viewer.reshare"}}"> <a href="#" class="reshare" title="{{t "stream.reshare"}}">
<i class="entypo-reshare gray large"></i> <i class="entypo-reshare gray large"></i>
</a> </a>
{{else}} {{else}}

View file

@ -46,7 +46,7 @@
= text_field_tag "identifier", nil, class: "form-control" = text_field_tag "identifier", nil, class: "form-control"
.form-group .form-group
.clearfix.col-md-12 .clearfix.col-md-12
= submit_tag t("services.remote_friend.invite"), class: "btn btn-default pull-right" = submit_tag t(".invite"), class: "btn btn-default pull-right"
.row .row
.col-md-12 .col-md-12

View file

@ -21,9 +21,6 @@ en:
delete: "Delete" delete: "Delete"
hide: "Hide" hide: "Hide"
ignore: "Ignore" ignore: "Ignore"
undo: "Undo?"
or: "or"
ago: "%{time} ago"
username: "Username" username: "Username"
email: "Email" email: "Email"
password: "Password" password: "Password"
@ -39,8 +36,6 @@ en:
find_people: "Find people or #tags" find_people: "Find people or #tags"
_home: "Home" _home: "Home"
more: "More" more: "More"
next: "Next"
previous: "Previous"
_comments: "Comments" _comments: "Comments"
all_aspects: "All aspects" all_aspects: "All aspects"
no_results: "No results found" no_results: "No results found"
@ -123,6 +118,7 @@ en:
account_locking_scheduled: "The account of %{name} is scheduled to be locked. It will be processed in a few moments..." account_locking_scheduled: "The account of %{name} is scheduled to be locked. It will be processed in a few moments..."
account_unlocking_scheduled: "The account of %{name} is scheduled to be unlocked. It will be processed in a few moments..." account_unlocking_scheduled: "The account of %{name} is scheduled to be unlocked. It will be processed in a few moments..."
email_to: "Email to invite" email_to: "Email to invite"
invite: "Invite"
under_13: "Show users that are under 13 (COPPA)" under_13: "Show users that are under 13 (COPPA)"
users: users:
zero: "%{count} users found" zero: "%{count} users found"
@ -174,11 +170,6 @@ en:
tag_name: "Tag name: <b>%{name_tag}</b> Count: <b>%{count_tag}</b>" tag_name: "Tag name: <b>%{name_tag}</b> Count: <b>%{count_tag}</b>"
pods: pods:
pod_network: "Pod network" pod_network: "Pod network"
application:
helper:
unknown_person: "Unknown person"
video_title:
unknown: "Unknown video title"
aspects: aspects:
contacts_visible: "Contacts in this aspect will be able to see each other." contacts_visible: "Contacts in this aspect will be able to see each other."
contacts_not_visible: "Contacts in this aspect will not be able to see each other." contacts_not_visible: "Contacts in this aspect will not be able to see each other."
@ -195,8 +186,6 @@ en:
aspect_chat_is_not_enabled: "Contacts in this aspect are not able to chat with you." aspect_chat_is_not_enabled: "Contacts in this aspect are not able to chat with you."
update: "Update" update: "Update"
updating: "Updating" updating: "Updating"
no_posts_message:
start_talking: "Nobody has said anything yet!"
no_contacts_message: no_contacts_message:
you_should_add_some_more_contacts: "You should add some more contacts!" you_should_add_some_more_contacts: "You should add some more contacts!"
try_adding_some_more_contacts: "You can search or %{invite_link} more contacts." try_adding_some_more_contacts: "You can search or %{invite_link} more contacts."
@ -233,13 +222,6 @@ en:
donate: "Donate" donate: "Donate"
keep_pod_running: "Keep %{pod} running fast and buy servers their coffee fix with a monthly donation!" keep_pod_running: "Keep %{pod} running fast and buy servers their coffee fix with a monthly donation!"
keep_diaspora_running: "Keep diaspora* development fast with a monthly donation!" keep_diaspora_running: "Keep diaspora* development fast with a monthly donation!"
no_tags: "+ Find a tag to follow"
unfollow_tag: "Stop following #%{tag}"
handle_explanation: "This is your diaspora* ID. Like an email address, you can give this to people to reach you."
no_contacts: "No contacts"
post_a_message: "Post a message >>"
people_sharing_with_you: "People sharing with you"
welcome_to_diaspora: "Welcome to diaspora*, %{name}!" welcome_to_diaspora: "Welcome to diaspora*, %{name}!"
introduce_yourself: "This is your stream. Jump in and introduce yourself." introduce_yourself: "This is your stream. Jump in and introduce yourself."
@ -265,10 +247,6 @@ en:
any_problem: "Got a problem?" any_problem: "Got a problem?"
contact_podmin: "Contact the administrator of your pod!" contact_podmin: "Contact the administrator of your pod!"
mail_podmin: "Podmin email" mail_podmin: "Podmin email"
diaspora_id:
heading: "diaspora* ID"
content_1: "Your diaspora* ID is:"
content_2: "Give it to anyone and theyll be able to find you on diaspora*."
services: services:
heading: "Connect services" heading: "Connect services"
content: "You can connect the following services to diaspora*:" content: "You can connect the following services to diaspora*:"
@ -311,11 +289,9 @@ en:
sharing: sharing:
people_sharing: "People sharing with you:" people_sharing: "People sharing with you:"
index: index:
add_to_aspect: "Add contacts to %{name}"
start_a_conversation: "Start a conversation" start_a_conversation: "Start a conversation"
add_a_new_aspect: "Add a new aspect" add_a_new_aspect: "Add a new aspect"
title: "Contacts" title: "Contacts"
your_contacts: "Your contacts"
no_contacts: "Looks like you need to add some contacts!" no_contacts: "Looks like you need to add some contacts!"
no_contacts_message: "Check out %{community_spotlight}" no_contacts_message: "Check out %{community_spotlight}"
community_spotlight: "Community spotlight" community_spotlight: "Community spotlight"
@ -334,12 +310,9 @@ en:
index: index:
conversations_inbox: "Conversations Inbox" conversations_inbox: "Conversations Inbox"
new_conversation: "New conversation" new_conversation: "New conversation"
no_conversation_selected: "No conversation selected"
create_a_new_conversation: "Start a new conversation" create_a_new_conversation: "Start a new conversation"
no_messages: "No messages" no_messages: "No messages"
inbox: "Inbox" inbox: "Inbox"
conversation:
participants: "Participants"
show: show:
reply: "Reply" reply: "Reply"
replying: "Replying..." replying: "Replying..."
@ -353,12 +326,6 @@ en:
message: "Message" message: "Message"
send: "Send" send: "Send"
sending: "Sending..." sending: "Sending..."
abandon_changes: "Abandon changes?"
helper:
new_messages:
zero: "No new messages"
one: "1 new messages"
other: "%{count} new messages"
create: create:
sent: "Message sent" sent: "Message sent"
fail: "Invalid message" fail: "Invalid message"
@ -624,7 +591,6 @@ en:
report_bugs: "report them" report_bugs: "report them"
invitation_codes: invitation_codes:
excited: "%{name} is excited to see you here."
not_valid: "That invite code is no longer valid" not_valid: "That invite code is no longer valid"
invitations: invitations:
@ -632,17 +598,12 @@ en:
sent: "Invitations have been sent to: %{emails}" sent: "Invitations have been sent to: %{emails}"
rejected: "The following email addresses had problems: " rejected: "The following email addresses had problems: "
no_more: "You have no more invitations." no_more: "You have no more invitations."
already_sent: "You already invited this person."
already_contacts: "You are already connected with this person"
own_address: "You cant send an invitation to your own address."
empty: "Please enter at least one email address." empty: "Please enter at least one email address."
note_already_sent: "Invitations have already been sent to: %{emails}" note_already_sent: "Invitations have already been sent to: %{emails}"
new: new:
language: "Language" language: "Language"
invite_someone_to_join: "Invite someone to join diaspora*!" invite_someone_to_join: "Invite someone to join diaspora*!"
if_they_accept_info: "if they accept, they will be added to the aspect you invited them."
comma_separated_plz: "You can enter multiple email addresses separated by commas." comma_separated_plz: "You can enter multiple email addresses separated by commas."
check_out_diaspora: "Hey! You should check out diaspora*"
to: "To" to: "To"
personal_message: "Personal message" personal_message: "Personal message"
send_an_invitation: "Send an invitation" send_an_invitation: "Send an invitation"
@ -653,15 +614,8 @@ en:
zero: "No invites left on this code" zero: "No invites left on this code"
one: "One invite left on this code" one: "One invite left on this code"
other: "%{count} invites left on this code" other: "%{count} invites left on this code"
aspect: "Aspect"
already_invited: "The following people have not accepted your invitation:"
resend: "Resend"
check_out_diaspora: "Check out diaspora*!"
check_token: check_token:
not_found: "Invitation token not found" not_found: "Invitation token not found"
edit:
your_account_awaits: "Your account awaits!"
accept_your_invitation: "Accept your invitation"
a_facebook_user: "A Facebook user" a_facebook_user: "A Facebook user"
layouts: layouts:
@ -670,7 +624,6 @@ en:
settings: "Settings" settings: "Settings"
help: "Help" help: "Help"
logout: "Log out" logout: "Log out"
blog: "Blog"
login: "Log in" login: "Log in"
code: "Code" code: "Code"
admin: "Admin" admin: "Admin"
@ -693,10 +646,6 @@ en:
zero: "No likes" zero: "No likes"
one: "%{count} like" one: "%{count} like"
other: "%{count} likes" other: "%{count} likes"
people_like_this_comment:
zero: "No likes"
one: "%{count} like"
other: "%{count} likes"
notifications: notifications:
started_sharing: started_sharing:
@ -718,7 +667,7 @@ en:
mentioned: mentioned:
zero: "%{actors} have mentioned you in the post %{post_link}." zero: "%{actors} have mentioned you in the post %{post_link}."
one: "%{actors} has mentioned you in the post %{post_link}." one: "%{actors} has mentioned you in the post %{post_link}."
other: "%{actors} have mentioned you in the %{post_link}." other: "%{actors} have mentioned you in the post %{post_link}."
liked: liked:
zero: "%{actors} have liked your post %{post_link}." zero: "%{actors} have liked your post %{post_link}."
one: "%{actors} has liked your post %{post_link}." one: "%{actors} has liked your post %{post_link}."
@ -958,10 +907,7 @@ en:
one: "1 person" one: "1 person"
other: "%{count} people" other: "%{count} people"
person: person:
pending_request: "Pending request"
already_connected: "Already connected"
thats_you: "Thats you!" thats_you: "Thats you!"
add_contact: "Add contact"
index: index:
results_for: "Users matching %{search_term}" results_for: "Users matching %{search_term}"
no_results: "Hey! You need to search for something." no_results: "Hey! You need to search for something."
@ -975,54 +921,23 @@ en:
fail: "Sorry, we couldnt find %{handle}." fail: "Sorry, we couldnt find %{handle}."
show: show:
has_not_shared_with_you_yet: "%{name} has not shared any posts with you yet!" has_not_shared_with_you_yet: "%{name} has not shared any posts with you yet!"
incoming_request: "%{name} wants to share with you"
return_to_aspects: "Return to your aspects page" return_to_aspects: "Return to your aspects page"
to_accept_or_ignore: "to accept or ignore it." to_accept_or_ignore: "to accept or ignore it."
does_not_exist: "Person does not exist!" does_not_exist: "Person does not exist!"
not_connected: "You are not sharing with this person"
recent_posts: "Recent posts"
recent_public_posts: "Recent public posts"
see_all: "See all"
start_sharing: "Start sharing"
message: "Message" message: "Message"
mention: "Mention" mention: "Mention"
closed_account: "This account has been closed." closed_account: "This account has been closed."
sub_header:
you_have_no_tags: "You have no tags!"
add_some: "Add some"
edit: "Edit"
profile_sidebar: profile_sidebar:
remove_contact: "Remove contact"
edit_my_profile: "Edit my profile"
bio: "Bio" bio: "Bio"
location: "Location" location: "Location"
gender: "Gender" gender: "Gender"
born: "Birthday" born: "Birthday"
photos: "Photos"
in_aspects: "In aspects"
remove_from: "Remove %{name} from %{aspect}?"
helper:
results_for: " results for %{params}"
is_sharing: "%{name} is sharing with you"
is_not_sharing: "%{name} is not sharing with you"
aspect_list:
edit_membership: "Edit aspect membership"
add_contact_small:
add_contact_from_tag: "Add contact from tag"
add_contact: add_contact:
invited_by: "You were invited by" invited_by: "You were invited by"
photos: photos:
show: show:
delete_photo: "Delete photo"
make_profile_photo: "Make profile photo"
update_photo: "Update photo"
edit: "Edit"
edit_delete_photo: "Edit photo description / delete photo"
collection_permalink: "Collection permalink"
show_original_post: "Show original post" show_original_post: "Show original post"
edit:
editing: "Editing"
photo: photo:
view_all: "View all of %{name}s photos" view_all: "View all of %{name}s photos"
new: new:
@ -1033,9 +948,6 @@ en:
runtime_error: "Photo upload failed. Are you sure that your seatbelt is fastened?" runtime_error: "Photo upload failed. Are you sure that your seatbelt is fastened?"
integrity_error: "Photo upload failed. Are you sure that was an image?" integrity_error: "Photo upload failed. Are you sure that was an image?"
type_error: "Photo upload failed. Are you sure an image was added?" type_error: "Photo upload failed. Are you sure an image was added?"
update:
notice: "Photo successfully updated."
error: "Failed to edit photo."
destroy: destroy:
notice: "Photo deleted." notice: "Photo deleted."
new_photo: new_photo:
@ -1044,8 +956,6 @@ en:
empty: "{file} is empty, please select files again without it." empty: "{file} is empty, please select files again without it."
new_profile_photo: new_profile_photo:
upload: "Upload a new profile photo!" upload: "Upload a new profile photo!"
or_select_one_existing: "or select one from your already existing %{photos}"
comment_email_subject: "%{name}s photo"
polls: polls:
votes: votes:
@ -1085,11 +995,6 @@ en:
created: "A report was created" created: "A report was created"
failed: "Something went wrong" failed: "Something went wrong"
share_visibilites:
update:
post_hidden_and_muted: "%{name}s post has been hidden, and notifications have been muted."
see_it_on_their_profile: "If you want to see updates on this post, visit %{name}s profile page."
profiles: profiles:
edit: edit:
basic: "My basic profile" basic: "My basic profile"
@ -1124,11 +1029,6 @@ en:
registrations: registrations:
new: new:
create_my_account: "Create my account!"
join_the_movement: "Join the movement!"
sign_up_message: "Social networking with a ♥"
enter_email: "Enter your email address" enter_email: "Enter your email address"
enter_username: "Pick a username (only letters, numbers, and underscores)" enter_username: "Pick a username (only letters, numbers, and underscores)"
enter_password: "Enter a password (six character minimum)" enter_password: "Enter a password (six character minimum)"
@ -1143,43 +1043,16 @@ en:
terms_link: "terms of service" terms_link: "terms of service"
create: create:
success: "Youve joined diaspora*!" success: "Youve joined diaspora*!"
edit:
edit: "Edit %{name}"
leave_blank: "(leave blank if you dont want to change it)"
password_to_confirm: "(we need your current password to confirm your changes)"
unhappy: "Unhappy?"
update: "Update"
cancel_my_account: "Cancel my account"
closed: "Signups are closed on this diaspora* pod." closed: "Signups are closed on this diaspora* pod."
invalid_invite: "The invite link you provided is no longer valid!" invalid_invite: "The invite link you provided is no longer valid!"
requests:
manage_aspect_contacts:
manage_within: "Manage contacts within"
existing: "Existing contacts"
destroy:
success: "You are now sharing."
error: "Please select an aspect!"
ignore: "Ignored contact request."
create:
sending: "Sending"
sent: "Youve asked to share with %{name}. They should see it next time they log in to diaspora*."
new_request_to_person:
sent: "Sent!"
helper:
new_requests:
zero: "No new requests"
one: "New request!"
other: "%{count} new requests!"
reshares: reshares:
reshare: reshare:
reshared_via: "Reshared via" reshared_via: "Reshared via"
reshare_original: "Reshare original"
reshare: reshare:
zero: "Reshare" zero: "Reshare"
one: "1 reshare" one: "1 reshare"
other: "%{count} reshares" other: "%{count} reshares"
show_original: "Show original"
reshare_confirmation: "Reshare %{author}s post?" reshare_confirmation: "Reshare %{author}s post?"
deleted: "Original post deleted by author." deleted: "Original post deleted by author."
create: create:
@ -1211,25 +1084,14 @@ en:
success: "Successfully deleted authentication." success: "Successfully deleted authentication."
failure: failure:
error: "There was an error connecting to that service" error: "There was an error connecting to that service"
inviter:
join_me_on_diaspora: "Join me on diaspora*"
click_link_to_accept_invitation: "Follow this link to accept your invitation"
finder:
fetching_contacts: "diaspora* is populating your %{service} friends, please check back in a few minutes."
service_friends: "%{service} friends"
no_friends: "No Facebook friends found."
remote_friend:
resend: "Resend"
invite: "Invite"
not_on_diaspora: "Not yet on diaspora*"
blocks: blocks:
create: create:
success: "All right, you wont see that user in your stream again. #silencio!" success: "All right, you wont see that user in your stream again. #silencio!"
failure: "I couldnt ignore that user. #evasion" failure: "I couldnt ignore that user. #evasion"
destroy: destroy:
success: "Lets see what they have to say! #sayhello" success: "Lets see what they have to say! #sayhello"
failure: "I couldnt stop ignoring that user. #evasion" failure: "I couldnt stop ignoring that user. #evasion"
shared: shared:
aspect_dropdown: aspect_dropdown:
@ -1245,16 +1107,12 @@ en:
posting: "Posting..." posting: "Posting..."
share: "Share" share: "Share"
preview: "Preview" preview: "Preview"
post_a_message_to: "Post a message to %{aspect}"
make_public: "Make public"
all: "All" all: "All"
upload_photos: "Upload photos" upload_photos: "Upload photos"
get_location: "Get your location" get_location: "Get your location"
remove_location: "Remove location" remove_location: "Remove location"
all_contacts: "All contacts" all_contacts: "All contacts"
share_with: "Share with"
whats_on_your_mind: "Whats on your mind?" whats_on_your_mind: "Whats on your mind?"
publishing_to: "Publishing to: "
discard_post: "Discard post" discard_post: "Discard post"
new_user_prefill: new_user_prefill:
newhere: "newhere" newhere: "newhere"
@ -1267,21 +1125,10 @@ en:
add_a_poll: "Add a poll" add_a_poll: "Add a poll"
question: "Question" question: "Question"
option: "Option 1" option: "Option 1"
add_contact:
enter_a_diaspora_username: "Enter a diaspora* username:"
your_diaspora_username_is: "Your diaspora* username is: %{diaspora_handle}"
create_request: "Find by diaspora* ID"
diaspora_handle: "diaspora@pod.org"
know_email: "Know their email address? You should invite them"
add_new_contact: "Add a new contact"
invitations: invitations:
invites: "Invites" invites: "Invites"
invite_someone: "Invite someone"
invitations_left: "%{count} left" invitations_left: "%{count} left"
dont_have_now: "You dont have any right now, but more invites are coming soon!"
invites_closed: "Invites are currently closed on this diaspora* pod"
invite_your_friends: "Invite your friends" invite_your_friends: "Invite your friends"
from_facebook: "From Facebook"
by_email: "By email" by_email: "By email"
share_this: "Share this link via email, blog, or social networks!" share_this: "Share this link via email, blog, or social networks!"
reshare: reshare:
@ -1296,14 +1143,7 @@ en:
logged_in: "Logged in to %{service}" logged_in: "Logged in to %{service}"
manage: "Manage connected services" manage: "Manage connected services"
atom_feed: "Atom feed" atom_feed: "Atom feed"
notification:
new: "New %{type} from %{from}"
contact_list:
all_contacts: "All contacts"
stream_element: stream_element:
viewable_to_anyone: "This post is viewable to anyone on the web"
connect_to_comment: "Connect to this user to comment on their post"
currently_unavailable: "Commenting currently unavailable"
via: "Via %{link}" via: "Via %{link}"
via_mobile: "Via mobile" via_mobile: "Via mobile"
ignore_user: "Ignore %{name}" ignore_user: "Ignore %{name}"
@ -1311,19 +1151,12 @@ en:
hide_and_mute: "Hide and mute post" hide_and_mute: "Hide and mute post"
like: "Like" like: "Like"
unlike: "Unlike" unlike: "Unlike"
shared_with: "Shared with: %{aspect_names}"
nsfw: "This post has been flagged as NSFW by its author. %{link}"
show: "Show" show: "Show"
footer:
logged_in_as: "Logged in as %{name}"
your_aspects: "Your aspects"
status_messages: status_messages:
new: new:
mentioning: "Mentioning: %{person}" mentioning: "Mentioning: %{person}"
create: create:
success: "Successfully mentioned: %{names}" success: "Successfully mentioned: %{names}"
helper:
no_message_to_display: "No message to display."
destroy: destroy:
failure: "Failed to delete post" failure: "Failed to delete post"
too_long: "Please make your status message fewer than %{count} characters. Right now it is %{current_length} characters" too_long: "Please make your status message fewer than %{count} characters. Right now it is %{current_length} characters"
@ -1471,7 +1304,6 @@ en:
what_are_you_in_to: "What are you into?" what_are_you_in_to: "What are you into?"
hashtag_explanation: "Hashtags allow you to talk about and follow your interests. Theyre also a great way to find new people on diaspora*." hashtag_explanation: "Hashtags allow you to talk about and follow your interests. Theyre also a great way to find new people on diaspora*."
hashtag_suggestions: "Try following tags like #art, #movies, #gif, etc." hashtag_suggestions: "Try following tags like #art, #movies, #gif, etc."
saved: "Saved!"
update: update:
password_changed: "Password changed. You can now log in with your new password." password_changed: "Password changed. You can now log in with your new password."
@ -1500,13 +1332,6 @@ en:
previous_label: "&laquo; previous" previous_label: "&laquo; previous"
next_label: "next &raquo;" next_label: "next &raquo;"
webfinger:
fetch_failed: "Failed to fetch webfinger profile for %{profile_url}"
hcard_fetch_failed: "There was a problem fetching the hcard for %{account}"
xrd_fetch_failed: "There was an error getting the xrd from account %{account}"
not_enabled: "Webfinger does not seem to be enabled for %{account}s host"
no_person_constructed: "No person could be constructed from this hcard."
simple_captcha: simple_captcha:
placeholder: "Enter the image value" placeholder: "Enter the image value"
label: "Enter the code in the box:" label: "Enter the code in the box:"

View file

@ -118,12 +118,7 @@ en:
my_stream: "Stream" my_stream: "Stream"
my_aspects: "My aspects" my_aspects: "My aspects"
videos:
watch: "Watch this video on <%= provider %>"
unknown: "Unknown video type"
search_for: "Search for <%= name %>"
publisher: 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" 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" public: "Public: your post will be visible to everyone and found by search engines"
near_from: "Posted from: <%= location %>" near_from: "Posted from: <%= location %>"
@ -134,9 +129,6 @@ en:
post_something: "Post to diaspora*" post_something: "Post to diaspora*"
post_submit: "Submitting post..." post_submit: "Submitting post..."
post_success: "Posted! Closing popup window..." post_success: "Posted! Closing popup window..."
infinite_scroll:
no_more: "No more posts."
no_more_contacts: "No more contacts."
aspect_dropdown: aspect_dropdown:
add_to_aspect: "Add contact" add_to_aspect: "Add contact"
select_aspects: "Select aspects" select_aspects: "Select aspects"
@ -207,7 +199,6 @@ en:
posts: "Posts" posts: "Posts"
conversation: conversation:
participants: "Participants"
new: new:
no_contacts: "You need to add some contacts before you can start a conversation." no_contacts: "You need to add some contacts before you can start a conversation."
@ -290,14 +281,7 @@ en:
close: "Close" close: "Close"
viewer: viewer:
stop_following_post: "Stop following post"
follow_post: "Follow post"
like: "Like"
unlike: "Unlike"
reshare: "Reshare"
reshared: "Reshared" reshared: "Reshared"
comment: "Comment"
home: "Home"
poll: poll:
vote: "Vote" vote: "Vote"

View file

@ -15,15 +15,15 @@ describe "i18n interpolation fallbacks" do
end end
describe "when string requires interpolation arguments" do describe "when string requires interpolation arguments" do
context "current locale has no fallbacks" do context "current locale has no fallbacks" do
# ago: "%{time} ago" (in en.yml) # tags.show.follow: "Follow #%{tag}" (in en.yml)
it "returns the translation when all arguments are provided" do it "returns the translation when all arguments are provided" do
expect(I18n.t('ago', :time => "2 months")).to eq("2 months ago") expect(I18n.t("tags.show.follow", tag: "cats")).to eq("Follow #cats")
end end
it "returns the translation without substitution when all arguments are omitted" do it "returns the translation without substitution when all arguments are omitted" do
expect(I18n.t('ago')).to eq("%{time} ago") expect(I18n.t("tags.show.follow")).to eq("Follow #%{tag}")
end end
it "raises a MissingInterpolationArgument when arguments are wrong" do it "raises a MissingInterpolationArgument when arguments are wrong" do
expect { I18n.t('ago', :not_time => "2 months") }.to raise_exception(I18n::MissingInterpolationArgument) expect { I18n.t("tags.show.follow", not_tag: "cats") }.to raise_exception(I18n::MissingInterpolationArgument)
end end
end end
context "current locale falls back to English" do context "current locale falls back to English" do