OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use correct js.error namespace
Oliver Günther0c4cff0bb011
diff --git a/frontend/src/app/ckeditor/ckeditor-augmented-textarea.component.ts b/frontend/src/app/ckeditor/ckeditor-augmented-textarea.component.tsindex 811912debdf..e21c3516291 100644--- a/frontend/src/app/ckeditor/ckeditor-augmented-textarea.component.ts+++ b/frontend/src/app/ckeditor/ckeditor-augmented-textarea.component.ts@@ -127,7 +127,7 @@ export class CkeditorAugmentedTextareaComponent implements OnInit, OnDestroy {this.wrappedTextArea.val(this.ckEditorInstance.getRawData());} catch (e) {console.error(`Failed to save CKEditor body to textarea: ${e}.`);- this.Notifications.addError(e || this.I18n.t('js.errors.internal'));+ this.Notifications.addError(e || this.I18n.t('js.error.internal'));// Avoid submission of the formreturn false;diff --git a/frontend/src/app/modules/common/ckeditor/op-ckeditor.component.ts b/frontend/src/app/modules/common/ckeditor/op-ckeditor.component.tsindex 2874d32c248..d0e03b7f996 100644--- a/frontend/src/app/modules/common/ckeditor/op-ckeditor.component.ts+++ b/frontend/src/app/modules/common/ckeditor/op-ckeditor.component.ts@@ -126,7 +126,7 @@ export class OpCkeditorComponent implements OnInit, OnDestroy {console.error(`Failed to save CKEditor content: ${e}.`);let error = this.I18n.t('js.editor.error_saving_failed',- {error: e || this.I18n.t('js.errors.internal')}+ {error: e || this.I18n.t('js.error.internal')});if (notificationOnError) {