From de4f78a6beba5862d65f5bd4ef49a0fbf54ec1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 13 Nov 2013 08:36:47 +0000 Subject: [PATCH] Use data-i18n for system font l10n This ensures that the translation is updated properly in the language live preview. Bug: 56888 Change-Id: I320c570f9272e8d191144f66a9cf0079c89d201d --- resources/js/ext.uls.displaysettings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/js/ext.uls.displaysettings.js b/resources/js/ext.uls.displaysettings.js index 8c3f8065..811adea3 100644 --- a/resources/js/ext.uls.displaysettings.js +++ b/resources/js/ext.uls.displaysettings.js @@ -419,9 +419,11 @@ } } ); + // Using attr() instead of data() because jquery.i18n doesn't + // currently see latter. $systemFont = $( '