This commit is contained in:
feie9454 2025-08-18 16:45:09 +08:00
parent 7d67285804
commit b37a8f8475
7 changed files with 30 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -369,7 +369,6 @@ const zh_TW : typeof zh_CN = {
button: new URL("@/assets/imgs/home/button_zhtw.png", import.meta.url).href,
intro: new URL("@/assets/imgs/home/intro_zhtw.png", import.meta.url).href,
},
// 以下為您提供的譯文,已修正格式
game: {
agree: "非常準確",
disagree: "非常不準確",
@ -393,7 +392,7 @@ const zh_TW : typeof zh_CN = {
"B2": "我善於管理壓力,能迅速走出挫折,保持積極樂觀。",
"B3": "我遇到困難不輕易放棄,追尋並享受挑戰帶來的刺激與鼓勵。",
"B4": "在情勢不明朗時,我能保持冷靜與沉著,帶領成功到來。",
"B5": "我懂得接受無法避免的失敗,俯瞰全局,並嘗試規下一步。",
"B5": "我懂得接受無法避免的失敗,俯瞰全局,並嘗試規下一步。",
"C1": "我善於與他人建立關係,支持並推動團隊之間的合作。",
"C2": "我總以真誠待人,直接表達尊重和欣賞。",
@ -468,7 +467,7 @@ const zh_TW : typeof zh_CN = {
title: "你的 5 大潛能評分",
// 參照 zh 物件補全並翻譯
subtitle: "此報告旨在呈現你各維度潛能的分佈比例\n助你了解核心優勢與短板",
tagLabel: "已獲得如下潛能標籤:",
tagLabel: "已獲得如下潛能標籤:",
footnote: "標籤組合稀有度*",
footnote2: "*潛能標籤組合出現的機率不超過",
rare: {
@ -650,7 +649,7 @@ const ko: typeof zh_CN = {
"UR": "UR",
},
onlyForYou: "*참고용",
slideDown: "아래로 스크롤하여 로레알 5대 잠재력에 대한 정의를 확인하고\n최종 리포트를 받아보세요",
slideDown: "아래로 스크롤하여 로레알 5 Potentials 에 대한 정의를 확인하고\n최종 리포트를 받아보세요",
slideUp: new URL("@/assets/imgs/result/slide-up-notice_ko.png", import.meta.url).href,
ratingExplanation: new URL("@/assets/imgs/result/rating-explanation_ko.png", import.meta.url).href,
actions: {
@ -735,7 +734,7 @@ const ja: typeof zh_CN = {
// B4: 不確かな状況でも冷静さを失わず、成功へと導きます。 -> 不確かな状況においても冷静に成功へと導ける。
"B4": "不確かな状況においても冷静に成功へと導ける。",
// B5: 避けられない失敗を受け入れ、広い視野を保ち、次のアクションを計画する術を知っています。 -> 失敗も受け入れ、次のやるべきことを計画する術を知っている。
"B5": "失敗も受け入れ、次のやるべきことを計画する術を知っている。",
"B5": "失敗を受け入れ、次にやるべきことを計画する術を知っている。",
// C1: 他者とのつながりを築くのが得意で、チーム間のコラボレーションを醸成します。 -> 周囲のひととの関係構築を築くのが得意で、チーム間のコラボレーションを醸成する。
"C1": "周囲のひととの関係構築を築くのが得意で、チーム間のコラボレーションを醸成する。",
// C2: 常に誠実に相手と向き合い、尊敬と感謝の気持ちを率直に伝えることができます。 -> 常に相手と誠実に向き合い、尊敬と感謝の気持ちを率直に伝えることができる。
@ -816,7 +815,7 @@ const ja: typeof zh_CN = {
result: {
title: "あなたの5つのポテンシャルスコア",
subtitle: "このレポートは、あなたの各ポテンシャルの分布比率を示し、\nあなたの強みと改善点を理解するのに役立ちます",
tagLabel: "次のポテンシャルタグを取得しました:",
tagLabel: "以下のポテンシャルタグを取得しました",
footnote: "タグ組み合わせのレア度*",
footnote2: "*タグの組み合わせの出現率は以下です",
rare: {

View File

@ -6,6 +6,8 @@ body {
background-color: #ffffff;
}
body,
input,
textarea,
@ -13,6 +15,14 @@ button {
font-family: 'LOREAL Essentielle', 'AR NewcuheiGB';
}
html:not(:lang(zh-CN)) body,
html:not(:lang(zh-CN)) input,
html:not(:lang(zh-CN)) textarea,
html:not(:lang(zh-CN)) button {
font-family: 'LOREAL Essentielle', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
appearance: none;

View File

@ -77,9 +77,12 @@ function jumpEn() {
</div>
<div class="left-title">
<img :src="imgs.icons[topDimension]" alt="">
<span v-if="$i18n.locale.includes('zh')" class="zh-title"
<span v-if="$i18n.locale.includes('CN')" class="zh-title"
v-for="c in lang.zh_CN.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else-if="$i18n.locale.includes('TW')" class="zh-title"
v-for="c in lang.zh_TW.questionData.DimensionName[topDimension].split('')">
{{ c }}</span>
<span v-else class="en-title">
{{ lang.en.questionData.DimensionName[topDimension] }}
</span>
@ -96,7 +99,8 @@ function jumpEn() {
</div>
</div>
<div class="bottom">
<Tags :top-five-traits="topFiveTraits" :username="t('you')"
<Tags :top-five-traits="topFiveTraits"
:username="($i18n.locale.includes('ko') || $i18n.locale.includes('ja')) ? '' : t('you')"
:border-color="DimensionColors[topDimension]"
:rarity="rarity" />
<div class="imgs">
@ -169,13 +173,15 @@ function jumpEn() {
width: 100%;
position: relative;
top: -.25rem;
p {
margin: 0;
margin-block-end: 1lh;
text-indent: 2em;
text-wrap: pretty;
&[lang="zh_CN"], &[lang="zh_TW"] {
&[lang="zh_CN"],
&[lang="zh_TW"] {
@include font(.80rem, 1.45, pre-wrap);
}
@ -216,6 +222,7 @@ function jumpEn() {
height: 100%;
position: relative;
aspect-ratio: 574/411;
&>div {
height: 100%;
width: 100%;
@ -232,6 +239,7 @@ function jumpEn() {
left: 50%;
transform: translate(-50%, -50%);
}
.botton {
position: absolute;
inset: 0;

View File

@ -127,7 +127,7 @@ const lightProps = [{
:subtitle="'OF POTENTIAL'" />
<Tags class="tags" :top-five-traits="topFiveTraits"
:username="t('you')" border-color="#ffffff"
:username="($i18n.locale.includes('ko')||$i18n.locale.includes('ja')) ? '' : t('you')" border-color="#ffffff"
:style="{ opacity: opacityDuration }" :rarity="rarity" />
<div class="slide-down" :style="{ opacity: opacityDuration }"
:lang="$i18n.locale">