Fixed minor typos

This commit is contained in:
Hugo Bernier 2020-08-15 22:48:22 -04:00
parent f8ab357950
commit 006c54329f
3 changed files with 9 additions and 9 deletions

View File

@ -60,14 +60,14 @@ export default class dataservices {
_extensionResult = await this._MSGraphClient
.api(`/me/extensions`)
.post(extentionData);
// Flag user has Extention crerated
// Flag user has extension created
this._hasExtension = true;
}
return _extensionResult;
} catch (error) {
console.log(error);
throw new Error("Error create or Update Extention");
throw new Error("Error creating or updating extension");
}
return;
}

View File

@ -84,9 +84,9 @@ export function ManageApps(appProps: IManageAppsProps) {
<TextField
underlined
required
placeholder="Enter Name here"
placeholder="Enter name here"
onGetErrorMessage={(newValue: string) => {
return newValue.trim().length > 0 ? "" : "Please enter Name";
return newValue.trim().length > 0 ? "" : "Please enter name";
}}
validateOnFocusOut
validateOnLoad={false}
@ -161,7 +161,7 @@ export function ManageApps(appProps: IManageAppsProps) {
style={{ width: 24, height: 24, fontSize: 24, marginRight: 7 }}
/>
<IconPicker
buttonLabel={" select Icon"}
buttonLabel={" Select icon"}
currentIcon={props.value}
onSave={(iconName: string) => {
props.onChange(iconName);
@ -243,7 +243,7 @@ export function ManageApps(appProps: IManageAppsProps) {
>
<div style={{ marginTop: 20, marginBottom: 25 }}>
<Text variant="large" block>
Please add links for your favorite Apps
Please add links for your favorite apps
</Text>
</div>
{hasError && (

View File

@ -3,11 +3,11 @@ define([], function() {
IconPickerCancelLabel: "Cancel",
IconPickerSelectedLabel: "Selected",
IconPickerSaveLabel: "Save",
IconPickerSelectLabel: "Select an Icon",
IconPickerSelectLabel: "Select an icon",
IconPickerCloseLabel: "Close",
PlaceHolderButtonLabel: "Add",
PlaceHolderDescription: "Please add your favorite Apps ",
PlaceholderIconText: "You don't have any favorite Apps",
PlaceHolderDescription: "Please add your favorite apps ",
PlaceholderIconText: "You don't have any favorite apps",
CancelLabelButton: "Cancel",
SaveLabelButtom: "Save",
"PropertyPaneDescription": "Description",