Migrate more strings to translation keys (#11579)
This commit is contained in:
parent
a81393d974
commit
8b9719d46a
65 changed files with 3334 additions and 2561 deletions
|
@ -106,7 +106,11 @@ export default class FontScalingPanel extends React.Component<IProps, IState> {
|
|||
|
||||
public render(): React.ReactNode {
|
||||
return (
|
||||
<SettingsSubsection heading={_t("Font size")} stretchContent data-testid="mx_FontScalingPanel">
|
||||
<SettingsSubsection
|
||||
heading={_t("settings|appearance|font_size")}
|
||||
stretchContent
|
||||
data-testid="mx_FontScalingPanel"
|
||||
>
|
||||
<EventTilePreview
|
||||
className="mx_FontScalingPanel_preview"
|
||||
message={this.MESSAGE_PREVIEW_TEXT}
|
||||
|
@ -125,7 +129,7 @@ export default class FontScalingPanel extends React.Component<IProps, IState> {
|
|||
onChange={this.onFontSizeChanged}
|
||||
displayFunc={(_) => ""}
|
||||
disabled={this.state.useCustomFontSize}
|
||||
label={_t("Font size")}
|
||||
label={_t("settings|appearance|font_size")}
|
||||
/>
|
||||
<div className="mx_FontScalingPanel_fontSlider_largeText">Aa</div>
|
||||
</div>
|
||||
|
@ -148,7 +152,7 @@ export default class FontScalingPanel extends React.Component<IProps, IState> {
|
|||
|
||||
<Field
|
||||
type="number"
|
||||
label={_t("Font size")}
|
||||
label={_t("settings|appearance|font_size")}
|
||||
autoComplete="off"
|
||||
placeholder={this.state.fontSize.toString()}
|
||||
value={this.state.fontSize.toString()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue