]> git.openstreetmap.org Git - rails.git/commitdiff
Merge branch 'master' into moderation
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 21 Jan 2018 11:20:19 +0000 (11:20 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 21 Jan 2018 11:20:19 +0000 (11:20 +0000)
1  2 
Gemfile.lock
app/assets/stylesheets/common.scss
app/views/browse/changeset.html.erb
config/locales/en.yml

diff --combined Gemfile.lock
index 50833ef44939bada55fb19db11cad175e7f19ed6,1cff441517ad978f29781b934b7d06f0ecf88c48..9164f63d148eacdb25f7744084a0744cc2b09807
@@@ -2,7 -2,6 +2,7 @@@ GE
    remote: https://rubygems.org/
    specs:
      SystemTimer (1.2.3)
 +    aasm (4.1.0)
      actioncable (5.1.4)
        actionpack (= 5.1.4)
        nio4r (~> 2.0)
@@@ -55,7 -54,7 +55,7 @@@
      builder (3.2.3)
      canonical-rails (0.2.1)
        rails (>= 4.1, < 5.2)
-     capybara (2.15.4)
+     capybara (2.16.1)
        addressable
        mini_mime (>= 0.1.3)
        nokogiri (>= 1.3.3)
@@@ -84,7 -83,7 +84,7 @@@
        tins (~> 1.6)
      crack (0.4.3)
        safe_yaml (~> 1.0.0)
-     crass (1.0.2)
+     crass (1.0.3)
      dalli (2.7.6)
      docile (1.1.5)
      dynamic_form (1.1.4)
      hashie (3.5.6)
      htmlentities (4.3.4)
      http_accept_language (2.0.5)
-     i18n (0.9.0)
+     i18n (0.9.1)
        concurrent-ruby (~> 1.0)
      i18n-js (3.0.2)
        i18n (~> 0.6, >= 0.6.6)
-     image_optim (0.25.0)
+     image_optim (0.26.0)
        exifr (~> 1.2, >= 1.2.2)
        fspath (~> 3.0)
        image_size (~> 1.5)
        rails
        sprockets
      image_size (1.5.0)
-     in_threads (1.4.0)
+     in_threads (1.5.0)
      jquery-rails (4.3.1)
        rails-dom-testing (>= 1, < 3)
        railties (>= 4.2.0)
      loofah (2.1.1)
        crass (~> 1.0.2)
        nokogiri (>= 1.5.9)
-     mail (2.6.6)
-       mime-types (>= 1.16, < 4)
+     mail (2.7.0)
+       mini_mime (>= 0.1.1)
      method_source (0.9.0)
      mime-types (3.1)
        mime-types-data (~> 3.2015)
      mime-types-data (3.2016.0521)
      mimemagic (0.3.0)
-     mini_mime (0.1.4)
+     mini_mime (1.0.0)
      mini_portile2 (2.3.0)
      minitest (5.10.3)
      multi_json (1.12.2)
        mime-types
        mimemagic (= 0.3.0)
      parallel (1.12.0)
-     parser (2.4.0.0)
-       ast (~> 2.2)
+     parser (2.4.0.2)
+       ast (~> 2.3)
      pg (0.21.0)
      poltergeist (1.16.0)
        capybara (~> 2.1)
      powerpack (0.1.1)
      progress (3.4.0)
      psych (2.2.4)
-     public_suffix (3.0.0)
-     puma (3.10.0)
+     public_suffix (3.0.1)
+     puma (3.11.0)
      r2 (0.2.7)
      rack (2.0.3)
      rack-cors (1.0.2)
      rack-openid (1.3.1)
        rack (>= 1.1.0)
        ruby-openid (>= 2.1.8)
-     rack-test (0.7.0)
+     rack-test (0.8.2)
        rack (>= 1.0, < 3)
      rack-uri_sanitizer (0.0.2)
      rails (5.1.4)
        thor (>= 0.18.1, < 2.0)
      rainbow (2.2.2)
        rake
-     rake (12.2.1)
+     rake (12.3.0)
      rb-fsevent (0.10.2)
      rb-inotify (0.9.10)
        ffi (>= 0.5.0, < 2)
      sass-listen (4.0.0)
        rb-fsevent (~> 0.9, >= 0.9.4)
        rb-inotify (~> 0.9, >= 0.9.7)
-     sass-rails (5.0.6)
+     sass-rails (5.0.7)
        railties (>= 4.0.0, < 6)
        sass (~> 3.1)
        sprockets (>= 2.8, < 4.0)
        sprockets-rails (>= 2.0, < 4.0)
        tilt (>= 1.1, < 3)
-     secure_headers (5.0.1)
+     secure_headers (5.0.3)
        useragent (>= 0.15.0)
      simplecov (0.14.1)
        docile (~> 1.1.0)
      thor (0.19.4)
      thread_safe (0.3.6)
      tilt (2.0.8)
-     tins (1.15.0)
+     tins (1.16.0)
      tzinfo (1.2.4)
        thread_safe (~> 0.1)
      uglifier (3.2.0)
      validates_email_format_of (1.6.3)
        i18n
      vendorer (0.1.16)
-     webmock (3.1.0)
+     webmock (3.1.1)
        addressable (>= 2.3.6)
        crack (>= 0.3.2)
        hashdiff
      websocket-driver (0.6.5)
        websocket-extensions (>= 0.1.0)
-     websocket-extensions (0.1.2)
+     websocket-extensions (0.1.3)
      xpath (2.1.0)
        nokogiri (~> 1.3)
  
@@@ -356,7 -355,6 +356,7 @@@ PLATFORM
  
  DEPENDENCIES
    SystemTimer (>= 1.1.3)
 +  aasm
    actionpack-page_caching
    annotate
    autoprefixer-rails
index ec5b0b710c4a3d64256395e4ea049b3e53267019,00e970e3038f49515076a49fabad3142a0c30e03..cb55f1ae0502a9d321c72a0360dcb40ca767cd2c
@@@ -163,24 -163,24 +163,24 @@@ small, aside 
    overflow: hidden;
  }
  
