mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-22 02:52:37 -05:00
more strings
This commit is contained in:
1 parent
3839dd6446
commit
97fd260333
2 files changed
+12
-4
No files matched your search
+6
-4
@@ -1,6 +1,8 @@
|
||||
package com.pranshulgg.weather_master_app.feature.shared.ui
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import com.pranshulgg.weather_master_app.R
|
||||
import com.pranshulgg.weather_master_app.core.ui.components.TextAlertDialog
|
||||
|
||||
object SharedDialogs {
|
||||
@@ -15,8 +17,8 @@ object SharedDialogs {
|
||||
show,
|
||||
onDismiss = onDismiss,
|
||||
onConfirm = onConfirm,
|
||||
title = "Location permission",
|
||||
message = "Allow location access to save places using your current position. Your location will only be shared with the sources you choose"
|
||||
title = stringResource(R.string.location_permission),
|
||||
message = stringResource(R.string.location_permission_secondary)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -30,8 +32,8 @@ object SharedDialogs {
|
||||
show,
|
||||
onDismiss = onDismiss,
|
||||
onConfirm = onConfirm,
|
||||
title = "Background location permission",
|
||||
message = "Allow background location access to keep your saved device location updated even when the app is closed or running in the background"
|
||||
title = stringResource(R.string.location_permission_background),
|
||||
message = stringResource(R.string.location_permission_background_secondary)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -484,6 +484,12 @@
|
||||
<string name="weather_hail">Hail</string>
|
||||
<string name="weather_sleet">Sleet</string>
|
||||
|
||||
<string name="location_permission">Location permission</string>
|
||||
<string name="location_permission_secondary">Allow location access to save places using your current position. Your location will only be shared with the sources you choose</string>
|
||||
|
||||
<string name="location_permission_background">Background location permission</string>
|
||||
<string name="location_permission_background_secondary">Allow background location access to keep your saved device location updated even when the app is closed or running in the background</string>
|
||||
|
||||
</resources>
|
||||
|
||||
<!--<string name=""></string>-->
|
||||
Reference in new issue
Block a user