mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2025-06-11 18:43:22 +02:00
Add internationalization.
This commit is contained in:
@ -131,6 +131,30 @@
|
||||
"value": "Thema hinzufügen"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Verbindungsstil"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Kurve"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polylinie"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Gekrümmte Polylinie"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-delete-topic": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -125,6 +125,30 @@
|
||||
"value": "Add Topic"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Connection Style"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Curved"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polyline"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Curved Polyline"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-delete-topic": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -125,6 +125,30 @@
|
||||
"value": "Agregar tópico"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Estilo de Connexión"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Curva"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polilinea"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polilinea Curva"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-delete-topic": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -125,6 +125,30 @@
|
||||
"value": "Agregar Topico"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Style de connexion"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Courbe"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polyligne"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-connection-style-polyline-curved": [
|
||||
{
|
||||
"type": 0,
|
||||
"value": "Polyligne courbe"
|
||||
}
|
||||
],
|
||||
"editor-panel.tooltip-delete-topic": [
|
||||
{
|
||||
"type": 0,
|
||||
|
@ -158,6 +158,15 @@ export function buildEditorPanelConfig(model: Editor, intl: IntlShape): ActionCo
|
||||
defaultMessage: 'Connection Style',
|
||||
}),
|
||||
options: [
|
||||
{
|
||||
icon: <GestureOutlined />,
|
||||
tooltip: intl.formatMessage({
|
||||
id: 'editor-panel.tooltip-connection-style-curved',
|
||||
defaultMessage: 'Curved',
|
||||
}),
|
||||
onClick: () => valueBulder.getConnectionStyleModel().setValue(LineType.SIMPLE_CURVED),
|
||||
selected: () => valueBulder.getConnectionStyleModel().getValue() === LineType.SIMPLE_CURVED,
|
||||
},
|
||||
{
|
||||
icon: <PolylineOutlined />,
|
||||
tooltip: intl.formatMessage({
|
||||
@ -172,21 +181,12 @@ export function buildEditorPanelConfig(model: Editor, intl: IntlShape): ActionCo
|
||||
icon: <TimelineOutined />,
|
||||
tooltip: intl.formatMessage({
|
||||
id: 'editor-panel.tooltip-connection-style-polyline-curved',
|
||||
defaultMessage: 'Polyline Curved',
|
||||
defaultMessage: 'Curved Polyline',
|
||||
}),
|
||||
onClick: () => valueBulder.getConnectionStyleModel().setValue(LineType.POLYLINE_CURVED),
|
||||
selected: () =>
|
||||
valueBulder.getConnectionStyleModel().getValue() === LineType.POLYLINE_CURVED,
|
||||
},
|
||||
{
|
||||
icon: <GestureOutlined />,
|
||||
tooltip: intl.formatMessage({
|
||||
id: 'editor-panel.tooltip-connection-style-curved',
|
||||
defaultMessage: 'Curved',
|
||||
}),
|
||||
onClick: () => valueBulder.getConnectionStyleModel().setValue(LineType.SIMPLE_CURVED),
|
||||
selected: () => valueBulder.getConnectionStyleModel().getValue() === LineType.SIMPLE_CURVED,
|
||||
},
|
||||
],
|
||||
disabled: () => model.getDesignerModel().filterSelectedTopics().length === 0,
|
||||
};
|
||||
|
Reference in New Issue
Block a user