refactor: follow review of @alina-beck + @mattwr18

This commit is contained in:
roschaefer 2019-10-02 15:49:04 +02:00
parent 263b7d0aea
commit 56ce95a6fd
4 changed files with 3 additions and 8 deletions

View File

@ -175,8 +175,7 @@
"explanation": "Das kann verschiedene Ursachen haben:", "explanation": "Das kann verschiedene Ursachen haben:",
"reason": { "reason": {
"invalid-nonce": "Ist der Bestätigungscode falsch?", "invalid-nonce": "Ist der Bestätigungscode falsch?",
"no-email-request": "Wurde gar keine Änderung der E-Mail Adresse angefragt?", "no-email-request": "Bist du dir sicher, dass du eine Änderung deiner E-Mail Adresse angefragt hattest?"
"email-address-taken": "Wurde die E-Mail inzwischen einem anderen Benutzer zugewiesen?"
} }
} }
}, },

View File

@ -175,8 +175,7 @@
"explanation": "This can have different causes:", "explanation": "This can have different causes:",
"reason": { "reason": {
"invalid-nonce": "Is the confirmation code invalid?", "invalid-nonce": "Is the confirmation code invalid?",
"no-email-request": "You haven't requested a change of your email address at all?", "no-email-request": "Are you certain that you requested a change of your email address?"
"email-address-taken": "Has the email been assigned to another user in the meantime?"
}, },
"support": "If the problem persists, please contact us by email at" "support": "If the problem persists, please contact us by email at"
} }

View File

@ -19,7 +19,7 @@
<ds-space class="backendErrors" v-if="backendErrors"> <ds-space class="backendErrors" v-if="backendErrors">
<ds-text align="center" bold color="danger">{{ backendErrors.message }}</ds-text> <ds-text align="center" bold color="danger">{{ backendErrors.message }}</ds-text>
</ds-space> </ds-space>
<ds-button class="submit-button" icon="check" :disabled="errors" type="submit" primary> <ds-button icon="check" :disabled="errors" type="submit" primary>
{{ $t('actions.save') }} {{ $t('actions.save') }}
</ds-button> </ds-button>
</template> </template>

View File

@ -27,9 +27,6 @@
<ds-list-item> <ds-list-item>
{{ $t(`settings.email.verification-error.reason.no-email-request`) }} {{ $t(`settings.email.verification-error.reason.no-email-request`) }}
</ds-list-item> </ds-list-item>
<ds-list-item>
{{ $t(`settings.email.verification-error.reason.email-address-taken`) }}
</ds-list-item>
</ds-list> </ds-list>
{{ $t('settings.email.verification-error.support') }} {{ $t('settings.email.verification-error.support') }}
<a href="mailto:support@human-connection.org">support@human-connection.org</a> <a href="mailto:support@human-connection.org">support@human-connection.org</a>