This commit is contained in:
Timothy Jaeryang Baek
2026-09-04 23:34:32 -04:00
parent 54a7a7a7ce
commit 85b11a4f35
3 changed files with 2 additions and 9 deletions
@@ -53,11 +53,10 @@
on:input={(e) => update(e.currentTarget.value)}
/>
{/if}
{#if locale && showControls}
{#if locale && showControls && (translated || fallback)}
<div
class="mt-1 flex flex-wrap items-center gap-3 text-[0.6875rem] text-gray-400 dark:text-gray-600"
>
<span>{translated ? $i18n.t('Translated') : $i18n.t('Using default')}</span>
{#if translated}<button
type="button"
class="text-gray-500 hover:text-gray-700 dark:hover:text-gray-300"
@@ -62,7 +62,6 @@
title={localeLabel}
class="flex flex-wrap items-center gap-x-3 gap-y-1 text-[0.6875rem] text-gray-400 dark:text-gray-600"
>
{hasCustomLocalePrompts ? $i18n.t('Translated') : $i18n.t('Using default')}
{#if hasCustomLocalePrompts}
<button
type="button"
@@ -758,12 +758,7 @@
</div>
{#if editingLocale}
<div class="mt-1 flex items-center justify-between gap-3 text-[0.6875rem]">
<span class="truncate text-gray-400 dark:text-gray-600">
{localizedField('name')
? $i18n.t('Translated')
: $i18n.t('Using default')}
</span>
<div class="mt-1 flex items-center justify-end gap-3 text-[0.6875rem]">
<div
class="flex shrink-0 items-center gap-2 text-gray-500 dark:text-gray-400"
>