Remove hardcoded string

This commit is contained in:
ganfra
2026-03-12 15:58:27 +01:00
parent 81c7656125
commit cdc773dab1
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ fun LocationConstraintsDialog(
cancelText = stringResource(CommonStrings.action_cancel), cancelText = stringResource(CommonStrings.action_cancel),
) )
LocationConstraintsDialogState.LocationServiceDisabled -> ConfirmationDialog( LocationConstraintsDialogState.LocationServiceDisabled -> ConfirmationDialog(
content = "Please enable your GPS to access location-based features.", content = stringResource(CommonStrings.error_location_service_disabled_android),
onSubmitClick = onOpenLocationSettings, onSubmitClick = onOpenLocationSettings,
onDismiss = onDismiss, onDismiss = onDismiss,
submitText = stringResource(CommonStrings.action_continue), submitText = stringResource(CommonStrings.action_continue),

View File

@@ -438,6 +438,7 @@ Are you sure you want to continue?"</string>
<string name="error_failed_locating_user">"%1$s could not access your location. Please try again later."</string> <string name="error_failed_locating_user">"%1$s could not access your location. Please try again later."</string>
<string name="error_failed_uploading_voice_message">"Failed to upload your voice message."</string> <string name="error_failed_uploading_voice_message">"Failed to upload your voice message."</string>
<string name="error_invalid_invite">"The room no longer exists or the invite is no longer valid."</string> <string name="error_invalid_invite">"The room no longer exists or the invite is no longer valid."</string>
<string name="error_location_service_disabled_android">"Please enable your GPS to access location-based features."</string>
<string name="error_message_not_found">"Message not found"</string> <string name="error_message_not_found">"Message not found"</string>
<string name="error_missing_location_auth_android">"%1$s does not have permission to access your location. You can enable access in Settings."</string> <string name="error_missing_location_auth_android">"%1$s does not have permission to access your location. You can enable access in Settings."</string>
<string name="error_missing_location_rationale_android">"%1$s does not have permission to access your location. Enable access below."</string> <string name="error_missing_location_rationale_android">"%1$s does not have permission to access your location. Enable access below."</string>