benjamin5607 commited on
Commit
c925ccf
·
verified ·
1 Parent(s): 75f911e

Update utils/lang.py

Browse files
Files changed (1) hide show
  1. utils/lang.py +39 -18
utils/lang.py CHANGED
@@ -11,16 +11,21 @@ STRINGS = {
11
  "loading": "신령님과 접선 중...",
12
  "analyzing": "데이터 분석 중...",
13
  "result_title": "상담 결과",
14
- "tarot_topic": "고민 주제", # <-- 여기가 문제였음
15
  "tarot_placeholder": "예: 썸타는 사람이 있는데 연락이 안 와요.",
16
- "tarot_pick_btn": "🎴 운명의 카드 3장 뽑기",
 
17
  "retry_btn": "🔄 다시 상담하기",
18
  "fengshui_info": "정통 본명궁법(Life Gua)으로 방위를 계산합니다.",
19
- "birth_year": "연도",
 
20
  "gender": "성별",
 
21
  "door_dir": "현관 방향",
22
- "shaman_warn": "거짓으로 적으면 점괘 안 나온다! 똑바로 적어라.",
23
- "saju_result": "명식"
 
 
24
  },
25
  "English": {
26
  "sidebar_title": "Enter Pantheon",
@@ -32,18 +37,24 @@ STRINGS = {
32
  "loading": "Connecting to spirits...",
33
  "analyzing": "Analyzing destiny data...",
34
  "result_title": "Reading Result",
35
- "tarot_topic": "Topic", # <-- 추가됨
36
  "tarot_placeholder": "Ex: Will I get a promotion?",
37
- "tarot_pick_btn": "🎴 Draw 3 Cards",
 
38
  "retry_btn": "🔄 Retry",
39
  "fengshui_info": "Calculating directions based on Life Gua.",
40
- "birth_year": "Birth Year",
 
41
  "gender": "Gender",
 
42
  "door_dir": "Door Direction",
43
- "shaman_warn": "Do not lie about your birthday!",
 
 
44
  "saju_result": "Saju Chart"
45
  },
46
- "中文": {
 
47
  "sidebar_title": "进入万神殿",
48
  "select_persona": "请选择大师",
49
  "personas": {"tarot": "塔罗大师", "fengshui": "风水大师", "shaman": "神婆 (四柱)"},
@@ -53,15 +64,20 @@ STRINGS = {
53
  "loading": "正在通灵...",
54
  "analyzing": "正在分析数据...",
55
  "result_title": "咨询结果",
56
- "tarot_topic": "主题", # <-- 추가됨
57
  "tarot_placeholder": "例如:我会发财吗?",
58
- "tarot_pick_btn": "🎴 抽取3张牌",
 
59
  "retry_btn": "🔄 重试",
60
  "fengshui_info": "根据本命卦计算吉凶方位。",
61
- "birth_year": "出生年份",
 
62
  "gender": "性别",
 
63
  "door_dir": "大门方向",
64
- "shaman_warn": "不要撒谎!输入准确的生日。",
 
 
65
  "saju_result": "四柱命盘"
66
  },
67
  "日本語": {
@@ -74,15 +90,20 @@ STRINGS = {
74
  "loading": "精霊と交信中...",
75
  "analyzing": "データを分析中...",
76
  "result_title": "鑑定結果",
77
- "tarot_topic": "テーマ", # <-- 추가됨
78
  "tarot_placeholder": "例:いつ結婚できますか?",
79
- "tarot_pick_btn": "🎴 カードを3枚く",
 
80
  "retry_btn": "🔄 もう一度",
81
  "fengshui_info": "本命卦に基づいて吉凶の方角を計算します。",
82
- "birth_year": "生まれ年",
 
83
  "gender": "性別",
 
84
  "door_dir": "玄関の方向",
85
- "shaman_warn": "嘘をつくな!正確な生年月日を入れろ。",
 
 
86
  "saju_result": "四柱推命"
87
  }
88
  }
 
11
  "loading": "신령님과 접선 중...",
12
  "analyzing": "데이터 분석 중...",
13
  "result_title": "상담 결과",
14
+ "tarot_topic": "고민 주제",
15
  "tarot_placeholder": "예: 썸타는 사람이 있는데 연락이 안 와요.",
16
+ "tarot_pick_inst": "아래 카드 중 마음에 드는 3장 직접 선택하세요.",
17
+ "tarot_selected": "선택된 카드",
18
  "retry_btn": "🔄 다시 상담하기",
19
  "fengshui_info": "정통 본명궁법(Life Gua)으로 방위를 계산합니다.",
20
+ "birth_date": "생년월일",
21
+ "birth_time": "태어난 시간",
22
  "gender": "성별",
23
+ "calendar_type": "양력/음력",
24
  "door_dir": "현관 방향",
25
+ "head_dir": "침대 머리 방향",
26
+ "floor": "거주 층수",
27
+ "shaman_warn": "사주팔자는 시각까지 정확해야 한다. 거짓말 하지 마라.",
28
+ "saju_result": "명식 분석"
29
  },
30
  "English": {
31
  "sidebar_title": "Enter Pantheon",
 
37
  "loading": "Connecting to spirits...",
38
  "analyzing": "Analyzing destiny data...",
39
  "result_title": "Reading Result",
40
+ "tarot_topic": "Topic",
41
  "tarot_placeholder": "Ex: Will I get a promotion?",
42
+ "tarot_pick_inst": "Please click on 3 cards to draw.",
43
+ "tarot_selected": "Cards Selected",
44
  "retry_btn": "🔄 Retry",
45
  "fengshui_info": "Calculating directions based on Life Gua.",
46
+ "birth_date": "Date of Birth",
47
+ "birth_time": "Time of Birth",
48
  "gender": "Gender",
49
+ "calendar_type": "Calendar Type",
50
  "door_dir": "Door Direction",
51
+ "head_dir": "Sleeping Head Dir",
52
+ "floor": "Floor Level",
53
+ "shaman_warn": "Exact birth time is required for Saju.",
54
  "saju_result": "Saju Chart"
55
  },
56
+ # (중국어, 일본어는 분량상 생략하지만, 위 패턴대로 키값만 맞추면 됩니다)
57
+ "中文": {
58
  "sidebar_title": "进入万神殿",
59
  "select_persona": "请选择大师",
60
  "personas": {"tarot": "塔罗大师", "fengshui": "风水大师", "shaman": "神婆 (四柱)"},
 
64
  "loading": "正在通灵...",
65
  "analyzing": "正在分析数据...",
66
  "result_title": "咨询结果",
67
+ "tarot_topic": "主题",
68
  "tarot_placeholder": "例如:我会发财吗?",
69
+ "tarot_pick_inst": "请点击选择3张牌",
70
+ "tarot_selected": "已选卡牌",
71
  "retry_btn": "🔄 重试",
72
  "fengshui_info": "根据本命卦计算吉凶方位。",
73
+ "birth_date": "出生日期",
74
+ "birth_time": "出生时间",
75
  "gender": "性别",
76
+ "calendar_type": "阴历/阳历",
77
  "door_dir": "大门方向",
78
+ "head_dir": "床头方向",
79
+ "floor": "居住楼层",
80
+ "shaman_warn": "不要撒谎!输入准确的生日和时间。",
81
  "saju_result": "四柱命盘"
82
  },
83
  "日本語": {
 
90
  "loading": "精霊と交信中...",
91
  "analyzing": "データを分析中...",
92
  "result_title": "鑑定結果",
93
+ "tarot_topic": "テーマ",
94
  "tarot_placeholder": "例:いつ結婚できますか?",
95
+ "tarot_pick_inst": "カードを3枚選んでクリックしてださい。",
96
+ "tarot_selected": "選択済み",
97
  "retry_btn": "🔄 もう一度",
98
  "fengshui_info": "本命卦に基づいて吉凶の方角を計算します。",
99
+ "birth_date": "生年月日",
100
+ "birth_time": "生まれた時間",
101
  "gender": "性別",
102
+ "calendar_type": "陽暦/陰暦",
103
  "door_dir": "玄関の方向",
104
+ "head_dir": "枕の向き",
105
+ "floor": "居住階",
106
+ "shaman_warn": "正確な生年月日と時間を入れろ。",
107
  "saju_result": "四柱推命"
108
  }
109
  }