]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_authorizations/new.html.erb
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
[rails.git] / app / views / oauth2_authorizations / new.html.erb
index ac9c7c6c598404131f12fc790444d43b6b21fa36..8720bf05a6461bee51d96a9ec83ccc154e5dde24 100644 (file)
@@ -6,7 +6,7 @@
 
 <ul>
   <% @pre_auth.scopes.each do |scope| -%>
 
 <ul>
   <% @pre_auth.scopes.each do |scope| -%>
-    <li><%= t "oauth.scopes.#{scope}" %></li>
+    <li><%= authorization_scope(scope) %></li>
   <% end -%>
 </ul>
 
   <% end -%>
 </ul>