From 22fe58e59a4294c68f57eec751fe15bbb56c7dd6 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 15 Dec 2014 09:00:49 -0500 Subject: [PATCH] this fixes #414 --- src/js/element-picker.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/js/element-picker.js b/src/js/element-picker.js index b0331d1a5..16cb52526 100644 --- a/src/js/element-picker.js +++ b/src/js/element-picker.js @@ -676,6 +676,7 @@ var stopPicker = function() { var startPicker = function(details) { pickerRoot = document.createElement('div'); pickerRoot.id = µBlockId; + pickerRoot.setAttribute('lang', navigator.language); var pickerStyle = document.createElement('style'); pickerStyle.setAttribute('scoped', ''); @@ -873,7 +874,7 @@ var startPicker = function(details) { divDialog = document.createElement('div'); divDialog.innerHTML = [ '
', - '', + '', '
', '', '', @@ -881,8 +882,8 @@ var startPicker = function(details) { '
', '
', '' ].join(''); pickerRoot.appendChild(divDialog);