- .icon.search      { background-position: 0 0; }
- .icon.donate      { background-position: -20px 0; }
- .icon.zoomin      { background-position: -40px 0; }
- .icon.zoomout     { background-position: -60px 0; }
- .icon.geolocate   { background-position: -80px 0; }
- .active .icon.geolocate   { background-position: -80px -20px; }
- .icon.layers      { background-position: -100px 0; }
- .icon.key         { background-position: -120px 0; }
- .icon.share       { background-position: -140px 0; }
- .icon.clipboard   { background-position: -160px 0; }
- .icon.link        { background-position: -180px 0; }
- .icon.close       { background-position: -200px 0; }
+ .icon.search      { /* no-r2 */ background-position: 0 0; }
+ .icon.donate      { /* no-r2 */ background-position: -20px 0; }
+ .icon.zoomin      { /* no-r2 */ background-position: -40px 0; }
+ .icon.zoomout     { /* no-r2 */ background-position: -60px 0; }
+ .icon.geolocate   { /* no-r2 */ background-position: -80px 0; }
+ .active .icon.geolocate   { /* no-r2 */ background-position: -80px -20px; }
+ .icon.layers      { /* no-r2 */ background-position: -100px 0; }
+ .icon.key         { /* no-r2 */ background-position: -120px 0; }
+ .icon.share       { /* no-r2 */ background-position: -140px 0; }
+ .icon.clipboard   { /* no-r2 */ background-position: -160px 0; }
+ .icon.link        { /* no-r2 */ background-position: -180px 0; }
+ .icon.close       { /* no-r2 */ background-position: -200px 0; }
  .close-wrap:hover .icon.close,
- .icon.close:hover { background-position: -200px -20px; }
- .icon.check       { background-position: -220px 0; }
- .icon.note        { background-position: -240px 0; }
- .icon.note.grey   { background-position: -240px -20px; }
- .icon.query       { background-position: -260px 0; }
+ .icon.close:hover { /* no-r2 */ background-position: -200px -20px; }
+ .icon.check       { /* no-r2 */ background-position: -220px 0; }
+ .icon.note        { /* no-r2 */ background-position: -240px 0; }
+ .icon.note.grey   { /* no-r2 */ background-position: -240px -20px; }
+ .icon.query       { /* no-r2 */ background-position: -260px 0; }
  
  /* Rules for links */
  
@@@ -1209,9 -1209,8 +1209,8 @@@ tr.turn:hover 
    }
  
    .warning {
-     margin: $lineheight/2 0;
-     padding: $lineheight/2;
-     font-size: 90%;
+     margin: 0 0 $lineheight/2 0;
+     padding: 0 $lineheight/2;
    }
  
    .note-comments li, .changeset-comments li {
@@@ -2814,38 -2813,3 +2813,38 @@@ input.richtext_title[type="text"] 
      display: none;
    }
  }
 +
 +.read-reports {
 +  background: #eee;
 +  opacity: 0.7;
 +}
 +
 +.report-related-block {
 +  display:inline-block;
 +}
 +
 +.report-block {
 +  width:475px;
 +  float:left;
 +  margin-right:100px;
 +}
 +
 +.related-block{
 +  width:280px;
 +  float:right;
 +}
 +
 +.issue-comments {
 +  width:475px;
 +}
 +
 +.report-button {
 +  float:right;
 +}
 +
 +.disclaimer {
 +  width: 600px;
 +  background: #fff1f0;
 +  color: #d85030;
 +  border-color: rgba(216, 80, 48, 0.3);
 +}
