Fix translation source
This commit is contained in:
parent
c12e0f5d2e
commit
8746d3c400
|
@ -11,7 +11,7 @@ function Button(props: ButtonProps): JSX.Element {
|
||||||
onClick={props.onClick}
|
onClick={props.onClick}
|
||||||
className="focus:outline-none h-20 bg-gray-400 dark:bg-gray-600 hover:bg-gray-500 text-white font-semibold rounded-md items-center flex justify-center">
|
className="focus:outline-none h-20 bg-gray-400 dark:bg-gray-600 hover:bg-gray-500 text-white font-semibold rounded-md items-center flex justify-center">
|
||||||
{
|
{
|
||||||
props.icon && <img src={props.icon} className="w-12 h-12 mr-2" />
|
props.icon && <img src={props.icon} className="w-12 h-12 mr-2 -ml-4" />
|
||||||
}
|
}
|
||||||
{props.text}
|
{props.text}
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -296,7 +296,7 @@ function Form(): JSX.Element {
|
||||||
<Card content={
|
<Card content={
|
||||||
<div className={`${isShareDialogAvailable ? "md:grid-cols-2": ""} grid-cols-1 grid gap-5`}>
|
<div className={`${isShareDialogAvailable ? "md:grid-cols-2": ""} grid-cols-1 grid gap-5`}>
|
||||||
{
|
{
|
||||||
isShareDialogAvailable && <Button text={t('common:share')} onClick={showShareDialog} />
|
isShareDialogAvailable && <Button text={t('index:share')} onClick={showShareDialog} />
|
||||||
}
|
}
|
||||||
<Button icon="kofi.png" text={t('common:donate')} onClick={() => {
|
<Button icon="kofi.png" text={t('common:donate')} onClick={() => {
|
||||||
window.open('https://ko-fi.com/marvinsxtr', '_blank');
|
window.open('https://ko-fi.com/marvinsxtr', '_blank');
|
||||||
|
|
Loading…
Reference in New Issue