Skip to content

Commit 4bab7b2

Browse files
committed
fix: english grammar error #200
1 parent f6712a8 commit 4bab7b2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

app/src/views/domain/DomainList.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ const columns: Column[] = [{
2929
const { text } = args
3030
if (text === true || text > 0) {
3131
template.push(<Badge status="success"/>)
32-
template.push($gettext('Enable'))
32+
template.push($gettext('Enabled'))
3333
}
3434
else {
3535
template.push(<Badge status="warning"/>)
36-
template.push($gettext('Disable'))
36+
template.push($gettext('Disabled'))
3737
}
3838
3939
return h('div', template)
@@ -119,15 +119,15 @@ watch(route, () => {
119119
size="small"
120120
@click="disable(record.name)"
121121
>
122-
{{ $gettext('Disabled') }}
122+
{{ $gettext('Disable') }}
123123
</AButton>
124124
<AButton
125125
v-else
126126
type="link"
127127
size="small"
128128
@click="enable(record.name)"
129129
>
130-
{{ $gettext('Enabled') }}
130+
{{ $gettext('Enable') }}
131131
</AButton>
132132
<ADivider type="vertical" />
133133
<AButton

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ require (
3434
golang.org/x/crypto v0.16.0
3535
gopkg.in/ini.v1 v1.67.0
3636
gorm.io/driver/sqlite v1.5.4
37-
gorm.io/gen v0.3.23
37+
gorm.io/gen v0.3.24
3838
gorm.io/gorm v1.25.5
3939
gorm.io/plugin/dbresolver v1.5.0
4040
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,6 +2523,8 @@ gorm.io/driver/sqlserver v1.4.1 h1:t4r4r6Jam5E6ejqP7N82qAJIJAht27EGT41HyPfXRw0=
25232523
gorm.io/driver/sqlserver v1.4.1/go.mod h1:DJ4P+MeZbc5rvY58PnmN1Lnyvb5gw5NPzGshHDnJLig=
25242524
gorm.io/gen v0.3.23 h1:TL+q3bXvOzeIXBRp9vqIaD4/iaEzdU1Kgy5QSHsxDEQ=
25252525
gorm.io/gen v0.3.23/go.mod h1:G9uxGfkfNFxPoOrV5P6KQxRMgZsQSCyp9vJP8xiKTGg=
2526+
gorm.io/gen v0.3.24 h1:yL1RrCySwTWTQpkUkt2FCe42Xub2eaZP2tM5EQoFBNU=
2527+
gorm.io/gen v0.3.24/go.mod h1:G9uxGfkfNFxPoOrV5P6KQxRMgZsQSCyp9vJP8xiKTGg=
25262528
gorm.io/gorm v1.23.8/go.mod h1:l2lP/RyAtc1ynaTjFksBde/O8v9oOGIApu2/xRitmZk=
25272529
gorm.io/gorm v1.24.7-0.20230306060331-85eaf9eeda11/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=
25282530
gorm.io/gorm v1.25.0/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k=

0 commit comments

Comments
 (0)