language_util_linux.cc 469 B

1234567891011121314151617
  1. // Copyright (c) 2020 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "shell/common/language_util.h"
  5. #include "ui/base/l10n/l10n_util.h"
  6. namespace electron {
  7. std::vector<std::string> GetPreferredLanguages() {
  8. // Return empty as there's no API to use. You may be able to use
  9. // GetApplicationLocale() of a browser process.
  10. return std::vector<std::string>{};
  11. }
  12. } // namespace electron