Skip to content

Commit be2d85e

Browse files
authored
Revert "Introducing Rubberduck.Resources"
1 parent edecedf commit be2d85e

File tree

600 files changed

+7967
-10114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

600 files changed

+7967
-10114
lines changed

Rubberduck.API/API/VBA/Accessibility.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Runtime.InteropServices;
2-
using Rubberduck.Resources.Registration;
32

43
namespace Rubberduck.API.VBA
54
{

Rubberduck.API/API/VBA/Declaration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.ComponentModel;
33
using System.Linq;
44
using System.Runtime.InteropServices;
5-
using Rubberduck.Resources.Registration;
65
using RubberduckDeclaration = Rubberduck.Parsing.Symbols.Declaration;
76

87
namespace Rubberduck.API.VBA

Rubberduck.API/API/VBA/DeclarationType.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Runtime.InteropServices;
2-
using Rubberduck.Resources.Registration;
32

43
namespace Rubberduck.API.VBA
54
{

Rubberduck.API/API/VBA/IdentifierReference.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.ComponentModel;
22
using System.Runtime.InteropServices;
3-
using Rubberduck.Resources.Registration;
43

54
namespace Rubberduck.API.VBA
65
{

Rubberduck.API/API/VBA/ParserState.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Rubberduck.Parsing.VBA;
1111
using Rubberduck.Parsing.Symbols;
1212
using Rubberduck.Parsing.UIContext;
13-
using Rubberduck.Resources.Registration;
1413
using Rubberduck.VBEditor.ComManagement;
1514
using Rubberduck.VBEditor.Events;
1615
using Rubberduck.VBEditor.SafeComWrappers.Abstract;

Rubberduck.API/Rubberduck.API.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@
5252
<Project>{a4a618e1-cbca-435f-9c6c-5181e030adfc}</Project>
5353
<Name>Rubberduck.Parsing</Name>
5454
</ProjectReference>
55-
<ProjectReference Include="..\Rubberduck.Resources\Rubberduck.Resources.csproj">
56-
<Project>{1B84B387-F7C4-4876-9BDF-C644C365359A}</Project>
57-
<Name>Rubberduck.Resources</Name>
58-
</ProjectReference>
5955
<ProjectReference Include="..\Rubberduck.VBEEditor\Rubberduck.VBEditor.csproj">
6056
<Project>{8ce35eb3-8852-4ba1-84dd-df3f5d2967b0}</Project>
6157
<Name>Rubberduck.VBEditor</Name>

Rubberduck.Core/App.cs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
using System.Diagnostics;
1111
using System.Globalization;
1212
using System.Windows.Forms;
13+
using Rubberduck.Parsing.Inspections.Resources;
1314
using Rubberduck.Parsing.UIContext;
14-
using Rubberduck.Resources;
1515
using Rubberduck.UI.Command;
1616
using Rubberduck.VBEditor.SafeComWrappers.Abstract;
1717
using Rubberduck.VBEditor.Utility;
@@ -148,19 +148,9 @@ private void LoadConfig()
148148
var currentCulture = RubberduckUI.Culture;
149149
try
150150
{
151-
var culture = CultureInfo.GetCultureInfo(_config.UserSettings.GeneralSettings.Language.Code);
152-
153-
CultureManager.UICulture = culture;
154-
RubberduckUI.Culture = culture;
155-
156-
Resources.CodeExplorer.Culture = culture;
157-
Resources.Inspections.InspectionNames.Culture = culture;
158-
Resources.Inspections.InspectionResults.Culture = culture;
159-
Resources.Inspections.InspectionsUI.Culture = culture;
160-
Resources.Inspections.InspectionInfo.Culture = culture;
161-
Resources.Inspections.QuickFixes.Culture = culture;
162-
Resources.RegexAssistant.RegexAssistantUI.Culture = culture;
163-
151+
CultureManager.UICulture = CultureInfo.GetCultureInfo(_config.UserSettings.GeneralSettings.Language.Code);
152+
RubberduckUI.Culture = CultureInfo.CurrentUICulture;
153+
InspectionsUI.Culture = CultureInfo.CurrentUICulture;
164154
_appMenus.Localize();
165155
}
166156
catch (CultureNotFoundException exception)

Rubberduck.Core/Common/DeclarationExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Rubberduck.Parsing.Symbols;
1111
using Rubberduck.Parsing.VBA;
1212
using Rubberduck.Properties;
13-
using Rubberduck.Resources;
1413
using Rubberduck.UI;
1514
using Rubberduck.VBEditor;
1615
using Rubberduck.VBEditor.SafeComWrappers;

Rubberduck.Core/Common/Hotkeys/Hotkey.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Windows.Forms;
55
using Rubberduck.Common.WinAPI;
66
using NLog;
7-
using Rubberduck.Resources;
87
using Rubberduck.UI;
98
using Rubberduck.UI.Command;
109

Rubberduck.Core/Common/Hotkeys/HotkeyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Text;
33
using System.Windows.Forms;
4-
using Rubberduck.Resources;
54
using Rubberduck.UI;
65

76
namespace Rubberduck.Common.Hotkeys

0 commit comments

Comments
 (0)