Merge remote-tracking branch 'origin/develop' into shigusegubu

* origin/develop: (30 commits)
  Translated using Weblate (Italian)
  Translated using Weblate (Russian)
  add fade-in fade-out
  remove useless captures
  update changelog
  changelog
  attempt to fix that one bug with submitting on copy-pasting
  add better visual indication for dropping files, make dropzone bigger
  Messages: DRY things up a bit.
  Apply suggestion to CHANGELOG.md
  Update changelog.
  Linting.
  MediaUpload: Correctly handle multiple uploads.
  Messages: Load languages asynchronously.
  MediaUpload: Allow drag-and-drop of multiple files at once
  Autocomplete domain mutes from list of known instances
  indent 2
  Fix the cropped button shadow in 2FA settings
  Translated using Weblate (Italian)
  Translated using Weblate (Estonian)
  ...
This commit is contained in:
Henry Jameson 2020-06-11 11:23:25 +03:00
commit aeae52ed24
30 changed files with 6426 additions and 5709 deletions

View file

@ -1,5 +1,6 @@
import { set, delete as del } from 'vue'
import { setPreset, applyTheme } from '../services/style_setter/style_setter.js'
import messages from '../i18n/messages'
const browserLocale = (window.navigator.language || 'en').split('-')[0]
@ -116,6 +117,10 @@ const config = {
case 'customTheme':
case 'customThemeSource':
applyTheme(value)
break
case 'interfaceLanguage':
messages.setLanguage(this.getters.i18n, value)
break
}
}
}