mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
Fix duplicate localization ids (#803)
* Add sqlops-core loc project * Fix duplicate ids step 1 * Merge duplicate id changes. * A few more duplicate ids
This commit is contained in:
@@ -84,8 +84,8 @@ export class OptionsDialog extends Modal {
|
||||
private _onCloseEvent = new Emitter<void>();
|
||||
public onCloseEvent: Event<void> = this._onCloseEvent.event;
|
||||
|
||||
public okLabel: string = localize('ok', 'OK');
|
||||
public cancelLabel: string = localize('cancel', 'Cancel');
|
||||
public okLabel: string = localize('optionsDialog.ok', 'OK');
|
||||
public cancelLabel: string = localize('optionsDialog.cancel', 'Cancel');
|
||||
|
||||
constructor(
|
||||
title: string,
|
||||
|
||||
@@ -28,8 +28,8 @@ export function createOptionElement(option: sqlops.ServiceOption, rowContainer:
|
||||
let optionValue = this.getOptionValueAndCategoryValues(option, options, possibleInputs);
|
||||
let optionWidget: any;
|
||||
let inputElement: HTMLElement;
|
||||
let missingErrorMessage = localize('missingRequireField', ' is required.');
|
||||
let invalidInputMessage = localize('invalidInput', 'Invalid input. Numeric value expected.');
|
||||
let missingErrorMessage = localize('optionsDialog.missingRequireField', ' is required.');
|
||||
let invalidInputMessage = localize('optionsDialog.invalidInput', 'Invalid input. Numeric value expected.');
|
||||
|
||||
if (option.valueType === ServiceOptionType.number) {
|
||||
optionWidget = new InputBox(rowContainer.getHTMLElement(), contextViewService, {
|
||||
|
||||
@@ -50,8 +50,8 @@ export class WebViewDialog extends Modal {
|
||||
@IEnvironmentService private _environmentService: IEnvironmentService,
|
||||
) {
|
||||
super('', TelemetryKeys.WebView, _webViewPartService, telemetryService, contextKeyService, { isFlyout: false, hasTitleIcon: true });
|
||||
this._okLabel = localize('OK', 'OK');
|
||||
this._closeLabel = localize('close', 'Close');
|
||||
this._okLabel = localize('webViewDialog.ok', 'OK');
|
||||
this._closeLabel = localize('webViewDialog.close', 'Close');
|
||||
}
|
||||
|
||||
public set html(value: string) {
|
||||
|
||||
Reference in New Issue
Block a user