]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
[18163] commited by me yesterday (and reverted in [18165]) was
[rails.git] / app / controllers / amf_controller.rb
index 687262e749b3ee21953edae898b7c34e45156c87..7df237de87e245fa4a15ef24a8c46967fdbb7527 100644 (file)
@@ -232,6 +232,12 @@ class AmfController < ApplicationController
     help = localised["help_html"]
     localised.delete("help_html")
 
+    # Populate icon names
+    POTLATCH_PRESETS[10].each { |id|
+      POTLATCH_PRESETS[11][id] = localised["preset_icon_#{id}"]
+      localised.delete("preset_icon_#{id}")
+    }
+
     return POTLATCH_PRESETS+[localised,help]
   end