pl-fe: improve strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
8963af4b77
commit
b31cdb1878
12 changed files with 22 additions and 22 deletions
|
@ -23,7 +23,7 @@ const isFiveMinutesFromNow = (time: Date) => {
|
|||
};
|
||||
|
||||
const messages = defineMessages({
|
||||
schedule: { id: 'schedule.post_time', defaultMessage: 'Post Date/Time' },
|
||||
schedule: { id: 'schedule.post_time', defaultMessage: 'Post date/time' },
|
||||
remove: { id: 'schedule.remove', defaultMessage: 'Remove schedule' },
|
||||
});
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ const CryptoDonatePanel: React.FC<ICryptoDonatePanel> = ({ limit = 3 }): JSX.Ele
|
|||
|
||||
return (
|
||||
<Widget
|
||||
title={<FormattedMessage id='crypto_donate_panel.heading' defaultMessage='Donate Cryptocurrency' />}
|
||||
title={<FormattedMessage id='crypto_donate_panel.heading' defaultMessage='Donate cryptocurrency' />}
|
||||
onActionClick={handleAction}
|
||||
actionTitle={intl.formatMessage(messages.actionTitle, { count: addresses.length })}
|
||||
>
|
||||
|
|
|
@ -9,7 +9,7 @@ import { useInstance } from 'pl-fe/hooks/use-instance';
|
|||
import SiteWallet from './components/site-wallet';
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate Cryptocurrency' },
|
||||
heading: { id: 'column.crypto_donate', defaultMessage: 'Donate cryptocurrency' },
|
||||
});
|
||||
|
||||
const CryptoDonate: React.FC = (): JSX.Element => {
|
||||
|
|
|
@ -12,7 +12,7 @@ import { federationRestrictionsDisclosed } from 'pl-fe/utils/state';
|
|||
import RestrictedInstance from './components/restricted-instance';
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.federation_restrictions', defaultMessage: 'Federation Restrictions' },
|
||||
heading: { id: 'column.federation_restrictions', defaultMessage: 'Federation restrictions' },
|
||||
boxTitle: { id: 'federation_restrictions.explanation_box.title', defaultMessage: 'Instance-specific policies' },
|
||||
boxMessage: { id: 'federation_restrictions.explanation_box.message', defaultMessage: 'Normally servers on the Fediverse can communicate freely. {siteTitle} has imposed restrictions on the following servers.' },
|
||||
emptyMessage: { id: 'federation_restrictions.empty_message', defaultMessage: '{siteTitle} has not restricted any instances.' },
|
||||
|
|
|
@ -19,7 +19,7 @@ import ColumnForbidden from '../ui/components/column-forbidden';
|
|||
type RouteParams = { groupId: string };
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.group_blocked_members', defaultMessage: 'Banned Members' },
|
||||
heading: { id: 'column.group_blocked_members', defaultMessage: 'Banned members' },
|
||||
unblock: { id: 'group.group_mod_unblock', defaultMessage: 'Unban' },
|
||||
unblocked: { id: 'group.group_mod_unblock.success', defaultMessage: 'Unbanned @{name} from group' },
|
||||
});
|
||||
|
|
|
@ -31,7 +31,7 @@ const Groups: React.FC = () => {
|
|||
<Text size='2xl' weight='bold' tag='h2' align='center'>
|
||||
<FormattedMessage
|
||||
id='groups.empty.title'
|
||||
defaultMessage='No Groups yet'
|
||||
defaultMessage='No groups yet'
|
||||
/>
|
||||
</Text>
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ const Preferences = () => {
|
|||
<ThemeToggle />
|
||||
</ListItem>
|
||||
|
||||
<ListItem label={<FormattedMessage id='preferences.fields.language_label' defaultMessage='Display Language' />}>
|
||||
<ListItem label={<FormattedMessage id='preferences.fields.language_label' defaultMessage='Display language' />}>
|
||||
<SelectDropdown
|
||||
className='max-w-[200px]'
|
||||
items={languages}
|
||||
|
|
|
@ -19,7 +19,7 @@ Includes following features:
|
|||
*/
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.mfa', defaultMessage: 'Multi-Factor Authentication' },
|
||||
heading: { id: 'column.mfa', defaultMessage: 'Multi-factor authentication' },
|
||||
});
|
||||
|
||||
const MfaForm: React.FC = () => {
|
||||
|
|
|
@ -13,7 +13,7 @@ import toast from 'pl-fe/toast';
|
|||
|
||||
const messages = defineMessages({
|
||||
mfaCancelButton: { id: 'column.mfa_cancel', defaultMessage: 'Cancel' },
|
||||
mfaSetupButton: { id: 'column.mfa_setup', defaultMessage: 'Proceed to Setup' },
|
||||
mfaSetupButton: { id: 'column.mfa_setup', defaultMessage: 'Proceed to setup' },
|
||||
codesFail: { id: 'security.codes.fail', defaultMessage: 'Failed to fetch backup codes' },
|
||||
});
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ const any = (arr: Array<any>): boolean => arr.some(Boolean);
|
|||
|
||||
const messages = defineMessages({
|
||||
accountAliases: { id: 'navigation_bar.account_aliases', defaultMessage: 'Account aliases' },
|
||||
accountMigration: { id: 'settings.account_migration', defaultMessage: 'Move Account' },
|
||||
accountMigration: { id: 'settings.account_migration', defaultMessage: 'Move account' },
|
||||
backups: { id: 'column.backups', defaultMessage: 'Backups' },
|
||||
blocks: { id: 'settings.blocks', defaultMessage: 'Blocks' },
|
||||
changeEmail: { id: 'settings.change_email', defaultMessage: 'Change email' },
|
||||
|
|
|
@ -42,7 +42,7 @@ const InstanceModerationPanel: React.FC<IInstanceModerationPanel> = ({ host }) =
|
|||
|
||||
return (
|
||||
<Widget
|
||||
title={<FormattedMessage id='remote_instance.federation_panel.heading' defaultMessage='Federation Restrictions' />}
|
||||
title={<FormattedMessage id='remote_instance.federation_panel.heading' defaultMessage='Federation restrictions' />}
|
||||
action={account?.is_admin ? (
|
||||
<DropdownMenu items={menu} src={require('@tabler/icons/outline/dots-vertical.svg')} />
|
||||
) : undefined}
|
||||
|
|
|
@ -335,7 +335,7 @@
|
|||
"column.chats": "Chats",
|
||||
"column.circle": "Interactions circle",
|
||||
"column.community": "Local timeline",
|
||||
"column.crypto_donate": "Donate Cryptocurrency",
|
||||
"column.crypto_donate": "Donate cryptocurrency",
|
||||
"column.developers": "Developers",
|
||||
"column.developers.service_worker": "Service Worker",
|
||||
"column.direct": "Direct messages",
|
||||
|
@ -351,7 +351,7 @@
|
|||
"column.familiar_followers": "People you know following {name}",
|
||||
"column.favourited_statuses": "Liked posts",
|
||||
"column.favourites": "Likes",
|
||||
"column.federation_restrictions": "Federation Restrictions",
|
||||
"column.federation_restrictions": "Federation restrictions",
|
||||
"column.filters": "Muted words",
|
||||
"column.filters.accounts": "Accounts",
|
||||
"column.filters.add_new": "Add new filter",
|
||||
|
@ -384,7 +384,7 @@
|
|||
"column.followed_tags": "Followed hashtags",
|
||||
"column.followers": "Followers",
|
||||
"column.following": "Following",
|
||||
"column.group_blocked_members": "Banned Members",
|
||||
"column.group_blocked_members": "Banned members",
|
||||
"column.group_pending_requests": "Pending requests",
|
||||
"column.groups": "Groups",
|
||||
"column.home": "Home",
|
||||
|
@ -395,11 +395,11 @@
|
|||
"column.lists": "Lists",
|
||||
"column.manage_group": "Manage group",
|
||||
"column.mentions": "Mentions",
|
||||
"column.mfa": "Multi-Factor Authentication",
|
||||
"column.mfa": "Multi-factor authentication",
|
||||
"column.mfa_cancel": "Cancel",
|
||||
"column.mfa_confirm_button": "Confirm",
|
||||
"column.mfa_disable_button": "Disable",
|
||||
"column.mfa_setup": "Proceed to Setup",
|
||||
"column.mfa_setup": "Proceed to setup",
|
||||
"column.migration": "Account migration",
|
||||
"column.mutes": "Mutes",
|
||||
"column.notifications": "Notifications",
|
||||
|
@ -592,7 +592,7 @@
|
|||
"crypto_donate.explanation_box.message": "{siteTitle} accepts cryptocurrency donations. You may send a donation to any of the addresses below. Thank you for your support!",
|
||||
"crypto_donate.explanation_box.title": "Sending cryptocurrency donations",
|
||||
"crypto_donate_panel.actions.view": "Click to see {count, plural, one {# wallet} other {# wallets}}",
|
||||
"crypto_donate_panel.heading": "Donate Cryptocurrency",
|
||||
"crypto_donate_panel.heading": "Donate cryptocurrency",
|
||||
"crypto_donate_panel.intro.message": "{siteTitle} accepts cryptocurrency donations to fund our service. Thank you for your support!",
|
||||
"datepicker.hint": "Scheduled to post at…",
|
||||
"datepicker.next_month": "Next month",
|
||||
|
@ -871,7 +871,7 @@
|
|||
"group.upload_banner.title": "Upload background picture",
|
||||
"groups.discover.search.results.member_count": "{members, plural, one {member} other {members}}",
|
||||
"groups.empty.subtitle": "Start discovering groups to join or create your own.",
|
||||
"groups.empty.title": "No Groups yet",
|
||||
"groups.empty.title": "No groups yet",
|
||||
"groups.pending.count": "{number, plural, one {# pending request} other {# pending requests}}",
|
||||
"hashtag.follow": "Follow hashtag",
|
||||
"hashtags.and_other": "…and {count, plural, other {# more}}",
|
||||
|
@ -1254,7 +1254,7 @@
|
|||
"preferences.fields.display_media.hide_all": "Always hide media posts",
|
||||
"preferences.fields.display_media.show_all": "Always show posts",
|
||||
"preferences.fields.known_languages_label": "Languages you know",
|
||||
"preferences.fields.language_label": "Display Language",
|
||||
"preferences.fields.language_label": "Display language",
|
||||
"preferences.fields.media_display_label": "Sensitive content",
|
||||
"preferences.fields.missing_description_modal_label": "Show confirmation dialog before sending a post without media descriptions",
|
||||
"preferences.fields.preserve_spoilers_label": "Preserve content warning when replying",
|
||||
|
@ -1326,7 +1326,7 @@
|
|||
"relative_time.minutes": "{number}m",
|
||||
"relative_time.seconds": "{number}s",
|
||||
"remote_instance.edit_federation": "Edit federation",
|
||||
"remote_instance.federation_panel.heading": "Federation Restrictions",
|
||||
"remote_instance.federation_panel.heading": "Federation restrictions",
|
||||
"remote_instance.federation_panel.no_restrictions_message": "{siteTitle} has placed no restrictions on {host}.",
|
||||
"remote_instance.federation_panel.restricted_message": "{siteTitle} blocks all activities from {host}.",
|
||||
"remote_instance.federation_panel.some_restrictions_message": "{siteTitle} has placed some restrictions on {host}.",
|
||||
|
@ -1378,7 +1378,7 @@
|
|||
"report.submit": "Submit",
|
||||
"report.target": "Reporting {target}",
|
||||
"save": "Save",
|
||||
"schedule.post_time": "Post Date/Time",
|
||||
"schedule.post_time": "Post date/time",
|
||||
"schedule.remove": "Remove schedule",
|
||||
"schedule_button.add_schedule": "Schedule post for later",
|
||||
"schedule_button.remove_schedule": "Post immediately",
|
||||
|
@ -1416,7 +1416,7 @@
|
|||
"select.no_options": "No options available",
|
||||
"select.placeholder": "Select",
|
||||
"select_bookmark_folder_modal.header_title": "Select folder",
|
||||
"settings.account_migration": "Move Account",
|
||||
"settings.account_migration": "Move account",
|
||||
"settings.blocks": "Blocks",
|
||||
"settings.change_email": "Change email",
|
||||
"settings.change_password": "Change password",
|
||||
|
|
Loading…
Reference in a new issue