Pārlūkot izejas kodu

spelling + changed to hardcoded text

Jannik Streidl 1 gadu atpakaļ
vecāks
revīzija
93ed5851ca

+ 3 - 3
src/lib/components/chat/Settings/General.svelte

@@ -146,15 +146,15 @@
 			</div>
 			{#if $i18n.language === 'en'}
 				<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
-					{$i18n.t("Didn't find your language?")}
+					Didn't find your language?
 					<br />
-					{$i18n.t('You can help us translate the WebUI.')}
+					You can help us translate the WebUI. Check out our
 					<a
 						class=" text-gray-300 font-medium underline"
 						href="https://github.com/open-webui/open-webui/blob/main/docs/CONTRIBUTING.md#-translations-and-internationalization"
 						target="_blank"
 					>
-						{$i18n.t('Click here for a contribution guide.')}
+						language contribution guide.
 					</a>
 				</div>
 			{/if}

+ 1 - 4
src/lib/i18n/locales/en/translation.json

@@ -55,7 +55,6 @@
 	"Chunk Overlap": "Chunk Overlap",
 	"Chunk Params": "Chunk Params",
 	"Chunk Size": "Chunk Size",
-	"Click here for a contribution guide.": "Click here for a contribution guide.",
 	"Click here for help": "Click here for help",
 	"Click here to check other modelfiles.": "Click here to check other modelfiles.",
 	"click here.": "click here.",
@@ -96,7 +95,6 @@
 	"Deleted {tagName}": "Deleted {tagName}",
 	"Description": "Description",
 	"Desktop Notifications": "Notification",
-	"Didn't find your language?": "Didn't find your language?",
 	"Disabled": "Disabled",
 	"Discover a modelfile": "Discover a modelfile",
 	"Discover a prompt": "Discover a prompt",
@@ -318,6 +316,5 @@
 	"Write a summary in 50 words that summarizes [topic or keyword].": "Write a summary in 50 words that summarizes [topic or keyword].",
 	"You": "You",
 	"You're a helpful assistant.": "You're a helpful assistant.",
-	"You're now logged in.": "You're now logged in.",
-	"You can help us translate the WebUI.": "You can help us translate the WebUI."
+	"You're now logged in.": "You're now logged in."
 }