ai - clarify how to deal with strings in instructions (#267248)

This commit is contained in:
Benjamin Pasero
2025-09-17 19:41:06 +02:00
committed by GitHub
parent bc494600f6
commit 10b637cc5d

View File

@@ -91,7 +91,8 @@ We use tabs, not spaces.
- Use "double quotes" for strings shown to the user that need to be externalized (localized)
- Use 'single quotes' otherwise
- All strings visible to the user need to be externalized
- All strings visible to the user need to be externalized using the `vs/nls` module
- Externalized strings must not use string concatenation. Use placeholders instead (`{0}`).
### UI labels
- Use title-style capitalization for command labels, buttons and menu items (each word is capitalized).