Skip to content

Commit a86ea8d

Browse files
committed
Localize more-block-themes
1 parent b96f882 commit a86ea8d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"theme-dark": "Dark",
3+
"theme-transparent": "Transparent",
4+
"theme-ultradark": "Ultradark"
5+
}

features/more-block-themes/script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export default async function ({ feature, console }) {
1212

1313
let THEMES = [
1414
{
15-
name: "Dark",
15+
name: feature.msg("theme-dark"),
1616
id: "dark",
1717
},
1818
{
19-
name: "Transparent",
19+
name: feature.msg("theme-transparent"),
2020
id: "transparent",
2121
},
2222
{
23-
name: "Ultradark",
23+
name: feature.msg("theme-ultradark"),
2424
id: "ultradark",
2525
},
2626
];

0 commit comments

Comments
 (0)