Merge pull request #2159 from OpenRefine/issue-2158-language-setting
Fix UI language change
This commit is contained in:
commit
18a78dbb4e
@ -725,7 +725,7 @@ ListFacet.prototype._setChoiceCountLimit = function(choiceCount) {
|
|||||||
"command/core/set-preference",
|
"command/core/set-preference",
|
||||||
{
|
{
|
||||||
name : "ui.browsing.listFacet.limit",
|
name : "ui.browsing.listFacet.limit",
|
||||||
value : n
|
value : JSON.stringify(n)
|
||||||
},
|
},
|
||||||
function(o) {
|
function(o) {
|
||||||
if (o.code === "ok") {
|
if (o.code === "ok") {
|
||||||
|
@ -34,7 +34,7 @@ Refine.SetLanguageUI = function(elmt) {
|
|||||||
async : false,
|
async : false,
|
||||||
data : {
|
data : {
|
||||||
name : "userLang",
|
name : "userLang",
|
||||||
value : $("#langDD option:selected").val()
|
value : JSON.stringify($("#langDD option:selected").val())
|
||||||
},
|
},
|
||||||
success : function(data) {
|
success : function(data) {
|
||||||
alert($.i18n('core-index-lang/page-reload'));
|
alert($.i18n('core-index-lang/page-reload'));
|
||||||
|
Loading…
Reference in New Issue
Block a user