ui: "create public channel" labels (#6749)

This commit is contained in:
Evgeny
2026-04-04 18:04:01 +01:00
committed by GitHub
parent ef57d84479
commit 63682f9141
3 changed files with 8 additions and 8 deletions
@@ -83,7 +83,7 @@ struct AddChannelView: View {
}
let canCreate = canCreateProfile() && hasRelays && !creationInProgress
Button(action: createChannel) {
settingsRow("checkmark", color: canCreate ? theme.colors.primary : theme.colors.secondary) { Text("Create channel") }
settingsRow("checkmark", color: canCreate ? theme.colors.primary : theme.colors.secondary) { Text("Create public channel") }
}
.disabled(!canCreate)
} footer: {
@@ -91,7 +91,7 @@ struct AddChannelView: View {
ServersWarningView(warnStr: NSLocalizedString("Enable at least one chat relay in Network & Servers.", comment: "channel creation warning"))
} else {
let name = ChatModel.shared.currentUser?.displayName ?? ""
Text("Your profile **\(name)** will be shared with channel relays and subscribers.")
Text("Your profile **\(name)** will be shared with channel relays and subscribers.\nRelays can access channel messages.")
.foregroundColor(theme.colors.secondary)
}
}
@@ -127,11 +127,11 @@ struct NewChatSheet: View {
}
NavigationLink {
AddChannelView()
.navigationTitle("Create channel")
.navigationTitle("Create public channel")
.modifier(ThemedBackground(grouped: true))
.navigationBarTitleDisplayMode(.large)
} label: {
Label("Create channel (BETA)", systemImage: "antenna.radiowaves.left.and.right.circle.fill")
Label("Create public channel (BETA)", systemImage: "antenna.radiowaves.left.and.right.circle.fill")
}
}
@@ -2895,16 +2895,16 @@
<string name="block_subscriber_for_all_question">Block subscriber for all?</string>
<!-- AddChannelView.kt -->
<string name="create_channel_title">Create channel</string>
<string name="create_channel_button">Create channel</string>
<string name="create_channel_beta_button">Create channel (BETA)</string>
<string name="create_channel_title">Create public channel</string>
<string name="create_channel_button">Create public channel</string>
<string name="create_channel_beta_button">Create public channel (BETA)</string>
<string name="channel_display_name_field">Channel name</string>
<string name="creating_channel">Creating channel</string>
<string name="error_creating_channel">Error creating channel</string>
<string name="cancel_creating_channel_question">Cancel creating channel?</string>
<string name="cancel_creating_channel_confirm">Cancel</string>
<string name="enable_at_least_one_chat_relay">Enable at least one chat relay to create a channel.</string>
<string name="your_profile_shared_with_channel_relays">Your profile %1$s will be shared with channel relays and subscribers.</string>
<string name="your_profile_shared_with_channel_relays">Your profile %1$s will be shared with channel relays and subscribers.\nRelays can access channel messages.</string>
<string name="configure_relays">Configure relays</string>
<string name="relay_status_failed">failed</string>
<string name="relay_connection_failed">Relay connection failed</string>