index f35c3924ad1a1a52eb2fc239478426eb67cba861,6a3e856802c2b4c3d4c7bde5090d96e0a17a585b..afc3fc16cbd24d8bb8fa7fe1d790d13cb4f538c0
@@@ -3,11 -3,6 +3,11 @@@
  <h2>
    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
    <%= t('browse.changeset.title', :id => @changeset.id) %>
 +  <% if current_user and current_user.id != @changeset.user.id %>
 +    <%= link_to new_report_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name), :title => t('browse.changeset.report') do %>
 +        &nbsp;&#9872;
 +    <% end %>
 +  <% end %>
  </h2>
  
  <div class="browse-section">
          <input type="submit" name="comment" value="<%= t('javascripts.changesets.show.comment') %>" data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1"/>
        </div>
      </form>
+   <% else %>
+     <div class="notice hide_unless_logged_in">
+     <%= t('browse.changeset.still_open') %>
+     </div>
    <% end %>
  
    <% unless @ways.empty? %>
diff --combined config/locales/en.yml
index f212a75758a53a33ebb9235d6b2862c3857db31b,84a967c6da0bdeb8de1583ab79b5ab82c2011bd1..e68d44543a2f57f76541210e8b5cb91b46273027
@@@ -131,7 -131,7 +131,8 @@@ en
          title_comment: "Changeset %{id} - %{comment}"
        join_discussion: "Log in to join the discussion"
        discussion: Discussion
 +      report: Report this changeset?
+       still_open: "Changeset still open - discussion will open once the changeset is closed."
      node:
        title: "Node: %{name}"
        history_title: "Node History: %{name}"
        reopened_by: "Reactivated by %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
        reopened_by_anonymous: "Reactivated by anonymous <abbr title='%{exact_time}'>%{when} ago</abbr>"
        hidden_by: "Hidden by %{user} <abbr title='%{exact_time}'>%{when} ago</abbr>"
 +      report: Report this note?
      query:
        title: "Query Features"
        introduction: "Click on the map to find nearby features."
        edit_link: Edit this entry
        hide_link: Hide this entry
        confirm: Confirm
 +      report: Report this entry?
      diary_comment:
        comment_from: "Comment from %{link_user} on %{comment_created_at}"
        hide_link: Hide this comment
        confirm: Confirm
 +      report: Report this comment?
      location:
        location: "Location:"
        view: "View"
        map_image: "Map Image (shows standard layer)"
        embeddable_html: "Embeddable HTML"
        licence: "Licence"
-       export_details: 'OpenStreetMap data is licensed under the <a href="http://opendatacommons.org/licenses/odbl/1.0/">Open Data Commons Open Database License</a> (ODbL).'
+       export_details: 'OpenStreetMap data is licensed under the <a href="https://opendatacommons.org/licenses/odbl/1.0/">Open Data Commons Open Database License</a> (ODbL).'
        too_large:
          advice: "If the above export fails, please consider using one of the sources listed below:"
          body: "This area is too large to be exported as OpenStreetMap XML Data. Please zoom in or select a smaller area, or use one of the sources listed below for bulk data downloads."
    geocoder:
      search:
        title:
-         latlon: 'Results from <a href="http://openstreetmap.org/">Internal</a>'
+         latlon: 'Results from <a href="https://openstreetmap.org/">Internal</a>'
          uk_postcode: 'Results from <a href="http://www.npemap.org.uk/">NPEMap / FreeThe Postcode</a>'
-         ca_postcode: 'Results from <a href="http://geocoder.ca/">Geocoder.CA</a>'
-         osm_nominatim: 'Results from <a href="http://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
+         ca_postcode: 'Results from <a href="https://geocoder.ca/">Geocoder.CA</a>'
+         osm_nominatim: 'Results from <a href="https://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
          geonames: 'Results from <a href="http://www.geonames.org/">GeoNames</a>'
-         osm_nominatim_reverse: 'Results from <a href="http://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
+         osm_nominatim_reverse: 'Results from <a href="https://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
          geonames_reverse: 'Results from <a href="http://www.geonames.org/">GeoNames</a>'
      search_osm_nominatim:
        prefix_format: "%{name}"
          level10: "Suburb Boundary"
      description:
        title:
