mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -4815,6 +4815,7 @@
|
||||
"unlimitedTraffic": "Безлимит",
|
||||
"shareModalActivateVia": "Активировать через бота:",
|
||||
"shareModalActivateViaCabinet": "Или через сайт:",
|
||||
"copyMessage": "Скопировать сообщение",
|
||||
"shareToastCopied": "Сообщение скопировано",
|
||||
"shareToastTapCopy": "нажмите чтобы скопировать ещё раз"
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user