Skip to content

Commit

Permalink
feature(nyz): add gender in user tag
Browse files Browse the repository at this point in the history
  • Loading branch information
PaParaZz1 committed May 7, 2024
1 parent f009da4 commit 063c3bb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/empty-screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ if (lang === 'zh') {
texts.welcome = '欢迎来到 PsyDI!'
texts.intro1 = "您好,我是由 "
texts.intro2 = "开发的 MBTI 测评 AI 智能体,希望通过轻松的对话,共同探索您独特的个性和倾向。"
texts.intro3 = "为了更好地了解您,我会先询问您最近的一些想法,然后邀请您完成一个简单有趣的测试。这将帮助我捕捉到您珍贵的内在世界。基于对您的了解,我会进一步提出问题来探寻您内在的动机,您只需要放松地选出最让您感到舒适的选项。最终,我们将一起解读测试结果,生成定制虚拟人格形象,帮助您更好地发现自我。"
texts.intro3 = "为了更好地了解您,我会先询问您最近的一些想法,然后邀请您完成一个简单有趣的测试。这将帮助我捕捉到您珍贵的内在世界。基于对您的了解,我会进一步提出问题来探寻您内在的动机,您只需要放松地选出最让您感到舒适的选项。最终,我们将一起解读测试结果,生成定制虚拟人格形象,帮助您更好地发现自我。(为获得最佳体验,请在浏览器中打开)"
texts.start = "现在开始测试(入口)"
texts.examples = "经典人物测试样例"
texts.outsideLinkErrorInfo = "敬请期待"
} else if (lang === 'en') {
texts.welcome = 'Welcome to PsyDI!'
texts.intro1 = "Hi, I am an MBTI Agent developed by "
texts.intro2 = ". I hope to explore your unique personality and tendencies through a relaxed conversation."
texts.intro3 = "You can start a MBTI exploration with your posts or try the following examples:"
texts.intro3 = "To better understand you, I will first ask you about your recent thoughts and then invite you to complete a simple and fun test. This will help me capture your precious inner world. Based on my understanding of you, I will ask further questions to explore your inner motivations, and you just need to relax and choose the option that makes you most comfortable. Finally, we will interpret the test results together, generate a customized virtual personality image to help you better discover yourself. (For the best experience, please open in a browser)"
texts.start = "Start the test now (Entry)"
texts.examples = "Classic character test examples"
texts.outsideLinkErrorInfo = "Coming soon"
Expand Down
13 changes: 9 additions & 4 deletions components/user-portrait.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ var texts: Texts = {
}
if (lang === 'zh') {
texts.title = "在进入测试之前,PsyDI 将先为您构筑一个简明的人格画像,请尽可能选择与您相符的标签。(默认单选,兴趣爱好和个性标签可多选)"
texts.sectionNames = ["年龄段(单选)", "地区(单选)", "职业(单选)", "生活态度(单选)", "科技态度(单选)", "兴趣爱好(多选)", "个性标签(多选)", "您的标签"]
texts.backendSectionNames = ["年龄", "地区", "职业", "生活态度", "对待科技态度", "爱好", "个性标签"]
texts.sectionNames = ["年龄段(单选)", "地区(单选)", "职业(单选)", "性别(单选,只影响最终人物形象图性别)", "生活态度(单选)", "科技态度(单选)", "兴趣爱好(多选)", "个性标签(多选)", "您的标签"]
texts.backendSectionNames = ["年龄", "地区", "职业", "性别", "生活态度", "对待科技态度", "爱好", "个性标签"]
texts.skip = "跳过【个性化标签】章节"
texts.finalHint = "再次点击标签以取消选择,点击右下箭头进入对话"
texts.tagErrorInfo = '请先取消已选标签再选择新标签'
} else if (lang === 'en') {
texts.title = "Before entering the test, PsyDI will first build a concise personality portrait for you. Please select the tags that match you as much as possible. (Default single selection, multiple choices for hobbies and personality tags)"
texts.sectionNames = ["Age group (single selection)", "Region (single selection)", "Occupation (single selection)", "Life attitude (single selection)", "Attitude towards technology (single selection)", "Hobbies (multiple selection)", "Personality tags (multiple selection)", "Your tags"]
texts.backendSectionNames = ["Age", "Region", "Occupation", "Life attitude", "Attitude towards technology", "Hobbies", "Personality tags"]
texts.sectionNames = ["Age group (single selection)", "Region (single selection)", "Occupation (single selection)", "Gender (single selection, only affects the final image)", "Life attitude (single selection)", "Attitude towards technology (single selection)", "Hobbies (multiple selection)", "Personality tags (multiple selection)", "Your tags"]
texts.backendSectionNames = ["Age", "Region", "Occupation", "Gender", "Life attitude", "Attitude towards technology", "Hobbies", "Personality tags"]
texts.skip = "Skip this section and go directly to the test (The customization level of the test will be reduced)"
texts.finalHint = "Click the tag again to cancel the selection. Click the arrow in the lower right corner to enter the next section"
texts.tagErrorInfo = 'Please cancel the selected tags before selecting new tags'
Expand Down Expand Up @@ -70,6 +70,11 @@ const initialTags: Tag[][] = [
{ id: 4, name: '自由职业', selected: false},
{ id: 5, name: '其他', selected: false},
],
[
{ id: 1, name: '男性', selected: false},
{ id: 2, name: '女性', selected: false},
{ id: 3, name: '其他', selected: false},
],
[
{ id: 1, name: '环保主义者', selected: false},
{ id: 2, name: '极简主义', selected: false},
Expand Down

0 comments on commit 063c3bb

Please sign in to comment.