diff options
author | Tobias Markmann <tm@ayena.de> | 2016-04-26 07:51:29 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-04-26 08:33:30 (GMT) |
commit | 15eb4fa29ab6516175ddc2c677b42aebfd0405e1 (patch) | |
tree | be7bd4bd5774a9c0b02fa51d0b02b7811fc73080 /Swift/QtUI/QtHighlightEditor.h | |
parent | 857791adda753a0f94da8317bbc019378b1f09bd (diff) | |
download | swift-15eb4fa29ab6516175ddc2c677b42aebfd0405e1.zip swift-15eb4fa29ab6516175ddc2c677b42aebfd0405e1.tar.bz2 |
Make remaining UI strings in QtHighlightEditor translatable
Test-Information:
Builds on OS X 10.11.4 with Qt 5.4.2 and the short description
still shows the strings in the UI.
Checked that update_translations=1 shows the newly translatable
strings.
Change-Id: I7acc1058fbb07a5f1ed630c5cc95493f2bc79770
Diffstat (limited to 'Swift/QtUI/QtHighlightEditor.h')
-rw-r--r-- | Swift/QtUI/QtHighlightEditor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtHighlightEditor.h b/Swift/QtUI/QtHighlightEditor.h index 845b11b..dbcef4b 100644 --- a/Swift/QtUI/QtHighlightEditor.h +++ b/Swift/QtUI/QtHighlightEditor.h @@ -55,6 +55,7 @@ namespace Swift { void onResetToDefaultRulesClicked(); private: + QString formatShortDescription(const HighlightRule &rule); void handleOnUserSelected(const Contact::ref& contact); void populateList(); void selectRow(int row); @@ -64,6 +65,7 @@ namespace Swift { void updateResetToDefaultRulesVisibility(); void moveRowFromTo(int fromRow, int toRow); + private: Ui::QtHighlightEditor ui_; QtSettingsProvider* settings_; HighlightManager* highlightManager_; |