diff --git a/.tx/github_integration_config.yml b/.tx/github_integration_config.yml new file mode 100644 index 000000000..2586b4800 --- /dev/null +++ b/.tx/github_integration_config.yml @@ -0,0 +1,16 @@ +# Integration Docs: https://help.transifex.com/en/articles/6265125-github-installation-and-configuration#h_de29ef5cec +# Config Parameter: https://help.transifex.com/en/articles/6265125-github-installation-and-configuration#h_a734c3e219 +# Supported Files: https://help.transifex.com/en/collections/3519116-file-formats + +filters: + - filter_type: file + file_format: QT + source_language: en + source_file: cockatrice/cockatrice_en@source.ts + translation_files_expression: cockatrice/translations/cockatrice_.ts + + - filter_type: file + file_format: QT + source_language: en + source_file: oracle/oracle_en@source.ts + translation_files_expression: oracle/translations/oracle_.ts diff --git a/cockatrice/src/interface/widgets/tabs/tab_room.cpp b/cockatrice/src/interface/widgets/tabs/tab_room.cpp index e5f2020ca..f63b77445 100644 --- a/cockatrice/src/interface/widgets/tabs/tab_room.cpp +++ b/cockatrice/src/interface/widgets/tabs/tab_room.cpp @@ -365,7 +365,7 @@ void TabRoom::sendMessage() return; } else { ChatView *targetView = channelViews.value(activeChannelId, chatView); - auto onFinished = [this, targetView](const Response &response) { + auto onFinished = [targetView](const Response &response) { if (response.response_code() == Response::RespChatFlood) { targetView->appendMessage(tr("You are flooding the chat. Please wait a couple of seconds.")); } else if (response.response_code() == Response::RespFunctionNotAllowed ||