feat(ios,p0): iOS P0 platform, audio fixes, channel UX

This commit is contained in:
Edison Jwa
2026-05-17 22:00:00 +09:00
parent a1fefc8ab6
commit 7a59f5b9a1
38 changed files with 1705 additions and 674 deletions
@@ -295,6 +295,12 @@ abstract class AppL10n {
/// **'On Linux, Global PTT requires a GNOME-Wayland desktop with the GlobalShortcuts portal. Re-bind the key and accept the desktop\'s shortcut dialog when it appears.'**
String get pttCapabilityExplainGoGlobalLinux;
/// No description provided for @pttCapabilityExplainGoGlobalIos.
///
/// In en, this message translates to:
/// **'On iOS, Apple does not expose global hotkeys to apps. Chanora uses the on-screen Push-to-Talk button and only transmits while the app is in the foreground.'**
String get pttCapabilityExplainGoGlobalIos;
/// No description provided for @pttCapabilityExplainGoGlobalGeneric.
///
/// In en, this message translates to:
@@ -379,6 +385,12 @@ abstract class AppL10n {
/// **'Join channel'**
String get joinChannelAction;
/// No description provided for @leaveChannelAction.
///
/// In en, this message translates to:
/// **'Leave channel'**
String get leaveChannelAction;
/// No description provided for @channelPasswordTitle.
///
/// In en, this message translates to:
@@ -625,6 +637,12 @@ abstract class AppL10n {
/// **'Unknown'**
String get audioRouteUnknown;
/// No description provided for @channelJoinAlreadyIn.
///
/// In en, this message translates to:
/// **'Already in this channel.'**
String get channelJoinAlreadyIn;
/// No description provided for @channelJoinFailedPermission.
///
/// In en, this message translates to:
@@ -123,6 +123,10 @@ class AppL10nEn extends AppL10n {
String get pttCapabilityExplainGoGlobalLinux =>
'On Linux, Global PTT requires a GNOME-Wayland desktop with the GlobalShortcuts portal. Re-bind the key and accept the desktop\'s shortcut dialog when it appears.';
@override
String get pttCapabilityExplainGoGlobalIos =>
'On iOS, Apple does not expose global hotkeys to apps. Chanora uses the on-screen Push-to-Talk button and only transmits while the app is in the foreground.';
@override
String get pttCapabilityExplainGoGlobalGeneric =>
'Global PTT is not available in this environment. Focused PTT will keep working while the Chanora window has focus.';
@@ -169,6 +173,9 @@ class AppL10nEn extends AppL10n {
@override
String get joinChannelAction => 'Join channel';
@override
String get leaveChannelAction => 'Leave channel';
@override
String get channelPasswordTitle => 'Channel password';
@@ -305,6 +312,9 @@ class AppL10nEn extends AppL10n {
@override
String get audioRouteUnknown => 'Unknown';
@override
String get channelJoinAlreadyIn => 'Already in this channel.';
@override
String get channelJoinFailedPermission =>
'Insufficient permission to join this channel.';
@@ -120,6 +120,10 @@ class AppL10nZh extends AppL10n {
String get pttCapabilityExplainGoGlobalLinux =>
'在 Linux 上,启用全局对讲需要带 GlobalShortcuts 门户的 GNOME-Wayland 桌面。请重新绑定按键,并在桌面弹出快捷键对话框时接受。';
@override
String get pttCapabilityExplainGoGlobalIos =>
'在 iOS 上,Apple 不向应用开放全局热键。Chanora 使用屏幕上的按住说话按钮,并且仅在应用位于前台时响应。';
@override
String get pttCapabilityExplainGoGlobalGeneric =>
'当前环境暂不支持全局对讲。聚焦对讲在 Chanora 窗口获得焦点时仍可正常使用。';
@@ -164,6 +168,9 @@ class AppL10nZh extends AppL10n {
@override
String get joinChannelAction => '加入频道';
@override
String get leaveChannelAction => '离开频道';
@override
String get channelPasswordTitle => '频道密码';
@@ -299,6 +306,9 @@ class AppL10nZh extends AppL10n {
@override
String get audioRouteUnknown => '未知';
@override
String get channelJoinAlreadyIn => '您已在此频道中。';
@override
String get channelJoinFailedPermission => '权限不足,无法加入此频道。';