Skip to content

Commit 40fc218

Browse files
committed
Capitalize as agreed in PR
- remove comment nodes from templatestrings.en.json files - also, update English resources to match template.json content
1 parent dcf7517 commit 40fc218

File tree

6 files changed

+17
-21
lines changed

6 files changed

+17
-21
lines changed

src/ProjectTemplates/Web.ItemTemplates/content/ApiController/.template.config/localize/templatestrings.en.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
"author": "Microsoft",
33
"name": "API Controller",
44
"description": "API Controller with or without read/write actions",
5-
"symbols/namespace/description": "namespace for the generated code",
6-
"_symbols/namespace/description.comment": "Should this start w/ 'Namespace'?",
7-
"symbols/actions/description": "create controller with read/write actions",
8-
"_symbols/actions/description.comment": "Should this start w/ 'Create'?",
9-
"symbols/actions/displayName": "Add ReadWrite Actions",
10-
"postActions/openInEditor/description": "Opens ValueController.cs in the editor"
11-
}
5+
"symbols/namespace/description": "Namespace for the generated code",
6+
"symbols/actions/description": "Create controller with read/write actions",
7+
"symbols/actions/displayName": "Add Read/Write Actions",
8+
"postActions/openInEditor/description": "Opens the created controller in the editor"
9+
}

src/ProjectTemplates/Web.ItemTemplates/content/ApiController/.template.config/template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"defaultName": "ValueController",
2323
"symbols": {
2424
"namespace": {
25-
"description": "namespace for the generated code",
25+
"description": "Namespace for the generated code",
2626
"replaces": "MyApp.Namespace",
2727
"type": "parameter"
2828
},
2929
"actions": {
30-
"description": "create controller with read/write actions",
30+
"description": "Create controller with read/write actions",
3131
"displayName": "Add Read/Write Actions",
3232
"type": "parameter",
3333
"datatype": "bool",

src/ProjectTemplates/Web.ItemTemplates/content/MvcController/.template.config/localize/templatestrings.en.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
"author": "Microsoft",
33
"name": "MVC Controller",
44
"description": "MVC Controller with or without read/write actions",
5-
"symbols/namespace/description": "namespace for the generated code",
6-
"_symbols/namespace/description.comment": "Should this start w/ 'Namespace'?",
7-
"symbols/actions/description": "create controller with read/write actions",
8-
"_symbols/actions/description.comment": "Should this start w/ 'Create'?",
5+
"symbols/namespace/description": "Namespace for the generated code",
6+
"symbols/actions/description": "Create controller with read/write actions",
97
"symbols/actions/displayName": "Add Read/Write Actions",
10-
"postActions/openInEditor/description": "Opens HomeController.cs in the editor"
11-
}
8+
"postActions/openInEditor/description": "Opens the created controller in the editor"
9+
}

src/ProjectTemplates/Web.ItemTemplates/content/MvcController/.template.config/template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"defaultName": "HomeController",
2323
"symbols": {
2424
"namespace": {
25-
"description": "namespace for the generated code",
25+
"description": "Namespace for the generated code",
2626
"replaces": "MyApp.Namespace",
2727
"type": "parameter"
2828
},
2929
"actions": {
30-
"description": "create controller with read/write actions",
30+
"description": "Create controller with read/write actions",
3131
"displayName": "Add Read/Write Actions",
3232
"type": "parameter",
3333
"datatype": "bool",
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Microsoft",
33
"name": "Razor View",
4-
"description": "An empty Razor view",
4+
"description": "An empty Razor View",
55
"_description.comment": "Reviewers: Could also be 'A Razor view without a page model'. And should View be capitalized?",
6-
"postActions/openInEditor/description": "Opens Index.cshtml in the editor"
7-
}
6+
"postActions/openInEditor/description": "Opens the created view in the editor"
7+
}

src/ProjectTemplates/Web.ItemTemplates/content/RazorView/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"classifications": [ "Web", "ASP.NET" ],
55
"name": "Razor View",
66
"generatorVersions": "[1.0.0.0-*)",
7-
"description": "An empty Razor view",
7+
"description": "An empty Razor View",
88
"tags": {
99
"language": "C#",
1010
"type": "item"

0 commit comments

Comments
 (0)