-         osm_nominatim: 'Location from <a href="http://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
+         osm_nominatim: 'Location from <a href="https://nominatim.openstreetmap.org/">OpenStreetMap Nominatim</a>'
          geonames: 'Location from <a href="http://www.geonames.org/">GeoNames</a>'
        types:
          cities: Cities
      results:
        no_results: "No results found"
        more_results: "More results"
 +  issues:
 +    report: Report
 +    resolve: Resolve
 +    ignore: Ignore
 +    reopen: Reopen
 +    index:
 +      search:
 +        user_not_found: User does not exist
 +        issues_not_found: No such issues found
 +    create:
 +      successful_report: Your report has been registered sucessfully
 +      provide_details: Please provide the required details
 +    update:
 +      new_report: Your report been registered sucessfully
 +      successful_update: Your report has been updated successfully
 +      provide_details: Please provide the required details
 +    new:
 +      details: Please provide some more details into the problem. (This field cannot be left blank!)
 +      select: Select a reason for your report
 +      disclaimer:
 +        intro: Before sending in a report for official action, be sure that
 +        not_just_mistake: You are sure that the problem is not just a mistake
 +        unable_to_fix: You are unable to fix the problem yourself
 +        resolve_with_user: You have tried to resolve the problem with the user
 +    show:
 +      comments:
 +        reassign_param: Reassign Issue?
 +    comment:
 +      provide_details: Please provide the required details
 +      comment_created: Your comment was successfully created
 +    resolved: Issue status has been set to 'Resolved'
 +    ignored: Issue status has been set to 'Ignored'
 +    reopened: Issue status has been set to 'Open'
 +  reports:
 +    categories:
 +      DiaryEntry:
 +        spam: This Diary Entry is/contains spam
 +        offensive: This Diary Entry is obscene/offensive
 +        threat: This Diary Entry contains a threat
 +        other: Other
 +      DiaryComment:
 +        spam: This Diary Comment is/contains spam
 +        offensive: This Diary Comment is obscene/offensive
 +        threat: This Diary Comment contains a threat
 +        other: Other
 +      User:
 +        spam: This User profile is/contains spam
 +        offensive: This User profile is obscene/offensive
 +        threat: This User profile contains a threat
 +        vandal: This User is a vandal
 +        other: Other
 +      Changeset:
 +        undiscussed_import: This changeset is an undiscussed import
 +        mechanical_edit: This changeset is a mechanical edit
 +        edit_error: This changeset contains a newbie or an editor error
 +        spam: This changeset is/contains spam
 +        vandalism: This changeset is/contains vandalism
 +        other: Other
 +      Note:
 +        spam: This note is spam
 +        vandalism: This note is vandalism
 +        personal: This note contains personal data
 +        abusive: This note is abusive
 +        other: Other
    layouts:
      project_name:
        # in <title>
      edit: Edit
      history: History
      export: Export
 +    issues: Issues
      data: Data
      export_data: Export Data
      gps_traces: GPS Traces
        title_html: Copyright and License
        intro_1_html: |
          OpenStreetMap<sup><a href="#trademarks">&reg;</a></sup> is <i>open data</i>, licensed under the <a
-         href="http://opendatacommons.org/licenses/odbl/">Open Data
+         href="https://opendatacommons.org/licenses/odbl/">Open Data
          Commons Open Database License</a> (ODbL) by the  <a
-         href="http://osmfoundation.org/">OpenStreetMap Foundation</a> (OSMF).
+         href="https://osmfoundation.org/">OpenStreetMap Foundation</a> (OSMF).
        intro_2_html: |
          You are free to copy, distribute, transmit and adapt our data,
          as long as you credit OpenStreetMap and its
          contributors. If you alter or build upon our data, you
          may distribute the result only under the same licence. The
-         full <a href="http://opendatacommons.org/licenses/odbl/1.0/">legal
+         full <a href="https://opendatacommons.org/licenses/odbl/1.0/">legal
          code</a> explains your rights and responsibilities.
        intro_3_html: |
          The cartography in our map tiles, and our documentation, are
-         licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative
+         licensed under the <a href="https://creativecommons.org/licenses/by-sa/2.0/">Creative
          Commons Attribution-ShareAlike 2.0</a> license (CC BY-SA).
        credit_title_html: How to credit OpenStreetMap
        credit_1_html: |
          You must also make it clear that the data is available under the Open
          Database License, and if using our map tiles, that the cartography is
          licensed as CC BY-SA. You may do this by linking to
-         <a href="http://www.openstreetmap.org/copyright">this copyright page</a>.
+         <a href="https://www.openstreetmap.org/copyright">this copyright page</a>.
          Alternatively, and as a requirement if you are distributing OSM in a
          data form, you can name and link directly to the license(s). In media
          where links are not possible (e.g. printed works), we suggest you
        more_title_html: Finding out more
        more_1_html: |
          Read more about using our data, and how to credit us, at the <a
-         href="http://osmfoundation.org/Licence">OSMF Licence page</a>.
+         href="https://osmfoundation.org/Licence">OSMF Licence page</a>.
        more_2_html: |
          Although OpenStreetMap is open data, we cannot provide a
          free-of-charge map API for third-parties.
          and other sources, among them:
        contributors_at_html: |
          <strong>Austria</strong>: Contains data from
-         <a href="http://data.wien.gv.at/">Stadt Wien</a> (under
-         <a href="http://creativecommons.org/licenses/by/3.0/at/deed.de">CC BY</a>),
-         <a href="http://www.vorarlberg.at/vorarlberg/bauen_wohnen/bauen/vermessung_geoinformation/weitereinformationen/services/wmsdienste.htm">Land Vorarlberg</a> and
-         Land Tirol (under <a href="http://www.tirol.gv.at/applikationen/e-government/data/nutzungsbedingungen/">CC BY AT with amendments</a>).
+         <a href="https://data.wien.gv.at/">Stadt Wien</a> (under
+         <a href="https://creativecommons.org/licenses/by/3.0/at/deed.de">CC BY</a>),
+         <a href="https://www.vorarlberg.at/vorarlberg/bauen_wohnen/bauen/vermessung_geoinformation/weitereinformationen/services/wmsdienste.htm">Land Vorarlberg</a> and
+         Land Tirol (under <a href="https://www.tirol.gv.at/applikationen/e-government/data/nutzungsbedingungen/">CC BY AT with amendments</a>).
        contributors_ca_html: |
          <strong>Canada</strong>: Contains data from
          GeoBase&reg;, GeoGratis (&copy; Department of Natural
          <strong>Finland</strong>: Contains data from the
          National Land Survey of Finland's Topographic Database
          and other datasets, under the
-         <a href="http://www.maanmittauslaitos.fi/en/NLS_open_data_licence_version1_20120501">NLSFI License</a>.
+         <a href="https://www.maanmittauslaitos.fi/en/opendata-licence-version1">NLSFI License</a>.
        contributors_fr_html: |
          <strong>France</strong>: Contains data sourced from
          Direction Générale des Impôts.
        contributors_nl_html: |
          <strong>Netherlands</strong>: Contains &copy; AND data, 2007
-         (<a href="http://www.and.com">www.and.com</a>)
+         (<a href="https://www.and.com">www.and.com</a>)
        contributors_nz_html: |
          <strong>New Zealand</strong>: Contains data sourced from
          Land Information New Zealand. Crown Copyright reserved.
        contributors_footer_1_html: |
          For further details of these, and other sources that have been used
          to help improve OpenStreetMap, please see the <a
-         href="http://wiki.openstreetmap.org/wiki/Contributors">Contributors
+         href="https://wiki.openstreetmap.org/wiki/Contributors">Contributors
          page</a> on the OpenStreetMap Wiki.
        contributors_footer_2_html: |
          Inclusion of data in OpenStreetMap does not imply that the original
        infringement_2_html: |
          If you believe that copyrighted material has been inappropriately
          added to the OpenStreetMap database or this site, please refer
-         to our <a href="http://www.osmfoundation.org/wiki/License/Takedown_procedure">takedown
+         to our <a href="https://www.osmfoundation.org/wiki/License/Takedown_procedure">takedown
          procedure</a> or file directly at our
          <a href="http://dmca.openstreetmap.org/">on-line filing page</a>.
        trademarks_title_html: <span id="trademarks"></span>Trademarks
        trademarks_1_html: |
-         OpenStreetMap, the magnifying glass logo and State of the Map are registered trademarks of the OpenStreetMap Foundation. If you have questions about your use of the marks, please send your questions to the <a href="http://wiki.osmfoundation.org/wiki/Licensing_Working_Group">Licence Working Group</a>.
+         OpenStreetMap, the magnifying glass logo and State of the Map are registered trademarks of the OpenStreetMap Foundation. If you have questions about your use of the marks, please send your questions to the <a href="https://wiki.osmfoundation.org/wiki/Licensing_Working_Group">Licence Working Group</a>.
    welcome_page:
      title: Welcome!
      introduction_html: |
        paragraph_1_html: |
          OpenStreetMap has few formal rules but we expect all participants to collaborate
          with, and communicate with, the community. If you are considering
--        any activities other than editing by hand, please read and follow the guidelines on 
-         <a href='http://wiki.openstreetmap.org/wiki/Import/Guidelines'>Imports</a> and 
-         <a href='http://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct'>Automated Edits</a>.
 -        <a href='https://wiki.openstreetmap.org/wiki/Import/Guidelines'>Imports</a> and 
++        any activities other than editing by hand, please read and follow the guidelines on
++        <a href='https://wiki.openstreetmap.org/wiki/Import/Guidelines'>Imports</a> and
+         <a href='https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct'>Automated Edits</a>.
      questions:
        title: Any questions?
        paragraph_1_html: |
          title: Join the community
          explanation_html: |
            If you have noticed a problem with our map data, for example a road is missing or your address, the best way to
--          proceed is to join the OpenStreetMap community and add or repair the data yourself. 
++          proceed is to join the OpenStreetMap community and add or repair the data yourself.
        add_a_note:
          instructions_html: |
            Just click <a class='icon note'></a> or the same icon on the map display.
        title: Other concerns
        explanation_html: |
          If you have concerns about how our data is being used or about the contents please consult our
--        <a href='/copyright'>copyright page</a> for more legal information, or contact the appropriate 
-         <a href='http://wiki.osmfoundation.org/wiki/Working_Groups'>OSMF working group</a>.  
 -        <a href='https://wiki.osmfoundation.org/wiki/Working_Groups'>OSMF working group</a>.  
++        <a href='/copyright'>copyright page</a> for more legal information, or contact the appropriate
++        <a href='https://wiki.osmfoundation.org/wiki/Working_Groups'>OSMF working group</a>.
    help_page:
      title: Getting Help
      introduction: |
        title: Welcome to OSM
        description: Start with this quick guide covering the OpenStreetMap basics.
      beginners_guide:
-       url: http://wiki.openstreetmap.org/wiki/Beginners%27_guide
+       url: https://wiki.openstreetmap.org/wiki/Beginners%27_guide
        title: Beginners' Guide
        description: Community maintained guide for beginners.
      help:
        title: help.openstreetmap.org
        description: Ask a question or look up answers on OSM's question-and-answer site.
      mailing_lists:
-       url: http://lists.openstreetmap.org/
+       url: https://lists.openstreetmap.org/
        title: Mailing Lists
        description: Ask a question or discuss interesting matters on a wide range of topical or regional mailing lists.
      forums:
-       url: http://forum.openstreetmap.org/
+       url: https://forum.openstreetmap.org/
        title: Forums
        description: Questions and discussions for those that prefer a bulletin board style interface.
      irc:
-       url: http://irc.openstreetmap.org/
+       url: https://irc.openstreetmap.org/
        title: IRC
        description: Interactive chat in many different languages and on many topics.
      switch2osm:
        title: switch2osm
        description: Help for companies and organisations switching to OpenStreetMap based maps and other services.
      wiki:
-       url: http://wiki.openstreetmap.org/
+       url: https://wiki.openstreetmap.org/
        title: wiki.openstreetmap.org
        description: Browse the wiki for in-depth OSM documentation.
    about_page:
        To learn more about the community, see the
        <a href='https://blog.openstreetmap.org'>OpenStreetMap Blog</a>,
        <a href='%{diary_path}'>user diaries</a>,
-       <a href='http://blogs.openstreetmap.org/'>community blogs</a>, and
-       the <a href='http://www.osmfoundation.org/'>OSM Foundation</a> website.
+       <a href='https://blogs.openstreetmap.org/'>community blogs</a>, and
+       the <a href='https://www.osmfoundation.org/'>OSM Foundation</a> website.
      open_data_title: Open Data
      open_data_html: |
        OpenStreetMap is <i>open data</i>: you are free to use it for any purpose
        License page</a> for details.
      legal_title: Legal
      legal_html: |
--      This site and many other related services are formally operated by the  
-       <a href='http://osmfoundation.org/'>OpenStreetMap Foundation</a> (OSMF) 
 -      <a href='https://osmfoundation.org/'>OpenStreetMap Foundation</a> (OSMF) 
--      on behalf of the community. Use of all OSMF operated services is subject 
-       to our <a href="http://wiki.openstreetmap.org/wiki/Acceptable_Use_Policy">
-       Acceptable Use Policies</a> and our <a href="http://wiki.osmfoundation.org/wiki/Privacy_Policy">Privacy Policy</a>
-       <br> 
-       Please <a href='http://osmfoundation.org/Contact'>contact the OSMF</a> 
++      This site and many other related services are formally operated by the
++      <a href='https://osmfoundation.org/'>OpenStreetMap Foundation</a> (OSMF)
++      on behalf of the community. Use of all OSMF operated services is subject
+       to our <a href="https://wiki.openstreetmap.org/wiki/Acceptable_Use_Policy">
+       Acceptable Use Policies</a> and our <a href="https://wiki.osmfoundation.org/wiki/Privacy_Policy">Privacy Policy</a>
 -      <br> 
 -      Please <a href='https://osmfoundation.org/Contact'>contact the OSMF</a> 
++      <br>
++      Please <a href='https://osmfoundation.org/Contact'>contact the OSMF</a>
        if you have licensing, copyright or other legal questions and issues.
      partners_title: Partners
    notifier:
          failed_to_import: "failed to import. Here is the error:"
          more_info_1: "More information about GPX import failures and how to avoid"
          more_info_2: "them can be found at:"
-         import_failures_url: "http://wiki.openstreetmap.org/wiki/GPX_Import_Failures"
+         import_failures_url: "https://wiki.openstreetmap.org/wiki/GPX_Import_Failures"
        success:
          subject: "[OpenStreetMap] GPX Import success"
          loaded_successfully: loaded successfully with %{trace_points} out of a possible %{possible_points} points.
        createnote: Add a note
        license:
          copyright: "Copyright OpenStreetMap and contributors, under an open license"
-         license_url: "http://openstreetmap.org/copyright"
-         project_url: "http://openstreetmap.org"
+         license_url: "https://openstreetmap.org/copyright"
+         project_url: "https://openstreetmap.org"
        remote_failed: "Editing failed - make sure JOSM or Merkaartor is loaded and the remote control option is enabled"
      edit:
        not_public: "You have not set your edits to be public."
        not_public_description: "You can no longer edit the map unless you do so. You can set your edits as public from your %{user_page}."
        user_page_link: user page
        anon_edits: "(%{link})"
-       anon_edits_link: "http://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits"
+       anon_edits_link: "https://wiki.openstreetmap.org/wiki/Disabling_anonymous_edits"
        anon_edits_link_text: "Find out why this is the case."
-       flash_player_required: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can <a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">download Flash Player from Adobe.com</a>. <a href="http://wiki.openstreetmap.org/wiki/Editing">Several other options</a> are also available for editing OpenStreetMap.'
+       flash_player_required: 'You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can <a href="https://get.adobe.com/flashplayer/">download Flash Player from Adobe.com</a>. <a href="https://wiki.openstreetmap.org/wiki/Editing">Several other options</a> are also available for editing OpenStreetMap.'
        potlatch_unsaved_changes: "You have unsaved changes. (To save in Potlatch, you should deselect the current way or point, if editing in live mode, or click save if you have a save button.)"
-       potlatch2_not_configured: "Potlatch 2 has not been configured - please see http://wiki.openstreetmap.org/wiki/The_Rails_Port#Potlatch_2 for more information"
+       potlatch2_not_configured: "Potlatch 2 has not been configured - please see https://wiki.openstreetmap.org/wiki/The_Rails_Port#Potlatch_2 for more information"
        potlatch2_unsaved_changes: "You have unsaved changes. (To save in Potlatch 2, you should click save.)"
        id_not_configured: "iD has not been configured"
        no_iframe_support: "Your browser doesn't support HTML iframes, which are necessary for this feature."
        edit: Edit
        preview: Preview
      markdown_help:
-       title_html: Parsed with <a href="http://daringfireball.net/projects/markdown/">Markdown</a>
+       title_html: Parsed with <a href="https://daringfireball.net/projects/markdown/">Markdown</a>
        headings: Headings
        heading: Heading
        subheading: Subheading
        save_button: "Save Changes"
        visibility: "Visibility:"
        visibility_help: "what does this mean?"
-       visibility_help_url: "http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
+       visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
      trace_form:
        upload_gpx: "Upload GPX File:"
        description: "Description:"
        tags_help: "comma delimited"
        visibility: "Visibility:"
        visibility_help: "what does this mean?"
-       visibility_help_url: "http://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
+       visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
        upload_button: "Upload"
        help: "Help"
-       help_url: "http://wiki.openstreetmap.org/wiki/Upload"
+       help_url: "https://wiki.openstreetmap.org/wiki/Upload"
      trace_header:
        upload_trace: "Upload a trace"
        see_all_traces: "See all traces"
        public_traces_from: "Public GPS traces from %{user}"
        description: "Browse recent GPS track uploads"
        tagged_with: " tagged with %{tags}"
-       empty_html: "Nothing here yet. <a href='%{upload_link}'>Upload a new trace</a> or learn more about GPS tracing on the <a href='http://wiki.openstreetmap.org/wiki/Beginners_Guide_1.2'>wiki page</a>."
+       empty_html: "Nothing here yet. <a href='%{upload_link}'>Upload a new trace</a> or learn more about GPS tracing on the <a href='https://wiki.openstreetmap.org/wiki/Beginners_Guide_1.2'>wiki page</a>."
      delete:
        scheduled_for_deletion: "Trace scheduled for deletion"
      make_public:
    application:
      require_cookies:
        cookies_needed: "You appear to have cookies disabled - please enable cookies in your browser before continuing."
 +    require_admin:
 +      not_an_admin: You need to be an admin to perform that action.
      require_moderator:
        not_a_moderator: "You need to be a moderator to perform that action."
      setup_user_auth:
            <p>Unlike other maps, OpenStreetMap is completely created by people like you,
            and it's free for anyone to fix, update, download and use.</p>
            <p>Sign up to get started contributing. We'll send an email to confirm your account.</p>
-       license_agreement: 'When you confirm your account you will need to agree to the <a href="http://www.osmfoundation.org/wiki/License/Contributor_Terms">contributor terms</a>.'
+       license_agreement: 'When you confirm your account you will need to agree to the <a href="https://www.osmfoundation.org/wiki/License/Contributor_Terms">contributor terms</a>.'
        email address: "Email Address:"
        confirm email address: "Confirm Email Address:"
-       not displayed publicly: 'Your address is not displayed publicly, see our <a href="http://wiki.osmfoundation.org/wiki/Privacy_Policy" title="OSMF privacy policy including section on email addresses">privacy policy</a> for more information'
+       not displayed publicly: 'Your address is not displayed publicly, see our <a href="https://wiki.osmfoundation.org/wiki/Privacy_Policy" title="OSMF privacy policy including section on email addresses">privacy policy</a> for more information'
        display name: "Display Name:"
        display name description: "Your publicly displayed username. You can change this later in the preferences."
        external auth: "Third Party Authentication:"
        continue: Sign Up
        terms accepted: "Thanks for accepting the new contributor terms!"
        terms declined: "We are sorry that you have decided to not accept the new Contributor Terms. For more information, please see <a href=\"%{url}\">this wiki page</a>."
-       terms declined url: http://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined
+       terms declined url: https://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined
      terms:
        title: "Contributor terms"
        heading: "Contributor terms"
        read and accept: "Please read the agreement and press the agree button to confirm that you accept the terms of this agreement for your existing and future contributions."
        consider_pd: "In addition to the above agreement, I consider my contributions to be in the Public Domain"
        consider_pd_why: "what's this?"
-       consider_pd_why_url: http://www.osmfoundation.org/wiki/License/Why_would_I_want_my_contributions_to_be_public_domain
+       consider_pd_why_url: https://www.osmfoundation.org/wiki/License/Why_would_I_want_my_contributions_to_be_public_domain
        guidance: 'Information to help understand these terms: a <a href="%{summary}">human readable summary</a> and some <a href="%{translations}">informal translations</a>'
        agree: Agree
-       declined: "http://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined"
+       declined: "https://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined"
        decline: "Decline"
        you need to accept or decline: "Please read and then either accept or decline the new Contributor Terms to continue."
        legale_select: "Country of residence:"
        friends_diaries: "friends' diary entries"
        nearby_changesets: "nearby user changesets"
        nearby_diaries: "nearby user diary entries"
 +      report: "Report this user?"
      popup:
        your location: "Your location"
        nearby mapper: "Nearby mapper"
        email never displayed publicly: "(never displayed publicly)"
        external auth: "External Authentication:"
        openid:
-         link: "http://wiki.openstreetmap.org/wiki/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: "http://wiki.openstreetmap.org/wiki/Anonymous_edits"
+         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?"
        public editing note:
          heading: "Public editing"
-         text: "Currently your edits are anonymous and people cannot 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. <b>Since the 0.6 API changeover, only public users can edit map data</b>. (<a href=\"http://wiki.openstreetmap.org/wiki/Anonymous_edits\">find out why</a>).<ul><li>Your email address will not be revealed by becoming public.</li><li>This action cannot be reversed and all new users are now public by default.</li></ul>"
+         text: "Currently your edits are anonymous and people cannot 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. <b>Since the 0.6 API changeover, only public users can edit map data</b>. (<a href=\"https://wiki.openstreetmap.org/wiki/Anonymous_edits\">find out why</a>).<ul><li>Your email address will not be revealed by becoming public.</li><li>This action cannot be reversed and all new users are now public by default.</li></ul>"
        contributor terms:
          heading: "Contributor Terms:"
          agreed: "You have agreed to the new Contributor Terms."
          not yet agreed: "You have not yet agreed to the new Contributor Terms."
          review link text: "Please follow this link at your convenience to review and accept the new Contributor Terms."
          agreed_with_pd: "You have also declared that you consider your edits to be in the Public Domain."
-         link: "http://www.osmfoundation.org/wiki/License/Contributor_Terms"
+         link: "https://www.osmfoundation.org/wiki/License/Contributor_Terms"
          link text: "what is this?"
        profile description: "Profile Description:"
        preferred languages: "Preferred Languages:"
        image: "Image:"
        gravatar:
          gravatar: "Use Gravatar"
-         link: "http://wiki.openstreetmap.org/wiki/Gravatar"
+         link: "https://wiki.openstreetmap.org/wiki/Gravatar"
          link text: "what is this?"
          disabled: "Gravatar has been disabled."
          enabled: "Display of your Gravatar has been enabled."
        not_a_role: "The string `%{role}' is not a valid role."
        already_has_role: "The user already has role %{role}."
        doesnt_have_role: "The user does not have role %{role}."
+       not_revoke_admin_current_user: "Cannot revoke administrator role from current user."
      grant:
        title: Confirm role granting
        heading: Confirm role granting
          unhide_comment: "unhide"
      notes:
        new:
-         intro: "Spotted a mistake or something missing? Let other mappers know so we can fix it. Move the marker to the correct position and type a note to explain the problem. (Please don't enter personal information or information from copyrighted maps or directory listings.)"
+         intro: "Spotted a mistake or something missing? Let other mappers know so we can fix it. Move the marker to the correct position and type a note to explain the problem."
+         advice: "Your note is public and may be used to update the map, so don't enter personal information, or information from copyrighted maps or directory listings."
          add: Add Note
        show:
          anonymous_warning: This note includes comments from anonymous users which should be independently verified.
          mapquest_car: "Car (MapQuest)"
          mapquest_foot: "Foot (MapQuest)"
          osrm_car: "Car (OSRM)"
-         mapzen_bicycle: "Bicycle (Mapzen)"
-         mapzen_car: "Car (Mapzen)"
-         mapzen_foot: "Foot (Mapzen)"
        descend: "Descend"
        directions: "Directions"
        distance: "Distance"