Skip to content

Commit 963714b

Browse files
committed
Merge branch 'codeforjapan:development' into feature/movieSelector
2 parents f1b1f58 + 0a21d89 commit 963714b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

nuxt.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const environment = process.env.NODE_ENV || 'development'
55

66
export default {
77
telemetry: false,
8-
ssr: false,
8+
ssr: true,
99
srcDir: 'src',
1010
/*
1111
** Headers of the page

src/assets/locales/zh_TW.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"agree": "我同意使用條款"
5959
},
6060
"buttons": {
61-
"agree": "前往註冊",
61+
"agree": "繼續註冊",
6262
"disagree": "不同意"
6363
}
6464
},

src/components/BaseInputField.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default Vue.extend({
142142
},
143143
computed: {
144144
prependIconColor(): string {
145-
const classIdPattern = /^[あ-]{6}$/
145+
const classIdPattern = /^[あ-んa-zㄅ-ㄩ]{6}$/
146146
if (this.type === 'classId') {
147147
if (!this.value || !classIdPattern.test(this.value)) return '#C01B61'
148148
}
@@ -162,7 +162,7 @@ export default Vue.extend({
162162
return '#BDBDBD'
163163
},
164164
textFieldColor(): string {
165-
const classIdPattern = /^[あ-]{6}$/
165+
const classIdPattern = /^[あ-んa-zㄅ-ㄩ]{6}$/
166166
if (this.type === 'classId') {
167167
if (!this.value || !classIdPattern.test(this.value)) return '#C01B61'
168168
}
@@ -179,7 +179,7 @@ export default Vue.extend({
179179
return '#0071C2'
180180
},
181181
prependIcon(): string {
182-
const classIdPattern = /^[あ-]{6}$/
182+
const classIdPattern = /^[あ-んa-zㄅ-ㄩ]{6}$/
183183
if (this.type === 'classId') {
184184
if (!this.value || !classIdPattern.test(this.value))
185185
return 'mdi-alert-circle'

src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
color="#FFDB6C"
2222
width="56px"
2323
height="56px"
24-
:disabled="!/^[あ-]{6}$/.test(classId)"
24+
:disabled="!/^[あ-んa-zㄅ-ㄩ]{6}$/.test(classId)"
2525
:loading="loading"
2626
@click="loginToClass"
2727
>

src/pages/user/agree.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
<p style="text-align: right">以上</p>
288288
</div>
289289
<label class="Checkbox-label">
290-
利用規約に同意します
290+
{{ $t('common.agree_terms.checkbox.agree') }}
291291
<input
292292
v-model="toggle"
293293
type="checkbox"
@@ -301,13 +301,13 @@
301301
:is-disabled="!isCheck"
302302
class="Button"
303303
theme="primary"
304-
text="登録へ進む"
304+
:text="$t('common.agree_terms.buttons.agree')"
305305
@click="$router.push(localePath('/user/signup'))"
306306
/>
307307
<base-action-button
308308
class="Button"
309309
theme="border"
310-
text="同意しない"
310+
:text="$t('common.agree_terms.buttons.disagree')"
311311
@click="$router.push(localePath('/'))"
312312
/>
313313
</div>

0 commit comments

Comments
 (0)