🌐 Added more strings to be translated

This commit is contained in:
Mawoka
2022-12-01 19:09:55 +01:00
parent 859377dcc4
commit 444bfb1767
7 changed files with 40 additions and 19 deletions
+8
View File
@@ -108,6 +108,14 @@
{
headline: $t('index_page.dark_mode'),
content: $t('index_page.dark_mode_content')
},
{
headline: $t('index_page.download_quizzes'),
content: $t('index_page.download_quizzes_content')
},
{
headline: $t('index_page.community_driven'),
content: $t('index_page.community_driven_content')
}
];
let selected_classquiz_reason = 0;
@@ -80,7 +80,7 @@
</div>
</div>
<div class="flex items-center justify-between mt-4">
<div class="flex items-center justify-between mt-4 gap-2">
<a
href="/account/login"
class="text-sm text-gray-600 dark:text-gray-200 hover:text-gray-500"
+6 -10
View File
@@ -116,7 +116,7 @@
<div class="grid grid-cols-2">
<form on:submit|preventDefault={submit}>
<div class="w-full mt-4 h-full flex flex-col">
<h2 class="text-center text-2xl">A Kahoot!-Quiz</h2>
<h2 class="text-center text-2xl">{$t('import_page.a_kahoot_quiz')}</h2>
<div class="dark:bg-gray-800 bg-white p-4 rounded-lg">
<div class="relative bg-inherit w-full">
<input
@@ -136,13 +136,11 @@
{$t('words.url')}
</label>
<p class="text-sm">
The URl should look like this:
https://create.kahoot.it/details/...
{$t('import_page.url_should_look_like_this')}
</p>
</div>
<p class="mt-2">
On this side you can import quizzes, which live on <b>Kahoot!</b
>.
{$t('import_page.side_import_kahoot')}
</p>
</div>
@@ -177,7 +175,7 @@
</form>
<form on:submit|preventDefault={file_submit}>
<div class="w-full mt-4 border-l-2 border-gray-600 h-full flex flex-col">
<h2 class="text-center text-2xl">A ClassQuiz-Quiz</h2>
<h2 class="text-center text-2xl">{$t('import_page.classquiz_quiz')}</h2>
<div class="dark:bg-gray-800 bg-white p-4 rounded-lg">
<div class="relative bg-inherit w-full">
<input
@@ -190,12 +188,10 @@
class:ring-red-700={!file_input}
class:ring-green-600={file_input}
/>
<p class="text-sm">Upload the file ending in .cqa</p>
<p class="text-sm">{$t('import_page.upload_file_ending')}</p>
</div>
<p class="mt-2">
On this side you can import quizzes, which were <b
>exported from ClassQuiz</b
>.
{$t('import_page.this_side_classquiz')}
</p>
</div>
+1 -1
View File
@@ -87,7 +87,7 @@
</div>
{:else}
<div class="flex justify-center">
<h1 class="text-4xl">There is nothing here...</h1>
<h1 class="text-4xl">{$t('search_page.nothing_here')}</h1>
</div>
<div class="flex justify-center">
<p>
@@ -128,7 +128,7 @@
d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
/>
</svg>
Download
{$t('words.download')}
</a>
{:else}
<div use:tippy={{ content: 'You need to be logged in to download a game' }}>
@@ -150,7 +150,7 @@
d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"
/>
</svg>
Download
{$t('words.download')}
</button>
</div>
{/if}