浏览代码

Merge pull request #13772 from nextcloud/bugfix/noid/show-default-locale

Show proper default locale
tags/v16.0.0alpha1
Roeland Jago Douma 5 年前
父节点
当前提交
6b48e13371
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/private/Settings/Personal/PersonalInfo.php

+ 1
- 1
lib/private/Settings/Personal/PersonalInfo.php 查看文件

@@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {

$uid = $user->getUID();

$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', 'en_US');
$userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', $this->l10nFactory->findLocale());

$userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());


正在加载...
取消
保存