From ff95d6f42500d191dab676aa0116b66c5895c85e Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Tue, 7 Nov 2017 12:37:35 +0100
Subject: Add missing Qt translatable strings to QtStrings.h

Strings in the context menu of the chat input and the
dialog buttons in the highlight editor are now translatable.

Test-Information:

Tested on macOS 10.13.1 with Qt 5.4.2. Tested with a newer
upcoming German translation file.

Change-Id: Ie2c5ec1d9615bfe5ac69dad7df3c96a6f1600225

diff --git a/Swift/QtUI/QtStrings.h b/Swift/QtUI/QtStrings.h
index d0cd421..84bc7f9 100644
--- a/Swift/QtUI/QtStrings.h
+++ b/Swift/QtUI/QtStrings.h
@@ -26,6 +26,14 @@ QT_TRANSLATE_NOOP("QLineEdit", "&Copy");
 QT_TRANSLATE_NOOP("QLineEdit", "&Paste");
 QT_TRANSLATE_NOOP("QLineEdit", "Delete");
 
+QT_TRANSLATE_NOOP("QWidgetTextControl", "Select All");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "&Undo");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "&Redo");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "Cu&t");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "&Copy");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "&Paste");
+QT_TRANSLATE_NOOP("QWidgetTextControl", "Delete");
+
 QT_TRANSLATE_NOOP("QScrollBar", "Scroll here");
 QT_TRANSLATE_NOOP("QScrollBar", "Top");
 QT_TRANSLATE_NOOP("QScrollBar", "Bottom");
@@ -76,6 +84,10 @@ QT_TRANSLATE_NOOP("QDialogButtonBox", "Cancel");
 QT_TRANSLATE_NOOP("QMessageBox", "Show Details...");
 QT_TRANSLATE_NOOP("QMessageBox", "Hide Details...");
 
+QT_TRANSLATE_NOOP("QPlatformTheme", "OK");
+QT_TRANSLATE_NOOP("QPlatformTheme", "Cancel");
+QT_TRANSLATE_NOOP("QPlatformTheme", "Restore Defaults");
+
 QT_TRANSLATE_NOOP("MAC_APPLICATION_MENU", "Services");
 QT_TRANSLATE_NOOP("MAC_APPLICATION_MENU", "Hide %1");
 QT_TRANSLATE_NOOP("MAC_APPLICATION_MENU", "Hide Others");
-- 
cgit v0.10.2-6-g49f6