Added/removed strings
Modified chat message input type
This commit is contained in:
@@ -1681,11 +1681,11 @@ class MainActivity : AppCompatActivity() {
|
|||||||
val telAccounts = Account.telProviderAccounts()
|
val telAccounts = Account.telProviderAccounts()
|
||||||
if (telAccounts.isEmpty()) {
|
if (telAccounts.isEmpty()) {
|
||||||
Utils.alertView(this, getString(R.string.notice),
|
Utils.alertView(this, getString(R.string.notice),
|
||||||
String.format(getString(R.string.no_telephony_providers)))
|
getString(R.string.no_telephony_providers))
|
||||||
} else {
|
} else {
|
||||||
val builder = AlertDialog.Builder(this)
|
val builder = AlertDialog.Builder(this)
|
||||||
with(builder) {
|
with(builder) {
|
||||||
setTitle("Choose a Telephony Provider account")
|
setTitle(getString(R.string.choose_telephony_provider_account))
|
||||||
setItems(telAccounts) { _, which ->
|
setItems(telAccounts) { _, which ->
|
||||||
spinToAor("sip:${telAccounts[which]}")
|
spinToAor("sip:${telAccounts[which]}")
|
||||||
makeCall()
|
makeCall()
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:layout_toStartOf="@id/sendButton"
|
android:layout_toStartOf="@id/sendButton"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:inputType="textMultiLine|textShortMessage|textCapSentences"
|
android:inputType="textMultiLine|textShortMessage|textCapSentences|textAutoComplete|textAutoCorrect"
|
||||||
android:scrollHorizontally="false"
|
android:scrollHorizontally="false"
|
||||||
android:autofillHints="text"
|
android:autofillHints="text"
|
||||||
android:hint="@string/new_message" >
|
android:hint="@string/new_message" >
|
||||||
|
|||||||
@@ -362,7 +362,7 @@
|
|||||||
<string name="send_message">Send Message</string>
|
<string name="send_message">Send Message</string>
|
||||||
<string name="contact_delete_question">Do you want to delete contact \'%1$s\'?</string>
|
<string name="contact_delete_question">Do you want to delete contact \'%1$s\'?</string>
|
||||||
<string name="contacts_exceeded">Your maximum number of contacts %1$d has been exceeded.</string>
|
<string name="contacts_exceeded">Your maximum number of contacts %1$d has been exceeded.</string>
|
||||||
<string name="no_telephony_providers">Telephony provider has not been configured for any account.</string>
|
<string name="no_telephony_providers">Telephony Provider has not been configured for any account.</string>
|
||||||
<!-- Generic -->
|
<!-- Generic -->
|
||||||
<string name="alert">Alert</string>
|
<string name="alert">Alert</string>
|
||||||
<string name="info">Info</string>
|
<string name="info">Info</string>
|
||||||
@@ -397,7 +397,7 @@
|
|||||||
<string name="incoming_call_from_dots">Call from …</string>
|
<string name="incoming_call_from_dots">Call from …</string>
|
||||||
<string name="transferring_call_to_dots">Transferring call to …</string>
|
<string name="transferring_call_to_dots">Transferring call to …</string>
|
||||||
<string name="invalid_sip_uri">Invalid SIP URI \'%1$s\'</string>
|
<string name="invalid_sip_uri">Invalid SIP URI \'%1$s\'</string>
|
||||||
<string name="no_telephony_provider">Telephony provider has not been configured for this acccount.</string>
|
<string name="choose_telephony_provider_account">Choose Telephony Provider account.</string>
|
||||||
<string name="callee">Callee</string>
|
<string name="callee">Callee</string>
|
||||||
<string name="hangup">Hangup</string>
|
<string name="hangup">Hangup</string>
|
||||||
<string name="video_call">Video call</string>
|
<string name="video_call">Video call</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user