diff --git a/src/app/article/basic-editor/basic-editor.component.ts b/src/app/article/basic-editor/basic-editor.component.ts index a0d7206..4530f85 100644 --- a/src/app/article/basic-editor/basic-editor.component.ts +++ b/src/app/article/basic-editor/basic-editor.component.ts @@ -40,7 +40,7 @@ export class BasicEditorComponent { }).then((response: noosfero.RestResult) => { let article = (response.data); this.$state.go('main.profile.page', { page: article.path, profile: article.profile.identifier }); - this.notification.success({ title: "Good job!", message: "Article saved!" }); + this.notification.success({ title: "article.basic_editor.success.title", message: "article.basic_editor.success.message" }); }); } diff --git a/src/app/article/basic-editor/basic-editor.html b/src/app/article/basic-editor/basic-editor.html index 1b3cf7a..e56406d 100644 --- a/src/app/article/basic-editor/basic-editor.html +++ b/src/app/article/basic-editor/basic-editor.html @@ -3,15 +3,15 @@
- - + +
- +
- - + +
diff --git a/src/languages/en.json b/src/languages/en.json index 8a350b4..543cbe9 100644 --- a/src/languages/en.json +++ b/src/languages/en.json @@ -35,5 +35,11 @@ "comment.pagination.more": "More", "comment.post.success.title": "Good job!", "comment.post.success.message": "Comment saved!", - "comment.reply": "reply" + "comment.reply": "reply", + "article.basic_editor.title": "Title", + "article.basic_editor.body": "Body", + "article.basic_editor.save": "Save", + "article.basic_editor.cancel": "Cancel", + "article.basic_editor.success.title": "Good job!", + "article.basic_editor.success.message": "Article saved!" } diff --git a/src/languages/pt.json b/src/languages/pt.json index 1b685a0..f171f36 100644 --- a/src/languages/pt.json +++ b/src/languages/pt.json @@ -35,5 +35,11 @@ "comment.pagination.more": "Mais", "comment.post.success.title": "Bom trabalho!", "comment.post.success.message": "Comentário salvo com sucesso!", - "comment.reply": "responder" + "comment.reply": "responder", + "article.basic_editor.title": "Título", + "article.basic_editor.body": "Corpo", + "article.basic_editor.save": "Salvar", + "article.basic_editor.cancel": "Cancelar", + "article.basic_editor.success.title": "Bom trabalho!", + "article.basic_editor.success.message": "Artigo salvo com sucesso!" } -- libgit2 0.21.2