Skip to content

Conversation

@akoeplinger
Copy link
Member

When building locally these files get modified with the new keys. Looks like this was caused by #64532

When building locally these files get modified with the new keys. Looks like this was caused by #64532
@github-actions github-actions bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Dec 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/description key to postActions/openPageInEditor/description across all localization files
  • Adds a new postActions/openComponentInEditor/description key 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

Copy link
Member

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@akoeplinger akoeplinger merged commit 1c4911a into main Dec 17, 2025
32 checks passed
@akoeplinger akoeplinger deleted the fix-templatestrings branch December 17, 2025 09:11
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants