From 1777070b46e33a6a5b651c5477416f854b164ad5 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 22 Jun 2020 18:33:51 -0400 Subject: [PATCH] Changing edit to save for some forms. Fixes #829 --- ui/src/components/comment-form.tsx | 2 +- ui/src/components/site-form.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index 79aa91bdd..d6641a79f 100644 --- a/ui/src/components/comment-form.tsx +++ b/ui/src/components/comment-form.tsx @@ -61,7 +61,7 @@ export class CommentForm extends Component { buttonTitle: !this.props.node ? capitalizeFirstLetter(i18n.t('post')) : this.props.edit - ? capitalizeFirstLetter(i18n.t('edit')) + ? capitalizeFirstLetter(i18n.t('save')) : capitalizeFirstLetter(i18n.t('reply')), previewMode: false, loading: false, diff --git a/ui/src/components/site-form.tsx b/ui/src/components/site-form.tsx index f0c80585e..43d24365d 100644 --- a/ui/src/components/site-form.tsx +++ b/ui/src/components/site-form.tsx @@ -78,7 +78,7 @@ export class SiteForm extends Component {
{`${ this.props.site - ? capitalizeFirstLetter(i18n.t('edit')) + ? capitalizeFirstLetter(i18n.t('save')) : capitalizeFirstLetter(i18n.t('name')) } ${i18n.t('your_site')}`}