From: Ævar Arnfjörð Bjarmason Date: Fri, 30 Oct 2009 17:41:22 +0000 (+0000) Subject: Make messages relating to public editing translatable X-Git-Tag: live~6473 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/2d7fa37bd26ae700a3e59f3377d0dc6aa596789a?hp=501adefb3b6d434824fb3f67c47a6cc271e962cf Make messages relating to public editing translatable --- diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index a0a8fa880..ae00f7b34 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -38,12 +38,8 @@ <%= render :partial => 'friend_map' %> <% unless @user.data_public? %> -

Public editing

- Currently your edits are anonymous and people can't send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below. - Since the 0.6 API changeover, only public users can edit map data. (find out why).
- Your email address will not be revealed by becoming public.
- This action cannot be reversed and all new users are now public by default.
-

+

<%= t 'user.account.public editing note.heading' %>

+<%= t 'user.account.public editing note.text' %> <%= button_to t('user.account.make edits public button'), :action => :go_public %> <% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index d33e96ac5..1c0171c2c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -997,6 +997,9 @@ en: enabled link text: "what's this?" disabled: "Disabled and cannot edit data, all previous edits are anonymous." disabled link text: "why can't I edit?" + public editing note: + heading: "Public editing" + text: "Currently your edits are anonymous and people can't send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below. Since the 0.6 API changeover, only public users can edit map data. (find out why)." profile description: "Profile Description:" preferred languages: "Preferred Languages:" home location: "Home Location:"