From: Alec Armbruster <35377827+alectrocute@users.noreply.github.com> Date: Mon, 26 Jun 2023 19:25:22 +0000 (-0400) Subject: capitalize button (#1616) X-Git-Url: http://these/git/%7B%60%24%7BarchiveUrl%7D/static/%7B%60%24%7BghostArchiveUrl%7D/README.ru.md?a=commitdiff_plain;h=022c27aec20ecf26156138535a10f7ce05fd0895;p=lemmy-ui.git capitalize button (#1616) Co-authored-by: Dessalines --- diff --git a/src/shared/components/person/inbox.tsx b/src/shared/components/person/inbox.tsx index 395875b..c414e8b 100644 --- a/src/shared/components/person/inbox.tsx +++ b/src/shared/components/person/inbox.tsx @@ -11,6 +11,7 @@ import { setIsoData, updatePersonBlock, } from "@utils/app"; +import { capitalizeFirstLetter } from "@utils/helpers"; import { RouteDataResponse } from "@utils/types"; import { Component, linkEvent } from "inferno"; import { @@ -243,7 +244,9 @@ export class Inbox extends Component { {this.state.markAllAsReadRes.state == "loading" ? ( ) : ( - I18NextService.i18n.t("mark_all_as_read") + capitalizeFirstLetter( + I18NextService.i18n.t("mark_all_as_read") + ) )} )}