File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ msgid "Clear Filters"
140140msgstr "フィルターをクリア"
141141
142142# Common swal labels
143+ msgid "OK"
144+ msgstr "わかりました"
145+
143146msgid "Cancel"
144147msgstr "取り消す"
145148
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments