[openstreetmap/openstreetmap-website] Spelling (#3233)
Andy Allan
notifications at github.com
Wed Jul 21 17:02:01 UTC 2021
@gravitystorm requested changes on this pull request.
These changes are all fine with me. The only one that isn't OK is the helper_method one, so this PR will need one final rebase after #3265 is merged.
> @@ -17,7 +17,7 @@ class ApplicationController < ActionController::Base
helper_method :current_user
helper_method :oauth_token
- helper_method :preferred_langauges
+ helper_method :preferred_languages
I've fixed this separately in #3265 since the line should be removed rather than respelled - I wouldn't expect your spellchecker to know that though!
> @@ -4,7 +4,7 @@
<div class='userinformation-inner'>
<h1><%= @user.display_name %> <%= role_icons(@user) %></h1>
<% if current_user and @user.id == current_user.id %>
- <!-- Displaying user's own profile page to themself -->
+ <!-- Displaying user's own profile page -->
I'm happy with the correction.
> @@ -681,7 +681,7 @@ en:
houseboat: "Houseboat"
hut: "Hut"
industrial: "Industrial Building"
- kindergarten: "Kindergarden Building"
+ kindergarten: "Kindergarten Building"
This correction is correct - we should use the proposed version.
> @@ -706,7 +706,7 @@ en:
sport: "Sportsclub"
"yes": "Club"
craft:
- beekeper: "Beekeeper"
+ beekeeper: "Beekeeper"
We should use this correction
> @@ -736,7 +736,7 @@ en:
ambulance_station: "Ambulance Station"
assembly_point: "Assembly Point"
defibrillator: "Defibrillator"
- fire_xtinguisher: "Fire Extinguisher"
+ fire_extinguisher: "Fire Extinguisher"
We should use this correction too.
> @@ -474,7 +474,7 @@ def self.parse_float(str, klass, *args)
# Construct a random token of a given length
def self.make_token(length = 30)
- chars = "abcdefghijklmnopqrtuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
+ chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
This correction is OK.
> @@ -1326,7 +1326,7 @@ def test_josm_upload
<node id='-7' visible='true' changeset='#{changeset_id}' lat='51.49560784152179' lon='-0.18694719410005425' />
<node id='-8' visible='true' changeset='#{changeset_id}' lat='51.49567389979617' lon='-0.1860289771788006' />
<node id='-9' visible='true' changeset='#{changeset_id}' lat='51.49543761398892' lon='-0.186820684213126' />
- <way id='-10' action='modiy' visible='true' changeset='#{changeset_id}'>
+ <way id='-10' action='modify' visible='true' changeset='#{changeset_id}'>
This change is fine.
> @@ -86,7 +86,7 @@ def test_create
end
def test_create_invalid_xml
- ## Only test public user here, as test_create should cover what's the forbiddens
+ ## Only test public user here, as test_create should cover what's the forbidden
Yeah, this is a confusing sentence. I think we should accept the correction and then rephrase it later.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3233#pullrequestreview-711916321
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210721/3ebb0123/attachment.htm>
More information about the rails-dev
mailing list