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/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/static/%7BpictrsAvatarThumbnail%28community.icon%29%7D?a=commitdiff_plain;h=7ea9f26a1cd8fb25e42fd84e9d4b8babd00765d1;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") + ) )} )}