From 762702aff852701c44eb0f07ee02c0fdfd1fd85b Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Tue, 29 May 2018 19:21:49 -0500 Subject: Make all strings translatable --- include/discord_rich_presence.h | 4 ++++ include/networkmanager.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'include') 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 #include #include +#include + #include #include @@ -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; diff --git a/include/networkmanager.h b/include/networkmanager.h index 08b10db..7584b69 100644 --- a/include/networkmanager.h +++ b/include/networkmanager.h @@ -14,6 +14,8 @@ #undef MS_FAILOVER_SUPPORTED #endif +#undef MS_FAILOVER_SUPPORTED + #include "aopacket.h" #include "aoapplication.h" -- cgit From 3f0ff19615c97d49cbfb0cd9ed1d13432793e920 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 29 Jul 2019 21:58:49 +0200 Subject: what was gbp thinking --- include/networkmanager.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/networkmanager.h b/include/networkmanager.h index 7584b69..08b10db 100644 --- a/include/networkmanager.h +++ b/include/networkmanager.h @@ -14,8 +14,6 @@ #undef MS_FAILOVER_SUPPORTED #endif -#undef MS_FAILOVER_SUPPORTED - #include "aopacket.h" #include "aoapplication.h" -- cgit From 078ad79b65692644a1d7230b4cfb9277a16d0310 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Mon, 5 Aug 2019 23:30:00 +0200 Subject: language setting --- include/aooptionsdialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit