Skip to content

Commit

Permalink
fix: update artcle info
Browse files Browse the repository at this point in the history
  • Loading branch information
ymzuiku committed Oct 15, 2023
1 parent 8c88d8f commit 7863659
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
Binary file modified i18n.sqlite
Binary file not shown.
21 changes: 14 additions & 7 deletions src/lib/i18n/i18n-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,20 @@ export const i18nSource = {
es: 'Falta texto',
fr: 'Texte manquant',
},
'你粘贴任何你希望长期反复学习的文章, 然后可以反复朗读和背诵它': {
zh: '你可以粘贴任何你希望长期反复学习的文章,然后可以反复朗读和背诵它。',
en: 'You can paste any article that you want to study repeatedly for a long time, and then you can read and recite it repeatedly.',
jp: 'あなたは、長期間繰り返し学習したい任意の記事を貼り付け、それを繰り返し読み上げ、暗唱することができます。',
es: 'Puedes pegar cualquier artículo que desees estudiar repetidamente durante mucho tiempo, y luego puedes leerlo y recitarlo repetidamente.',
fr: "Vous pouvez coller n'importe quel article que vous souhaitez étudier de manière répétée pendant une longue période, puis vous pouvez le lire et le réciter à plusieurs reprises.",
},
学习这段内容: {
zh: '学习这段内容',
en: 'Study this content',
jp: 'このコンテンツを学ぶ',
es: 'Estudia este contenido',
fr: 'Étudiez ce contenu',
},
确定要登出吗: {
zh: '确定要登出吗',
en: 'Are you sure you want to log out?',
Expand Down Expand Up @@ -462,13 +476,6 @@ export const i18nSource = {
es: 'Todavía tienes muchos días VIP en el mes actual. Te recomendamos cancelar la suscripción dentro de los 5 días restantes. ¿Estás seguro de que quieres cancelar la suscripción?',
fr: 'Vous avez encore beaucoup de jours VIP dans le mois en cours. Nous vous recommandons de vous désabonner dans les 5 jours restants. Êtes-vous sûr de vouloir vous désabonner ?',
},
学习这段内容: {
zh: '学习这段内容',
en: 'Study this content',
jp: 'このコンテンツを学ぶ',
es: 'Estudia este contenido',
fr: 'Étudiez ce contenu',
},
'剩余免费试用天数:': {
zh: '剩余免费试用天数:',
en: 'Remaining free trial days:',
Expand Down
15 changes: 9 additions & 6 deletions src/routes/article/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
import { twMerge } from 'tailwind-merge';
</script>

<main id="setting" aria-label="setting page" class="flex flex-col p-4 min-h-full h-full gap-4">
<h2 class="text-xl font-semibold">{i18n`文章`}</h2>
<textarea bind:value={$article} class={twMerge(css.input, 'h-[calc(100vh-350px)]')} />
<a class={twMerge(css.button, 'w-full sm:max-w-full h-12')} href="/article/learn">
{i18n`学习这段内容`}
</a>
<main id="setting" aria-label="setting page" class="flex flex-col p-4 min-h-full h-full">
<div class="h-[calc(100vh-250px)] flex flex-col w-full gap-4">
<h2 class="text-xl font-semibold">{i18n`文章`}</h2>
<div>{i18n`你粘贴任何你希望长期反复学习的文章, 然后可以反复朗读和背诵它`}</div>
<textarea bind:value={$article} class={twMerge(css.input, 'flex-1')} />
<a class={twMerge(css.button, 'w-full sm:max-w-full h-12')} href="/article/learn">
{i18n`学习这段内容`}
</a>
</div>
</main>

<Tab selected={1} />

0 comments on commit 7863659

Please sign in to comment.