2020-05-04 17:49:29 +00:00
|
|
|
// Copyright (c) 2020 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_
|
|
|
|
#define ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_
|
2020-05-04 17:49:29 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace electron {
|
|
|
|
|
|
|
|
// Return a list of user preferred languages from OS. The list doesn't include
|
|
|
|
// overrides from command line arguments.
|
|
|
|
std::vector<std::string> GetPreferredLanguages();
|
|
|
|
|
|
|
|
} // namespace electron
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_COMMON_LANGUAGE_UTIL_H_
|