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

Commit 4b91bce

Browse files
Moving string to resource
1 parent a9c5390 commit 4b91bce

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public async Task<Page<PullRequestListItemModel>> ReadPullRequests(
116116
Conclusion = run.Conclusion.FromGraphQl(),
117117
Status = run.Status.FromGraphQl()
118118
}).ToList(),
119-
ApplicationName = suite.App != null ? suite.App.Name : "Private App"
119+
ApplicationName = suite.App != null ? suite.App.Name : Resources.PrivateGitHubAppName
120120
}).ToList(),
121121
Statuses = commit.Commit.Status
122122
.Select(context =>

src/GitHub.Resources/Resources.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.

src/GitHub.Resources/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,4 +836,7 @@ https://git-scm.com/download/win</value>
836836
<data name="YouHaveAlreadyClonedToThisLocation" xml:space="preserve">
837837
<value>You have already cloned to this location. Click 'Open' to open the local repository.</value>
838838
</data>
839+
<data name="PrivateGitHubAppName" xml:space="preserve">
840+
<value>Private GitHub App</value>
841+
</data>
839842
</root>

0 commit comments

Comments
 (0)