fix chinese i18n types (#2080)
This commit is contained in:
parent
08e843549c
commit
348f6f68cd
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const audio: BaseTranslation = {
|
const audio: NonNullable<Translation["audio"]> = {
|
||||||
manager: {
|
manager: {
|
||||||
reduce: "说话时降低音乐音量",
|
reduce: "说话时降低音乐音量",
|
||||||
allow: "播放声音",
|
allow: "播放声音",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const camera: BaseTranslation = {
|
const camera: NonNullable<Translation["camera"]> = {
|
||||||
enable: {
|
enable: {
|
||||||
title: "开启你的摄像头和麦克风",
|
title: "开启你的摄像头和麦克风",
|
||||||
start: "出发!",
|
start: "出发!",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const chat: BaseTranslation = {
|
const chat: NonNullable<Translation["chat"]> = {
|
||||||
intro: "聊天历史:",
|
intro: "聊天历史:",
|
||||||
enter: "输入消息...",
|
enter: "输入消息...",
|
||||||
menu: {
|
menu: {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const companion: BaseTranslation = {
|
const companion: NonNullable<Translation["companion"]> = {
|
||||||
select: {
|
select: {
|
||||||
title: "选择你的伙伴",
|
title: "选择你的伙伴",
|
||||||
any: "没有伙伴",
|
any: "没有伙伴",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const emoji: BaseTranslation = {
|
const emoji: NonNullable<Translation["emoji"]> = {
|
||||||
search: "搜索 emojis...",
|
search: "搜索 emojis...",
|
||||||
categories: {
|
categories: {
|
||||||
recents: "最近的 Emojis",
|
recents: "最近的 Emojis",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const error: BaseTranslation = {
|
const error: NonNullable<Translation["error"]> = {
|
||||||
accessLink: {
|
accessLink: {
|
||||||
title: "访问链接错误",
|
title: "访问链接错误",
|
||||||
subTitle: "找不到地图。请检查你的访问链接。",
|
subTitle: "找不到地图。请检查你的访问链接。",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const follow: BaseTranslation = {
|
const follow: NonNullable<Translation["follow"]> = {
|
||||||
interactStatus: {
|
interactStatus: {
|
||||||
following: "跟随 {leader}",
|
following: "跟随 {leader}",
|
||||||
waitingFollowers: "等待跟随者确认",
|
waitingFollowers: "等待跟随者确认",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import en_US from "../en-US";
|
||||||
|
import type { Translation } from "../i18n-types";
|
||||||
import audio from "./audio";
|
import audio from "./audio";
|
||||||
import camera from "./camera";
|
import camera from "./camera";
|
||||||
import chat from "./chat";
|
import chat from "./chat";
|
||||||
@ -13,7 +14,8 @@ import warning from "./warning";
|
|||||||
import emoji from "./emoji";
|
import emoji from "./emoji";
|
||||||
import trigger from "./trigger";
|
import trigger from "./trigger";
|
||||||
|
|
||||||
const zh_CN: BaseTranslation = {
|
const zh_CN: Translation = {
|
||||||
|
...(en_US as Translation),
|
||||||
language: "中文",
|
language: "中文",
|
||||||
country: "中国",
|
country: "中国",
|
||||||
audio,
|
audio,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const login: BaseTranslation = {
|
const login: NonNullable<Translation["login"]> = {
|
||||||
input: {
|
input: {
|
||||||
name: {
|
name: {
|
||||||
placeholder: "输入你的名字",
|
placeholder: "输入你的名字",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const menu: BaseTranslation = {
|
const menu: NonNullable<Translation["menu"]> = {
|
||||||
title: "菜单",
|
title: "菜单",
|
||||||
icon: {
|
icon: {
|
||||||
open: {
|
open: {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const report: BaseTranslation = {
|
const report: NonNullable<Translation["report"]> = {
|
||||||
block: {
|
block: {
|
||||||
title: "屏蔽",
|
title: "屏蔽",
|
||||||
content: "屏蔽任何来自 {userName} 的通信。该操作是可逆的。",
|
content: "屏蔽任何来自 {userName} 的通信。该操作是可逆的。",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const trigger: BaseTranslation = {
|
const trigger: NonNullable<Translation["trigger"]> = {
|
||||||
cowebsite: "按空格键或点击这里打开网页",
|
cowebsite: "按空格键或点击这里打开网页",
|
||||||
jitsiRoom: "按空格键或点击这里进入Jitsi Meet会议",
|
jitsiRoom: "按空格键或点击这里进入Jitsi Meet会议",
|
||||||
newTab: "按空格键或点击这里在新标签打开网页",
|
newTab: "按空格键或点击这里在新标签打开网页",
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
import { ADMIN_URL } from "../../Enum/EnvironmentVariable";
|
import { ADMIN_URL } from "../../Enum/EnvironmentVariable";
|
||||||
|
|
||||||
const upgradeLink = ADMIN_URL + "/pricing";
|
const upgradeLink = ADMIN_URL + "/pricing";
|
||||||
|
|
||||||
const warning: BaseTranslation = {
|
const warning: NonNullable<Translation["warning"]> = {
|
||||||
title: "警告!",
|
title: "警告!",
|
||||||
content: `该世界已接近容量限制!你可以 <a href="${upgradeLink}" target="_blank">点击这里</a> 升级它的容量`,
|
content: `该世界已接近容量限制!你可以 <a href="${upgradeLink}" target="_blank">点击这里</a> 升级它的容量`,
|
||||||
limit: "该世界已接近容量限制!",
|
limit: "该世界已接近容量限制!",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import type { BaseTranslation } from "../i18n-types";
|
import type { Translation } from "../i18n-types";
|
||||||
|
|
||||||
const woka: BaseTranslation = {
|
const woka: NonNullable<Translation["woka"]> = {
|
||||||
customWoka: {
|
customWoka: {
|
||||||
title: "自定义你的WOKA",
|
title: "自定义你的WOKA",
|
||||||
navigation: {
|
navigation: {
|
||||||
|
Loading…
Reference in New Issue
Block a user