diff --git a/app/helpers/language_helper.rb b/app/helpers/language_helper.rb index 7bd5b3975..17066ded9 100644 --- a/app/helpers/language_helper.rb +++ b/app/helpers/language_helper.rb @@ -10,7 +10,7 @@ module LanguageHelper def options_for_gender_select(user) grammatical_gender = user.grammatical_gender genders_list = I18n::Backend::Genderize.known_genders.map do |gender| - [t("#{gender}"), gender] + [t(".#{gender}"), gender] end if grammatical_gender.blank? grammatical_gender = I18n::Backend::Genderize.guess(user.profile.gender) diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 624779db1..c63ad0986 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -21,7 +21,10 @@ en: email: "Email" password: "Password" password_confirmation: "Password confirmation" - are_you_sure: "Are you sure?" + are_you_sure: + masculine: "Are you sure?" + feminine: "Are you sure?" + neuter: "Are you sure?" fill_me_out: "Fill me out" back: "Back" the_world: "the world" @@ -103,7 +106,10 @@ en: your_diaspora_username_is: "Your Diaspora username is: %{diaspora_handle}" create_request: "Find by Diaspora handle" diaspora_handle: "diaspora@handle.org" - know_email: "Know their email address? You should invite them" + know_email: + masculine: "Know their email address? You should invite them" + feminine: "Know their email address? You should invite them" + neuter: "Know their email address? You should invite them" invitations: invite_someone: "Invite someone" invitations_left: "(%{count} left)" @@ -183,6 +189,10 @@ en: download_photos: "download my photos" your_handle: "Your diaspora handle" your_email: "Your email" + address_me_as: "Address me as" + masculine: "a man" + feminine: "a woman" + neuter: "a neuter" destroy: "Account successfully closed." getting_started: welcome: "Welcome to Diaspora!" @@ -241,9 +251,18 @@ en: back_to_list: "Back to List" post_it: "post it!" create: - 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?" - type_error: "Photo upload failed. Are you sure an image was added?" + runtime_error: + masculine: "Photo upload failed. Are you sure that your seatbelt is fastened?" + feminine: "Photo upload failed. Are you sure that your seatbelt is fastened?" + neuter: "Photo upload failed. Are you sure that your seatbelt is fastened?" + integrity_error: + masculine: "Photo upload failed. Are you sure that was an image?" + feminine: "Photo upload failed. Are you sure that was an image?" + neuter: "Photo upload failed. Are you sure that was an image?" + type_error: + masculine: "Photo upload failed. Are you sure an image was added?" + feminine: "Photo upload failed. Are you sure an image was added?" + neuter: "Photo upload failed. Are you sure an image was added?" update: notice: "Photo successfully updated." error: "Failed to edit photo." @@ -272,11 +291,20 @@ en: sent: "Invitations have been sent to: " rejected: "The following email addresses had problems: " no_more: "You have no more invitations." - already_sent: "You already invited this person." - already_contacts: "You are already connected with this person" + already_sent: + masculine: "You already invited this person." + feminine: "You already invited this person." + neuter: "You already invited this person." + already_contacts: + masculine: "You are already connected with this person." + feminine: "You are already connected with this person." + neuter: "You are already connected with this person." new: 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." + if_they_accept_info: + masculine: "if they accept, they will be added to the aspect you invited them." + feminine: "if they accept, they will be added to the aspect you invited them." + neuter: "if they accept, they will be added to the aspect you invited them." comma_seperated_plz: "You can enter multiple email addresses separated by commas." to: "To" message: "Message:" @@ -307,10 +335,16 @@ en: incoming_request: "You have an incoming request from this person." return_to_aspects: "Return to your aspects page" to_accept_or_ignore: "to accept or ignore it." - request_people: "If you'd like, you can request to place him/her in one of your aspects." - already_requested: "You have already sent a request to %{name}." + request_people: "If you'd like, you can request to place him in one of your aspects." + already_requested: + masculine: "You have already sent a request to %{name}." + feminine: "You have already sent a request to %{name}." + neuter: "You have already sent a request to %{name}." does_not_exist: "Person does not exist!" - not_connected: "You are not connected with this person" + not_connected: + masculine: "You are not connected with this person" + feminine: "You are not connected with this person" + neuter: "You are not connected with this person" edit: info_available_to: "This info will be available to whomever you connect with on Diaspora." your_profile: "Your profile" @@ -350,7 +384,10 @@ en: ignore: "Ignored contact request." create: sending: "Sending" - sent: "You've asked to share with %{name}. They should see it next time they log in to Diaspora." + sent: + masculine: "You've asked to share with %{name}. They should see it next time they log in to Diaspora." + feminine: "You've asked to share with %{name}. They should see it next time they log in to Diaspora." + neuter: "You've asked to share with %{name}. They should see it next time they log in to Diaspora." new_request_to_person: sent: "sent!" services: