mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-06 22:37:37 +08:00
chore(banner): add '& more / 等' to Black Friday banner copy
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"Ends in": "距结束",
|
||||
"Countdown day unit": "天",
|
||||
"Black Friday lowest of the year! ": "黑五全年最低价!",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5、DeepSeek v4.1 Flash 无限畅用",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5、DeepSeek v4.1 Flash 等无限畅用",
|
||||
" · Up to 50% off": " · 会员低至5折",
|
||||
"Claim offer": "领取优惠",
|
||||
"Close campaign banner": "关闭活动 Banner",
|
||||
@@ -40,7 +40,7 @@
|
||||
"Ends in": "終了まで",
|
||||
"Countdown day unit": "日",
|
||||
"Black Friday lowest of the year! ": "ブラックフライデー今年最安!",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5、DeepSeek v4.1 Flash 使い放題",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5、DeepSeek v4.1 Flash など使い放題",
|
||||
" · Up to 50% off": " · プラン最大50%オフ",
|
||||
"Claim offer": "特典を見る",
|
||||
"Close campaign banner": "キャンペーンバナーを閉じる",
|
||||
@@ -76,7 +76,7 @@
|
||||
"Ends in": "종료까지",
|
||||
"Countdown day unit": "일",
|
||||
"Black Friday lowest of the year! ": "블랙 프라이데이 연중 최저가! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5, DeepSeek v4.1 Flash 무제한",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash 등 무제한",
|
||||
" · Up to 50% off": " · 멤버십 최대 50% 할인",
|
||||
"Claim offer": "혜택 받기",
|
||||
"Close campaign banner": "캠페인 배너 닫기",
|
||||
@@ -112,7 +112,7 @@
|
||||
"Ends in": "Endet in",
|
||||
"Countdown day unit": "Tg.",
|
||||
"Black Friday lowest of the year! ": "Black Friday Bestpreis des Jahres! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5, DeepSeek v4.1 Flash unbegrenzt",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash u. v. m. unbegrenzt",
|
||||
" · Up to 50% off": " · Bis zu 50 % Rabatt",
|
||||
"Claim offer": "Angebot sichern",
|
||||
"Close campaign banner": "Aktionsbanner schließen",
|
||||
@@ -148,7 +148,7 @@
|
||||
"Ends in": "Fin dans",
|
||||
"Countdown day unit": "j",
|
||||
"Black Friday lowest of the year! ": "Black Friday — Meilleurs prix de l’année ! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5, DeepSeek v4.1 Flash illimités",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash et plus illimités",
|
||||
" · Up to 50% off": " · Jusqu’à -50 %",
|
||||
"Claim offer": "Voir l’offre",
|
||||
"Close campaign banner": "Fermer la bannière de la campagne",
|
||||
@@ -184,7 +184,7 @@
|
||||
"Ends in": "До конца",
|
||||
"Countdown day unit": "д",
|
||||
"Black Friday lowest of the year! ": "Чёрная пятница — лучшие цены года! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Безлимит Seedream 5.5, DeepSeek v4.1 Flash",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Безлимит Seedream 5.5, DeepSeek v4.1 Flash и др.",
|
||||
" · Up to 50% off": " · Скидки до 50%",
|
||||
"Claim offer": "Забрать скидку",
|
||||
"Close campaign banner": "Закрыть баннер акции",
|
||||
@@ -220,7 +220,7 @@
|
||||
"Ends in": "Termina en",
|
||||
"Countdown day unit": "d",
|
||||
"Black Friday lowest of the year! ": "¡Black Friday, mejores precios del año! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5 y DeepSeek v4.1 Flash ilimitados",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash y más ilimitados",
|
||||
" · Up to 50% off": " · Hasta 50% dto.",
|
||||
"Claim offer": "Ver oferta",
|
||||
"Close campaign banner": "Cerrar banner de la campaña",
|
||||
@@ -256,7 +256,7 @@
|
||||
"Ends in": "Termina em",
|
||||
"Countdown day unit": "d",
|
||||
"Black Friday lowest of the year! ": "Black Friday: menores preços do ano! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5 e DeepSeek v4.1 Flash ilimitados",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash e mais ilimitados",
|
||||
" · Up to 50% off": " · Até 50% off",
|
||||
"Claim offer": "Resgatar oferta",
|
||||
"Close campaign banner": "Fechar banner da campanha",
|
||||
@@ -292,7 +292,7 @@
|
||||
"Ends in": "Scade tra",
|
||||
"Countdown day unit": "g",
|
||||
"Black Friday lowest of the year! ": "Black Friday: prezzi più bassi dell’anno! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5 e DeepSeek v4.1 Flash illimitati",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash e altri illimitati",
|
||||
" · Up to 50% off": " · Fino al 50% off",
|
||||
"Claim offer": "Scopri l’offerta",
|
||||
"Close campaign banner": "Chiudi il banner della campagna",
|
||||
@@ -328,7 +328,7 @@
|
||||
"Ends in": "Bitiş",
|
||||
"Countdown day unit": "g",
|
||||
"Black Friday lowest of the year! ": "Black Friday yılın en düşük fiyatları! ",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash": "Seedream 5.5, DeepSeek v4.1 Flash sınırsız",
|
||||
"Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more": "Seedream 5.5, DeepSeek v4.1 Flash ve daha fazlası sınırsız",
|
||||
" · Up to 50% off": " · %50’ye varan indirim",
|
||||
"Claim offer": "Teklifi al",
|
||||
"Close campaign banner": "Kampanya banner'ını kapat",
|
||||
|
||||
@@ -88,7 +88,7 @@ export function BlackFridayTopBanner({ onClose, onExpire, trackingPage }: { onCl
|
||||
aria: t('Black Friday campaign banner'),
|
||||
timerLabel: t('Ends in'),
|
||||
offerBefore: t('Black Friday lowest of the year! '),
|
||||
offerHighlight: t('Unlimited Seedream 5.5, DeepSeek v4.1 Flash'),
|
||||
offerHighlight: t('Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more'),
|
||||
offerAfter: t(' · Up to 50% off'),
|
||||
bfCta: t('Claim offer'),
|
||||
closeLabel: t('Close campaign banner'),
|
||||
|
||||
@@ -206,7 +206,7 @@ it('localizes the banner and the Pricing label in every supported language', ()
|
||||
const messages = campaignUi[locale];
|
||||
act(() => root.render(<I18nProvider key={locale} initialLocale={locale}><BlackFridayTopBanner trackingPage="explore" onClose={() => {}} /><PricingEntry trackingPage="studio" /></I18nProvider>));
|
||||
expect(container.textContent).toContain(messages['Claim offer']);
|
||||
expect(container.textContent).toContain(messages['Unlimited Seedream 5.5, DeepSeek v4.1 Flash']);
|
||||
expect(container.textContent).toContain(messages['Unlimited Seedream 5.5, DeepSeek v4.1 Flash & more']);
|
||||
expect(container.querySelector('aside')!.getAttribute('aria-label')).toBe(messages['Black Friday campaign banner']);
|
||||
expect(container.querySelector('a[aria-label^="Pricing"]')!.getAttribute('aria-label')).toBe(messages['Pricing · Black Friday up to 50% off']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user