Browse Source

upated like in PR discussed

Erik 3 months ago
parent
commit
c8210d4043

+ 1 - 3
src/lib/components/chat/ChatPlaceholder.svelte

@@ -28,8 +28,6 @@
 	}
 	}
 
 
 	$: models = modelIds.map((id) => $_models.find((m) => m.id === id));
 	$: models = modelIds.map((id) => $_models.find((m) => m.id === id));
-
-	const tempChatTooltipText = 'This chat won’t appear in history and your messages will not be saved.';
 	
 	
 	onMount(() => {
 	onMount(() => {
 		mounted = true;
 		mounted = true;
@@ -70,7 +68,7 @@
 
 
 		{#if $temporaryChatEnabled}
 		{#if $temporaryChatEnabled}
 		<Tooltip
 		<Tooltip
-			content={$i18n.t(tempChatTooltipText)}
+			content={$i18n.t('This chat won’t appear in history and your messages will not be saved.')}
 			className="w-full flex justify-center mb-0.5"
 			className="w-full flex justify-center mb-0.5"
 			placement="top"
 			placement="top"
 		>
 		>

+ 1 - 3
src/lib/components/chat/Placeholder.svelte

@@ -86,8 +86,6 @@
 	}
 	}
 
 
 	$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
 	$: models = selectedModels.map((id) => $_models.find((m) => m.id === id));
-
-	const tempChatTooltipText = 'This chat won’t appear in history and your messages will not be saved.';
 	
 	
 	onMount(() => {});
 	onMount(() => {});
 </script>
 </script>
@@ -95,7 +93,7 @@
 <div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center">
 <div class="m-auto w-full max-w-6xl px-2 @2xl:px-20 translate-y-6 py-24 text-center">
 	{#if $temporaryChatEnabled}
 	{#if $temporaryChatEnabled}
 	<Tooltip
 	<Tooltip
-		content={$i18n.t(tempChatTooltipText)}
+		content={$i18n.t('This chat won’t appear in history and your messages will not be saved.')}
 		className="w-full flex justify-center mb-0.5"
 		className="w-full flex justify-center mb-0.5"
 		placement="top"
 		placement="top"
 	>
 	>