Make the preset list at the bottom of the screen (Airport, Bus stop,
...) translatable
This commit is contained in:
parent
9e72ed0d20
commit
cc9a9ee399
4 changed files with 61 additions and 30 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue