How to use the weavejs.Weave.lang function in weavejs

To help you get started, we’ve selected a few weavejs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / menu / SystemMenu.tsx View on Github external
let signedOutPopup = () => PopupWindow.open(
						{
							context: this.owner.context,
							title: "Confirmation",
							content: <div>{Weave.lang("Signed out successfully")}</div>
						}
					);
					/* Log in with invalid credentials to drop session */
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / TableTool.tsx View on Github external
get defaultPanelTitle():string
	{
		var columns = this.columns.getObjects() as IAttributeColumn[];
		if (columns.length == 0)
			return Weave.lang('Table');

		return Weave.lang("Table of {0}", columns.map(column=>ColumnUtils.getTitle(column)).join(Weave.lang(", ")));
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / TextTool.tsx View on Github external
get defaultPanelTitle():string
	{
		return Weave.lang("Text Tool");
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / c3tool / C3BarChart.tsx View on Github external
get defaultPanelTitle():string
	{
		var columns = this.heightColumns.getObjects() as IAttributeColumn[];
		if (columns.length == 0)
			return Weave.lang('Bar Chart');

		return Weave.lang("Bar Chart of {0}", columns.map(column=>ColumnUtils.getTitle(column)).join(Weave.lang(", ")));
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / editor / WeaveDataSourceEditor.tsx View on Github external
dataImportTypes.map((importType:string) => {
							if (importType == SQL)
							{
								var click = this.openSqlImport;
							}
							else if (importType == CSV)
							{
								//var click =  this.openCsvImport;
							}

							return{
								label:Weave.lang(importType),
								click:click
							}
						})
					}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / c3tool / C3LineChart.tsx View on Github external
get defaultPanelTitle():string
	{
		var columns = this.columns.getObjects() as IAttributeColumn[];
		if (columns.length == 0)
			return Weave.lang('Line chart');

		return Weave.lang("Line chart of {0}", columns.map(column=>ColumnUtils.getTitle(column)).join(Weave.lang(", ")));
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / AttributeMenuTool.tsx View on Github external
renderTitleEditor():React.ReactChild[][]
	{
		return [
			[
				Weave.lang("Title"),
				
			]
		];
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / tool / SessionStateMenuTool.tsx View on Github external
renderTitleEditor():React.ReactChild[][]
	{
		return [
			[
				Weave.lang("Title"),
				
			]
		];
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / editor / DataSourceEditor.tsx View on Github external
renderConfigureView():JSX.Element
	{
		let registry = WeaveAPI.ClassRegistry;
		let displayName:string = Weave.lang(WeaveAPI.ClassRegistry.getDisplayName(this.props.dataSource.constructor as typeof IDataSource));
		return (
			<section overflow="">
				<div aria-label="{Weave.lang(&quot;Configure">
					{Weave.lang("Configure {0}", displayName)}
				</div>
				{
					this.renderFields()
				}
			</section>
		);
	}
github WeaveTeam / WeaveJS / WeaveApp / src / weaveapp / ui / ColorRampList.tsx View on Github external
constructor(props:ColorRampListProps)
	{
		super(props);
		this.columnTitles["id"] = "Key";
		this.columnTitles["value"] = Weave.lang("Color scale presets");
		this.state = {
			selectedColors: props.selectedColors
		}
	}

weavejs

Application architecture library for building modern web applications

MPL-2.0
Latest version published 8 years ago

Package Health Score

39 / 100
Full package analysis