fix: replace orphaned shareModal i18n keys in GiftResult

GiftResult.tsx referenced gift.shareModalCopied and shareModalCopyAll
which were removed with the modal. Use common.copied and add new
gift.copyMessage key instead.
This commit is contained in:
Fringg
2026-03-10 07:30:17 +03:00
parent 9fbfcf21ff
commit 0322974ebd
3 changed files with 4 additions and 2 deletions

View File

@@ -4248,6 +4248,7 @@
"unlimitedTraffic": "Unlimited",
"shareModalActivateVia": "Activate via bot:",
"shareModalActivateViaCabinet": "Or via website:",
"copyMessage": "Copy message",
"shareToastCopied": "Message copied",
"shareToastTapCopy": "tap to copy again"
}

View File

@@ -4815,6 +4815,7 @@
"unlimitedTraffic": "Безлимит",
"shareModalActivateVia": "Активировать через бота:",
"shareModalActivateViaCabinet": "Или через сайт:",
"copyMessage": "Скопировать сообщение",
"shareToastCopied": "Сообщение скопировано",
"shareToastTapCopy": "нажмите чтобы скопировать ещё раз"
}

View File

@@ -153,7 +153,7 @@ function CodeOnlySuccessState({
>
<path strokeLinecap="round" strokeLinejoin="round" d="M5 13l4 4L19 7" />
</svg>
{t('gift.shareModalCopied', 'Copied!')}
{t('common.copied', 'Copied!')}
</>
) : (
<>
@@ -170,7 +170,7 @@ function CodeOnlySuccessState({
d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
/>
</svg>
{t('gift.shareModalCopyAll', 'Copy message')}
{t('gift.copyMessage', 'Copy message')}
</>
)}
</button>