]> Untitled Git - lemmy.git/commitdiff
Changing edit to save for some forms. Fixes #829
authorDessalines <tyhou13@gmx.com>
Mon, 22 Jun 2020 22:33:51 +0000 (18:33 -0400)
committerDessalines <tyhou13@gmx.com>
Mon, 22 Jun 2020 22:33:51 +0000 (18:33 -0400)
ui/src/components/comment-form.tsx
ui/src/components/site-form.tsx

index 79aa91bdd061720a2095da203e6dd2ce8a6e8788..d6641a79fc75ea4aed1fe38fe08ae47e509fafc4 100644 (file)
@@ -61,7 +61,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
     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,
index f0c80585e5dea23c8c791b1108fff636043ba12a..43d24365d6f5c4c4780b38d218ff26769a078c37 100644 (file)
@@ -78,7 +78,7 @@ export class SiteForm extends Component<SiteFormProps, SiteFormState> {
         <form onSubmit={linkEvent(this, this.handleCreateSiteSubmit)}>
           <h5>{`${
             this.props.site
-              ? capitalizeFirstLetter(i18n.t('edit'))
+              ? capitalizeFirstLetter(i18n.t('save'))
               : capitalizeFirstLetter(i18n.t('name'))
           } ${i18n.t('your_site')}`}</h5>
           <div class="form-group row">