diff --git a/app/src/main/kotlin/com/tutpro/baresip/ContactsScreen.kt b/app/src/main/kotlin/com/tutpro/baresip/ContactsScreen.kt index b702546f..625611ba 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/ContactsScreen.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/ContactsScreen.kt @@ -293,10 +293,10 @@ private fun ContactsScreen(navController: NavController) { } val call = stringResource(R.string.call) - val dial = stringResource(R.string.dial) + val showCall = stringResource(R.string.show_call) val contactActionName = remember(BaresipService.contactAction) { - listOf(if (BaresipService.contactAction == "call") call else dial) + listOf(if (BaresipService.contactAction == "call") call else showCall) } val contactNames = remember(BaresipService.contactsMode) { @@ -423,7 +423,7 @@ private fun ContactsScreen(navController: NavController) { items = contactNames + contactActionName + import + export + delete, onItemClick = { name -> expanded = false - if (name == call || name == dial) { + if (name == call || name == showCall) { val newAction = if (BaresipService.contactAction == "call") "dial" else "call" BaresipService.contactAction = newAction Config.replaceVariable("contact_action", newAction) diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index 64f3e813..b0072787 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -295,7 +295,7 @@ Puheluhistoria Soita - Näytä + Näytä puhelut puhelun Suunta diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9e1c4642..4d667b87 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -291,7 +291,7 @@ Call History Call Details Call - Dial + Show Call calls call Peer