diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-08-08 00:20:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-08 00:20:51 +0200 |
| commit | 7fe64163eaaaf8a227d781a90a6a9c594ac4457f (patch) | |
| tree | d38ec9ca14300dbd43555fc409bc9de9fe60a13e /include | |
| parent | 05debed60ba1adaa4f454010164caf554248a29e (diff) | |
| parent | 0247ca07fe727f61a6a80228547a1b93cc800c34 (diff) | |
Merge pull request #88 from AttorneyOnline/i18n
I18n
Diffstat (limited to 'include')
| -rw-r--r-- | include/aooptionsdialog.h | 2 | ||||
| -rw-r--r-- | include/discord_rich_presence.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h index a65e3f5..83b84cb 100644 --- a/include/aooptionsdialog.h +++ b/include/aooptionsdialog.h @@ -55,6 +55,8 @@ private: QLineEdit *ui_ms_textbox; QLabel *ui_discord_lbl; QCheckBox *ui_discord_cb; + QLabel *ui_language_label; + QComboBox *ui_language_combobox; QWidget *ui_callwords_tab; QWidget *ui_callwords_widget; diff --git a/include/discord_rich_presence.h b/include/discord_rich_presence.h index e7ecc6e..4115b51 100644 --- a/include/discord_rich_presence.h +++ b/include/discord_rich_presence.h @@ -5,6 +5,8 @@ #include <ctime> #include <QDebug> #include <string> +#include <QCoreApplication> + #include <discord-rpc.h> #include <cstring> @@ -16,6 +18,8 @@ namespace AttorneyOnline { class Discord { + Q_DECLARE_TR_FUNCTIONS(Discord) + private: const char* APPLICATION_ID = "399779271737868288"; std::string server_name, server_id; |
