survey-creator-core
Version:
Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.
42 lines (41 loc) • 1.52 kB
TypeScript
import { Action } from "survey-core";
import { SurveyCreatorModel } from "../../creator-base";
import { ICreatorPlugin } from "../../creator-settings";
import { Translation } from "./translation";
export declare class TabTranslationPlugin implements ICreatorPlugin {
private creator;
private filterStringsAction;
private filterPageAction;
private mergeLocaleWithDefaultAction;
private importCsvAction;
private exportCsvAction;
private sidebarTab;
private _showOneCategoryInPropertyGrid;
private tabControlModel;
model: Translation;
static iconName: string;
get showOneCategoryInPropertyGrid(): boolean;
set showOneCategoryInPropertyGrid(newValue: boolean);
private updateSettingsSurvey;
constructor(creator: SurveyCreatorModel);
activate(): void;
update(): void;
deactivate(): boolean;
private updateTabControl;
private updateTabControlActions;
private createMergeLocaleWithDefaultActionTitleUpdater;
get selectLanguageOptionsCaption(): string;
get showAllStringsText(): string;
get showUsedStringsOnlyText(): string;
get showAllPagesText(): string;
get exportToCSVText(): string;
get importFromCSVText(): string;
createActions(): Array<Action>;
private createFilterPageAction;
private createFilterStringsAction;
private updateFilterStrigsAction;
private updateFilterPageAction;
private getFilterPageActionTitle;
private getFilterStringsActionTitle;
private getPageDisplayText;
}