Fix templatestrings in RazorClassLibrary template#64796
Merged
akoeplinger merged 1 commit intomainfrom Dec 17, 2025
Merged
Conversation
When building locally these files get modified with the new keys. Looks like this was caused by #64532
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the RazorClassLibrary template localization files that were being modified during local builds after PR #64532. The changes update the post-action keys to align with the template.json configuration by renaming openInEditor to openPageInEditor and adding a new openComponentInEditor action.
Key Changes:
- Renames the
postActions/openInEditor/descriptionkey topostActions/openPageInEditor/descriptionacross all localization files - Adds a new
postActions/openComponentInEditor/descriptionkey for opening Razor components in the editor - Updates all 13 language-specific localization files (cs, de, en, es, fr, it, ja, ko, pl, pt-BR, ru, tr, zh-Hans, zh-Hant)
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| templatestrings.zh-Hant.json | Renames openInEditor key and adds openComponentInEditor for Traditional Chinese localization |
| templatestrings.zh-Hans.json | Renames openInEditor key and adds openComponentInEditor for Simplified Chinese localization |
| templatestrings.tr.json | Renames openInEditor key and adds openComponentInEditor for Turkish localization |
| templatestrings.ru.json | Renames openInEditor key and adds openComponentInEditor for Russian localization |
| templatestrings.pt-BR.json | Renames openInEditor key and adds openComponentInEditor for Brazilian Portuguese localization |
| templatestrings.pl.json | Renames openInEditor key and adds openComponentInEditor for Polish localization |
| templatestrings.ko.json | Renames openInEditor key and adds openComponentInEditor for Korean localization |
| templatestrings.ja.json | Renames openInEditor key and adds openComponentInEditor for Japanese localization |
| templatestrings.it.json | Renames openInEditor key and adds openComponentInEditor for Italian localization |
| templatestrings.fr.json | Renames openInEditor key and adds openComponentInEditor for French localization |
| templatestrings.es.json | Renames openInEditor key and adds openComponentInEditor for Spanish localization |
| templatestrings.en.json | Renames openInEditor key and adds openComponentInEditor for English localization |
| templatestrings.de.json | Renames openInEditor key and adds openComponentInEditor for German localization |
| templatestrings.cs.json | Renames openInEditor key and adds openComponentInEditor for Czech localization |
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.ru.json
Show resolved
Hide resolved
...plates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.pt-BR.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.pl.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.ko.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.ja.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.tr.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.es.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.de.json
Show resolved
Hide resolved
...Templates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.cs.json
Show resolved
Hide resolved
...ates/content/RazorClassLibrary-CSharp/.template.config/localize/templatestrings.zh-Hant.json
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When building locally these files get modified with the new keys. Looks like this was caused by #64532