Rename airplane_mode string
This commit is contained in:
@ -361,7 +361,7 @@ private fun Calls(
|
||||
secondAction.value = {
|
||||
if (ua.account.isMobile && Utils.isAirplaneModeOn(ctx)) {
|
||||
alertTitle.value = ctx.getString(R.string.notice)
|
||||
alertMessage.value = ctx.getString(R.string.no_airplane_mode)
|
||||
alertMessage.value = ctx.getString(R.string.airplane_mode)
|
||||
showAlert.value = true
|
||||
} else {
|
||||
handleIntent(ctx, viewModel, intent, "call")
|
||||
@ -376,7 +376,7 @@ private fun Calls(
|
||||
if (ua.account.isMobile) {
|
||||
if (Utils.isAirplaneModeOn(ctx)) {
|
||||
alertTitle.value = ctx.getString(R.string.notice)
|
||||
alertMessage.value = ctx.getString(R.string.no_airplane_mode)
|
||||
alertMessage.value = ctx.getString(R.string.airplane_mode)
|
||||
showAlert.value = true
|
||||
} else if (!Utils.isDefaultSmsApp(ctx)) {
|
||||
alertTitle.value = ctx.getString(R.string.notice)
|
||||
|
||||
@ -583,7 +583,7 @@ private fun NewMessage(
|
||||
addMessage(msg)
|
||||
if (ua.account.isMobile) {
|
||||
if (Utils.isAirplaneModeOn(ctx)) {
|
||||
dialogMessage.value = ctx.getString(R.string.no_airplane_mode)
|
||||
dialogMessage.value = ctx.getString(R.string.airplane_mode)
|
||||
showDialog.value = true
|
||||
} else {
|
||||
val destination = Utils.uriUserPart(peerUri)
|
||||
|
||||
@ -690,7 +690,7 @@ private fun UrisSection(
|
||||
else {
|
||||
if (ua.account.isMobile && Utils.isAirplaneModeOn(ctx)) {
|
||||
handleDialog(ctx, ctx.getString(R.string.notice),
|
||||
ctx.getString(R.string.no_airplane_mode))
|
||||
ctx.getString(R.string.airplane_mode))
|
||||
} else if (ua.account.isMobile && !Utils.isDefaultSmsApp(ctx)) {
|
||||
handleDialog(ctx, ctx.getString(R.string.notice),
|
||||
ctx.getString(R.string.enable_default_messaging))
|
||||
@ -724,7 +724,7 @@ private fun UrisSection(
|
||||
else {
|
||||
if (ua.account.isMobile && Utils.isAirplaneModeOn(ctx)) {
|
||||
handleDialog(ctx, ctx.getString(R.string.notice),
|
||||
ctx.getString(R.string.no_airplane_mode))
|
||||
ctx.getString(R.string.airplane_mode))
|
||||
} else {
|
||||
val intent = Intent(ctx, MainActivity::class.java)
|
||||
intent.putExtra("uap", ua.uap)
|
||||
|
||||
@ -2134,7 +2134,7 @@ private fun makeCall(ctx: Context, viewModel: ViewModel, uriText: String,
|
||||
}
|
||||
else if (ua.account.isMobile && Utils.isAirplaneModeOn(ctx)) {
|
||||
alertTitle.value = ctx.getString(R.string.notice)
|
||||
alertMessage.value = ctx.getString(R.string.no_airplane_mode)
|
||||
alertMessage.value = ctx.getString(R.string.airplane_mode)
|
||||
showAlert.value = true
|
||||
return
|
||||
}
|
||||
|
||||
@ -484,15 +484,17 @@
|
||||
<string name="new_contact">Uusi yhteystieto</string>
|
||||
<string name="contact_name">Nimi</string>
|
||||
<string name="email">Sähköposti</string>
|
||||
<string name="sip_or_tel_uri">SIP tai tel URI</string>
|
||||
<string name="sip_or_tel_uri">SIP tai TEL URI</string>
|
||||
<string name="user_domain_or_number">käyttäjä@domain tai puhelinnumero</string>
|
||||
<string name="favorite">Suosikki</string>
|
||||
<string name="favorite_help">Jos ruksattu, kontakti näytetään muiden suosikkien kanssa
|
||||
yhteystietolistan alussa.</string>
|
||||
<string name="invalid_contact">Virheellinen yhteystiedon nimi \'%1$s\'</string>
|
||||
<string name="contact_already_exists">Yhteystieto \'%1$s\' on jo olemassa.</string>
|
||||
<string name="android_contact_help">Jos merkitty, tämä yhteystieto lisätään Androidin yhteystietoihin.</string>
|
||||
<string name="contact_already_exists">Yhteystieto \'%1$s\' on jo olemassa</string>
|
||||
<string name="contact_no_sip_or_tel_uri">Yhteystiedolla \'%1$s\' ei ole SIP eikä TEL URI:a</string>
|
||||
<string name="contact_no_tel_uri">Yhteystiedolla \'%1$s\' ei ole TEL URI:a</string><string name="android_contact_help">Jos merkitty, tämä yhteystieto lisätään Androidin yhteystietoihin.</string>
|
||||
<string name="avatar_image">Profiilikuva</string>
|
||||
|
||||
<!-- Contacts Activity -->
|
||||
<string name="contacts">Yhteystiedot</string>
|
||||
<string name="contact_action_question">Haluatko soittaa tai lähettää viestin
|
||||
@ -618,6 +620,8 @@
|
||||
versiosta 14 alkaen ei salli tietojen palauttamista, jos ne on tallettu ennen %1$s versioa
|
||||
%2$s.</string>
|
||||
<string name="no_notifications">Et voi käyttää tätä sovellusta ilman Ilmoitukset-lupaa.</string>
|
||||
<string name="airplane_mode">Laite on lentotilassa. Poista lentotila, jos haluat käyttää
|
||||
mobiilitiliä.</string>
|
||||
<string name="no_calls">Et voi soittaa puheluita tai vastata niihin ilman Mikrofoni-lupaa.</string>
|
||||
<string name="no_video_calls">Salli Kamera-lupa jotta voit soittaa videopuheluita ja vastata niihin.</string>
|
||||
<string name="no_backup">Et voi tallentaa sovelluksen tietoja ilman Tallennustila-lupaa.</string>
|
||||
|
||||
@ -597,7 +597,7 @@
|
||||
</string>
|
||||
<string name="no_notifications">You are not able to use this application without \"Notifications\"
|
||||
permission.</string>
|
||||
<string name="no_airplane_mode">Airplane mode is ON. Turn it OFF to use mobile account.</string>
|
||||
<string name="airplane_mode">Airplane mode is ON. Turn it OFF to use mobile account.</string>
|
||||
<string name="no_calls">baresip needs \"Microphone\" permission for voice calls.</string>
|
||||
<string name="no_video_calls">Grant \"Camera\" permission to make or answer video calls.</string>
|
||||
<string name="no_backup">You are not able create backup without \"Storage\" permission.</string>
|
||||
|
||||
Reference in New Issue
Block a user