Skip to content

Commit

Permalink
Fix tense for resource string (#548)
Browse files Browse the repository at this point in the history
* Fix tense for resource string

* singular
  • Loading branch information
mdanish-kh authored Aug 8, 2024
1 parent fc8bed0 commit 2151b95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/WingetCreateCLI/Commands/NewCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public override async Task<bool> Execute()
bool populated = await this.GitHubClient.PopulateGitHubMetadata(manifests, this.Format.ToString());
if (populated)
{
Logger.InfoLocalized(nameof(Resources.PopulatingGitHubMetadata_Message));
Logger.InfoLocalized(nameof(Resources.PopulatedGitHubMetadata_Message));
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/WingetCreateCLI/Commands/UpdateCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public async Task<Manifests> UpdateManifestsAutonomously(Manifests manifests)
bool populated = await this.GitHubClient.PopulateGitHubMetadata(manifests, this.Format.ToString());
if (populated)
{
Logger.InfoLocalized(nameof(Resources.PopulatingGitHubMetadata_Message));
Logger.InfoLocalized(nameof(Resources.PopulatedGitHubMetadata_Message));
}
}
}
Expand Down Expand Up @@ -943,7 +943,7 @@ private async Task<Manifests> UpdateManifestsInteractively(Manifests manifests)
bool populated = await this.GitHubClient.PopulateGitHubMetadata(manifests, this.Format.ToString());
if (populated)
{
Logger.InfoLocalized(nameof(Resources.PopulatingGitHubMetadata_Message));
Logger.InfoLocalized(nameof(Resources.PopulatedGitHubMetadata_Message));
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/WingetCreateCLI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/WingetCreateCLI/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,8 @@
<data name="CouldNotPopulateGitHubMetadata_Warning" xml:space="preserve">
<value>Could not populate manifest metadata through GitHub's API.</value>
</data>
<data name="PopulatingGitHubMetadata_Message" xml:space="preserve">
<value>GitHub URL detected. The CLI will automatically fill some manifests fields.</value>
<data name="PopulatedGitHubMetadata_Message" xml:space="preserve">
<value>GitHub URL detected. The CLI has automatically filled some manifest fields.</value>
</data>
<data name="ReleaseDate_HelpText" xml:space="preserve">
<value>Date to be used when updating the release date field. Expected format is "YYYY-MM-DD".</value>
Expand Down

0 comments on commit 2151b95

Please sign in to comment.