Skip to content

Commit da155b5

Browse files
author
lorisadmin
committed
Errata.
1 parent 78ab3ea commit da155b5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

locale/ja/LC_MESSAGES/loris.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ msgid "Clear Filters"
140140
msgstr "フィルターをクリア"
141141

142142
# Common swal labels
143+
msgid "OK"
144+
msgstr "わかりました"
145+
143146
msgid "Cancel"
144147
msgstr "取り消す"
145148

modules/new_profile/jsx/NewProfileIndex.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ class NewProfileIndex extends React.Component {
8585
if (formData.dobDate !== formData.dobDateConfirm) {
8686
swal.fire({
8787
title: this.props.t('Error!', {ns: 'loris'}),
88-
text: this.props.t('Date of Birth fields must match', {ns: 'new_profile'}),
88+
text: this.props.t('Date of Birth fields must match',
89+
{ns: 'new_profile'}),
8990
type: 'error',
9091
confirmButtonText: t('OK', {ns: 'loris'}),
9192
});
@@ -110,6 +111,7 @@ class NewProfileIndex extends React.Component {
110111
* @param {event} e - Form submission event
111112
*/
112113
handleSubmit(e) {
114+
const {t} = this.props;
113115
e.preventDefault();
114116
const match = this.validateMatchDate();
115117
if (!match) {

0 commit comments

Comments
 (0)