mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 13:51:13 +00:00
feat: Add translations
This commit is contained in:
parent
3e52203162
commit
7847eb22bf
2 changed files with 3 additions and 4 deletions
|
@ -1 +1 @@
|
|||
Subproject commit de9de2c53bee034d3824ecaa9a2104f8f341332e
|
||||
Subproject commit 18da10858d8c63750beb06247947f25d91944741
|
|
@ -507,10 +507,9 @@ export class Settings extends Component<any, SettingsState> {
|
|||
}
|
||||
|
||||
blockedInstancesList() {
|
||||
// TODO: Make translations
|
||||
return (
|
||||
<>
|
||||
<h2 className="h5">{I18NextService.i18n.t("blocked_users")}</h2>
|
||||
<h2 className="h5">{I18NextService.i18n.t("blocked_instances")}</h2>
|
||||
<ul className="list-unstyled mb-0">
|
||||
{this.state.instanceBlocks.map(ib => (
|
||||
<li key={ib.instance.id}>
|
||||
|
@ -522,7 +521,7 @@ export class Settings extends Component<any, SettingsState> {
|
|||
{ ctx: this, instanceId: ib.instance.id },
|
||||
this.handleUnblockInstance,
|
||||
)}
|
||||
data-tippy-content={I18NextService.i18n.t("unblock_user")}
|
||||
data-tippy-content={I18NextService.i18n.t("unblock_instance")}
|
||||
>
|
||||
<Icon icon="x" classes="icon-inline" />
|
||||
</button>
|
||||
|
|
Loading…
Reference in a new issue