Skip to content

Commit 12a3fa4

Browse files
committed
WFE 13.0.0 (autocommit)
1 parent 172ef6c commit 12a3fa4

File tree

533 files changed

+12129
-30471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

533 files changed

+12129
-30471
lines changed

Designer/localization/ar.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,9 @@
554554
"ZoomIn": "تكبير",
555555
"ZoomOut": "تصغير",
556556
"ZoomPositionDefault": "التكبير الافتراضي",
557-
"ZoomTo100": "تعيين التكبير إلى 100%"
558-
},
557+
"ZoomTo100": "تعيين التكبير إلى 100%",
558+
"About": "عن"
559+
},
559560
"TransitionAuto": "السيارات",
560561
"TransitionFormLabel": {
561562
"ActionLabel": "الإجراء",
@@ -633,5 +634,9 @@
633634
"TriggerType": "النوع",
634635
"UserComment": "التعليق"
635636
},
636-
"Warning": "تحذير"
637-
}
637+
"Warning": "تحذير",
638+
"DesignerVersion": "النسخة للمصمم",
639+
"BackendVersion": "النسخة للخلفية",
640+
"DesignerAndBackendVersionMismatch": "إصدارات المصمم والخلفية لا تتطابق!",
641+
"ClipboardAccessDenied": "تم رفض الوصول إلى الحافظة. يتم عرض المعلومات في وحدة تحكم المتصفح."
642+
}

Designer/localization/de.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,9 @@
553553
"ZoomIn": "vergrößern",
554554
"ZoomOut": "verkleinern",
555555
"ZoomPositionDefault": "Zoom Standard",
556-
"ZoomTo100": "Zoom auf 100 einstellen%"
557-
},
556+
"ZoomTo100": "Zoom auf 100 einstellen%",
557+
"About": "Über Designer"
558+
},
558559
"TransitionAuto": "Auto",
559560
"TransitionFormLabel": {
560561
"ActionLabel": "Aktion",
@@ -632,5 +633,9 @@
632633
"TriggerType": "Art",
633634
"UserComment": "Kommentar"
634635
},
635-
"Warning": "Warnung"
636-
}
636+
"Warning": "Warnung",
637+
"DesignerVersion": "Designer version",
638+
"BackendVersion": "Backend version",
639+
"DesignerAndBackendVersionMismatch": "Designer und Backend-Versionen stimmen nicht überein!",
640+
"ClipboardAccessDenied": "Der Zugriff auf die Zwischenablage wurde verweigert. Die Informationen werden in der Browserkonsole angezeigt."
641+
}

Designer/localization/en_default.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,8 @@
557557
"ZoomTo100": "Set zoom to 100%",
558558
"Clone": "Clone",
559559
"ZoomPositionDefault": "Zoom default",
560-
"InstanceInfo": "Instance info"
560+
"InstanceInfo": "Instance info",
561+
"About": "About"
561562
},
562563
"LibraryLabel": {
563564
"PluginRequired": "Plugin required:"
@@ -636,5 +637,9 @@
636637
"ErrorInBrowserConsole": "See more info in the browser console.",
637638
"FileNotExist": "The file doesn't exist",
638639
"InformationCopiedToClipboardAndConsole": "The information is copied to the clipboard and displayed in the browser console.",
639-
"InformationLoggedToConsole": "The information is displayed in the browser console."
640+
"InformationLoggedToConsole": "The information is displayed in the browser console.",
641+
"DesignerVersion": "Designer version",
642+
"BackendVersion": "Backend version",
643+
"DesignerAndBackendVersionMismatch": "Designer and Backend versions do not match!",
644+
"ClipboardAccessDenied": "Access to the clipboard has been denied. The information is displayed in the browser console."
640645
}

Designer/localization/es.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@
553553
"ZoomIn": "acercar",
554554
"ZoomOut": "Alejar el Zoom",
555555
"ZoomPositionDefault": "Zoom por defecto",
556-
"ZoomTo100": "Ajuste el zoom a 100%"
556+
"ZoomTo100": "Ajuste el zoom a 100%",
557+
"About": "Acerca del diseñador"
557558
},
558559
"TransitionAuto": "Auto",
559560
"TransitionFormLabel": {
@@ -632,5 +633,9 @@
632633
"TriggerType": "Tipo",
633634
"UserComment": "Comentario"
634635
},
635-
"Warning": "Advertencia"
636-
}
636+
"Warning": "Advertencia",
637+
"DesignerVersion": "Versión del diseñador",
638+
"BackendVersion": "Versión del backend",
639+
"DesignerAndBackendVersionMismatch": "Las versiones del diseñador y del backend no coinciden!",
640+
"ClipboardAccessDenied": "Se ha denegado el acceso al portapapeles. La información se muestra en la consola del navegador."
641+
}

Designer/localization/fr.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@
553553
"ZoomIn": "zoomer",
554554
"ZoomOut": "Zoom Arrière",
555555
"ZoomPositionDefault": "Zoom par défaut",
556-
"ZoomTo100": "Régler le zoom sur 100%"
556+
"ZoomTo100": "Régler le zoom sur 100%",
557+
"About": "À propos du designer"
557558
},
558559
"TransitionAuto": "Auto",
559560
"TransitionFormLabel": {
@@ -632,5 +633,9 @@
632633
"TriggerType": "Type",
633634
"UserComment": "Commentaire"
634635
},
635-
"Warning": "Avertissement"
636-
}
636+
"Warning": "Avertissement",
637+
"DesignerVersion": "Version du designer",
638+
"BackendVersion": "Version du backend",
639+
"DesignerAndBackendVersionMismatch": "Les versions du concepteur et du backend ne correspondent pas!",
640+
"ClipboardAccessDenied": "L'accès au presse-papiers a été refusé. Les informations sont affichées dans la console du navigateur."
641+
}

Designer/localization/it.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@
553553
"ZoomIn": "ingrandire",
554554
"ZoomOut": "Rimpicciolisci",
555555
"ZoomPositionDefault": "Zoom predefinito",
556-
"ZoomTo100": "Imposta zoom su 100%"
556+
"ZoomTo100": "Imposta zoom su 100%",
557+
"About": "Informazioni sul designer"
557558
},
558559
"TransitionAuto": "Auto",
559560
"TransitionFormLabel": {
@@ -632,5 +633,9 @@
632633
"TriggerType": "Tipo",
633634
"UserComment": "Commentare"
634635
},
635-
"Warning": "Avvertimento"
636-
}
636+
"Warning": "Avvertimento",
637+
"DesignerVersion": "Versione del designer",
638+
"BackendVersion": "Versione del backend",
639+
"DesignerAndBackendVersionMismatch": "Le versioni del designer e del backend non corrispondono!",
640+
"ClipboardAccessDenied": "L'accesso agli appunti è stato negato. Le informazioni vengono visualizzate nella console del browser."
641+
}

Designer/localization/pt.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,8 @@
553553
"ZoomIn": "ampliar",
554554
"ZoomOut": "reduzir",
555555
"ZoomPositionDefault": "Zoom padrão",
556-
"ZoomTo100": "Definir zoom para 100%"
556+
"ZoomTo100": "Definir zoom para 100%",
557+
"About": "Sobre o designer"
557558
},
558559
"TransitionAuto": "Auto",
559560
"TransitionFormLabel": {
@@ -632,5 +633,9 @@
632633
"TriggerType": "Tipo",
633634
"UserComment": "Comentario"
634635
},
635-
"Warning": "Aviso"
636-
}
636+
"Warning": "Aviso",
637+
"DesignerVersion": "Versão do designer",
638+
"BackendVersion": "Versão do backend",
639+
"DesignerAndBackendVersionMismatch": "As versões do Designer e do Backend não correspondem!",
640+
"ClipboardAccessDenied": "O acesso à área de transferência foi negado. As informações são exibidas no console do navegador."
641+
}

Designer/localization/ru.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,9 @@
554554
"ZoomIn": "Увеличить масштаб",
555555
"ZoomOut": "Уменьшить масштаб",
556556
"ZoomPositionDefault": "Масштабирование по умолчанию",
557-
"ZoomTo100": "Масштаб на 100%"
558-
},
557+
"ZoomTo100": "Масштаб на 100%",
558+
"About": "О дизайнере"
559+
},
559560
"TransitionAuto": "Авто",
560561
"TransitionFormLabel": {
561562
"ActionLabel": "Действие",
@@ -633,5 +634,9 @@
633634
"TriggerType": "Тип",
634635
"UserComment": "Комментарий"
635636
},
636-
"Warning": "Предупреждение"
637-
}
637+
"Warning": "Предупреждение",
638+
"DesignerVersion": "Версия дизайнера",
639+
"BackendVersion": "Версия бэкенда",
640+
"DesignerAndBackendVersionMismatch": "Версии дизайнера и бэкэнда не совпадают!",
641+
"ClipboardAccessDenied": "Доступ к буферу обмена отсутствует. Информация отображена в консоли браузера."
642+
}

