Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 18bd027

Browse files
committed
Localize the publish section title
1 parent ac41d5b commit 18bd027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.VisualStudio.16/Sync/PublishSection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ void EnsureSectionInitialized()
159159
{
160160
if (SectionContent == null)
161161
{
162-
Title = "Publish to GitHub";
162+
// This line also ensures that the GitHub.Resourcess assembly has been loaded before we use it from XAML
163+
Title = GitHub.Resources.GitHubPublishSectionTitle;
163164
IsExpanded = true;
164165
IsBusy = false;
165166

166-
Assumes.NotNull(GitHub.Resources.BlurbText); // Ensure GitHub.Resourcess has been loaded before we use it from XAML
167167
SectionContent = new PublishView()
168168
{
169169
DataContext = this

0 commit comments

Comments
 (0)