Skip to content

Commit

Permalink
refactor: more string
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqizhou77 committed Sep 18, 2023
1 parent a986885 commit 3a63637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/fx-core/resource/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,9 @@
"core.createProjectQuestion.apiSpec.title": "OpenAPI Spec",
"core.createProjectQuestion.apiSpec.placeholder": "Enter OpenAPI Specification URL",
"core.createProjectQuestion.apiSpecInputUrl.label": "Enter OpenAPI Specification Location",
"core.createProjectQuestion.OpenAIPluginDomain": "OpenAI Plugin Domain",
"core.createProjectQuestion.OpenAIPluginDomain.placeholder": "Enter your website domain",
"core.createProjectQuestion.OpenAIPluginDomain": "OpenAI Plugin Manifest",
"core.createProjectQuestion.OpenAIPluginDomain.placeholder": "Enter your website domain or manifest URL",
"core.createProjectQuestion.invalidUrl.message": "Please enter a valid URL",
"core.createProjectQuestion.invalidDomain.message": "Please enter a valid domain",
"core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Copilot Can Interact with",
"core.createProjectQuestion.apiSpec.operation.placeholder": "GET/POST methods with at most one required parameter and no auth are listed",
"core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
Expand Down
2 changes: 1 addition & 1 deletion packages/fx-core/src/question/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ export function openAIPluginManifestLocationQuestion(): TextInputQuestion {

const result = match
? undefined
: getLocalizedString("core.createProjectQuestion.invalidDomain.message");
: getLocalizedString("core.createProjectQuestion.invalidUrl.message");
return Promise.resolve(result);
},
},
Expand Down

0 comments on commit 3a63637

Please sign in to comment.