forked from qt-creator/qt-creator
Proliferate Tr::tr in various places
This changes several tr() calls which were either missed during Tr::tr- ization or were added later. Found with regular expression: (?<!(Tr::)|([\w]))tr\( Change-Id: I1c0c03589e941614a7a8449ecfebc7d2cad396c3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -92,9 +92,9 @@ public:
|
||||
{
|
||||
if (pattern.pattern().isEmpty() || !pattern.isValid())
|
||||
return;
|
||||
m_expander.setDisplayName(JsonFieldPage::tr("Line Edit Validator Expander"));
|
||||
m_expander.setDisplayName(Tr::tr("Line Edit Validator Expander"));
|
||||
m_expander.setAccumulating(true);
|
||||
m_expander.registerVariable("INPUT", JsonFieldPage::tr("The text edit input to fix up."),
|
||||
m_expander.registerVariable("INPUT", Tr::tr("The text edit input to fix up."),
|
||||
[this] { return m_currentInput; });
|
||||
m_expander.registerSubProvider([expander]() -> MacroExpander * { return expander; });
|
||||
setValidationFunction([this, pattern](FancyLineEdit *, QString *) {
|
||||
|
||||
Reference in New Issue
Block a user