知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
chore(android): walk through Android 15+'s restricted-settings unlock for the floating window
wquguru300346e80677
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xmlindex 8e0cd23..ac5d23c 100644--- a/android/app/src/main/AndroidManifest.xml+++ b/android/app/src/main/AndroidManifest.xml@@ -31,6 +31,7 @@<activity android:name=".RecordActivity" android:exported="false" android:parentActivityName=".MainActivity" /><activity android:name=".SettingsActivity" android:exported="false" android:parentActivityName=".MainActivity" /><activity android:name=".OnboardingActivity" android:exported="false" />+ <activity android:name=".OverlayGuideActivity" android:exported="false" /><activity android:name=".ProjectionActivity" android:exported="false"android:theme="@style/Cicada.Translucent" android:excludeFromRecents="true" /><service android:name=".ListenTile" android:exported="true" android:label="@string/app_name"diff --git a/android/app/src/main/kotlin/com/wquguru/cicada/ListeningActivity.kt b/android/app/src/main/kotlin/com/wquguru/cicada/ListeningActivity.ktindex 6fddac6..f357315 100644--- a/android/app/src/main/kotlin/com/wquguru/cicada/ListeningActivity.kt+++ b/android/app/src/main/kotlin/com/wquguru/cicada/ListeningActivity.kt@@ -175,15 +175,10 @@ class ListeningActivity : Activity() {}/// Back to the app underneath (the video): the floating window shows there. Without the- /// permission for it, say where to turn it on first.+ /// permission for it, the guide asks for it (and walks through Android's unlock when needed).private fun watchOver() {val app = cicada- if (!app.canOverlay) {- AlertDialog.Builder(this).setTitle(L("在视频上直接看字幕")).setMessage(L("开启“显示在其他应用上层”"))- .setPositiveButton(L("去开启")) { _, _ -> startActivity(Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName"))) }- .setNegativeButton(L("取消"), null).show()- return- }+ if (!app.canOverlay) { OverlayGuideActivity.open(this, watch = true); return }// Asked for now: show it for this meeting even if 悬浮窗 is off in 设置, without changing that.app.overlayThisMeeting = trueapp.overlayClosed = falsediff --git a/android/app/src/main/kotlin/com/wquguru/cicada/MainActivity.kt b/android/app/src/main/kotlin/com/wquguru/cicada/MainActivity.ktindex 97b8eda..0e2653f 100644--- a/android/app/src/main/kotlin/com/wquguru/cicada/MainActivity.kt+++ b/android/app/src/main/kotlin/com/wquguru/cicada/MainActivity.kt@@ -134,7 +134,7 @@ class MainActivity : Activity() {addView(ui.tile(R.drawable.i_pip, 40, Palette.accentPale, Palette.link).apply { background = ui.rounded(Palette.accentPale, 20) })addView(ui.stack(2, ui.text(L("在视频上直接看字幕"), 15f, Palette.ink, medium = true), ui.helper(L("开启“显示在其他应用上层”"))),ui.weight().apply { leftMargin = ui.dp(12) })- addView(ui.textButton(L("去开启")) { startActivity(Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName"))) })+ addView(ui.textButton(L("去开启")) { OverlayGuideActivity.open(this@MainActivity, direct = true) })}private fun renderRecent() {diff --git a/android/app/src/main/kotlin/com/wquguru/cicada/OnboardingActivity.kt b/android/app/src/main/kotlin/com/wquguru/cicada/OnboardingActivity.ktindex 043dda9..68f2838 100644--- a/android/app/src/main/kotlin/com/wquguru/cicada/OnboardingActivity.kt+++ b/android/app/src/main/kotlin/com/wquguru/cicada/OnboardingActivity.kt@@ -237,7 +237,7 @@ class OnboardingActivity : Activity() {if (Build.VERSION.SDK_INT >= 33) requestPermissions(arrayOf(Manifest.permission.POST_NOTIFICATIONS), 2)},perm(L("显示在其他应用上层"), L("在视频上直接看字幕(在列表里找“知了”开启)"), cicada.canOverlay, L("去设置")) {- startActivity(Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName")))+ OverlayGuideActivity.open(this, direct = true)}))val content = ui.stack(16, intro(L("知了能听什么"), L("两种来源,每次开始听时都能选")), sources, limit, ui.sectionLabel(L("需要的权限")), list)return frame(content, ui.button(L("继续"), "primary") { next() })diff --git a/android/app/src/main/kotlin/com/wquguru/cicada/OverlayGuideActivity.kt b/android/app/src/main/kotlin/com/wquguru/cicada/OverlayGuideActivity.ktnew file mode 100644index 0000000..33f7b5d--- /dev/null+++ b/android/app/src/main/kotlin/com/wquguru/cicada/OverlayGuideActivity.kt@@ -0,0 +1,228 @@+package com.wquguru.cicada++import android.app.Activity+import android.content.Context+import android.content.Intent+import android.content.pm.PackageInstaller+import android.net.Uri+import android.os.Build+import android.os.Bundle+import android.provider.Settings+import android.view.Gravity+import android.view.View+import android.widget.FrameLayout+import android.widget.LinearLayout+import cicada.Log+import cicada.Strings.L++/// 显示在其他应用上层: asked for, and when Android holds it back, unlocked step by step.+///+/// Android 15+ holds this switch back from apps installed from a file (downloaded by a browser or+/// chat app, or opened in a file manager): it shows 已停用 and refuses once with 系统已拒绝…, and+/// only after that refusal does app info's ⋮ menu offer 允许受限制的设置. Checked in the emulator:+/// Android 15 and 16 hold it back; 14 (where 13's restriction covers accessibility and+/// notification access only) and 10 don't. Store and USB installs aren't held back. Android+/// doesn't tell an app whether it is held back, so the guide judges by the version, how it was+/// installed and the switch still being off when the person comes back.+class OverlayGuideActivity : Activity() {+ private enum class Stage { Ask, Retry, Unlock, LastStep, Xiaomi, Done }++ private lateinit var ui: Ui+ private var tried = false // the overlay switch's page has been opened+ private var unlockOpened = false // app info (for ⋮ › 允许受限制的设置) has been opened+ private var shown: Stage? = null+ private val watch get() = intent.getBooleanExtra("watch", false)+ private val direct get() = intent.getBooleanExtra("direct", false)++ override fun onCreate(savedInstanceState: Bundle?) {+ super.onCreate(savedInstanceState)+ ui = Ui(this)+ tried = savedInstanceState?.getBoolean("tried") ?: false+ unlockOpened = savedInstanceState?.getBoolean("unlockOpened") ?: false+ // From a row that already says what it's for (onboarding, settings): straight to the switch.+ if (savedInstanceState == null && direct && !cicada.canOverlay) openSwitch()+ }++ override fun onSaveInstanceState(out: Bundle) {+ super.onSaveInstanceState(out)+ out.putBoolean("tried", tried); out.putBoolean("unlockOpened", unlockOpened)+ }++ override fun onResume() {+ super.onResume()+ val stage = when {+ cicada.canOverlay -> if (direct && !watch) { finish(); return } else Stage.Done+ !tried -> if (direct) return else Stage.Ask+ xiaomi -> Stage.Xiaomi+ restrictedLikely(this) -> if (unlockOpened) Stage.LastStep else Stage.Unlock+ else -> Stage.Retry+ }+ if (stage == shown) return+ shown = stage+ Log.d("overlay guide: $stage (sdk=${Build.VERSION.SDK_INT} source=${installSource(this)} maker=${Build.MANUFACTURER})")+ show(stage)+ }++ private fun openSwitch() {+ tried = true+ unlockOpened = false+ start(Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName")))+ }++ private fun openAppInfo() {+ unlockOpened = true+ start(Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:$packageName")))+ }++ /// Xiaomi's own permission page (其他权限), else app info.+ private fun openXiaomi() {+ tried = true+ val miui = Intent("miui.intent.action.APP_PERM_EDITOR").putExtra("extra_pkgname", packageName)+ if (!start(miui)) start(Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:$packageName")))+ }++ private fun start(i: Intent): Boolean = try { startActivity(i); true } catch (_: Exception) { false }++ private fun done() {+ val app = cicada+ if (watch && app.listen.listening) {+ app.overlayThisMeeting = true+ app.overlayClosed = false+ moveTaskToBack(true)+ }+ finish()+ }++ // MARK: Screens++ private fun show(stage: Stage) {+ val body = ui.stack(0)+ val bottom: View+ when (stage) {+ Stage.Ask -> {+ body.addView(preview(), ui.lp(top = 8, height = ui.dp(168)))+ body.addView(ui.title(L("让字幕浮在视频上"), 26f), ui.lp(top = 24))+ body.addView(ui.text(L("需要打开“显示在其他应用上层”。只用来显示字幕卡片。"), 15f, Palette.secondary), ui.lp(top = 8))+ bottom = ui.stack(4, ui.button(L("去打开"), "primary") { openSwitch() },+ ui.textButton(L("先不用,在知了里看")) { finish() }).apply {+ setPadding(ui.dp(16), ui.dp(14), ui.dp(16), ui.dp(20)); background = ui.rounded(Palette.card, 0)+ }+ }+ Stage.Retry -> {+ body.addView(ui.title(L("还没打开"), 26f), ui.lp(top = 4))+ body.addView(ui.text(L("在列表里找到“知了”,把开关打开。"), 15f, Palette.secondary), ui.lp(top = 8))+ bottom = ui.bottomBar(ui.button(L("在知了里看"), "quiet") { finish() }, ui.button(L("再去打开"), "primary") { openSwitch() })+ }+ Stage.Unlock, Stage.LastStep -> {+ val last = stage == Stage.LastStep+ body.addView(ui.title(L("系统先拦住了这个开关"), 26f), ui.lp(top = 4))+ body.addView(ui.text(L("从浏览器或聊天 app 下载安装的应用,Android 要你先解锁一次。"), 15f, Palette.secondary), ui.lp(top = 8))+ body.addView(steps(+ step(1, L("点一次那个开关,系统提示已拒绝"), done = true),+ step(2, L("打开应用信息,点右上角 ⋮ ›“允许受限制的设置”,再验证锁屏密码"), done = last, extra = if (last) null else menuSketch()),+ step(3, L("回到“显示在其他应用上层”,打开知了"), current = last),+ ), ui.lp(top = 20))+ if (!last) body.addView(ui.helper(L("看不到 ⋮?先去点一次那个开关,被拒绝后菜单才会出现。")), ui.lp(top = 14))+ bottom = ui.bottomBar(ui.button(L("在知了里看"), "quiet") { finish() },+ if (last) ui.button(L("打开开关"), "primary") { openSwitch() } else ui.button(L("打开应用信息"), "primary") { openAppInfo() })+ }+ Stage.Xiaomi -> {+ body.addView(ui.badge(L("小米 HyperOS"), Palette.secondary, Palette.card), ui.lp(top = 4, width = -2))+ body.addView(ui.title(L("还差两个开关"), 26f), ui.lp(top = 10))+ body.addView(ui.text(L("小米把悬浮窗放在“其他权限”里,并且要允许后台弹出。"), 15f, Palette.secondary), ui.lp(top = 8))+ body.addView(steps(+ step(1, L("点下面的“打开权限设置”"), current = true),+ step(2, L("“其他权限”里,把“显示悬浮窗”和“后台弹出界面”设为允许")),+ step(3, L("提示“受限制的设置”时,先在应用详情右上角 ⋮ 解锁")),+ ), ui.lp(top = 20))+ body.addView(ui.helper(L("不同系统版本叫法略有不同,找带“悬浮窗”的那一项。")), ui.lp(top = 14))+ bottom = ui.bottomBar(ui.button(L("在知了里看"), "quiet") { finish() }, ui.button(L("打开权限设置"), "primary") { openXiaomi() })+ }+ Stage.Done -> {+ body.gravity = Gravity.CENTER_HORIZONTAL+ body.addView(FrameLayout(this).apply {+ background = ui.rounded(Palette.accentPale, 36)+ addView(ui.icon(R.drawable.i_check, 34, Palette.accent), FrameLayout.LayoutParams(ui.dp(34), ui.dp(34), Gravity.CENTER))+ }, LinearLayout.LayoutParams(ui.dp(72), ui.dp(72)).apply { topMargin = ui.dp(48) })+ body.addView(ui.title(L("好了,字幕会浮在视频上"), 24f).apply { gravity = Gravity.CENTER }, ui.lp(top = 20))+ body.addView(ui.text(L("回到视频就能看到字幕卡片,拖到角落可以收起。"), 15f, Palette.secondary).apply { gravity = Gravity.CENTER }, ui.lp(top = 8))+ val back = watch && cicada.listen.listening+ bottom = ui.bottomBar(ui.button(if (back) L("回到视频") else L("完成"), "primary") { done() })+ }+ }+ body.setPadding(ui.dp(24), 0, ui.dp(24), ui.dp(24))+ setContentView(ui.screen(this, null, back = true, ground = Palette.ground, bottom = bottom, body = body))+ }++ /// A video with the subtitle card over it: what the switch is for.+ private fun preview() = FrameLayout(this).apply {+ background = ui.rounded(Palette.ink, 20)+ importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS+ addView(ui.icon(R.drawable.i_play, 40, Palette.outline), FrameLayout.LayoutParams(ui.dp(40), ui.dp(40), Gravity.CENTER_HORIZONTAL).apply { topMargin = ui.dp(34) })+ addView(ui.stack(2, ui.text("Let's move the launch to next Thursday.", 11f, Palette.secondary, lines = 1),+ ui.text(L("我们把发布改到下周四吧。"), 15f, Palette.ink, bold = true, lines = 1)).apply {+ background = ui.rounded(Palette.card, 14); setPadding(ui.dp(12), ui.dp(10), ui.dp(12), ui.dp(10))+ }, FrameLayout.LayoutParams(-1, -2, Gravity.BOTTOM).apply { setMargins(ui.dp(16), 0, ui.dp(16), ui.dp(16)) })+ }++ private fun steps(vararg rows: View) = ui.stack(0).apply {+ background = ui.rounded(Palette.card, 20)+ setPadding(ui.dp(18), ui.dp(4), ui.dp(18), ui.dp(4))+ rows.forEachIndexed { i, r ->+ if (i > 0) addView(ui.divider(), LinearLayout.LayoutParams(-1, 1))+ addView(r)+ }+ }++ /// One numbered step: a ✓ once done, filled while it's the one to do now.+ private fun step(n: Int, text: String, done: Boolean = false, current: Boolean = false, extra: View? = null) = LinearLayout(this).apply {+ orientation = LinearLayout.HORIZONTAL+ setPadding(0, ui.dp(14), 0, ui.dp(14))+ val mark = FrameLayout(context).apply {+ background = ui.rounded(if (done) Palette.accentPale else if (current || extra != null) Palette.ink else Palette.ground, 14)+ if (done) addView(ui.icon(R.drawable.i_check, 16, Palette.link), FrameLayout.LayoutParams(ui.dp(16), ui.dp(16), Gravity.CENTER))+ else addView(ui.text("$n", 14f, if (current || extra != null) android.graphics.Color.WHITE else Palette.ink, bold = true).apply { gravity = Gravity.CENTER },+ FrameLayout.LayoutParams(-1, -1))+ }+ addView(mark, LinearLayout.LayoutParams(ui.dp(28), ui.dp(28)))+ val col = ui.stack(10, ui.text(text, 16f, if (done) Palette.secondary else Palette.ink))+ if (extra != null) col.addView(extra)+ addView(col, ui.weight().apply { leftMargin = ui.dp(14); topMargin = ui.dp(2) })+ contentDescription = (if (done) L("已完成") + ":" else "") + text+ }++ /// App info's top bar with ⋮ ringed and the item it opens.+ private fun menuSketch() = ui.stack(8).apply {+ background = ui.rounded(Palette.ground, 14)+ setPadding(ui.dp(12), ui.dp(10), ui.dp(12), ui.dp(10))+ importantForAccessibility = View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS+ addView(LinearLayout(context).apply {+ orientation = LinearLayout.HORIZONTAL+ gravity = Gravity.CENTER_VERTICAL+ addView(ui.text(L("应用信息"), 12f, Palette.secondary), ui.weight())+ addView(ui.text("⋮", 16f, Palette.ink, bold = true).apply { gravity = Gravity.CENTER; background = ui.rounded(Palette.card, 14, Palette.accent, 2) },+ LinearLayout.LayoutParams(ui.dp(28), ui.dp(28)))+ })+ addView(ui.text(L("允许受限制的设置"), 13f, Palette.link, bold = true).apply {+ background = ui.rounded(Palette.card, 10); setPadding(ui.dp(12), ui.dp(8), ui.dp(12), ui.dp(8))+ }, LinearLayout.LayoutParams(-2, -2).apply { gravity = Gravity.END })+ }++ companion object {+ fun open(context: Context, watch: Boolean = false, direct: Boolean = false) {+ context.startActivity(Intent(context, OverlayGuideActivity::class.java).putExtra("watch", watch).putExtra("direct", direct)+ .apply { if (context !is Activity) addFlags(Intent.FLAG_ACTIVITY_NEW_TASK) })+ }++ private val xiaomi get() = Build.MANUFACTURER.lowercase() in setOf("xiaomi", "redmi", "poco")++ /// How this copy was installed (Android 13+): 3 a local file, 4 a downloaded file, 2 a store, 0 USB / unknown.+ fun installSource(context: Context): Int = if (Build.VERSION.SDK_INT < 33) -1 else try {+ context.packageManager.getInstallSourceInfo(context.packageName).packageSource+ } catch (_: Exception) { -1 }++ /// Android 15+ holds the switch back from a copy installed from a file.+ fun restrictedLikely(context: Context) = Build.VERSION.SDK_INT >= 35 &&+ installSource(context).let { it == PackageInstaller.PACKAGE_SOURCE_LOCAL_FILE || it == PackageInstaller.PACKAGE_SOURCE_DOWNLOADED_FILE }+ }+}diff --git a/android/app/src/main/kotlin/com/wquguru/cicada/SettingsActivity.kt b/android/app/src/main/kotlin/com/wquguru/cicada/SettingsActivity.ktindex 5f94a71..3a04a19 100644--- a/android/app/src/main/kotlin/com/wquguru/cicada/SettingsActivity.kt+++ b/android/app/src/main/kotlin/com/wquguru/cicada/SettingsActivity.kt@@ -74,7 +74,7 @@ class SettingsActivity : Activity() {choiceRow(L("样式"), listOf("notes" to L("实时纪要"), "subtitles" to L("字幕条")), s.view) { app.setView(it) },switchRow(L("共享屏幕时让对方看到"), L("关闭时,截图和录屏里看不到悬浮窗"), s.showInCapture) { s.showInCapture = it; app.saveSettings(); app.overlay.rebuild() })if (!app.canOverlay) rows.add(0, ui.listRow(L("开启“显示在其他应用上层”"), null, leading = ui.icon(R.drawable.i_pip, 22, Palette.link)) {- startActivity(Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:$packageName")))+ OverlayGuideActivity.open(this, direct = true)})page.addView(ui.group(rows))diff --git a/android/app/src/main/strings/en.lproj/Android.strings b/android/app/src/main/strings/en.lproj/Android.stringsindex 68c8a9d..252a234 100644--- a/android/app/src/main/strings/en.lproj/Android.strings+++ b/android/app/src/main/strings/en.lproj/Android.strings@@ -110,3 +110,33 @@"这句已经是对方的语言" = "That's already in their language";"没翻译出来,再说一次" = "Couldn't translate. Try again";"没听到声音,靠近手机再说" = "Didn't hear anything. Move closer and try again";+"让字幕浮在视频上" = "Subtitles on top of the video";+"需要打开“显示在其他应用上层”。只用来显示字幕卡片。" = "Turn on “Display over other apps”. It's only used for the subtitle card.";+"先不用,在知了里看" = "Not now, watch in Cicada";+"还没打开" = "Not on yet";+"在列表里找到“知了”,把开关打开。" = "Find Cicada in the list and turn it on.";+"在知了里看" = "Watch in Cicada";+"再去打开" = "Try again";+"系统先拦住了这个开关" = "Android is holding this switch back";+"从浏览器或聊天 app 下载安装的应用,Android 要你先解锁一次。" = "For apps installed from a browser or chat app, Android asks you to unlock it once.";+"点一次那个开关,系统提示已拒绝" = "Tap the switch once; Android says access was denied";+"打开应用信息,点右上角 ⋮ ›“允许受限制的设置”,再验证锁屏密码" = "Open App info, tap ⋮ at the top right › “Allow restricted settings”, then confirm with your screen lock";+"回到“显示在其他应用上层”,打开知了" = "Back in “Display over other apps”, turn Cicada on";+"看不到 ⋮?先去点一次那个开关,被拒绝后菜单才会出现。" = "No ⋮? Tap the switch once first: the menu only appears after Android refuses it.";+"打开开关" = "Open the switch";+"打开应用信息" = "Open App info";+"小米 HyperOS" = "Xiaomi HyperOS";+"还差两个开关" = "Two more switches";+"小米把悬浮窗放在“其他权限”里,并且要允许后台弹出。" = "Xiaomi keeps it under “Other permissions” and also needs pop-ups from the background.";+"点下面的“打开权限设置”" = "Tap “Open permissions” below";+"“其他权限”里,把“显示悬浮窗”和“后台弹出界面”设为允许" = "Under “Other permissions”, allow “Display pop-up windows” and “Display pop-up windows while running in the background”";+"提示“受限制的设置”时,先在应用详情右上角 ⋮ 解锁" = "If it says “Restricted setting”, unlock it first from ⋮ at the top right of App info";+"不同系统版本叫法略有不同,找带“悬浮窗”的那一项。" = "Names vary a little by version: look for the one about pop-up windows.";+"打开权限设置" = "Open permissions";+"好了,字幕会浮在视频上" = "Done. Subtitles will float over the video";+"回到视频就能看到字幕卡片,拖到角落可以收起。" = "Go back to the video to see the subtitle card; drag it to a corner to tuck it away.";+"回到视频" = "Back to the video";+"我们把发布改到下周四吧。" = "Let's move the launch to next Thursday.";+"已完成" = "Done";+"应用信息" = "App info";+"允许受限制的设置" = "Allow restricted settings";diff --git a/android/app/src/main/strings/ja.lproj/Android.strings b/android/app/src/main/strings/ja.lproj/Android.stringsindex 2f3a5cd..64a0657 100644--- a/android/app/src/main/strings/ja.lproj/Android.strings+++ b/android/app/src/main/strings/ja.lproj/Android.strings@@ -110,3 +110,33 @@"这句已经是对方的语言" = "すでに相手の言語です";"没翻译出来,再说一次" = "翻訳できませんでした。もう一度";"没听到声音,靠近手机再说" = "声が聞こえません。近づいてもう一度";+"让字幕浮在视频上" = "字幕を動画の上に表示";+"需要打开“显示在其他应用上层”。只用来显示字幕卡片。" = "「他のアプリの上に重ねて表示」をオンにします。字幕カードの表示にだけ使います。";+"先不用,在知了里看" = "今はしない(知了で見る)";+"还没打开" = "まだオフです";+"在列表里找到“知了”,把开关打开。" = "一覧で「知了」を探してオンにします。";+"在知了里看" = "知了で見る";+"再去打开" = "もう一度開く";+"系统先拦住了这个开关" = "Android がこのスイッチを止めています";+"从浏览器或聊天 app 下载安装的应用,Android 要你先解锁一次。" = "ブラウザやチャットアプリから入れたアプリは、一度ロックを解除する必要があります。";+"点一次那个开关,系统提示已拒绝" = "スイッチを一度タップ(拒否と表示されます)";+"打开应用信息,点右上角 ⋮ ›“允许受限制的设置”,再验证锁屏密码" = "アプリ情報を開き、右上の ⋮ ›「制限付き設定を許可」をタップして画面ロックで確認";+"回到“显示在其他应用上层”,打开知了" = "「他のアプリの上に重ねて表示」に戻って知了をオン";+"看不到 ⋮?先去点一次那个开关,被拒绝后菜单才会出现。" = "⋮ がない場合は、先にスイッチを一度タップ。拒否されたあとにメニューが出ます。";+"打开开关" = "スイッチを開く";+"打开应用信息" = "アプリ情報を開く";+"小米 HyperOS" = "Xiaomi HyperOS";+"还差两个开关" = "あと 2 つのスイッチ";+"小米把悬浮窗放在“其他权限”里,并且要允许后台弹出。" = "Xiaomi では「その他の権限」にあり、バックグラウンドからの表示も必要です。";+"点下面的“打开权限设置”" = "下の「権限設定を開く」をタップ";+"“其他权限”里,把“显示悬浮窗”和“后台弹出界面”设为允许" = "「その他の権限」で「ポップアップウィンドウを表示」と「バックグラウンドでポップアップを表示」を許可";+"提示“受限制的设置”时,先在应用详情右上角 ⋮ 解锁" = "「制限付き設定」と出たら、アプリ情報の右上 ⋮ で先に解除";+"不同系统版本叫法略有不同,找带“悬浮窗”的那一项。" = "名前はバージョンで少し違います。ポップアップの項目を探してください。";+"打开权限设置" = "権限設定を開く";+"好了,字幕会浮在视频上" = "完了。字幕が動画の上に出ます";+"回到视频就能看到字幕卡片,拖到角落可以收起。" = "動画に戻ると字幕カードが出ます。隅にドラッグするとしまえます。";+"回到视频" = "動画に戻る";+"我们把发布改到下周四吧。" = "リリースは来週の木曜日にしましょう。";+"已完成" = "完了";+"应用信息" = "アプリ情報";+"允许受限制的设置" = "制限付き設定を許可";diff --git a/android/app/src/main/strings/ko.lproj/Android.strings b/android/app/src/main/strings/ko.lproj/Android.stringsindex e2c9908..5d1c3a5 100644--- a/android/app/src/main/strings/ko.lproj/Android.strings+++ b/android/app/src/main/strings/ko.lproj/Android.strings@@ -110,3 +110,33 @@"这句已经是对方的语言" = "이미 상대방 언어예요";"没翻译出来,再说一次" = "번역하지 못했어요. 다시 말해 주세요";"没听到声音,靠近手机再说" = "소리가 안 들려요. 가까이에서 다시 말해 주세요";+"让字幕浮在视频上" = "자막을 영상 위에 띄우기";+"需要打开“显示在其他应用上层”。只用来显示字幕卡片。" = "‘다른 앱 위에 표시’를 켜 주세요. 자막 카드를 띄우는 데만 써요.";+"先不用,在知了里看" = "나중에, 知了에서 볼게요";+"还没打开" = "아직 꺼져 있어요";+"在列表里找到“知了”,把开关打开。" = "목록에서 ‘知了’를 찾아 켜 주세요.";+"在知了里看" = "知了에서 보기";+"再去打开" = "다시 열기";+"系统先拦住了这个开关" = "Android가 이 스위치를 막고 있어요";+"从浏览器或聊天 app 下载安装的应用,Android 要你先解锁一次。" = "브라우저나 채팅 앱에서 받아 설치한 앱은 한 번 잠금을 풀어야 해요.";+"点一次那个开关,系统提示已拒绝" = "스위치를 한 번 누르기 (거부됐다고 나와요)";+"打开应用信息,点右上角 ⋮ ›“允许受限制的设置”,再验证锁屏密码" = "앱 정보에서 오른쪽 위 ⋮ › ‘제한된 설정 허용’을 누르고 화면 잠금으로 확인";+"回到“显示在其他应用上层”,打开知了" = "‘다른 앱 위에 표시’로 돌아가 知了를 켜기";+"看不到 ⋮?先去点一次那个开关,被拒绝后菜单才会出现。" = "⋮가 안 보이면 먼저 스위치를 한 번 눌러 주세요. 거부된 뒤에 메뉴가 나와요.";+"打开开关" = "스위치 열기";+"打开应用信息" = "앱 정보 열기";+"小米 HyperOS" = "Xiaomi HyperOS";+"还差两个开关" = "스위치 두 개만 더";+"小米把悬浮窗放在“其他权限”里,并且要允许后台弹出。" = "샤오미는 ‘기타 권한’에 있고, 백그라운드 팝업도 허용해야 해요.";+"点下面的“打开权限设置”" = "아래 ‘권한 설정 열기’ 누르기";+"“其他权限”里,把“显示悬浮窗”和“后台弹出界面”设为允许" = "‘기타 권한’에서 ‘팝업 창 표시’와 ‘백그라운드에서 팝업 표시’ 허용";+"提示“受限制的设置”时,先在应用详情右上角 ⋮ 解锁" = "‘제한된 설정’이 나오면 앱 정보 오른쪽 위 ⋮에서 먼저 풀기";+"不同系统版本叫法略有不同,找带“悬浮窗”的那一项。" = "버전마다 이름이 조금 달라요. 팝업 관련 항목을 찾아 주세요.";+"打开权限设置" = "권한 설정 열기";+"好了,字幕会浮在视频上" = "완료. 자막이 영상 위에 떠요";+"回到视频就能看到字幕卡片,拖到角落可以收起。" = "영상으로 돌아가면 자막 카드가 보여요. 모서리로 끌면 접혀요.";+"回到视频" = "영상으로 돌아가기";+"我们把发布改到下周四吧。" = "출시를 다음 주 목요일로 옮기죠.";+"已完成" = "완료";+"应用信息" = "앱 정보";+"允许受限制的设置" = "제한된 설정 허용";