Align action_* strings with Element X project in Localazy (#11437)

This commit is contained in:
Michael Telatynski 2023-08-22 20:55:15 +01:00 committed by GitHub
parent bdd3710f25
commit df4a2218d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
166 changed files with 1697 additions and 1555 deletions

View file

@ -161,7 +161,7 @@ export const EventViewer: React.FC<IViewerProps> = ({ mxEvent, onBack, Editor, e
};
return (
<BaseTool onBack={onBack} actionLabel={_t("Edit")} onAction={onAction} extraButton={extraButton}>
<BaseTool onBack={onBack} actionLabel={_t("action|edit")} onAction={onAction} extraButton={extraButton}>
<SyntaxHighlight language="json">{stringify(mxEvent.event)}</SyntaxHighlight>
</BaseTool>
);

View file

@ -30,7 +30,7 @@ const PHASE_MAP: Record<Phase, TranslationKey> = {
[Phase.Unsent]: _td("Unsent"),
[Phase.Requested]: _td("Requested"),
[Phase.Ready]: _td("Ready"),
[Phase.Done]: _td("Done"),
[Phase.Done]: _td("action|done"),
[Phase.Started]: _td("Started"),
[Phase.Cancelled]: _td("Cancelled"),
};