From 102e10159938196dedd76225eb6d2367e01dd217 Mon Sep 17 00:00:00 2001 From: KimDoHwan Date: Thu, 26 Nov 2026 13:43:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=B1=20=EC=9D=B4=EB=A6=84=EC=9D=84?= =?UTF-8?q?=20=EB=9D=84=EC=96=B4=20=EC=93=B0=EC=A7=80=20=EC=95=8A=EA=B3=A0?= =?UTF-8?q?=20SoundVisualizer=20=EB=A1=9C=20=EC=A0=81=EB=8A=94=EB=8B=A4=20?= =?UTF-8?q?(#498)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/res/values/strings.xml | 18 +++++++++--------- .../language/StringResourcesTest.kt | 11 +++++++++++ 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9aac4867..d3de23a6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -9,7 +9,7 @@ Help - Sound Visualizer + SoundVisualizer Draws the sounds you can\'t see right on your screen.\nFrom gaming to movies, try a whole new experience. Status: Running Status: Ready @@ -28,9 +28,9 @@ Stop Add to Quick Settings Turn it on or off from the notification shade, right over your game or video. - Pull down the notification shade, tap Edit (pencil) and add “Sound visualizer” to turn it on or off right over your game or video. + Pull down the notification shade, tap Edit (pencil) and add “SoundVisualizer” to turn it on or off right over your game or video. Turn on and off from the notification shade - “Sound visualizer” is in your Quick Settings in the notification shade. + “SoundVisualizer” is in your Quick Settings in the notification shade. View tutorial @@ -299,14 +299,14 @@ Visualizer turned off - Tells you when the sound visualizer turns off without you stopping it. - Sound visualizer turned off + Tells you when SoundVisualizer turns off without you stopping it. + SoundVisualizer turned off Sound capture ended, so graphics and vibration alerts are off. This happens when screen recording, screen sharing or casting starts, or when the system stops sound capture. If another app is recording, sharing or casting, turning it on again ends it. Sound capture stopped because of an error, so graphics and vibration alerts are off. Sound capture couldn\'t start, so graphics and vibration alerts are off. Graphics couldn\'t be shown over other apps, so the visualizer turned off. Check that “Display over other apps” is allowed. Turn on again - Sound visualizer turned off. Graphics and vibration alerts are off. + SoundVisualizer turned off. Graphics and vibration alerts are off. Danger sound alerts @@ -316,7 +316,7 @@ Check your surroundings. - Sound visualizer + SoundVisualizer On Off “Display over other apps” permission is required. Tap “Start” in the app to allow it. @@ -330,9 +330,9 @@ To turn it off, tap “Stop” on Home or in the notification. Turn on and off from the notification shade - Tap “Add to Quick Settings” in the Settings tab to add a “Sound visualizer” button to your notification shade. You can then turn it on or off right over your game or video without switching apps. + Tap “Add to Quick Settings” in the Settings tab to add a “SoundVisualizer” button to your notification shade. You can then turn it on or off right over your game or video without switching apps. Tap to turn it on, and tap again to turn it off. Long-press to open this app\'s settings. - On Android 12 and earlier, open the notification shade, tap Edit (pencil) and drag “Sound visualizer” in yourself. + On Android 12 and earlier, open the notification shade, tap Edit (pencil) and drag “SoundVisualizer” in yourself. Why permissions are needed Display over other apps diff --git a/app/src/test/java/com/example/soundvisualizer/language/StringResourcesTest.kt b/app/src/test/java/com/example/soundvisualizer/language/StringResourcesTest.kt index 1af95d23..efb4cbcf 100644 --- a/app/src/test/java/com/example/soundvisualizer/language/StringResourcesTest.kt +++ b/app/src/test/java/com/example/soundvisualizer/language/StringResourcesTest.kt @@ -137,6 +137,17 @@ class StringResourcesTest { assertTrue("strings.xml 이 없는 지원 언어 폴더: $missing", missing.isEmpty()) } + @Test + fun `앱 이름은 띄어 쓰지 않고 SoundVisualizer 로 적는다`() { + // 홈 제목은 모든 언어에서 그대로 보인다. 예전에는 "Sound Visualizer" 로 띄어 써서 스토어·사이트·Windows 판과 달랐다(#498). + assertEquals("SoundVisualizer", defaults.strings.getValue("home_title").value) + val spaced = Regex("sound\\s+visuali[sz]er", RegexOption.IGNORE_CASE) + val problems = files.values.flatMap { file -> + file.strings.filterValues { spaced.containsMatchIn(it.value) }.keys.sorted().map { "${file.dir}: $it" } + } + assertTrue("앱 이름을 띄어 썼습니다. SoundVisualizer 로 적습니다:\n${problems.joinToString("\n")}", problems.isEmpty()) + } + /** * 한 폴더의 문구. strings.xml 과, 있으면 분류 탭의 소리 이름(sound_names.xml)을 함께 읽어 * 소리 이름도 같은 규칙(한국어 누락, 없는 키, 따옴표 이스케이프)으로 검사한다.