Skip to content

Commit 6269203

Browse files
committed
Attempted potentially successful #5162 Version 2
Mass rename of "Introduce Parameter" replaced with PromoteToParameter. If successful all trace of "Introduce Parameter" should be gone. Corrected a missed change
1 parent a1d52e7 commit 6269203

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Rubberduck.Refactorings/PromoteToParameter/PromoteToParameterRefactoring.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private bool PromptIfMethodImplementsInterface(Declaration targetVariable)
9797
functionDeclaration.IdentifierName, interfaceImplementation.ComponentName,
9898
interfaceImplementation.IdentifierName);
9999

100-
return _messageBox.Question(message, RefactoringsUI.IntroduceParameter_Caption);
100+
return _messageBox.Question(message, RefactoringsUI.PromoteToParameter_Caption);
101101
}
102102
}
103103
}

Rubberduck.Refactorings/RefactoringsUI.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Refactorings/RefactoringsUI.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ A private class can still implement a public interface.</value>
324324
<comment>{0}: name of target</comment>
325325
</data>
326326
<data name="PromoteToParameter_Caption" xml:space="preserve">
327-
<value>Rubberduck - Introduce Parameter</value>
327+
<value>Rubberduck - Promote to Parameter</value>
328328
</data>
329329
<data name="PromoteToParameterFailed_TargetNotContainedInMethod" xml:space="preserve">
330330
<value>The target '{0}' is not contained in a method.</value>

0 commit comments

Comments
 (0)