Migrate more strings to translation keys (#11498)

This commit is contained in:
Michael Telatynski 2023-08-31 11:22:10 +01:00 committed by GitHub
parent 9329b896b3
commit 6b3243b27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 1495 additions and 1491 deletions

View file

@ -247,7 +247,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
{},
{ idserver: (sub) => <b>{abbreviateUrl(this.state.currentClientIdServer)}</b> },
),
button: _t("Disconnect"),
button: _t("action|disconnect"),
});
if (confirmed) {
this.disconnectIdServer();
@ -404,7 +404,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
let discoSection;
if (idServerUrl) {
let discoButtonContent: React.ReactNode = _t("Disconnect");
let discoButtonContent: React.ReactNode = _t("action|disconnect");
let discoBodyText = _t(
"Disconnecting from your identity server will mean you won't be discoverable by other users and you won't be able to invite others by email or phone.",
);
@ -448,7 +448,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
onClick={this.checkIdServer}
disabled={!this.idServerChangeEnabled()}
>
{_t("Change")}
{_t("action|change")}
</AccessibleButton>
{discoSection}
</form>