Designer/localization/tr.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,8 @@
554554
"ZoomIn": "yakınlaştırmak",
555555
"ZoomOut": "uzaklaştırmak",
556556
"ZoomPositionDefault": "Yakınlaştırma varsayılanı",
557-
"ZoomTo100": "Yakınlaştırmayı 100 olarak ayarla%"
557+
"ZoomTo100": "Yakınlaştırmayı 100 olarak ayarla%",
558+
"About": "Tasarımcı Hakkında"
558559
},
559560
"TransitionAuto": "Oto",
560561
"TransitionFormLabel": {
@@ -633,5 +634,9 @@
633634
"TriggerType": "Tip",
634635
"UserComment": "Yorum"
635636
},
636-
"Warning": "Uyarı"
637-
}
637+
"Warning": "Uyarı",
638+
"DesignerVersion": "Tasarımcı versiyonu",
639+
"BackendVersion": "Arka uç versiyonu",
640+
"DesignerAndBackendVersionMismatch": "Tasarımcı ve Arka Uç sürümleri eşleşmiyor!",
641+
"ClipboardAccessDenied": "Panoya erişim reddedildi. Bilgiler tarayıcı konsolunda gösteriliyor."
642+
}

Designer/templates/toolbar.html

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
</el-menu-item>
4747
</el-submenu>
4848
<el-menu-item index="1-4" @click="showInstanceInfo">{{ labels.InstanceInfo }}</el-menu-item>
49+
<el-menu-item index="1-5" @click="showAbout">{{ labels.About }}</el-menu-item>
4950
</el-submenu>
5051
</el-menu>
5152

@@ -175,18 +176,36 @@
175176
</template>
176177
</span>
177178
</el-dialog>
179+
180+
<el-dialog
181+
:before-close="() => showAboutDialog = false"
182+
:modal-append-to-body="false"
183+
:title="labels.About"
184+
:visible="showAboutDialog"
185+
width="30%">
186+
<div style="user-select: text">{{ aboutDialogDesignerVersionText }}</div>
187+
<div style="user-select: text">{{ aboutDialogBackendVersionText }}</div>
188+
<span slot="footer" class="dialog-footer">
189+
<el-button @click="showAboutDialog = false">{{ labels.ButtonTextOk }}</el-button>
190+
</span>
191+
</el-dialog>
178192
</div>
193+
179194
<script type="application/javascript">
180195
function toolbar_Init(me) {
181196
const data = me.VueConfig.data;
182197
me.VueConfig.methods.UpdateLanguage = function () {
183198
data.labels = {
184199
...WorkflowDesignerConstants.ToolbarLabel,
185200
...WorkflowDesignerConstants.Logs,
201+
ButtonTextOk: WorkflowDesignerConstants.ButtonTextOk,
186202
ButtonTextYes: WorkflowDesignerConstants.ButtonTextYes,
187203
ButtonTextCancel: WorkflowDesignerConstants.ButtonTextCancel,
188204
InformationCopiedToClipboardAndConsole: WorkflowDesignerConstants.InformationCopiedToClipboardAndConsole,
189205
InformationLoggedToConsole: WorkflowDesignerConstants.InformationLoggedToConsole,
206+
DesignerVersion: WorkflowDesignerConstants.DesignerVersion,
207+
BackendVersion: WorkflowDesignerConstants.BackendVersion,
208+
ClipboardAccessDenied: WorkflowDesignerConstants.ClipboardAccessDenied
190209
};
191210
}
192211

@@ -204,7 +223,9 @@
204223
data.LogEnabled = false;
205224
data.language = {};
206225
data.languagesList = [];
207-
226+
data.aboutDialogDesignerVersionText = '';
227+
data.aboutDialogBackendVersionText = '';
228+
data.showAboutDialog = false;
208229
me.VueConfig.methods.changeLogEnabled = isProcess
209230
? designer.changelogenabled : me.graph.setLogEnabled;
210231

@@ -442,11 +463,23 @@
442463
console.info('Instance info', data)
443464

444465
const {notify} = me.VueConfig.methods;
445-
navigator.clipboard.writeText(data).then(
446-
() => notify(me.VueConfig.data.labels.InformationCopiedToClipboardAndConsole),
447-
() => notify(me.VueConfig.data.labels.InformationLoggedToConsole)
448-
);
466+
467+
// Checking if the Clipboard API is available
468+
if (navigator.clipboard) {
469+
navigator.clipboard.writeText(data).then(
470+
() => notify(me.VueConfig.data.labels.InformationCopiedToClipboardAndConsole)
471+
);
472+
} else {
473+
notify(me.VueConfig.data.labels.ClipboardAccessDenied, 'error');
474+
}
449475
})
450476
}
477+
478+
me.VueConfig.methods.showAbout = function () {
479+
const versionInfo = me.graph.designer?.getAbout();
480+
this.aboutDialogDesignerVersionText = me.VueConfig.data.labels.DesignerVersion + ": " + versionInfo.designerVersion;
481+
this.aboutDialogBackendVersionText = me.VueConfig.data.labels.BackendVersion + ": " + me.graph.designer.backendVersion;
482+
this.showAboutDialog = true;
483+
}
451484
}
452485
</script>

0 commit comments

Comments
 (0)