fix(i18n): translate world1/world2 platform labels in interview tool display

This commit is contained in:
ghostubborn 2026-04-01 18:38:22 +08:00
parent 5072a2eaa8
commit c6cafdd532
3 changed files with 8 additions and 4 deletions

View File

@ -1516,7 +1516,7 @@ const InterviewDisplay = {
h('line', { x1: '2', y1: '12', x2: '22', y2: '12' }),
h('path', { d: 'M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z' })
]),
h('span', {}, '世界1')
h('span', {}, t('step4.world1'))
]),
h('button', {
class: ['platform-btn', { active: currentPlatform === 'reddit' }],
@ -1525,7 +1525,7 @@ const InterviewDisplay = {
h('svg', { class: 'platform-icon', viewBox: '0 0 24 24', width: 12, height: 12, fill: 'none', stroke: 'currentColor', 'stroke-width': 2 }, [
h('path', { d: 'M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z' })
]),
h('span', {}, '世界2')
h('span', {}, t('step4.world2'))
])
])
]),

View File

@ -245,7 +245,9 @@
"panelSearchResults": "Search Results",
"emptySearchResults": "No results found",
"panelRelatedEdges": "Related Edges",
"panelRelatedNodes": "Related Nodes"
"panelRelatedNodes": "Related Nodes",
"world1": "World 1",
"world2": "World 2"
},
"step5": {
"interactiveTools": "Interactive Tools",

View File

@ -245,7 +245,9 @@
"panelSearchResults": "搜索结果",
"emptySearchResults": "未找到相关结果",
"panelRelatedEdges": "相关关系",
"panelRelatedNodes": "相关节点"
"panelRelatedNodes": "相关节点",
"world1": "世界1",
"world2": "世界2"
},
"step5": {
"interactiveTools": "Interactive Tools",