Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
retailcoder committed May 29, 2015
2 parents 6298a48 + 51441f7 commit 7dacfb1
Show file tree
Hide file tree
Showing 46 changed files with 680 additions and 776 deletions.
1 change: 0 additions & 1 deletion RetailCoder.VBE/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public class App : IDisposable
public App(VBE vbe, AddIn addIn)
{
//note: uncomment to debug localization issues
//InspectionNames.Culture = CultureInfo.GetCultureInfo("fr-CA");
//RubberduckUI.Culture = CultureInfo.GetCultureInfo("fr-CA");

_configService = new ConfigurationLoader();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;

namespace Rubberduck.Inspections
{
Expand All @@ -13,7 +14,7 @@ public AssignedByValParameterInspection()
Severity = CodeInspectionSeverity.Warning;
}

public string Name { get { return InspectionNames.ByValParameterIsAssigned_; } }
public string Name { get { return RubberduckUI.ByValParameterIsAssigned_; } }
public CodeInspectionType InspectionType { get { return CodeInspectionType.CodeQualityIssues; } }
public CodeInspectionSeverity Severity { get; set; }

Expand Down
3 changes: 2 additions & 1 deletion RetailCoder.VBE/Inspections/ConstantNotUsedInspection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Linq;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;

namespace Rubberduck.Inspections
{
Expand All @@ -12,7 +13,7 @@ public ConstantNotUsedInspection()
Severity = CodeInspectionSeverity.Warning;
}

public string Name { get { return InspectionNames.ConstantNotUsed_; } }
public string Name { get { return RubberduckUI.ConstantNotUsed_; } }
public CodeInspectionType InspectionType { get { return CodeInspectionType.CodeQualityIssues; } }
public CodeInspectionSeverity Severity { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;

namespace Rubberduck.Inspections
{
Expand All @@ -13,7 +14,7 @@ public ImplicitByRefParameterInspection()
Severity = CodeInspectionSeverity.Warning;
}

public string Name { get { return InspectionNames.ImplicitByRef_; } }
public string Name { get { return RubberduckUI.ImplicitByRef_; } }
public CodeInspectionType InspectionType { get { return CodeInspectionType.CodeQualityIssues; } }
public CodeInspectionSeverity Severity { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Antlr4.Runtime;
using Rubberduck.Parsing;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;

namespace Rubberduck.Inspections
{
Expand All @@ -13,7 +14,7 @@ public ImplicitPublicMemberInspection()
Severity = CodeInspectionSeverity.Warning;
}

public string Name { get { return InspectionNames.ImplicitPublicMember_; } }
public string Name { get { return RubberduckUI.ImplicitPublicMember_; } }
public CodeInspectionType InspectionType { get { return CodeInspectionType.MaintainabilityAndReadabilityIssues; } }
public CodeInspectionSeverity Severity { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Rubberduck.Parsing;
using Rubberduck.Parsing.Grammar;
using Rubberduck.Parsing.Symbols;
using Rubberduck.UI;

namespace Rubberduck.Inspections
{
Expand All @@ -15,7 +16,7 @@ public ImplicitVariantReturnTypeInspection()
Severity = CodeInspectionSeverity.Warning;
}

public string Name { get { return InspectionNames.ImplicitVariantReturnType_; } }
public string Name { get { return RubberduckUI.ImplicitVariantReturnType_; } }
public CodeInspectionType InspectionType { get { return CodeInspectionType.CodeQualityIssues; } }
public CodeInspectionSeverity Severity { get; set; }

Expand Down
288 changes: 0 additions & 288 deletions RetailCoder.VBE/Inspections/InspectionNames.Designer.cs

This file was deleted.

Empty file.

0 comments on commit 7dacfb1

Please sign in to comment.