From 0b31f0e9c1857144497252a392f5723711fb377b Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 21 Jun 2024 22:28:19 -0400 Subject: [PATCH] Update translation --- public/locales/en/translation.json | 17 +++++++++++++++ public/locales/jp/translation.json | 17 +++++++++++++++ src/pages/index.astro | 34 +++++++++++++++++------------- 3 files changed, 53 insertions(+), 15 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index fe020bf..9c51b73 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -21,5 +21,22 @@ "Privacy": "Privacy", "SourceCode": "Source Code", "GoBack": "Go Back" + }, + "landing": { + "heading": "PRIVACY APP OF YOUR DREAMS", + "description": "Poke is a free software youtube front-end, search engine, translator, map app and even more!!1!! Watch silly videos, search stuff on the internet and do all of that and more anonymously in this all-in-one privacy app!!!1! :3", + "why": "Why Choose Poke?", + "Card1Title": "No Tracking and Ads", + "Card1Description": " Poke Has no Trackers or ads - we dont and we wont see the vids ur watching :3", + "Card2Title": "Very Fast", + "Card2Description": " Poke is really ligthweight (both on server and client :3) so you can still use it on poor connections :3", + "Card3Title": "Downloader", + "Card3Description": "You wouldnt download a car - welp i would :D u can download videos from poke for 0$!", + "Card4Title": "Web Search", + "Card4Description": "u can search the interwebs for anything that u wan!! (ik wha ur gonna search :p) ", + "Card5Title": "DRM Free", + "Card5Description": " Poke comes without digital restrictions management - poke is free software :3", + "Card6Title": "Games Included", + "Card6Description": " U can play funnie games on poke! " } } \ No newline at end of file diff --git a/public/locales/jp/translation.json b/public/locales/jp/translation.json index 33240fe..8ff2524 100644 --- a/public/locales/jp/translation.json +++ b/public/locales/jp/translation.json @@ -21,5 +21,22 @@ "Privacy": "プライバシー", "SourceCode": "ソースコード", "GoBack": "戻る" + }, + "landing": { + "heading": "あなたの夢のプライバシーアプリ", + "description": "Pokeは、無料のソフトウェアyoutubeフロントエンド、検索エンジン、翻訳者、マップアプリなどです!!1!! サイレント動画を見ると、インターネット上のものを検索し、このオールインワンのプライバシーアプリで、そのすべてを匿名で行います!", + "why": "ポケモンを選ぶ理由?", + "Card1Title": "追跡および広告無し", + "Card1Description": " ポークはトラッカーや広告はありません - 私たちは、あなたが見ているビデオを見ることができません", + "Card2Title": "非常に高速", + "Card2Description": " Poke は本当に軽量です (サーバーとクライアントの :3) ので、接続が悪いままに使用できます。 :3", + "Card3Title": "ダウンロード", + "Card3Description": "あなたは車をダウンロードしたい - よく私は:D u は 0$ のポケモンからビデオをダウンロードすることができます!", + "Card4Title": "ウェブ検索", + "Card4Description": "U wan の web を検索できます。!", + "Card5Title": "DRMの 無料", + "Card5Description": " ポケモンはデジタル制限管理なしで来ます - ポケモンはフリーソフトウェアです:3", + "Card6Title": "含まれているゲーム", + "Card6Description": "楽しく遊べます! " } } \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index dbfda6a..8d2624c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -2,6 +2,10 @@ // Layout import Layout from "@layouts/Default.astro"; +// i18n +import i18next, { t } from "i18next"; +import { Trans, HeadHrefLangs } from "astro-i18next/components"; + // Components import { Image } from 'astro:assets'; @@ -15,8 +19,8 @@ import Chan from '@assets/chan/v2.png'