Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Composer/packages/client/src/components/QnA/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ export const validateName = (sources: QnAFile[]): FieldValidator => {
let currentError = '';
if (name) {
if (!FileNameRegex.test(name)) {
currentError = formatMessage('KB name cannot contain speacial characters.');
currentError = formatMessage('KB name cannot contain special characters.');
}

const duplicatedItemIndex = sources.findIndex((item) => item.id.toLowerCase() === `${name.toLowerCase()}.source`);
if (duplicatedItemIndex > -1) {
currentError = formatMessage('You already have a KB with that name.Choose another name and try again.');
currentError = formatMessage('You already have a KB with that name. Choose another name and try again.');
}
}
return currentError;
Expand Down
94 changes: 45 additions & 49 deletions Composer/packages/server/schemas/sdk.en-US.uischema
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,6 @@
}
}
},
"Microsoft.AttachmentInput": {
"form": {
"label": "Prompt for a file or an attachment",
"subtitle": "Attachment Input"
}
},
"Microsoft.ChoiceInput": {
"form": {
"label": "Prompt with multi-choice",
"subtitle": "Choice Input"
}
},
"Microsoft.ConfirmInput": {
"form": {
"label": "Prompt for confirmation",
"subtitle": "Confirm Input"
}
},
"Microsoft.DateTimeInput": {
"form": {
"label": "Prompt for a date or a time",
"subtitle": "Date Time Input"
}
},
"Microsoft.NumberInput": {
"form": {
"label": "Prompt for a number",
"subtitle": "Number Input"
}
},
"Microsoft.OAuthInput": {
"form": {
"label": "OAuth login",
"subtitle": "OAuth Input"
}
},
"Microsoft.TextInput": {
"form": {
"label": "Prompt for text",
"subtitle": "Text Input"
}
},
"Microsoft.BeginDialog": {
"form": {
"label": "Begin a new dialog",
Expand Down Expand Up @@ -100,11 +58,6 @@
"subtitle": "Delete Property"
}
},
"Microsoft.DeleteActivity": {
"form": {
"label": "Delete activity"
}
},
"Microsoft.EditActions": {
"form": {
"label": "Modify active dialog",
Expand Down Expand Up @@ -213,9 +166,46 @@
"subtitle": "Trace Activity"
}
},
"Microsoft.UpdateActivity": {
"Microsoft.AttachmentInput": {
"form": {
"label": "Prompt for a file or an attachment",
"subtitle": "Attachment Input"
}
},
"Microsoft.ChoiceInput": {
"form": {
"label": "Prompt with multi-choice",
"subtitle": "Choice Input"
}
},
"Microsoft.ConfirmInput": {
"form": {
"label": "Update an activity"
"label": "Prompt for confirmation",
"subtitle": "Confirm Input"
}
},
"Microsoft.DateTimeInput": {
"form": {
"label": "Prompt for a date or a time",
"subtitle": "Date Time Input"
}
},
"Microsoft.NumberInput": {
"form": {
"label": "Prompt for a number",
"subtitle": "Number Input"
}
},
"Microsoft.OAuthInput": {
"form": {
"label": "OAuth login",
"subtitle": "OAuth Input"
}
},
"Microsoft.TextInput": {
"form": {
"label": "Prompt for text",
"subtitle": "Text Input"
}
},
"Microsoft.OnActivity": {
Expand Down Expand Up @@ -279,6 +269,12 @@
"subtitle": "Handoff activity"
}
},
"Microsoft.OnInstallationUpdateActivity": {
"form": {
"label": "Installation updated",
"subtitle": "Installation updated activity"
}
},
"Microsoft.OnIntent": {
"form": {
"label": "Intent recognized",
Expand Down
43 changes: 32 additions & 11 deletions Composer/packages/server/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,12 @@
"duplicated_intents_recognized_d3908424": {
"message": "Duplicated intents recognized"
},
"each_page_of_pagesizestring_in_propstring_a7e23b00": {
"message": "Each page of { pageSizeString } in { propString }"
},
"each_value_in_ae285cd9": {
"message": "Each value in"
},
"early_adopters_e8db7999": {
"message": "Early adopters"
},
Expand Down Expand Up @@ -1046,6 +1052,9 @@
"error_processing_schema_2c707cf3": {
"message": "Error Processing Schema"
},
"event_48c2be6e": {
"message": " (Event)"
},
"event_activity_2067a94b": {
"message": "Event activity"
},
Expand Down Expand Up @@ -1088,9 +1097,6 @@
"export_de71cd8e": {
"message": "Export"
},
"export_json_2e2981f5": {
"message": "Export JSON"
},
"expression_7f906a13": {
"message": "Expression"
},
Expand Down Expand Up @@ -1241,6 +1247,9 @@
"hospitality_assistant_c330e403": {
"message": "Hospitality Assistant"
},
"host_ef9acfae": {
"message": "Host "
},
"hosts_your_bot_application_9dd01ffc": {
"message": "Hosts your Bot application."
},
Expand Down Expand Up @@ -1366,9 +1375,9 @@
},
"kb_d9c53902": {
"message": "KB"
},
"kb_name_cannot_contain_speacial_characters_6588abda": {
"message": "KB name cannot contain speacial characters."
}
"kb_name_cannot_contain_special_characters_616d7939": {
"message": "KB name cannot contain special characters."
},
"key_cannot_be_blank_dccc1b46": {
"message": "Key cannot be blank"
Expand Down Expand Up @@ -1973,9 +1982,6 @@
"property_name_help_text_421a5f7f": {
"message": "Property name help text"
},
"property_required_help_text_57f027ad": {
"message": "Property required help text"
},
"property_title_f2b443b7": {
"message": "Property title"
},
Expand Down Expand Up @@ -2088,6 +2094,9 @@
"message": "RegEx { intent } is already defined"
},
"regular_expression_855557bf": {
"message": "Regular Expression"
},
"regular_expression_recognizer_44664557": {
"message": "Regular expression recognizer"
},
"release_1af20f26": {
Expand Down Expand Up @@ -2135,6 +2144,15 @@
"restart_bot_34e36428": {
"message": "Restart Bot"
},
"result_b1f14e91": {
"message": " = Result"
},
"result_property_100ef34f": {
"message": " = Result property"
},
"return_value_b386d1b": {
"message": "= Return value"
},
"review_and_generate_63dec712": {
"message": "Review and generate"
},
Expand Down Expand Up @@ -2567,6 +2585,9 @@
"toggle_show_all_61f19d77": {
"message": "Toggle show all"
},
"token_property_e53a19d9": {
"message": " = Token Property"
},
"toolbar_bafd4228": {
"message": "toolbar"
},
Expand Down Expand Up @@ -2825,8 +2846,8 @@
"yes_dde87d5": {
"message": "Yes"
},
"you_already_have_a_kb_with_that_name_choose_anothe_fc2f7156": {
"message": "You already have a KB with that name.Choose another name and try again."
"you_already_have_a_kb_with_that_name_choose_anothe_b7f7c517": {
"message": "You already have a KB with that name. Choose another name and try again."
},
"you_are_about_to_publish_your_bot_to_the_profile_b_79a6a226": {
"message": "You are about to publish your bot to the profile below. Do you want to proceed?"
Expand Down