Skip to content

Commit

Permalink
Update template spelling and wording (#46886)
Browse files Browse the repository at this point in the history
* Update template spelling and wording
  - follow up to #46714
  - correct 'ReadWrite' and 'Am'

* Address code review comments
  - no need to change post-action `description`s

* Capitalize as agreed in PR
  - also, update English resources to match template.json content

* Build to propagate strings
  - fill in missed files in localize/ folder
  • Loading branch information
dougbu authored Feb 28, 2023
1 parent 6647d80 commit a580b5a
Show file tree
Hide file tree
Showing 45 changed files with 333 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "namespace for the generated code",
"symbols/actions/description": "create controller with read/write actions",
"symbols/actions/displayName": "Add ReadWrite Actions",
"postActions/openInEditor/description": "Opens ValueController.cs in the editor"
}
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "API Controller",
"description": "API Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"defaultName": "ValueController",
"symbols": {
"namespace": {
"description": "namespace for the generated code",
"description": "Namespace for the generated code",
"replaces": "MyApp.Namespace",
"type": "parameter"
},
"actions": {
"description": "create controller with read/write actions",
"displayName": "Add ReadWrite Actions",
"description": "Create controller with read/write actions",
"displayName": "Add Read/Write Actions",
"type": "parameter",
"datatype": "bool",
"defaultValue": "false"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "namespace for the generated code",
"symbols/actions/description": "create controller with read/write actions",
"symbols/actions/displayName": "Add ReadWrite Actions",
"postActions/openInEditor/description": "Opens HomeController.cs in the editor"
}
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"author": "Microsoft",
"name": "MVC Controller",
"description": "MVC Controller with or without read/write actions",
"symbols/namespace/description": "Namespace for the generated code",
"symbols/actions/description": "Create controller with read/write actions",
"symbols/actions/displayName": "Add Read/Write Actions",
"postActions/openInEditor/description": "Opens the created controller in the editor"
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"defaultName": "HomeController",
"symbols": {
"namespace": {
"description": "namespace for the generated code",
"description": "Namespace for the generated code",
"replaces": "MyApp.Namespace",
"type": "parameter"
},
"actions": {
"description": "create controller with read/write actions",
"displayName": "Add ReadWrite Actions",
"description": "Create controller with read/write actions",
"displayName": "Add Read/Write Actions",
"type": "parameter",
"datatype": "bool",
"defaultValue": "false"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"author": "Microsoft",
"name": "Razor View",
"description": "An empty Razor View",
"postActions/openInEditor/description": "Opens the created view in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"author": "Microsoft",
"name": "Razor View",
"description": "An empty Razor View",
"postActions/openInEditor/description": "Opens the created view in the editor"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"author": "Microsoft",
"name": "Razor View",
"description": "A Razor view without a page model",
"postActions/openInEditor/description": "Opens Index.cshtml in the editor"
}
"description": "An empty Razor View",
"_description.comment": "Reviewers: Could also be 'A Razor view without a page model'. And should View be capitalized?",
"postActions/openInEditor/description": "Opens the created view in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"author": "Microsoft",
"name": "Razor View",
"description": "An empty Razor View",
"postActions/openInEditor/description": "Opens the created view in the editor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"author": "Microsoft",
"name": "Razor View",
"description": "An empty Razor View",
"postActions/openInEditor/description": "Opens the created view in the editor"
}
Loading

0 comments on commit a580b5a

Please sign in to comment.