Sense T b583720223 Squashed commit of the following:
commit 1e92328a0fc570fe9419ad5dbaaef77f7dc9ad2e
Author: Sense T <me@sense-t.eu.org>
Date:   Mon Apr 15 21:52:44 2024 +0800

    yes, react it!

commit 09fffff6139b4cecb81cb1444139f225e95e8917
Author: Sense T <me@sense-t.eu.org>
Date:   Mon Apr 15 17:33:26 2024 +0800

    actions to be done

commit 1611b0b338cfd965d15f43fb10308bc56015895f
Author: Sense T <me@sense-t.eu.org>
Date:   Mon Apr 15 15:22:08 2024 +0800

    modal needed.

commit 88453e7382618fb6774ff1cc4c0f7045d4dfcf46
Author: Sense T <me@sense-t.eu.org>
Date:   Mon Apr 15 10:52:13 2024 +0800

    Domain View done

commit 8cedca27c79ca2ba69c8777dfcb6019799875e31
Author: Sense T <me@sense-t.eu.org>
Date:   Sun Apr 14 21:24:14 2024 +0800

    domain delete modal done

commit 60cd00c0cad0774bae5b57bcfc4723a29d28d221
Author: Sense T <me@sense-t.eu.org>
Date:   Sun Apr 14 07:55:11 2024 +0800

    1

commit 285853e988db6e6a6371135869da0129fd73afd7
Author: Sense T <me@sense-t.eu.org>
Date:   Sat Apr 13 17:29:43 2024 +0800

    eslint

commit 8f0ffbf744fd85a612daacd7bd6cbc45d58907d3
Author: Sense T <me@sense-t.eu.org>
Date:   Sat Apr 13 17:20:50 2024 +0800

    f

commit 9762b632225f185d83388e58d93ed49f62fe6b3f
Author: Sense T <me@sense-t.eu.org>
Date:   Sat Apr 13 17:08:37 2024 +0800

    views, components to be done

commit 321e5255f2b1e705844179dd910d5f5a1ae58298
Author: Sense T <me@sense-t.eu.org>
Date:   Sat Apr 13 14:29:04 2024 +0800

    prepare for react
2024-04-15 21:53:09 +08:00

97 lines
2.6 KiB
TypeScript

export default {
common: {
delete: 'Remove',
remove: 'Remove',
deleteConfirm: 'Are you sure?',
removeConfirm: 'Are you sure?',
edit: 'Edit',
add: 'New',
new: 'New',
cancel: 'Cancel',
confirm: 'OK',
mandatory: 'This field is mandatory',
unitForSecond: 'Second(s)'
},
api: {
error400: {
title: 'Bad Request (400)',
content: 'Bad Parameters'
},
error401: {
title: 'Unauthorized (401)',
content: 'Refresh page and relogin'
},
error403: {
title: 'Forbbiden (403)',
content: 'Permission denied'
},
error404: {
title: 'Not Found (404)',
content: 'No such content'
},
error500: {
title: "Internal Server Error (500)",
content: "Check server log, please"
},
errorUnknown: {
title: "Unknown Error",
content: "Open console for details",
}
},
domains: {
'_': 'Domain',
dnsRecord: 'DNS Record',
delete: 'Remove Domain',
deleteHint: 'All records of this domain will be WIPED!',
confirm1: 'Please input',
confirm2: 'for comfirmation',
form: {
adminMail: 'Admin Email',
mainDNS: 'Main DNS',
},
errors: {
domainName: 'Invalid domain name',
mail: 'Invalid email',
}
},
records: {
'_': 'Record',
name: 'Resource Record',
recordType: 'Type',
content: 'Record',
search: 'Search...',
refresh: 'Refresh Interval',
retry: 'Retry Interval',
expire: 'Expiry Period',
ttl: 'Negative TTL',
form: {
text: 'Text',
host: 'Host',
preference: 'Preference',
priority: 'Priority',
weight: 'Weight',
port: 'Port',
target: 'Target',
flag: 'Flag',
tag: 'Tag',
value: 'Value'
},
errors: {
endWithDot: 'should end with a dot',
hasSpace: 'shoule have no space',
badIPv4: 'invalid IPv4 address',
badIPv6: 'invalid IPv6 address',
badEmail: 'no @ for this email address',
badName: {
dotAndMinus: 'should not start or end with "." "-"',
doubleDots: 'should have no contianus "."',
logerThan63: 'should not longer than 63 characters splited by "."'
}
}
}
}