Migrate more strings to translation keys (#11665)

This commit is contained in:
Michael Telatynski 2023-09-25 18:12:41 +01:00 committed by GitHub
parent de250df520
commit 54c88c57ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 6797 additions and 5825 deletions

View file

@ -224,7 +224,11 @@ class LocationPicker extends React.Component<ILocationPickerProps, IState> {
{this.props.shareType === LocationShareType.Pin && (
<div className="mx_LocationPicker_pinText">
<span>{this.state.position ? _t("Click to move the pin") : _t("Click to drop a pin")}</span>
<span>
{this.state.position
? _t("location_sharing|click_move_pin")
: _t("location_sharing|click_drop_pin")}
</span>
</div>
)}
<div className="mx_LocationPicker_footer">
@ -241,7 +245,7 @@ class LocationPicker extends React.Component<ILocationPickerProps, IState> {
disabled={!this.state.position}
onClick={this.onOk}
>
{_t("Share location")}
{_t("location_sharing|share_button")}
</AccessibleButton>
</form>
</div>