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
|
@ -52,12 +52,12 @@ const chooseBestBeacon = (
|
|||
|
||||
const getLabel = (hasStoppingErrors: boolean, hasLocationErrors: boolean): string => {
|
||||
if (hasStoppingErrors) {
|
||||
return _t("An error occurred while stopping your live location");
|
||||
return _t("location_sharing|error_stopping_live_location");
|
||||
}
|
||||
if (hasLocationErrors) {
|
||||
return _t("An error occurred whilst sharing your live location");
|
||||
return _t("location_sharing|error_sharing_live_location");
|
||||
}
|
||||
return _t("You are sharing your live location");
|
||||
return _t("location_sharing|live_location_active");
|
||||
};
|
||||
|
||||
const useLivenessMonitor = (liveBeaconIds: BeaconIdentifier[], beacons: Map<BeaconIdentifier, Beacon>): void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue