Migrate more strings to translation keys (#11694)
This commit is contained in:
parent
677854d318
commit
e1cfde0c6e
201 changed files with 21074 additions and 18552 deletions
|
@ -32,12 +32,12 @@ import { Action } from "../../../dispatcher/actions";
|
|||
|
||||
const getLabel = (hasLocationPublishError: boolean, hasStopSharingError: boolean): string => {
|
||||
if (hasLocationPublishError) {
|
||||
return _t("An error occurred whilst sharing your live location, please try again");
|
||||
return _t("location_sharing|error_sharing_live_location_try_again");
|
||||
}
|
||||
if (hasStopSharingError) {
|
||||
return _t("An error occurred while stopping your live location, please try again");
|
||||
return _t("location_sharing|error_stopping_live_location_try_again");
|
||||
}
|
||||
return _t("You are sharing your live location");
|
||||
return _t("location_sharing|live_location_active");
|
||||
};
|
||||
|
||||
interface RoomLiveShareWarningInnerProps {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue