![]()
- 취소
+ {{ $t('common.actions.cancel') }}
- 크롭 완료
+ {{ $t('view.signature.actions.cropDone') }}
@@ -444,31 +444,31 @@ export default {
headers: [
{
- text: '캔',
+ text: this.$t('view.signature.headers.can'),
align: 'center',
sortable: false,
value: 'can',
},
{
- text: '19금',
+ text: this.$t('view.signature.headers.adult'),
align: 'center',
sortable: false,
value: 'isAdult',
},
{
- text: '이미지',
+ text: this.$t('view.signature.headers.image'),
align: 'center',
sortable: false,
value: 'image',
},
{
- text: '시간(초)',
+ text: this.$t('view.signature.headers.timeSec'),
align: 'center',
sortable: false,
value: 'time',
},
{
- text: '관리',
+ text: this.$t('view.signature.headers.actions'),
align: 'center',
sortable: false,
value: 'management',
@@ -565,9 +565,9 @@ export default {
this.can === 0 ||
this.image === null
) {
- this.notifyError('내용을 입력하세요')
+ this.notifyError(this.$t('view.signature.validation.fillRequired'))
} else if (this.time < 3 || this.time > 20) {
- this.notifyError('시간은 3초 이상 20초 이하를 입력하세요.')
+ this.notifyError(this.$t('view.signature.validation.timeRange'))
} else {
this.submit()
}
@@ -622,7 +622,7 @@ export default {
this.total_page = total_page
}
} catch (e) {
- this.notifyError("알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.")
+ this.notifyError(this.$t('common.error.unknown'))
} finally {
this.is_loading = false
}
@@ -643,16 +643,16 @@ export default {
const res = await api.createSignature(formData)
if (res.status === 200 && res.data.success === true) {
this.cancel()
- this.notifySuccess(res.data.message || '등록되었습니다.')
+ this.notifySuccess(res.data.message || this.$t('view.signature.messages.created'))
this.page = 1
await this.getSignatureList()
} else {
this.is_loading = false
- this.notifyError(res.data.message || '알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(res.data.message || this.$t('common.error.unknown'))
}
} catch (e) {
- this.notifyError('알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(this.$t('common.error.unknown'))
this.is_loading = false
} finally {
this.is_loading = false
@@ -666,7 +666,7 @@ export default {
this.can === this.selected_signature_can.can &&
this.time === this.selected_signature_can.time
) {
- this.notifyError('변경사항이 없습니다.')
+ this.notifyError(this.$t('view.signature.messages.noChanges'))
return;
}
@@ -697,16 +697,16 @@ export default {
const res = await api.modifySignature(formData)
if (res.status === 200 && res.data.success === true) {
this.cancel()
- this.notifySuccess(res.data.message || '수정되었습니다.')
+ this.notifySuccess(res.data.message || this.$t('view.signature.messages.updated'))
this.page = 1
await this.getSignatureList()
} else {
this.is_loading = false
- this.notifyError(res.data.message || '알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(res.data.message || this.$t('common.error.unknown'))
}
} catch (e) {
- this.notifyError('알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(this.$t('common.error.unknown'))
this.is_loading = false
} finally {
this.is_loading = false
@@ -726,16 +726,16 @@ export default {
const res = await api.modifySignature(formData)
if (res.status === 200 && res.data.success === true) {
this.cancel()
- this.notifySuccess(res.data.message || '등록되었습니다.')
+ this.notifySuccess(res.data.message || this.$t('view.signature.messages.deleted'))
this.page = 1
await this.getSignatureList()
} else {
this.is_loading = false
- this.notifyError(res.data.message || '알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(res.data.message || this.$t('common.error.unknown'))
}
} catch (e) {
- this.notifyError('알 수 없는 오류가 발생했습니다. 다시 시도해 주세요.')
+ this.notifyError(this.$t('common.error.unknown'))
this.is_loading = false
} finally {
this.is_loading = false