From: Dessalines Date: Mon, 22 Jun 2020 22:33:51 +0000 (-0400) Subject: Changing edit to save for some forms. Fixes #829 X-Git-Url: http://these/git/readmes/static/%7B%60/css/themes/%7Bthis.imageSrc%7D?a=commitdiff_plain;h=1777070b46e33a6a5b651c5477416f854b164ad5;p=lemmy.git Changing edit to save for some forms. Fixes #829 --- diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index 79aa91bd..d6641a79 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 f0c80585..43d24365 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')}`}