MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / translationSearchPaths

Function translationSearchPaths

source/ControlPanelDialog.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94QStringList translationSearchPaths() {
95 return {
96 QCoreApplication::applicationDirPath(),
97 QCoreApplication::applicationDirPath() + QStringLiteral("/translations"),
98 QStringLiteral("/usr/share/speedynote/translations"),
99 QStringLiteral("/usr/local/share/speedynote/translations"),
100 QStandardPaths::locate(QStandardPaths::GenericDataLocation,
101 QStringLiteral("speedynote/translations"),
102 QStandardPaths::LocateDirectory),
103 QStringLiteral(":/resources/translations"),
104 };
105}
106
107QList<LanguageEntry> discoverAvailableLanguages(const QString& savedOverrideCode) {
108 QSet<QString> codes;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected