Migrate more strings to translation keys (#11694)

This commit is contained in:
Michael Telatynski 2023-10-03 19:17:26 +01:00 committed by GitHub
parent 677854d318
commit e1cfde0c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
201 changed files with 21074 additions and 18552 deletions

View file

@ -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 => {