mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 03:29:28 +01:00
change headings of conversation dialogs and add hints to TextInputLayout
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
32dbe70399
commit
aec9844fca
@ -115,7 +115,7 @@ class CreateConversationDialogFragment : DialogFragment() {
|
|||||||
binding = DialogCreateConversationBinding.inflate(LayoutInflater.from(context))
|
binding = DialogCreateConversationBinding.inflate(LayoutInflater.from(context))
|
||||||
|
|
||||||
val dialogBuilder = MaterialAlertDialogBuilder(binding.root.context)
|
val dialogBuilder = MaterialAlertDialogBuilder(binding.root.context)
|
||||||
.setTitle(resources.getString(R.string.nc_call_name))
|
.setTitle(resources.getString(R.string.create_conversation))
|
||||||
// listener is null for now to avoid closing after button was clicked.
|
// listener is null for now to avoid closing after button was clicked.
|
||||||
// listener is set later in onStart
|
// listener is set later in onStart
|
||||||
.setPositiveButton(R.string.nc_common_create, null)
|
.setPositiveButton(R.string.nc_common_create, null)
|
||||||
|
@ -85,7 +85,7 @@ class RenameConversationDialogFragment : DialogFragment() {
|
|||||||
binding = DialogRenameConversationBinding.inflate(LayoutInflater.from(context))
|
binding = DialogRenameConversationBinding.inflate(LayoutInflater.from(context))
|
||||||
|
|
||||||
val dialogBuilder = MaterialAlertDialogBuilder(binding.root.context)
|
val dialogBuilder = MaterialAlertDialogBuilder(binding.root.context)
|
||||||
.setTitle(resources.getString(R.string.nc_call_name))
|
.setTitle(resources.getString(R.string.nc_rename))
|
||||||
// listener is null for now to avoid closing after button was clicked.
|
// listener is null for now to avoid closing after button was clicked.
|
||||||
// listener is set later in onStart
|
// listener is set later in onStart
|
||||||
.setPositiveButton(R.string.nc_rename_confirm, null)
|
.setPositiveButton(R.string.nc_rename_confirm, null)
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="@dimen/standard_half_margin"
|
android:layout_marginEnd="@dimen/standard_half_margin"
|
||||||
android:layout_toStartOf="@id/smileyButton"
|
android:layout_toStartOf="@id/smileyButton"
|
||||||
|
android:hint="@string/nc_call_name"
|
||||||
app:errorTextAppearance="@style/ErrorAppearance"
|
app:errorTextAppearance="@style/ErrorAppearance"
|
||||||
app:passwordToggleTint="@color/grey_600"
|
app:passwordToggleTint="@color/grey_600"
|
||||||
app:boxStrokeColor="@color/colorPrimary"
|
app:boxStrokeColor="@color/colorPrimary"
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="@dimen/standard_half_margin"
|
android:layout_marginEnd="@dimen/standard_half_margin"
|
||||||
android:layout_toStartOf="@id/smileyButton"
|
android:layout_toStartOf="@id/smileyButton"
|
||||||
|
android:hint="@string/nc_call_name"
|
||||||
app:errorTextAppearance="@style/ErrorAppearance"
|
app:errorTextAppearance="@style/ErrorAppearance"
|
||||||
app:passwordToggleTint="@color/grey_600"
|
app:passwordToggleTint="@color/grey_600"
|
||||||
app:boxStrokeColor="@color/colorPrimary"
|
app:boxStrokeColor="@color/colorPrimary"
|
||||||
|
@ -287,6 +287,7 @@ How to translate with transifex:
|
|||||||
<string name="nc_all_ok_operation">OK, all done!</string>
|
<string name="nc_all_ok_operation">OK, all done!</string>
|
||||||
<string name="nc_ok">OK</string>
|
<string name="nc_ok">OK</string>
|
||||||
<string name="nc_call_name">Conversation name</string>
|
<string name="nc_call_name">Conversation name</string>
|
||||||
|
<string name="create_conversation">Create conversation</string>
|
||||||
<string name="nc_add_emojis">Add emojis</string>
|
<string name="nc_add_emojis">Add emojis</string>
|
||||||
<string name="nc_share_text">Join the conversation at %1$s/index.php/call/%2$s</string>
|
<string name="nc_share_text">Join the conversation at %1$s/index.php/call/%2$s</string>
|
||||||
<string name="nc_share_subject">%1$s invitation</string>
|
<string name="nc_share_subject">%1$s invitation</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user