Skip to content

Commit 01ab4de

Browse files
committed
translation: translated some phrases in InspectionsUI
1 parent 7b4201f commit 01ab4de

File tree

5 files changed

+172
-142
lines changed

5 files changed

+172
-142
lines changed

RetailCoder.VBE/Inspections/ConvertToProcedureQuickFix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override void Fix()
3434
var context = functionContext ?? propertyGetContext;
3535
if (context == null)
3636
{
37-
throw new InvalidOperationException(string.Format("Context type '{0}' is not valid for {1}.", Context.GetType(), GetType()));
37+
throw new InvalidOperationException(string.Format(InspectionsUI.InvalidContextTypeInspectionFix, Context.GetType(), GetType()));
3838
}
3939

4040
string token = functionContext != null

RetailCoder.VBE/Inspections/InspectionResultBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public override string ToString()
100100
{
101101
var module = QualifiedSelection.QualifiedName;
102102
return string.Format(
103-
"{0}: {1} - {2}.{3}, line {4}",
103+
InspectionsUI.QualifiedSelectionInspection,
104104
Inspection.Severity,
105105
Description,
106106
module.ProjectName,

0 commit comments

Comments
 (0)