Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,12 @@ private fun ConfirmOldIncidentDialog(
) {
val t = LocalAppTranslator.current
val confirmContinueKey = if (isCreateWorksite) {
"~~{incident_name} was created {relative_time}. Continue creating a Case for {incident_name}?"
"caseForm.old_incident_case_create_confirm"
} else {
"~~{incident_name} was created {relative_time}. Continue editing this Case for {incident_name}?"
"caseForm.old_incident_case_edit_confirm"
}
CrisisCleanupAlertDialog(
title = t("~~Old Incident"),
title = t("caseForm.old_incident"),
confirmButton = {
CrisisCleanupTextButton(
text = t("actions.yes"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ internal fun CasesFilterRoute(
val closeDialog = { confirmAbandonFilterChange = false }
CrisisCleanupAlertDialog(
onDismissRequest = closeDialog,
title = t("~~Filter changes"),
title = t("worksiteFilters.filter_changes"),
confirmButton = {
CrisisCleanupTextButton(
text = t("actions.apply_filters"),
Expand All @@ -178,11 +178,11 @@ internal fun CasesFilterRoute(
},
dismissButton = {
CrisisCleanupTextButton(
text = t("~~Abandon"),
text = t("actions.abandon"),
onClick = onBack,
)
},
text = t("~~Filters have changed. Would you like to apply or abandon the changes?"),
text = t("worksiteFilters.filter_changes_confirmation"),
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ private fun MapLayersView(
verticalArrangement = listItemSpacedByHalf,
) {
Text(
t("~~Map type"),
t("worksiteMap.toggle_map_type"),
style = LocalFontStyles.current.header3,
)

Expand All @@ -843,7 +843,7 @@ private fun MapLayersView(
imageVector = CrisisCleanupIcons.NormalMap,
onClick = { onToggleSatelliteType(false) },
)
Text(t("~~Default"))
Text(t("worksiteMap.street_map"))
}
Column(
horizontalAlignment = Alignment.CenterHorizontally,
Expand All @@ -854,7 +854,7 @@ private fun MapLayersView(
imageVector = CrisisCleanupIcons.SatelliteMap,
onClick = { onToggleSatelliteType(true) },
)
Text(t("~~Satellite"))
Text(t("worksiteMap.satellite_map"))
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private fun IncidentWorksitesCacheScreen(
) {
val syncStageMessage = when (syncStage) {
IncidentCacheStage.Inactive -> t("appCache.ready_to_sync")
IncidentCacheStage.Start -> t("~~Starting sync...")
IncidentCacheStage.Start -> t("appCache.starting_sync")
IncidentCacheStage.Incidents -> t("appCache.syncing_incidents")
IncidentCacheStage.WorksitesBounded -> t("appCache.syncing_cases_in_designated_area")
IncidentCacheStage.WorksitesPreload -> t("appCache.syncing_nearby_cases")
Expand Down
Loading