diff --git a/public/locales/en-US/translation.json b/public/locales/en-US/translation.json
index c864c6a..a947712 100644
--- a/public/locales/en-US/translation.json
+++ b/public/locales/en-US/translation.json
@@ -110,15 +110,14 @@
"props": {
"icon": {
"displayName": "Icon",
- "noentry": "No Entry",
"train": "Train",
"metro": "Metro",
"monorail": "Monorail",
"ct": "Chongqing Railway Group",
"crt": "Chongqing Rail Transit",
"cr": "China Railway",
- "exit1": "Exit_1",
- "exit2": "Exit_2",
+ "exit1": "Exit (1)",
+ "exit2": "Exit (2)",
"elevator": "Accessible Elevator",
"waitingroom": "Waiting Room",
"toilet": "Restroom",
@@ -129,8 +128,19 @@
"women_color": "Women's Room (Color)",
"toilet_color": "Restroom (Color)",
"thirdtoilet_color": "Third Gender Toilet (Color)",
- "ticket": "Ticketing/Top-up",
- "checkin": "Self-service Check-in"
+ "ticket_machine": "Self-service Ticket Machine",
+ "check_in": "Automatic Check In",
+ "coach": "Long Distance Bus",
+ "bus": "Bus",
+ "parking": "Parking",
+ "emergency_exit": "Emergency Exit",
+ "escalator": "Escalator",
+ "maimai": "Maimai",
+ "no_entry": "No Entry",
+ "nursing_room": "Nursing Room",
+ "stairs": "Stairs",
+ "taxi": "Taxi",
+ "tickets": "Tickets"
},
"rotation": "Rotation Angle",
"background": "Background Color",
@@ -334,7 +344,6 @@
"props": {
"icon": {
"displayName": "Icon",
- "noentry": "No Entry",
"train": "Train",
"cdrt": "Chengdu Metro",
"exit1": "Exit (1)",
@@ -342,10 +351,8 @@
"elevator": "Accessible Elevator",
"waitingroom": "Waiting Room",
"toilet": "Restroom",
- "ticket": "Ticketing/Top-up",
- "checkin": "Self-service Check-in",
- "stairs": "Stairs",
- "autostair": "Auto Stair",
+ "ticket_machine": "Self-service Ticket Machine",
+ "check_in": "Automatic Check In",
"coach": "Coach",
"bus": "Bus",
"parking": "Parking",
@@ -356,7 +363,15 @@
"men_color": "Men's Room (Color)",
"women_color": "Women's Room (Color)",
"toilet_color": "Restroom (Color)",
- "thirdtoilet_color": "Third Gender Toilet (Color)"
+ "thirdtoilet_color": "Third Gender Toilet (Color)",
+ "emergency_exit": "Emergency Exit",
+ "escalator": "Escalator",
+ "maimai": "Maimai",
+ "no_entry": "No Entry",
+ "nursing_room": "Nursing Room",
+ "stairs": "Stairs",
+ "taxi": "Taxi",
+ "tickets": "Tickets"
},
"background": "Background Color",
"foreground": "Foreground Color",
diff --git a/public/locales/ja-JP/translation.json b/public/locales/ja-JP/translation.json
index 26c6a3f..a6cc16b 100644
--- a/public/locales/ja-JP/translation.json
+++ b/public/locales/ja-JP/translation.json
@@ -110,7 +110,6 @@
"props": {
"icon": {
"displayName": "アイコン",
- "noentry": "通行禁止",
"train": "乗車",
"metro": "地下鉄",
"monorail": "モノレール",
@@ -129,8 +128,19 @@
"women_color": "女性用トイレ(カラー)",
"toilet_color": "トイレ(カラー)",
"thirdtoilet_color": "多目的トイレ(カラー)",
- "ticket": "券売機/チャージ",
- "checkin": "セルフ改札"
+ "ticket_machine": "券売機/チャージ",
+ "check_in": "セルフ改札",
+ "coach": "長距離バス",
+ "bus": "バス",
+ "parking": "駐車場",
+ "emergency_exit": "緊急出口",
+ "escalator": "エスカレーター",
+ "maimai": "マイマイ",
+ "no_entry": "進入禁止",
+ "nursing_room": "授乳室",
+ "stairs": "階段",
+ "taxi": "タクシー",
+ "tickets": "券売/チャージ"
},
"rotation": "回転角度",
"background": "背景色",
@@ -334,7 +344,6 @@
"props": {
"icon": {
"displayName": "アイコン",
- "noentry": "通行禁止",
"train": "乗車",
"cdrt": "成都地下鉄",
"exit1": "出口(1)",
@@ -342,10 +351,8 @@
"elevator": "バリアフリーエレベーター",
"waitingroom": "待合室",
"toilet": "トイレ",
- "ticket": "券売機/チャージ",
- "checkin": "セルフ改札",
- "stairs": "階段",
- "autostair": "自動階段",
+ "ticket_machine": "券売機/チャージ",
+ "check_in": "セルフ改札",
"coach": "長距離バス",
"bus": "バス",
"parking": "駐車場",
@@ -356,7 +363,15 @@
"men_color": "男性用トイレ(カラー)",
"women_color": "女性用トイレ(カラー)",
"toilet_color": "トイレ(カラー)",
- "thirdtoilet_color": "多目的トイレ(カラー)"
+ "thirdtoilet_color": "多目的トイレ(カラー)",
+ "emergency_exit": "緊急出口",
+ "escalator": "エスカレーター",
+ "maimai": "マイマイ",
+ "no_entry": "進入禁止",
+ "nursing_room": "授乳室",
+ "stairs": "階段",
+ "taxi": "タクシー",
+ "tickets": "券売/チャージ"
},
"background": "背景色",
"foreground": "前景色",
diff --git a/public/locales/ko-KR/translation.json b/public/locales/ko-KR/translation.json
index e531c01..e07fa56 100644
--- a/public/locales/ko-KR/translation.json
+++ b/public/locales/ko-KR/translation.json
@@ -110,15 +110,14 @@
"props": {
"icon": {
"displayName": "아이콘",
- "noentry": "통행 금지",
"train": "승차",
"metro": "지하철",
"monorail": "모노레일",
"ct": "충칭철도그룹",
"crt": "충칭 궤도교통",
"cr": "중국철로",
- "exit1": "출구 1",
- "exit2": "출구 2",
+ "exit1": "출구 (1)",
+ "exit2": "출구 (2)",
"elevator": "무장애 엘리베이터",
"waitingroom": "대기실",
"toilet": "화장실",
@@ -129,8 +128,19 @@
"women_color": "여자 화장실 (컬러)",
"toilet_color": "화장실 (컬러)",
"thirdtoilet_color": "성중립 화장실 (컬러)",
- "ticket": "매표/충전",
- "checkin": "셀프 개찰"
+ "ticket_machine": "자동 발매/충전",
+ "check_in": "셀프 개찰",
+ "coach": "시외버스",
+ "bus": "버스",
+ "parking": "주차장",
+ "emergency_exit": "비상구",
+ "escalator": "에스컬레이터",
+ "maimai": "마이마이",
+ "no_entry": "출입 금지",
+ "nursing_room": "수유실",
+ "stairs": "계단",
+ "taxi": "택시",
+ "tickets": "매표/충전"
},
"rotation": "회전 각도",
"background": "배경색",
@@ -334,7 +344,6 @@
"props": {
"icon": {
"displayName": "아이콘",
- "noentry": "통행 금지",
"train": "승차",
"cdrt": "청두 지하철",
"exit1": "출구 (1)",
@@ -342,10 +351,8 @@
"elevator": "무장애 엘리베이터",
"waitingroom": "대기실",
"toilet": "화장실",
- "ticket": "매표/충전",
- "checkin": "셀프 개찰",
- "stairs": "계단",
- "autostair": "자동 계단",
+ "ticket_machine": "자동 발매/충전",
+ "check_in": "셀프 개찰",
"coach": "고속버스",
"bus": "버스",
"parking": "주차장",
@@ -356,7 +363,15 @@
"men_color": "남자 화장실 (컬러)",
"women_color": "여자 화장실 (컬러)",
"toilet_color": "화장실 (컬러)",
- "thirdtoilet_color": "성중립 화장실 (컬러)"
+ "thirdtoilet_color": "성중립 화장실 (컬러)",
+ "emergency_exit": "비상구",
+ "escalator": "에스컬레이터",
+ "maimai": "마이마이",
+ "no_entry": "출입 금지",
+ "nursing_room": "수유실",
+ "stairs": "계단",
+ "taxi": "택시",
+ "tickets": "매표/충전"
},
"background": "배경색",
"foreground": "전경색",
diff --git a/public/locales/zh-CN/translation.json b/public/locales/zh-CN/translation.json
index 76ab795..7b852c8 100644
--- a/public/locales/zh-CN/translation.json
+++ b/public/locales/zh-CN/translation.json
@@ -110,7 +110,6 @@
"props": {
"icon": {
"displayName": "图标",
- "noentry": "禁止通行",
"train": "乘车",
"metro": "地铁",
"monorail": "单轨",
@@ -127,14 +126,21 @@
"women_color": "女卫生间(彩色)",
"toilet_color": "卫生间(彩色)",
"thirdtoilet_color": "第三卫生间(彩色)",
- "ticket": "售票/加值",
- "checkin": "自助检票",
+ "ticket_machine": "自助售票/加值",
+ "check_in": "自助检票",
"exit1": "出口(1)",
"exit2": "出口(2)",
- "autostair": "自动扶梯",
"coach": "长途客车",
"bus": "公交车",
- "parking": "停车场"
+ "parking": "停车场",
+ "emergency_exit": "紧急出口",
+ "escalator": "自动扶梯",
+ "maimai": "舞萌",
+ "no_entry": "禁止通行",
+ "nursing_room": "哺乳室",
+ "stairs": "楼梯",
+ "taxi": "出租车",
+ "tickets": "售票/加值"
},
"rotation": "旋转角度",
"background": "背景色",
@@ -338,7 +344,6 @@
"props": {
"icon": {
"displayName": "图标",
- "noentry": "禁止通行",
"train": "乘车",
"cdrt": "成都地铁",
"exit1": "出口(1)",
@@ -346,10 +351,8 @@
"elevator": "无障碍电梯",
"waitingroom": "等候室",
"toilet": "卫生间",
- "ticket": "售票/加值",
- "checkin": "自助检票",
- "stairs": "楼梯",
- "autostair": "自动扶梯",
+ "ticket_machine": "自助售票/加值",
+ "check_in": "自助检票",
"coach": "长途客车",
"bus": "公交车",
"parking": "停车场",
@@ -360,7 +363,15 @@
"men_color": "男卫生间(彩色)",
"women_color": "女卫生间(彩色)",
"toilet_color": "卫生间(彩色)",
- "thirdtoilet_color": "第三卫生间(彩色)"
+ "thirdtoilet_color": "第三卫生间(彩色)",
+ "emergency_exit": "紧急出口",
+ "escalator": "自动扶梯",
+ "maimai": "舞萌",
+ "no_entry": "禁止通行",
+ "nursing_room": "哺乳室",
+ "stairs": "楼梯",
+ "taxi": "出租车",
+ "tickets": "售票/加值"
},
"background": "背景色",
"foreground": "前景色",
diff --git a/public/locales/zh-TW/translation.json b/public/locales/zh-TW/translation.json
index c633b60..7861876 100644
--- a/public/locales/zh-TW/translation.json
+++ b/public/locales/zh-TW/translation.json
@@ -110,7 +110,6 @@
"props": {
"icon": {
"displayName": "圖標",
- "noentry": "禁止通行",
"train": "乘車",
"metro": "地鐵",
"monorail": "單軌",
@@ -129,8 +128,19 @@
"women_color": "女衛生間(彩色)",
"toilet_color": "衛生間(彩色)",
"thirdtoilet_color": "第三衛生間(彩色)",
- "ticket": "售票/加值",
- "checkin": "自助檢票"
+ "ticket_machine": "自助售票/加值",
+ "check_in": "自助檢票",
+ "coach": "長途客車",
+ "bus": "公交車",
+ "parking": "停車場",
+ "emergency_exit": "緊急出口",
+ "escalator": "手扶梯",
+ "maimai": "舞萌",
+ "no_entry": "禁止通行",
+ "nursing_room": "哺乳室",
+ "stairs": "樓梯",
+ "taxi": "計程車",
+ "tickets": "售票/加值"
},
"rotation": "旋轉角度",
"background": "背景色",
@@ -334,7 +344,6 @@
"props": {
"icon": {
"displayName": "圖標",
- "noentry": "禁止通行",
"train": "乘車",
"cdrt": "成都地鐵",
"exit1": "出口(1)",
@@ -342,10 +351,8 @@
"elevator": "無障礙電梯",
"waitingroom": "等候室",
"toilet": "衛生間",
- "ticket": "售票/加值",
- "checkin": "自助檢票",
- "stairs": "樓梯",
- "autostair": "自動扶梯",
+ "ticket_machine": "自助售票/加值",
+ "check_in": "自助檢票",
"coach": "長途客車",
"bus": "公交車",
"parking": "停車場",
@@ -356,7 +363,15 @@
"men_color": "男衛生間(彩色)",
"women_color": "女衛生間(彩色)",
"toilet_color": "衛生間(彩色)",
- "thirdtoilet_color": "第三衛生間(彩色)"
+ "thirdtoilet_color": "第三衛生間(彩色)",
+ "emergency_exit": "緊急出口",
+ "escalator": "手扶梯",
+ "maimai": "舞萌",
+ "no_entry": "禁止通行",
+ "nursing_room": "哺乳室",
+ "stairs": "樓梯",
+ "taxi": "計程車",
+ "tickets": "售票/加值"
},
"background": "背景色",
"foreground": "前景色",
diff --git a/src/components/themes/chengdu/Icon.tsx b/src/components/themes/chengdu/Icon.tsx
index cf157b9..2298f1f 100644
--- a/src/components/themes/chengdu/Icon.tsx
+++ b/src/components/themes/chengdu/Icon.tsx
@@ -4,8 +4,8 @@ import type { EditorConfig } from "../../../interfaces/editor";
import CustomColorPicker from "../../CustomColorPicker";
import Exit1 from "./icons/exit1";
-import CheckIn from "./icons/checkin";
-import Ticket from "./icons/ticket";
+import CheckIn from "./icons/check-in";
+import TicketMachine from "./icons/ticket-machine";
import Train from "./icons/train";
import Bus from "./icons/bus";
import CR from "./icons/cr";
@@ -22,6 +22,14 @@ import MenColor from "./icons/men-color";
import WomenColor from "./icons/women-color";
import ToiletColor from "./icons/toilet-color";
import ThirdToiletColor from "./icons/thirdtoilet-color";
+import EmergencyExit from "./icons/emergency-exit";
+import Escalator from "./icons/escalator";
+import Maimai from "./icons/maimai";
+import NoEntry from "./icons/no-entry";
+import NursingRoom from "./icons/nursing-room";
+import Stairs from "./icons/stairs";
+import Taxi from "./icons/taxi";
+import Tickets from "./icons/tickets";
export const regicons = [
{
@@ -37,11 +45,11 @@ export const regicons = [
component: Exit2,
},
{
- label: "themes.chengdu.components.Icon.props.icon.ticket",
- component: Ticket,
+ label: "themes.chengdu.components.Icon.props.icon.ticket_machine",
+ component: TicketMachine,
},
{
- label: "themes.chengdu.components.Icon.props.icon.checkin",
+ label: "themes.chengdu.components.Icon.props.icon.check_in",
component: CheckIn,
},
{
@@ -100,6 +108,38 @@ export const regicons = [
label: "themes.chengdu.components.Icon.props.icon.thirdtoilet_color",
component: ThirdToiletColor,
},
+ {
+ label: "themes.chengdu.components.Icon.props.icon.emergency_exit",
+ component: EmergencyExit,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.escalator",
+ component: Escalator,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.maimai",
+ component: Maimai,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.no_entry",
+ component: NoEntry,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.nursing_room",
+ component: NursingRoom,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.stairs",
+ component: Stairs,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.taxi",
+ component: Taxi,
+ },
+ {
+ label: "themes.chengdu.components.Icon.props.icon.tickets",
+ component: Tickets,
+ }
];
export interface IconProps {
diff --git a/src/components/themes/chengdu/icons/check-in.tsx b/src/components/themes/chengdu/icons/check-in.tsx
new file mode 100644
index 0000000..f177b69
--- /dev/null
+++ b/src/components/themes/chengdu/icons/check-in.tsx
@@ -0,0 +1,46 @@
+import type { IconProps } from "../Icon";
+
+const CheckIn = ({ background, foreground, rotation }: IconProps) => {
+ return (
+
+ );
+};
+
+export default CheckIn;
diff --git a/src/components/themes/chengdu/icons/checkin.tsx b/src/components/themes/chengdu/icons/checkin.tsx
deleted file mode 100644
index ab9cff0..0000000
--- a/src/components/themes/chengdu/icons/checkin.tsx
+++ /dev/null
@@ -1,89 +0,0 @@
-const Checkin: React.FC<
- React.SVGProps & {
- rotation?: number;
- background?: string;
- foreground?: string;
- }
-> = ({
- rotation = 0,
- background = "#fff",
- foreground = "currentColor",
- style,
- ...props
-}) => {
- const mergedStyle = {
- transform: `rotate(${rotation}deg)`,
- transformOrigin: "center",
- ...(style as any),
- };
- return (
-
- );
-};
-
-export default Checkin;
diff --git a/src/components/themes/chengdu/icons/cr.tsx b/src/components/themes/chengdu/icons/cr.tsx
index c6119e9..df52d38 100644
--- a/src/components/themes/chengdu/icons/cr.tsx
+++ b/src/components/themes/chengdu/icons/cr.tsx
@@ -1,63 +1,34 @@
-import colors from "../define/colors";
+import type { IconProps } from "../Icon";
-interface IconProps {
- foreground?: string;
- background?: string;
-}
-
-const CR = ({
- foreground = colors.foreground,
- background = colors.background,
-}: IconProps) => {
+const CR = ({ background, foreground, rotation }: IconProps) => {
return (
-