feat(navigation): hard-switch to Zibll navigation and Font Awesome 5
This commit is contained in:
1 parent
3c3ddac8be
commit
a0b84977a2
630 files changed
+101647
-11293
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export const i18nSchema = {
|
||||
key: 'global.i18n',
|
||||
title: '多语言翻译',
|
||||
icon: 'fas fa-language',
|
||||
icon: 'fa fas fa-language',
|
||||
description: '配置站点语言、语言切换器和翻译管理。',
|
||||
defaults: {
|
||||
i18n_enabled: false,
|
||||
@@ -16,7 +16,7 @@ export const i18nSchema = {
|
||||
{
|
||||
key: 'basic',
|
||||
title: '基础配置',
|
||||
icon: 'fas fa-globe',
|
||||
icon: 'fa fas fa-globe',
|
||||
fields: [
|
||||
{ key: 'i18n_enabled', label: '启用多语言', type: 'switch', default: false, help: '开启后站点将支持多语言切换' },
|
||||
{
|
||||
@@ -43,7 +43,7 @@ export const i18nSchema = {
|
||||
{
|
||||
key: 'languages',
|
||||
title: '语言管理',
|
||||
icon: 'fas fa-language',
|
||||
icon: 'fa fas fa-language',
|
||||
fields: [
|
||||
{ key: 'i18n_available_langs', label: '可用语言列表', type: 'textarea', default: 'zh-CN|简体中文\nen|English\nzh-TW|繁體中文\nja|日本語\nko|한국어\nfr|Français\nde|Deutsch\nes|Español\nru|Русский', dependsOn: { key: 'i18n_enabled', value: true }, help: '每行一个语言:语言代码|显示名称(9 种内置语言)' },
|
||||
{ key: 'i18n_nomenclature', label: '自定义术语', type: 'code', default: '', dependsOn: { key: 'i18n_enabled', value: true }, help: 'JSON 格式自定义翻译术语(key => 翻译),对齐 zibll nomenclature' },
|
||||
@@ -52,7 +52,7 @@ export const i18nSchema = {
|
||||
{
|
||||
key: 'display',
|
||||
title: '展示设置',
|
||||
icon: 'fas fa-eye',
|
||||
icon: 'fa fas fa-eye',
|
||||
fields: [
|
||||
{
|
||||
key: 'i18n_switcher_position',
|
||||
|
||||
Reference in new issue
Block a user