<p>This PR renames the messages_controller to match Rails naming convention.</p>
<p><a class="user-mention" data-hovercard-user-id="1109395" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Nikerabbit">@Nikerabbit</a> This PR contains translation key renaming as follows:</p>
<ul>
<li><code>message.*</code> renamed to <code>messages.*</code></li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/1858'>https://github.com/openstreetmap/openstreetmap-website/pull/1858</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Lazy lookups for translations in message_controller.rb</li>
  <li>Rename message_controller to messages_controller</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-0">app/controllers/messages_controller.rb</a>
    (24)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-1">app/views/messages/_message_count.html.erb</a>
    (6)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-2">app/views/messages/_message_summary.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-3">app/views/messages/_sent_message_summary.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-4">app/views/messages/delete.js.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-5">app/views/messages/inbox.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-6">app/views/messages/mark.js.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-7">app/views/messages/new.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-8">app/views/messages/no_such_message.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-9">app/views/messages/outbox.html.erb</a>
    (0)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-10">app/views/messages/read.html.erb</a>
    (0)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-11">config/locales/en.yml</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-12">config/routes.rb</a>
    (14)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-13">test/controllers/messages_controller_test.rb</a>
    (20)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1858.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/1858.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/1858.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/1858.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/1858">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLStje5uAiPe9Tn5TAcyXwOgPKzMZks5tyOaUgaJpZM4T9EFr">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLf78aj0m0LahkC8AC-XC67RNa2-2ks5tyOaUgaJpZM4T9EFr.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/1858"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Rename message_controller to messages_controller (#1858)"}],"action":{"name":"View Pull Request","url":"https://github.com/openstreetmap/openstreetmap-website/pull/1858"}}}</script>
<script type="application/ld+json">{"@type":"MessageCard","@context":"http://schema.org/extensions","hideOriginalBody":"false","originator":"37567f93-e2a7-4e2a-ad37-a9160fc62647","title":"Rename message_controller to messages_controller (#1858)","sections":[{"text":"","activityTitle":"**Andy Allan**","activityImage":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","activitySubtitle":"@gravitystorm","facts":[]},{"title":"Commit Summary","facts":[{"name":"ec13ef7","value":"Lazy lookups for translations in message_controller.rb"},{"name":"00bd64c","value":"Rename message_controller to messages_controller"}]},{"title":"File Changes","facts":[{"name":"Renamed","value":"[app/controllers/messages_controller.rb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-0) (24 changes)"},{"name":"Renamed","value":"[app/views/messages/_message_count.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-1) (6 changes)"},{"name":"Renamed","value":"[app/views/messages/_message_summary.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-2) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/_sent_message_summary.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-3) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/delete.js.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-4) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/inbox.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-5) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/mark.js.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-6) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/new.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-7) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/no_such_message.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-8) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/outbox.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-9) (0 changes)"},{"name":"Renamed","value":"[app/views/messages/read.html.erb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-10) (0 changes)"},{"name":"Modified","value":"[config/locales/en.yml](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-11) (2 changes)"},{"name":"Modified","value":"[config/routes.rb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-12) (14 changes)"},{"name":"Renamed","value":"[test/controllers/messages_controller_test.rb](https://github.com/openstreetmap/openstreetmap-website/pull/1858/files#diff-13) (20 changes)"}]}],"potentialAction":[{"name":"Add a comment","@type":"ActionCard","inputs":[{"isMultiLine":true,"@type":"TextInput","id":"IssueComment","isRequired":false}],"actions":[{"name":"Comment","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"IssueComment\",\"repositoryFullName\":\"openstreetmap/openstreetmap-website\",\"issueId\":1858,\"IssueComment\":\"{{IssueComment.value}}\"}"}]},{"name":"Close pull request","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"PullRequestClose\",\"repositoryFullName\":\"openstreetmap/openstreetmap-website\",\"pullRequestId\":1858}"},{"targets":[{"os":"default","uri":"https://github.com/openstreetmap/openstreetmap-website/pull/1858"}],"@type":"OpenUri","name":"View on GitHub"},{"targets":[{"os":"default","uri":"https://github.com/openstreetmap/openstreetmap-website/pull/1858.patch"}],"@type":"OpenUri","name":"View patch"},{"targets":[{"os":"default","uri":"https://github.com/openstreetmap/openstreetmap-website/pull/1858.diff"}],"@type":"OpenUri","name":"View diff"},{"name":"Unsubscribe","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"MuteNotification\",\"threadId\":334774635}"}],"themeColor":"26292E"}</script>