Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Translations.h « mumble « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4e472e635a61656e155ca47b086f325faeb1c6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2021 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_MUMBLE_TRANSLATIONS_H_
#define MUMBLE_MUMBLE_TRANSLATIONS_H_

#include <QStringList>

class QApplication;
class QLocale;

namespace Mumble {
namespace Translations {

	QStringList getDefaultTranslationDirectories();

	QStringList getTranslationDirectories(const QApplication &app, const QStringList &extraDirectories);

	void installTranslators(const QLocale &locale, QApplication &app, const QStringList &extraDirectories);

}; // namespace Translations
}; // namespace Mumble

#endif // MUMBLE_MUMBLE_TRANSLATIONS_H_