Skip to content

Commit ae54e94

Browse files
committed
Moved localisable string to resources
1 parent f0b91f3 commit ae54e94

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Rubberduck.Core/Navigation/CodeExplorer/CodeExplorerComponentViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public CodeExplorerComponentViewModel(CodeExplorerItemViewModel parent, Declarat
5151
.ToList<CodeExplorerItemViewModel>();
5252

5353
_name = DeclarationType == DeclarationType.ResFile && string.IsNullOrEmpty(Declaration.IdentifierName)
54-
? "Resources"
54+
? UI.RubberduckUI.CodeExplorer_ResourceFileText
5555
: Declaration.IdentifierName;
5656

5757
var qualifiedModuleName = declaration.QualifiedName.QualifiedModuleName;

Rubberduck.Core/UI/RubberduckUI.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Core/UI/RubberduckUI.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,4 +1839,7 @@ NOTE: Restart is required for the setting to take effect.</value>
18391839
<data name="AboutWindow_ReportAnIssue" xml:space="preserve">
18401840
<value>Report an issue</value>
18411841
</data>
1842+
<data name="CodeExplorer_ResourceFileText" xml:space="preserve">
1843+
<value>Resources</value>
1844+
</data>
18421845
</root>

0 commit comments

Comments
 (0)