pl-fe: meow

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-27 15:31:22 +01:00
parent 78142308ae
commit 7fc5acbb23
4 changed files with 8 additions and 11 deletions

View File

@ -7,12 +7,12 @@
* @see module:pl-fe/actions/security
*/
import {
type Account,
credentialAccountSchema,
PlApiClient,
type Account,
type CreateAccountParams,
type CredentialAccount,
type CredentialApplication,
PlApiClient,
type Token,
} from 'pl-api';
import { defineMessages } from 'react-intl';

View File

@ -1,13 +1,12 @@
import React from 'react';
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
import { WITH_LANDING_PAGE } from 'pl-fe/build-config';
import Emojify from 'pl-fe/features/emoji/emojify';
import { usePlFeConfig } from 'pl-fe/hooks/use-pl-fe-config';
import sourceCode from 'pl-fe/utils/code';
const messages = defineMessages({
footerNotice: { id: 'getting_started.footer_notice', defaultMessage: 'Proudly made in Poland. {emoji}' },
meow: { id: 'footer.meow', defaultMessage: 'meow :3 {emoji}' },
});
const LinkFooter: React.FC = (): JSX.Element => {
@ -31,11 +30,9 @@ const LinkFooter: React.FC = (): JSX.Element => {
/>
)}
</p>
{WITH_LANDING_PAGE && (
<p className='⁂-footer-text'>
<Emojify text={intl.formatMessage(messages.footerNotice, { emoji: '🇵🇱🏳️‍⚧️' })} />
</p>
)}
<p className='⁂-footer-text' aria-hidden>
<Emojify text={intl.formatMessage(messages.meow, { emoji: '🐱' })} />
</p>
</>
);
};

View File

@ -909,9 +909,9 @@
"filters.updated": "Filter updated.",
"follow_request.authorize": "Authorize",
"follow_request.reject": "Reject",
"footer.meow": "meow :3 {emoji}",
"generic.logo": "Logo",
"generic.saved": "Saved",
"getting_started.footer_notice": "Proudly made in Poland. {emoji}",
"getting_started.open_source_notice": "{code_name} is open source software. You can contribute or report issues at {code_link} (v{code_version}).",
"group.cancel_request": "Cancel request",
"group.delete.success": "Group successfully deleted",

View File

@ -929,13 +929,13 @@
"follow_recommendations.heading": "Proponowane profile",
"follow_request.authorize": "Autoryzuj",
"follow_request.reject": "Odrzuć",
"footer.meow": "miau :3 {emoji}",
"gdpr.accept": "Akceptuj",
"gdpr.learn_more": "Dowiedz się więcej",
"gdpr.message": "{siteTitle} korzysta z ciasteczek sesji, które są niezbędne dla działania strony.",
"gdpr.title": "{siteTitle} korzysta z ciasteczek",
"generic.logo": "Logo",
"generic.saved": "Zapisano",
"getting_started.footer_notice": "Z dumą tworzone w Polsce. {emoji}",
"getting_started.open_source_notice": "{code_name} jest oprogramowaniem o otwartym źródle. Możesz pomóc w rozwoju lub zgłaszać błędy na Codebergu tutaj: {code_link} (v{code_version}).",
"group.cancel_request": "Zaniechaj zgłoszenie",
"group.delete.success": "Pomyślnie usunięto grupę",