Skip to content

Commit

Permalink
feat(curing): add title translation
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuchou621 committed Aug 30, 2023
1 parent c41f764 commit af07705
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/($lang).curing.tsx
Expand Up @@ -40,7 +40,7 @@ export default function () {
return (
<div>
<div className="hero">
<div>CP 值專區</div>
<div>{t("mainTitle")}</div>
</div>
<div className="mx-auto mt-16">
{(curingData as CuringDataType[]).map((data, index: number) => {
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/curing.json
@@ -1,4 +1,5 @@
{
"mainTitle": "Affordable Options",
"cpShortText": "Brief Summaries",
"sideEffect": "Side Effects",
"data": [
Expand Down
1 change: 1 addition & 0 deletions public/locales/id-ID/curing.json
@@ -1,4 +1,5 @@
{
"mainTitle": "Zona rasio biaya-kinerja",
"cpShortText": "Komentar Mikro-Profesional",
"sideEffect": "Efek Samping",
"data": [
Expand Down
1 change: 1 addition & 0 deletions public/locales/ja-JP/curing.json
@@ -1,4 +1,5 @@
{
"mainTitle": "費用VS効果",
"cpShortText": "専門家による評価",
"sideEffect": "副作用",
"data": [
Expand Down
1 change: 1 addition & 0 deletions public/locales/vi-VN/curing.json
@@ -1,4 +1,5 @@
{
"mainTitle": "Chuyên khu trị số CP",
"cpShortText": "Bình luận vi chuyên nghiệp",
"sideEffect": "Tác dụng phụ",
"data": [
Expand Down
1 change: 1 addition & 0 deletions public/locales/zh-TW/curing.json
@@ -1,4 +1,5 @@
{
"mainTitle": "CP值專區",
"cpShortText": "微專業短評",
"sideEffect": "副作用",
"data": [
Expand Down

0 comments on commit af07705

Please sign in to comment.