Align action_*
strings with Element X project in Localazy (#11437)
This commit is contained in:
parent
bdd3710f25
commit
df4a2218d7
166 changed files with 1697 additions and 1555 deletions
|
@ -51,7 +51,7 @@ const onLearnMoreNoOptIn = (): void => {
|
|||
// otherwise, the user either clicked "Cancel", or closed the dialog without making a choice,
|
||||
// leave the toast open
|
||||
},
|
||||
primaryButton: _t("Enable"),
|
||||
primaryButton: _t("action|enable"),
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -91,7 +91,7 @@ export const showToast = (): void => {
|
|||
),
|
||||
acceptLabel: _t("That's fine"),
|
||||
onAccept,
|
||||
rejectLabel: _t("Learn more"),
|
||||
rejectLabel: _t("action|learn_more"),
|
||||
onReject: onLearnMorePreviouslyOptedIn,
|
||||
};
|
||||
} else if (legacyAnalyticsOptIn === null || legacyAnalyticsOptIn === undefined) {
|
||||
|
@ -108,9 +108,9 @@ export const showToast = (): void => {
|
|||
{},
|
||||
{ LearnMoreLink: learnMoreLink },
|
||||
),
|
||||
acceptLabel: _t("Yes"),
|
||||
acceptLabel: _t("action|yes"),
|
||||
onAccept,
|
||||
rejectLabel: _t("No"),
|
||||
rejectLabel: _t("action|no"),
|
||||
onReject,
|
||||
};
|
||||
} else {
|
||||
|
|
|
@ -42,7 +42,7 @@ export const showToast = (fromMessageSend: boolean): void => {
|
|||
title: fromMessageSend ? _t("Don't miss a reply") : _t("Notifications"),
|
||||
props: {
|
||||
description: _t("Enable desktop notifications"),
|
||||
acceptLabel: _t("Enable"),
|
||||
acceptLabel: _t("action|enable"),
|
||||
onAccept,
|
||||
rejectLabel: _t("Dismiss"),
|
||||
onReject,
|
||||
|
|
|
@ -125,7 +125,7 @@ export default class IncomingLegacyCallToast extends React.Component<IProps, ISt
|
|||
onClick={this.onRejectClick}
|
||||
kind="danger"
|
||||
>
|
||||
<span> {_t("Decline")} </span>
|
||||
<span> {_t("action|decline")} </span>
|
||||
</AccessibleButton>
|
||||
<AccessibleButton
|
||||
className="mx_IncomingLegacyCallToast_button mx_IncomingLegacyCallToast_button_accept"
|
||||
|
|
|
@ -50,7 +50,7 @@ const getIcon = (kind: Kind): string => {
|
|||
const getSetupCaption = (kind: Kind): string => {
|
||||
switch (kind) {
|
||||
case Kind.SET_UP_ENCRYPTION:
|
||||
return _t("Continue");
|
||||
return _t("action|continue");
|
||||
case Kind.UPGRADE_ENCRYPTION:
|
||||
return _t("Upgrade");
|
||||
case Kind.VERIFY_THIS_SESSION:
|
||||
|
|
|
@ -61,7 +61,7 @@ export const showToast = async (deviceId: string): Promise<void> => {
|
|||
detail: <DeviceMetaData device={extendedDevice} />,
|
||||
acceptLabel: _t("Yes, it was me"),
|
||||
onAccept,
|
||||
rejectLabel: _t("No"),
|
||||
rejectLabel: _t("action|no"),
|
||||
onReject,
|
||||
},
|
||||
component: GenericToast,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue