Add double quotes for localize hygiene check (#6492)

* Add localize single quote hygiene task

* Update localize calls

* Update comment

* Fix build failures and remove test code
This commit is contained in:
Charles Gagnon
2019-07-25 10:35:14 -07:00
committed by GitHub
parent 69845b29ef
commit b2b2840990
141 changed files with 651 additions and 630 deletions

View File

@@ -164,7 +164,7 @@ export class QueryModelService implements IQueryModelService {
public showCommitError(error: string): void {
this._notificationService.notify({
severity: Severity.Error,
message: nls.localize('commitEditFailed', 'Commit row failed: ') + error
message: nls.localize('commitEditFailed', "Commit row failed: ") + error
});
}
@@ -480,7 +480,7 @@ export class QueryModelService implements IQueryModelService {
return queryRunner.updateCell(ownerUri, rowId, columnId, newValue).then((result) => result, error => {
this._notificationService.notify({
severity: Severity.Error,
message: nls.localize('updateCellFailed', 'Update cell failed: ') + error.message
message: nls.localize('updateCellFailed', "Update cell failed: ") + error.message
});
return Promise.reject(error);
});
@@ -495,7 +495,7 @@ export class QueryModelService implements IQueryModelService {
return queryRunner.commitEdit(ownerUri).then(() => { }, error => {
this._notificationService.notify({
severity: Severity.Error,
message: nls.localize('commitEditFailed', 'Commit row failed: ') + error.message
message: nls.localize('commitEditFailed', "Commit row failed: ") + error.message
});
return Promise.reject(error);
});