kopia lustrzana https://github.com/ryukoposting/Signal-Android
Update translation strings for story privacy modes.
rodzic
c80999839b
commit
3705465ef2
|
@ -195,8 +195,8 @@ object ContactSearchItems {
|
||||||
|
|
||||||
private fun presentPrivacyMode(privacyMode: DistributionListPrivacyMode): String {
|
private fun presentPrivacyMode(privacyMode: DistributionListPrivacyMode): String {
|
||||||
return when (privacyMode) {
|
return when (privacyMode) {
|
||||||
DistributionListPrivacyMode.ONLY_WITH -> context.getString(R.string.ChooseInitialMyStoryMembershipFragment__only_share_with)
|
DistributionListPrivacyMode.ONLY_WITH -> context.getString(R.string.ContactSearchItems__only_share_with)
|
||||||
DistributionListPrivacyMode.ALL_EXCEPT -> context.getString(R.string.ChooseInitialMyStoryMembershipFragment__all_signal_connections_except)
|
DistributionListPrivacyMode.ALL_EXCEPT -> context.getString(R.string.ChooseInitialMyStoryMembershipFragment__all_except)
|
||||||
DistributionListPrivacyMode.ALL -> context.getString(R.string.ChooseInitialMyStoryMembershipFragment__all_signal_connections)
|
DistributionListPrivacyMode.ALL -> context.getString(R.string.ChooseInitialMyStoryMembershipFragment__all_signal_connections)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ class PrivateStorySettingsFragment : DSLSettingsFragment(
|
||||||
}
|
}
|
||||||
|
|
||||||
return configure {
|
return configure {
|
||||||
sectionHeaderPref(R.string.MyStorySettingsFragment__who_can_see_this_story)
|
sectionHeaderPref(R.string.MyStorySettingsFragment__who_can_view_this_story)
|
||||||
customPref(
|
customPref(
|
||||||
PrivateStoryItem.AddViewerModel(
|
PrivateStoryItem.AddViewerModel(
|
||||||
onClick = {
|
onClick = {
|
||||||
|
|
|
@ -45,7 +45,7 @@ class MyStorySettingsFragment : DSLSettingsFragment(
|
||||||
|
|
||||||
private fun getConfiguration(state: MyStorySettingsState): DSLConfiguration {
|
private fun getConfiguration(state: MyStorySettingsState): DSLConfiguration {
|
||||||
return configure {
|
return configure {
|
||||||
sectionHeaderPref(R.string.MyStorySettingsFragment__who_can_see_this_story)
|
sectionHeaderPref(R.string.MyStorySettingsFragment__who_can_view_this_story)
|
||||||
|
|
||||||
radioPref(
|
radioPref(
|
||||||
title = DSLSettingsText.from(R.string.MyStorySettingsFragment__all_signal_connections),
|
title = DSLSettingsText.from(R.string.MyStorySettingsFragment__all_signal_connections),
|
||||||
|
@ -64,7 +64,7 @@ class MyStorySettingsFragment : DSLSettingsFragment(
|
||||||
}
|
}
|
||||||
|
|
||||||
radioPref(
|
radioPref(
|
||||||
title = DSLSettingsText.from(R.string.MyStorySettingsFragment__all_signal_connections_except),
|
title = DSLSettingsText.from(R.string.MyStorySettingsFragment__all_except),
|
||||||
summary = exceptText,
|
summary = exceptText,
|
||||||
isChecked = state.myStoryPrivacyState.privacyMode == DistributionListPrivacyMode.ALL_EXCEPT,
|
isChecked = state.myStoryPrivacyState.privacyMode == DistributionListPrivacyMode.ALL_EXCEPT,
|
||||||
onClick = {
|
onClick = {
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="24dp"
|
android:layout_marginStart="24dp"
|
||||||
android:text="@string/ChooseInitialMyStoryMembershipFragment__all_signal_connections_except"
|
android:text="@string/ChooseInitialMyStoryMembershipFragment__all_except"
|
||||||
app:layout_constrainedWidth="true"
|
app:layout_constrainedWidth="true"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/choose_initial_my_story_all_signal_connnections_except_count"
|
app:layout_constraintBottom_toTopOf="@+id/choose_initial_my_story_all_signal_connnections_except_count"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
|
|
@ -4765,7 +4765,7 @@
|
||||||
<!-- Page title for My Story options -->
|
<!-- Page title for My Story options -->
|
||||||
<string name="MyStorySettingsFragment__my_story">My Story</string>
|
<string name="MyStorySettingsFragment__my_story">My Story</string>
|
||||||
<!-- Section heading for story visibility -->
|
<!-- Section heading for story visibility -->
|
||||||
<string name="MyStorySettingsFragment__who_can_see_this_story">Who can see this story</string>
|
<string name="MyStorySettingsFragment__who_can_view_this_story">Who can view this story</string>
|
||||||
<!-- Clickable option for selecting people to hide your story from -->
|
<!-- Clickable option for selecting people to hide your story from -->
|
||||||
<string name="MyStorySettingsFragment__hide_story_from">Hide story from</string>
|
<string name="MyStorySettingsFragment__hide_story_from">Hide story from</string>
|
||||||
<!-- Privacy setting title for sending stories to all your signal connections -->
|
<!-- Privacy setting title for sending stories to all your signal connections -->
|
||||||
|
@ -4773,7 +4773,7 @@
|
||||||
<!-- Privacy setting description for sending stories to all your signal connections -->
|
<!-- Privacy setting description for sending stories to all your signal connections -->
|
||||||
<string name="MyStorySettingsFragment__share_with_all_connections">Share with all connections</string>
|
<string name="MyStorySettingsFragment__share_with_all_connections">Share with all connections</string>
|
||||||
<!-- Privacy setting title for sending stories to all except the specified connections -->
|
<!-- Privacy setting title for sending stories to all except the specified connections -->
|
||||||
<string name="MyStorySettingsFragment__all_signal_connections_except">All Signal connections except…</string>
|
<string name="MyStorySettingsFragment__all_except">All except…</string>
|
||||||
<!-- Privacy setting description for sending stories to all except the specified connections -->
|
<!-- Privacy setting description for sending stories to all except the specified connections -->
|
||||||
<string name="MyStorySettingsFragment__hide_your_story_from_specific_people">Hide your story from specific people</string>
|
<string name="MyStorySettingsFragment__hide_your_story_from_specific_people">Hide your story from specific people</string>
|
||||||
<!-- Summary of clickable option displaying how many people you have excluded from your story -->
|
<!-- Summary of clickable option displaying how many people you have excluded from your story -->
|
||||||
|
@ -5006,6 +5006,8 @@
|
||||||
<string name="ExpiredGiftSheetConfiguration__make_a_monthly_donation">Make a monthly donation</string>
|
<string name="ExpiredGiftSheetConfiguration__make_a_monthly_donation">Make a monthly donation</string>
|
||||||
<!-- Expired gift sheet not now button -->
|
<!-- Expired gift sheet not now button -->
|
||||||
<string name="ExpiredGiftSheetConfiguration__not_now">Not now</string>
|
<string name="ExpiredGiftSheetConfiguration__not_now">Not now</string>
|
||||||
|
<!-- My Story label designating that we will only share with the selected viewers. -->
|
||||||
|
<string name="ContactSearchItems__only_share_with">Only share with</string>
|
||||||
<!-- Label under name for private stories -->
|
<!-- Label under name for private stories -->
|
||||||
<plurals name="ContactSearchItems__private_story_d_viewers">
|
<plurals name="ContactSearchItems__private_story_d_viewers">
|
||||||
<item quantity="one">Private story · %1$d viewer</item>
|
<item quantity="one">Private story · %1$d viewer</item>
|
||||||
|
@ -5118,7 +5120,7 @@
|
||||||
<!-- All connections option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
<!-- All connections option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
||||||
<string name="ChooseInitialMyStoryMembershipFragment__all_signal_connections">All Signal connections</string>
|
<string name="ChooseInitialMyStoryMembershipFragment__all_signal_connections">All Signal connections</string>
|
||||||
<!-- All connections except option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
<!-- All connections except option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
||||||
<string name="ChooseInitialMyStoryMembershipFragment__all_signal_connections_except">All Signal connections except…</string>
|
<string name="ChooseInitialMyStoryMembershipFragment__all_except">All except…</string>
|
||||||
<!-- Only with selected connections option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
<!-- Only with selected connections option for initial My Story settings configuration shown when sending to My Story for the first time -->
|
||||||
<string name="ChooseInitialMyStoryMembershipFragment__only_share_with">Only share with…</string>
|
<string name="ChooseInitialMyStoryMembershipFragment__only_share_with">Only share with…</string>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue