Merge pull request #353 from amnezia-vpn/feature/added_i18n_for_v4
added i18n for v4
This commit is contained in:
commit
5c121ea48d
24 changed files with 3896 additions and 2024 deletions
|
@ -34,6 +34,8 @@ public slots:
|
|||
|
||||
void onCurrentContainerUpdated();
|
||||
|
||||
void onTranslationsUpdated();
|
||||
|
||||
signals:
|
||||
void connectToVpn(int serverIndex, const ServerCredentials &credentials, DockerContainer container,
|
||||
const QJsonObject &containerConfig);
|
||||
|
@ -44,6 +46,8 @@ signals:
|
|||
void reconnectWithUpdatedContainer(const QString &message);
|
||||
|
||||
private:
|
||||
Vpn::ConnectionState getCurrentConnectionState();
|
||||
|
||||
QSharedPointer<ServersModel> m_serversModel;
|
||||
QSharedPointer<ContainersModel> m_containersModel;
|
||||
|
||||
|
@ -52,6 +56,8 @@ private:
|
|||
bool m_isConnected = false;
|
||||
bool m_isConnectionInProgress = false;
|
||||
QString m_connectionStateText = tr("Connect");
|
||||
|
||||
Vpn::ConnectionState m_state;
|
||||
};
|
||||
|
||||
#endif // CONNECTIONCONTROLLER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue