mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 18:45:19 +00:00
Further AccessibilityId mapping WIP
This commit is contained in:
parent
31bac8e30e
commit
45c4118d52
@ -52,7 +52,7 @@ internal fun StartConversationScreen(
|
|||||||
ItemButton(
|
ItemButton(
|
||||||
textId = R.string.messageNew,
|
textId = R.string.messageNew,
|
||||||
icon = R.drawable.ic_message,
|
icon = R.drawable.ic_message,
|
||||||
modifier = Modifier.contentDescription(R.string.AccessibilityId_new_direct_message),
|
modifier = Modifier.contentDescription(R.string.AccessibilityId_messageNew),
|
||||||
onClick = delegate::onNewMessageSelected)
|
onClick = delegate::onNewMessageSelected)
|
||||||
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
||||||
ItemButton(
|
ItemButton(
|
||||||
|
@ -1157,7 +1157,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
.put(NAME_KEY, recipient.name)
|
.put(NAME_KEY, recipient.name)
|
||||||
.format()
|
.format()
|
||||||
)
|
)
|
||||||
dangerButton(R.string.block, R.string.AccessibilityId_block_confirm) {
|
dangerButton(R.string.block, R.string.AccessibilityId_blockConfirm) {
|
||||||
viewModel.block()
|
viewModel.block()
|
||||||
|
|
||||||
// Block confirmation toast added as per SS-64
|
// Block confirmation toast added as per SS-64
|
||||||
@ -1217,7 +1217,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
)
|
)
|
||||||
dangerButton(
|
dangerButton(
|
||||||
R.string.blockUnblock,
|
R.string.blockUnblock,
|
||||||
R.string.AccessibilityId_unblock_confirm
|
R.string.AccessibilityId_unblockConfirm
|
||||||
) {
|
) {
|
||||||
viewModel.unblock()
|
viewModel.unblock()
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class DownloadDialog(private val recipient: Recipient) : DialogFragment() {
|
|||||||
spannable.setSpan(StyleSpan(Typeface.BOLD), startIndex, startIndex + name.count(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE)
|
spannable.setSpan(StyleSpan(Typeface.BOLD), startIndex, startIndex + name.count(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE)
|
||||||
text(spannable)
|
text(spannable)
|
||||||
|
|
||||||
button(R.string.download, R.string.AccessibilityId_download_media) { trust() }
|
button(R.string.download, R.string.AccessibilityId_download) { trust() }
|
||||||
cancelButton { dismiss() }
|
cancelButton { dismiss() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ class InputBar @JvmOverloads constructor(
|
|||||||
var voiceMessageDurationMS = 0L
|
var voiceMessageDurationMS = 0L
|
||||||
var voiceRecorderState = VoiceRecorderState.Idle
|
var voiceRecorderState = VoiceRecorderState.Idle
|
||||||
|
|
||||||
private val attachmentsButton = InputBarButton(context, R.drawable.ic_plus_24).apply { contentDescription = context.getString(R.string.AccessibilityId_attachments_button)}
|
private val attachmentsButton = InputBarButton(context, R.drawable.ic_plus_24).apply { contentDescription = context.getString(R.string.AccessibilityId_attachmentsButton)}
|
||||||
val microphoneButton = InputBarButton(context, R.drawable.ic_microphone).apply { contentDescription = context.getString(R.string.AccessibilityId_microphone_button)}
|
val microphoneButton = InputBarButton(context, R.drawable.ic_microphone).apply { contentDescription = context.getString(R.string.AccessibilityId_microphone_button)}
|
||||||
private val sendButton = InputBarButton(context, R.drawable.ic_arrow_up, true).apply { contentDescription = context.getString(R.string.AccessibilityId_send_message_button)}
|
private val sendButton = InputBarButton(context, R.drawable.ic_arrow_up, true).apply { contentDescription = context.getString(R.string.AccessibilityId_send_message_button)}
|
||||||
|
|
||||||
|
@ -19,14 +19,12 @@ import androidx.core.graphics.drawable.IconCompat
|
|||||||
import com.squareup.phrase.Phrase
|
import com.squareup.phrase.Phrase
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import network.loki.messenger.R
|
import network.loki.messenger.R
|
||||||
import org.session.libsession.LocalisedTimeUtil
|
|
||||||
import org.session.libsession.messaging.sending_receiving.MessageSender
|
import org.session.libsession.messaging.sending_receiving.MessageSender
|
||||||
import org.session.libsession.messaging.sending_receiving.leave
|
import org.session.libsession.messaging.sending_receiving.leave
|
||||||
import org.session.libsession.utilities.GroupUtil.doubleDecodeGroupID
|
import org.session.libsession.utilities.GroupUtil.doubleDecodeGroupID
|
||||||
import org.session.libsession.utilities.StringSubstitutionConstants.GROUP_NAME_KEY
|
import org.session.libsession.utilities.StringSubstitutionConstants.GROUP_NAME_KEY
|
||||||
import org.session.libsession.utilities.TextSecurePreferences
|
import org.session.libsession.utilities.TextSecurePreferences
|
||||||
import org.session.libsession.utilities.recipients.Recipient
|
import org.session.libsession.utilities.recipients.Recipient
|
||||||
import org.session.libsignal.utilities.Log
|
|
||||||
import org.session.libsignal.utilities.guava.Optional
|
import org.session.libsignal.utilities.guava.Optional
|
||||||
import org.session.libsignal.utilities.toHexString
|
import org.session.libsignal.utilities.toHexString
|
||||||
import org.thoughtcrime.securesms.MediaOverviewActivity
|
import org.thoughtcrime.securesms.MediaOverviewActivity
|
||||||
@ -43,7 +41,6 @@ import org.thoughtcrime.securesms.service.WebRtcCallService
|
|||||||
import org.thoughtcrime.securesms.showMuteDialog
|
import org.thoughtcrime.securesms.showMuteDialog
|
||||||
import org.thoughtcrime.securesms.showSessionDialog
|
import org.thoughtcrime.securesms.showSessionDialog
|
||||||
import org.thoughtcrime.securesms.util.BitmapUtil
|
import org.thoughtcrime.securesms.util.BitmapUtil
|
||||||
import kotlin.time.Duration.Companion.milliseconds
|
|
||||||
|
|
||||||
object ConversationMenuHelper {
|
object ConversationMenuHelper {
|
||||||
|
|
||||||
@ -171,7 +168,7 @@ object ConversationMenuHelper {
|
|||||||
context.showSessionDialog {
|
context.showSessionDialog {
|
||||||
title(R.string.callsPermissionsRequired)
|
title(R.string.callsPermissionsRequired)
|
||||||
text(R.string.callsPermissionsRequiredDescription)
|
text(R.string.callsPermissionsRequiredDescription)
|
||||||
button(R.string.sessionSettings, R.string.AccessibilityId_settings) {
|
button(R.string.sessionSettings, R.string.AccessibilityId_sessionSettings) {
|
||||||
Intent(context, PrivacySettingsActivity::class.java).let(context::startActivity)
|
Intent(context, PrivacySettingsActivity::class.java).let(context::startActivity)
|
||||||
}
|
}
|
||||||
cancelButton()
|
cancelButton()
|
||||||
@ -185,7 +182,6 @@ object ConversationMenuHelper {
|
|||||||
Intent(context, WebRtcCallActivity::class.java)
|
Intent(context, WebRtcCallActivity::class.java)
|
||||||
.apply { flags = Intent.FLAG_ACTIVITY_NEW_TASK }
|
.apply { flags = Intent.FLAG_ACTIVITY_NEW_TASK }
|
||||||
.let(context::startActivity)
|
.let(context::startActivity)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressLint("StaticFieldLeak")
|
@SuppressLint("StaticFieldLeak")
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:layout_width="@dimen/input_bar_button_expanded_size"
|
android:layout_width="@dimen/input_bar_button_expanded_size"
|
||||||
android:layout_height="@dimen/input_bar_button_expanded_size"
|
android:layout_height="@dimen/input_bar_button_expanded_size"
|
||||||
android:contentDescription="@string/AccessibilityId_documents_folder"
|
android:contentDescription="@string/AccessibilityId_files"
|
||||||
android:alpha="0" />
|
android:alpha="0" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
@ -223,7 +223,7 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/blockedBanner"
|
android:id="@+id/blockedBanner"
|
||||||
android:contentDescription="@string/AccessibilityId_blocked_banner"
|
android:contentDescription="@string/AccessibilityId_blockedBanner"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/toolbar"
|
app:layout_constraintTop_toBottomOf="@+id/toolbar"
|
||||||
@ -233,7 +233,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/blockedBannerTextView"
|
android:id="@+id/blockedBannerTextView"
|
||||||
android:contentDescription="@string/AccessibilityId_blocked_banner_text"
|
android:contentDescription="@string/AccessibilityId_blockedBannerText"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
@ -279,7 +279,7 @@
|
|||||||
app:layout_constraintTop_toBottomOf="@+id/outdatedBanner"
|
app:layout_constraintTop_toBottomOf="@+id/outdatedBanner"
|
||||||
android:elevation="8dp"
|
android:elevation="8dp"
|
||||||
android:contentDescription="@string/AccessibilityId_control_message"
|
android:contentDescription="@string/AccessibilityId_control_message"
|
||||||
tools:text="@string/activity_conversation_empty_state_default"
|
tools:text="Some Control Message Text"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -298,7 +298,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:contentDescription="@string/AccessibilityId_block_message_request_button"
|
android:contentDescription="@string/AccessibilityId_messageRequestsBlock"
|
||||||
android:textColor="?danger"
|
android:textColor="?danger"
|
||||||
android:paddingHorizontal="@dimen/massive_spacing"
|
android:paddingHorizontal="@dimen/massive_spacing"
|
||||||
android:paddingVertical="@dimen/small_spacing"
|
android:paddingVertical="@dimen/small_spacing"
|
||||||
@ -325,7 +325,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/acceptMessageRequestButton"
|
android:id="@+id/acceptMessageRequestButton"
|
||||||
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
||||||
android:contentDescription="@string/AccessibilityId_accept_message_request_button"
|
android:contentDescription="@string/AccessibilityId_messageRequestsAccept"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="@dimen/medium_button_height"
|
android:layout_height="@dimen/medium_button_height"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
@ -334,7 +334,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/declineMessageRequestButton"
|
android:id="@+id/declineMessageRequestButton"
|
||||||
style="@style/Widget.Session.Button.Common.DangerOutline"
|
style="@style/Widget.Session.Button.Common.DangerOutline"
|
||||||
android:contentDescription="@string/AccessibilityId_decline_message_request_button"
|
android:contentDescription="@string/AccessibilityId_decline"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="@dimen/medium_button_height"
|
android:layout_height="@dimen/medium_button_height"
|
||||||
android:layout_marginStart="@dimen/medium_spacing"
|
android:layout_marginStart="@dimen/medium_spacing"
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_marginLeft="@dimen/medium_spacing"
|
android:layout_marginLeft="@dimen/medium_spacing"
|
||||||
android:contentDescription="@string/AccessibilityId_cancel_name_change"
|
android:contentDescription="@string/AccessibilityId_groupNameChangeCancel"
|
||||||
android:src="@drawable/ic_baseline_clear_24"/>
|
android:src="@drawable/ic_baseline_clear_24"/>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
@ -51,7 +51,7 @@
|
|||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
android:maxLength="@integer/max_group_and_community_name_length_chars"
|
android:maxLength="@integer/max_group_and_community_name_length_chars"
|
||||||
android:contentDescription="@string/AccessibilityId_group_name"
|
android:contentDescription="@string/AccessibilityId_groupName"
|
||||||
android:hint="@string/groupNameEnter" />
|
android:hint="@string/groupNameEnter" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -60,7 +60,7 @@
|
|||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginRight="@dimen/medium_spacing"
|
android:layout_marginRight="@dimen/medium_spacing"
|
||||||
android:contentDescription="@string/AccessibilityId_accept_name_change"
|
android:contentDescription="@string/AccessibilityId_groupNameNew"
|
||||||
android:src="@drawable/ic_baseline_done_24"/>
|
android:src="@drawable/ic_baseline_done_24"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -78,7 +78,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:contentDescription="@string/AccessibilityId_group_name"
|
android:contentDescription="@string/AccessibilityId_groupName"
|
||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:textSize="@dimen/very_large_font_size"
|
android:textSize="@dimen/very_large_font_size"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
@ -124,7 +124,7 @@
|
|||||||
android:layout_marginVertical="@dimen/small_spacing"
|
android:layout_marginVertical="@dimen/small_spacing"
|
||||||
android:layout_marginEnd="@dimen/medium_spacing"
|
android:layout_marginEnd="@dimen/medium_spacing"
|
||||||
android:layout_marginStart="@dimen/small_spacing"
|
android:layout_marginStart="@dimen/small_spacing"
|
||||||
android:contentDescription="@string/AccessibilityId_add_members"
|
android:contentDescription="@string/AccessibilityId_membersInvite"
|
||||||
android:paddingStart="@dimen/medium_spacing"
|
android:paddingStart="@dimen/medium_spacing"
|
||||||
android:paddingEnd="@dimen/medium_spacing"
|
android:paddingEnd="@dimen/medium_spacing"
|
||||||
android:text="@string/membersInvite" />
|
android:text="@string/membersInvite" />
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/muteNotificationsTextView"
|
android:id="@+id/muteNotificationsTextView"
|
||||||
style="@style/BottomSheetActionItem"
|
style="@style/BottomSheetActionItem"
|
||||||
android:contentDescription="@string/AccessibilityId_mute_notifications"
|
android:contentDescription="@string/AccessibilityId_notificationsMute"
|
||||||
android:drawableStart="@drawable/ic_outline_notifications_off_24"
|
android:drawableStart="@drawable/ic_outline_notifications_off_24"
|
||||||
android:text="@string/notificationsMute"
|
android:text="@string/notificationsMute"
|
||||||
tools:visibility="visible"
|
tools:visibility="visible"
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
android:layout_marginTop="@dimen/medium_spacing"
|
android:layout_marginTop="@dimen/medium_spacing"
|
||||||
android:layout_marginRight="@dimen/large_spacing"
|
android:layout_marginRight="@dimen/large_spacing"
|
||||||
android:layout_marginBottom="@dimen/medium_spacing"
|
android:layout_marginBottom="@dimen/medium_spacing"
|
||||||
android:contentDescription="@string/AccessibilityId_group_name_input"
|
android:contentDescription="@string/AccessibilityId_groupNameEnter"
|
||||||
android:hint="@string/groupNameEnter"
|
android:hint="@string/groupNameEnter"
|
||||||
android:imeOptions="actionDone"
|
android:imeOptions="actionDone"
|
||||||
android:inputType="textCapWords"
|
android:inputType="textCapWords"
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/communityUrlEditText"
|
android:id="@+id/communityUrlEditText"
|
||||||
android:contentDescription="@string/AccessibilityId_community_input_box"
|
android:contentDescription="@string/AccessibilityId_communityEnterUrl"
|
||||||
style="@style/SmallSessionEditText"
|
style="@style/SmallSessionEditText"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="64dp"
|
android:layout_height="64dp"
|
||||||
@ -92,7 +92,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/joinCommunityButton"
|
android:id="@+id/joinCommunityButton"
|
||||||
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
||||||
android:contentDescription="@string/AccessibilityId_join_community_button"
|
android:contentDescription="@string/AccessibilityId_communityJoin"
|
||||||
android:layout_width="196dp"
|
android:layout_width="196dp"
|
||||||
android:layout_height="@dimen/medium_button_height"
|
android:layout_height="@dimen/medium_button_height"
|
||||||
android:layout_marginVertical="@dimen/large_spacing"
|
android:layout_marginVertical="@dimen/large_spacing"
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
android:textColor="@color/accent_green"
|
android:textColor="@color/accent_green"
|
||||||
android:textSize="@dimen/very_small_font_size"
|
android:textSize="@dimen/very_small_font_size"
|
||||||
android:text="@string/disappearingMessagesFollowSetting"
|
android:text="@string/disappearingMessagesFollowSetting"
|
||||||
android:contentDescription="@string/AccessibilityId_follow_setting"
|
android:contentDescription="@string/AccessibilityId_disappearingMessagesFollowSetting"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/attachmentsButtonContainer"
|
android:id="@+id/attachmentsButtonContainer"
|
||||||
android:contentDescription="@string/AccessibilityId_attachments_button"
|
android:contentDescription="@string/AccessibilityId_attachmentsButton"
|
||||||
android:layout_width="@dimen/input_bar_button_expanded_size"
|
android:layout_width="@dimen/input_bar_button_expanded_size"
|
||||||
android:layout_height="@dimen/input_bar_button_expanded_size"
|
android:layout_height="@dimen/input_bar_button_expanded_size"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
android:src="@drawable/ic_crown"
|
android:src="@drawable/ic_crown"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
android:contentDescription="@string/AccessibilityId_contact_mentions"/>
|
android:contentDescription="@string/AccessibilityId_contactMentions"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
@ -42,7 +42,7 @@
|
|||||||
android:textColor="?android:textColorPrimary"
|
android:textColor="?android:textColorPrimary"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
tools:text="Alice"
|
tools:text="Alice"
|
||||||
android:contentDescription="@string/AccessibilityId_contact_mentions"
|
android:contentDescription="@string/AccessibilityId_contactMentions"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/actionIndicatorImageView"
|
android:id="@+id/actionIndicatorImageView"
|
||||||
android:contentDescription="@string/AccessibilityId_select_contact"
|
android:contentDescription="@string/AccessibilityId_selectContact"
|
||||||
android:layout_width="24dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="24dp"
|
android:layout_height="24dp"
|
||||||
android:layout_marginStart="@dimen/medium_spacing"
|
android:layout_marginStart="@dimen/medium_spacing"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<item
|
<item
|
||||||
android:title="@string/conversationsSettingsAllMedia"
|
android:title="@string/conversationsSettingsAllMedia"
|
||||||
android:id="@+id/menu_view_all_media"
|
android:id="@+id/menu_view_all_media"
|
||||||
android:contentDescription="@string/AccessibilityId_all_media"/>
|
android:contentDescription="@string/AccessibilityId_conversationsSettingsAllMedia"/>
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:title="@string/search"
|
android:title="@string/search"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<item
|
<item
|
||||||
android:title="@string/call"
|
android:title="@string/call"
|
||||||
android:contentDescription="@string/AccessibilityId_call_button"
|
android:contentDescription="@string/AccessibilityId_call"
|
||||||
android:icon="@drawable/ic_baseline_call_24"
|
android:icon="@drawable/ic_baseline_call_24"
|
||||||
app:showAsAction="always"
|
app:showAsAction="always"
|
||||||
android:id="@+id/menu_call"/>
|
android:id="@+id/menu_call"/>
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_edit_group"
|
android:id="@+id/menu_edit_group"
|
||||||
android:contentDescription="@string/AccessibilityId_edit_group"
|
android:contentDescription="@string/AccessibilityId_groupEdit"
|
||||||
android:title="@string/groupEdit"
|
android:title="@string/groupEdit"
|
||||||
app:showAsAction="collapseActionView" />
|
app:showAsAction="collapseActionView" />
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/menu_leave_group"
|
android:id="@+id/menu_leave_group"
|
||||||
android:contentDescription="@string/AccessibilityId_leave_group"
|
android:contentDescription="@string/AccessibilityId_groupLeave"
|
||||||
android:title="@string/groupLeave"
|
android:title="@string/groupLeave"
|
||||||
app:showAsAction="collapseActionView"/>
|
app:showAsAction="collapseActionView"/>
|
||||||
|
|
||||||
|
@ -5,6 +5,6 @@
|
|||||||
<item
|
<item
|
||||||
android:title="@string/disappearingMessages"
|
android:title="@string/disappearingMessages"
|
||||||
android:id="@+id/menu_expiring_messages"
|
android:id="@+id/menu_expiring_messages"
|
||||||
android:contentDescription="@string/AccessibilityId_disappearing_messages" />
|
android:contentDescription="@string/AccessibilityId_disappearingMessages" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -3,5 +3,5 @@
|
|||||||
<item
|
<item
|
||||||
android:title="@string/sessionNotifications"
|
android:title="@string/sessionNotifications"
|
||||||
android:id="@+id/menu_notification_settings"
|
android:id="@+id/menu_notification_settings"
|
||||||
android:contentDescription="@string/AccessibilityId_notification_settings"/>
|
android:contentDescription="@string/AccessibilityId_sessionNotifications"/>
|
||||||
</menu>
|
</menu>
|
@ -5,6 +5,6 @@
|
|||||||
<item
|
<item
|
||||||
android:title="@string/notificationsMute"
|
android:title="@string/notificationsMute"
|
||||||
android:id="@+id/menu_mute_notifications"
|
android:id="@+id/menu_mute_notifications"
|
||||||
android:contentDescription="@string/AccessibilityId_mute_notifications" />
|
android:contentDescription="@string/AccessibilityId_notificationsMute" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
@ -6,7 +6,7 @@
|
|||||||
<item
|
<item
|
||||||
android:id="@+id/action_apply"
|
android:id="@+id/action_apply"
|
||||||
android:title="@string/set"
|
android:title="@string/set"
|
||||||
android:contentDescription="@string/AccessibilityId_apply_changes"
|
android:contentDescription="@string/AccessibilityId_set"
|
||||||
app:showAsAction="always|withText" />
|
app:showAsAction="always|withText" />
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
@ -56,60 +56,54 @@
|
|||||||
<string name="AccessibilityId_groupCreate">Create group</string>
|
<string name="AccessibilityId_groupCreate">Create group</string>
|
||||||
<string name="AccessibilityId_communityJoin">Join community button</string>
|
<string name="AccessibilityId_communityJoin">Join community button</string>
|
||||||
<string name="AccessibilityId_conversationsNew">New conversation button</string>
|
<string name="AccessibilityId_conversationsNew">New conversation button</string>
|
||||||
<string name="AccessibilityId_new_direct_message">New direct message</string>
|
<string name="AccessibilityId_messageNew">New direct message</string>
|
||||||
<!-- Join community pop up -->
|
<!-- Join community pop up -->
|
||||||
<string name="AccessibilityId_community_input_box">Community input</string>
|
<string name="AccessibilityId_communityEnterUrl">Community input</string>
|
||||||
<string name="AccessibilityId_join_community_button">Join community button</string>
|
|
||||||
<!-- Conversation options (three dots menu)-->
|
<!-- Conversation options (three dots menu)-->
|
||||||
<string name="AccessibilityId_add_to_home_screen">Add to home screen</string>
|
<string name="AccessibilityId_conversationsAddToHome">Add to home screen</string>
|
||||||
<string name="AccessibilityId_all_media">All media</string>
|
<string name="AccessibilityId_conversationsSettingsAllMedia">All media</string>
|
||||||
<string name="AccessibilityId_block">Block</string>
|
<string name="AccessibilityId_block">Block</string>
|
||||||
<string name="AccessibilityId_block_confirm">Confirm block</string>
|
<string name="AccessibilityId_blockConfirm">Confirm block</string>
|
||||||
<string name="AccessibilityId_unblock_confirm">Confirm unblock</string>
|
<string name="AccessibilityId_unblockConfirm">Confirm unblock</string>
|
||||||
<string name="AccessibilityId_delete">Delete</string>
|
<string name="AccessibilityId_delete">Delete</string>
|
||||||
<string name="AccessibilityId_disappearing_messages">Disappearing messages</string>
|
<string name="AccessibilityId_disappearingMessages">Disappearing messages</string>
|
||||||
<string name="AccessibilityId_enable">Enable</string>
|
<string name="AccessibilityId_enable">Enable</string>
|
||||||
<string name="AccessibilityId_mute_notifications">Mute notifications</string>
|
<string name="AccessibilityId_notificationsMute">Mute notifications</string>
|
||||||
<string name="AccessibilityId_notification_settings">Notification settings</string>
|
<string name="AccessibilityId_sessionNotifications">Notification settings</string>
|
||||||
<string name="AccessibilityId_search">Search</string>
|
<string name="AccessibilityId_search">Search</string>
|
||||||
<!-- Conversation options for closed group-->
|
<!-- Conversation options for closed group-->
|
||||||
<string name="AccessibilityId_accept_name_change">Accept name change</string>
|
<string name="AccessibilityId_groupNameNew">Accept name change</string>
|
||||||
<string name="AccessibilityId_add_members">Add members</string>
|
<string name="AccessibilityId_membersInvite">Add members</string>
|
||||||
<string name="AccessibilityId_apply_changes">Apply changes</string>
|
<string name="AccessibilityId_set">Apply changes</string>
|
||||||
<string name="AccessibilityId_cancel_name_change">Cancel name change</string>
|
<string name="AccessibilityId_groupNameChangeCancel">Cancel name change</string>
|
||||||
<string name="AccessibilityId_contact_mentions">Contact mentions</string>
|
<string name="AccessibilityId_contactMentions">Contact mentions</string>
|
||||||
<string name="AccessibilityId_done">Done</string>
|
<string name="AccessibilityId_done">Done</string>
|
||||||
<string name="AccessibilityId_edit_group">Edit group</string>
|
<string name="AccessibilityId_groupEdit">Edit group</string>
|
||||||
<string name="AccessibilityId_group_name">Group name</string>
|
<string name="AccessibilityId_groupName">Group name</string>
|
||||||
<string name="AccessibilityId_leave_group">Leave group</string>
|
<string name="AccessibilityId_groupLeave">Leave group</string>
|
||||||
<string name="AccessibilityId_mentions_list">Mentions list</string>
|
<string name="AccessibilityId_mentions_list">Mentions list</string>
|
||||||
<!-- Conversation icons -->
|
<!-- Conversation icons -->
|
||||||
<string name="AccessibilityId_accept_message_request_button">Accept message request</string>
|
<string name="AccessibilityId_messageRequestsAccept">Accept message request</string>
|
||||||
<string name="AccessibilityId_block_message_request_button">Block message request</string>
|
<string name="AccessibilityId_messageRequestsBlock">Block message request</string>
|
||||||
<string name="AccessibilityId_call_button">Call button</string>
|
<string name="AccessibilityId_call">Call button</string>
|
||||||
<string name="AccessibilityId_confirm">Confirm</string>
|
<string name="AccessibilityId_confirm">Confirm</string>
|
||||||
<string name="AccessibilityId_decline_message_request_button">Decline message request</string>
|
<string name="AccessibilityId_decline">Decline message request</string>
|
||||||
<string name="AccessibilityId_disappearing_messages_time_picker">Time selector</string>
|
<string name="AccessibilityId_sessionSettings">Settings</string>
|
||||||
<string name="AccessibilityId_settings">Settings</string>
|
|
||||||
<string name="AccessibilityId_timer_icon">Timer icon</string>
|
|
||||||
<!-- Configuration messages -->
|
<!-- Configuration messages -->
|
||||||
<string name="AccessibilityId_blocked_banner">Blocked banner</string>
|
<string name="AccessibilityId_blockedBanner">Blocked banner</string>
|
||||||
<string name="AccessibilityId_blocked_banner_text">Blocked banner text</string>
|
<string name="AccessibilityId_blockedBannerText">Blocked banner text</string>
|
||||||
<string name="AccessibilityId_control_message">Control message</string>
|
<string name="AccessibilityId_control_message">Control message</string>
|
||||||
<string name="AccessibilityId_follow_setting">Follow setting</string>
|
<string name="AccessibilityId_disappearingMessagesFollowSetting">Follow setting</string>
|
||||||
<!--New Session -->
|
<!--New Session -->
|
||||||
<string name="AccessibilityId_next">Next</string>
|
<string name="AccessibilityId_next">Next</string>
|
||||||
<string name="AccessibilityId_session_id_input">Session id input box</string>
|
|
||||||
<!-- New group -->
|
<!-- New group -->
|
||||||
<string name="AccessibilityId_contact">Contact</string>
|
<string name="AccessibilityId_contact">Contact</string>
|
||||||
<string name="AccessibilityId_continue_group_creation">Continue group creation</string>
|
<string name="AccessibilityId_groupNameEnter">Group name input</string>
|
||||||
<string name="AccessibilityId_group_name_input">Group name input</string>
|
<string name="AccessibilityId_selectContact">Select contact</string>
|
||||||
<string name="AccessibilityId_select_contact">Select contact</string>
|
|
||||||
<!--Conversation screen -->
|
<!--Conversation screen -->
|
||||||
<string name="AccessibilityId_attachments_button">Attachments button</string>
|
<string name="AccessibilityId_attachmentsButton">Attachments button</string>
|
||||||
<string name="AccessibilityId_documents_folder">Documents folder</string>
|
<string name="AccessibilityId_files">Documents folder</string>
|
||||||
<string name="AccessibilityId_dont_download_media">Don\'t download media</string>
|
<string name="AccessibilityId_download">Download media</string>
|
||||||
<string name="AccessibilityId_download_media">Download media</string>
|
|
||||||
<string name="AccessibilityId_gif_button">GIF button</string>
|
<string name="AccessibilityId_gif_button">GIF button</string>
|
||||||
<string name="AccessibilityId_images_folder">Images folder</string>
|
<string name="AccessibilityId_images_folder">Images folder</string>
|
||||||
<string name="AccessibilityId_message_input">Message input box</string>
|
<string name="AccessibilityId_message_input">Message input box</string>
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
<!-- ACL REMOVE THE LINE BELOW - JUST A TEST! -->
|
||||||
|
<string name="sessionMessenger" translatable="false">Le Session</string>
|
||||||
|
|
||||||
<!-- MessageRecord -->
|
<!-- MessageRecord -->
|
||||||
<string name="you">Vous</string>
|
<string name="you">Vous</string>
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
|
<!-- ACL REMOVE THE LINE BELOW - JUST A TEST! -->
|
||||||
|
<string name="sessionMessenger" translatable="false">Le Session</string>
|
||||||
|
|
||||||
|
|
||||||
<!-- MessageRecord -->
|
<!-- MessageRecord -->
|
||||||
<string name="you">Vous</string>
|
<string name="you">Vous</string>
|
||||||
|
|
||||||
|
@ -687,7 +687,7 @@
|
|||||||
<string name="sessionHelp">Help</string>
|
<string name="sessionHelp">Help</string>
|
||||||
<string name="sessionInviteAFriend">Invite a Friend</string>
|
<string name="sessionInviteAFriend">Invite a Friend</string>
|
||||||
<string name="sessionMessageRequests">Message Requests</string>
|
<string name="sessionMessageRequests">Message Requests</string>
|
||||||
<string name="sessionMessenger">Session</string>
|
<string name="sessionMessenger" translatable="false">Session</string>
|
||||||
<string name="sessionNotifications">Notifications</string>
|
<string name="sessionNotifications">Notifications</string>
|
||||||
<string name="sessionPermissions">Permissions</string>
|
<string name="sessionPermissions">Permissions</string>
|
||||||
<string name="sessionPrivacy">Privacy</string>
|
<string name="sessionPrivacy">Privacy</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user