Tweet i18n

This commit is contained in:
LeoKu 2022-07-29 00:01:18 +08:00
parent 8844b9b42a
commit 134928023d
4 changed files with 17 additions and 18 deletions

View File

@ -46,20 +46,6 @@
:key="s.widgetType"
:title="t(`widgetType.${s.widgetType}`)"
>
<ul class="widget-list">
<li
v-for="it in s.widgetList"
:key="it.widgetShape"
class="list-item"
:class="{
selected:
it.widgetShape === avatarOption.widgets?.[s.widgetType]?.shape,
}"
@click="switchWidget(s.widgetType, it.widgetShape)"
v-html="it.svgRaw"
/>
</ul>
<details
v-if="
s.widgetType === WidgetType.Tops ||
@ -79,6 +65,20 @@
</li>
</ul>
</details>
<ul class="widget-list">
<li
v-for="it in s.widgetList"
:key="it.widgetShape"
class="list-item"
:class="{
selected:
it.widgetShape === avatarOption.widgets?.[s.widgetType]?.shape,
}"
@click="switchWidget(s.widgetType, it.widgetShape)"
v-html="it.svgRaw"
/>
</ul>
</SectionWrapper>
</div>
</PerfectScrollbar>
@ -253,7 +253,7 @@ function setWidgetColor(widgetType: WidgetType, fillColor: string) {
}
.color-picker {
margin-top: 1rem;
margin: 1rem 0 0.5rem 0;
summary {
color: darken(var.$color-text, 20);

View File

@ -227,7 +227,6 @@ async function make() {
padding: 0 1rem;
color: var.$color-text;
font-weight: bold;
letter-spacing: 0.1rem;
background: var.$color-gray;
border-radius: 0.4rem;
border-radius: 0.6rem;

View File

@ -8,7 +8,7 @@ export default {
code: 'code',
randomize: 'Randomize',
download: 'Download',
downloadMultiple: 'Download multiple',
downloadMultiple: 'Generate multiple',
copyCode: 'Copy',
copied: 'Copied',
downloading: 'Downloading',

View File

@ -8,7 +8,7 @@ export default {
code: '配置代码',
randomize: '随机生成',
download: '下载头像',
downloadMultiple: '批量下载',
downloadMultiple: '批量生成',
copyCode: '复制代码',
copied: '已复制',
downloading: '准备下载',