Skip to content

Commit a41d90b

Browse files
authored
Merge pull request #1545 from easyops-cn/dophi/basic-i18n
fix(): i18n fix
2 parents 6eb9bad + 55f54c5 commit a41d90b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bricks/basic/src/data-providers/show-dialog/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export enum K {
66
}
77

88
const en: Locale = {
9-
OK: "Ok",
9+
OK: "OK",
1010
CANCEL: "Cancel",
1111
DELETE: "Delete",
1212
};

bricks/basic/src/data-providers/show-dialog/show-dialog.spec.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe("DialogComponent", () => {
101101
data-testid="dialog-confirm-button"
102102
slot="footer"
103103
>
104-
Ok
104+
OK
105105
</eo-button>
106106
</sl-dialog>
107107
</DocumentFragment>
@@ -161,7 +161,7 @@ describe("DialogComponent", () => {
161161
data-testid="dialog-confirm-button"
162162
slot="footer"
163163
>
164-
Ok
164+
OK
165165
</eo-button>
166166
</sl-dialog>
167167
</DocumentFragment>
@@ -217,7 +217,7 @@ describe("DialogComponent", () => {
217217
data-testid="dialog-confirm-button"
218218
slot="footer"
219219
>
220-
Ok
220+
OK
221221
</eo-button>
222222
</sl-dialog>
223223
</DocumentFragment>
@@ -344,7 +344,7 @@ describe("DialogComponent", () => {
344344
data-testid="dialog-confirm-button"
345345
slot="footer"
346346
>
347-
Ok
347+
OK
348348
</eo-button>
349349
</sl-dialog>
350350
</DocumentFragment>

0 commit comments

Comments
 (0)