From 9c744ab65da1a5ae8a94c8738878d23ed278684b Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sat, 18 Jan 2025 03:32:57 +0300 Subject: [PATCH] Remove "Public editing" line from settings page --- app/views/accounts/edit.html.erb | 13 ------------- config/locales/en.yml | 7 ------- 2 files changed, 20 deletions(-) diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index 16f109c9f..7a10b12e3 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -29,19 +29,6 @@ (" target="_new"><%= t ".openid.link text" %>) -
- - - <% if current_user.data_public? %> - <%= t ".public editing.enabled" %> - (" target="_new"><%= t ".public editing.enabled link text" %>) - <% else %> - <%= t ".public editing.disabled" %> - (<%= t ".public editing.disabled link text" %>) - <% end %> - -
-
diff --git a/config/locales/en.yml b/config/locales/en.yml index 888079a6c..42e3f637e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -251,13 +251,6 @@ en: openid: link: "https://wiki.openstreetmap.org/wiki/OpenID" link text: "what is this?" - public editing: - heading: "Public editing" - enabled: "Enabled. Not anonymous and can edit data." - enabled link: "https://wiki.openstreetmap.org/wiki/Anonymous_edits" - enabled link text: "what is this?" - disabled: "Disabled and cannot edit data, all previous edits are anonymous." - disabled link text: "why can't I edit?" contributor terms: heading: "Contributor Terms" agreed: "You have agreed to the new Contributor Terms." -- 2.39.5