From 5b88b58a751b2923a073519d03cbfcdef9981f3d Mon Sep 17 00:00:00 2001
From: Nick Winter <livelily@gmail.com>
Date: Sun, 23 Feb 2014 12:31:41 -0800
Subject: [PATCH] Fixed application of a few i18n tags in wizard/picture
 settings.

---
 app/templates/account/wizard_settings_tab.jade |  2 +-
 app/views/account/settings_view.coffee         | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/app/templates/account/wizard_settings_tab.jade b/app/templates/account/wizard_settings_tab.jade
index faea52b89..138a8c970 100644
--- a/app/templates/account/wizard_settings_tab.jade
+++ b/app/templates/account/wizard_settings_tab.jade
@@ -8,7 +8,7 @@ canvas#tinting-display(width=200, height=200).img-rounded
         span(data-i18n='wizard_settings.' + group.dasherized)= group.humanized
       div.sliders
         div.slider-cell
-          label(for=group.humanized+"_hue", data-i18n="wizard_settigs.hue") Hue
+          label(for=group.humanized+"_hue", data-i18n="wizard_settings.hue") Hue
           .selector(id=group.humanized+"_hue", name=group.name+'.hue', data-key='hue')
         div.slider-cell
           label(for=group.humanized+"_saturation", data-i18n="wizard_settings.saturation") Saturation
diff --git a/app/views/account/settings_view.coffee b/app/views/account/settings_view.coffee
index bb028c0cf..e90ba2bd9 100644
--- a/app/views/account/settings_view.coffee
+++ b/app/views/account/settings_view.coffee
@@ -26,11 +26,12 @@ module.exports = class SettingsView extends View
 
   refreshPicturePane: =>
     h = $(@template(@getRenderData()))
-    new_pane = $('#picture-pane', h)
-    old_pane = $('#picture-pane')
-    active = old_pane.hasClass('active')
-    old_pane.replaceWith(new_pane)
-    new_pane.addClass('active') if active
+    newPane = $('#picture-pane', h)
+    oldPane = $('#picture-pane')
+    active = oldPane.hasClass('active')
+    oldPane.replaceWith(newPane)
+    newPane.i18n()
+    newPane.addClass('active') if active
 
   afterRender: ->
     super()