fix(#287): fix empty-state subtitles and content description on Keys and Profiles screens (#311)

* fix(#287): fix empty-state subtitles and content description on Keys and Profiles screens

- Added `keys_empty_desc` and `profiles_empty_desc` string resources.
- Updated `KeysScreen.kt` and `ProfilesScreen.kt` to use correct empty-state subtitles instead of the copy-pasted `toolsets_empty_desc`.
- Added `content_desc_edit` string resource and applied it to the edit icon in `KeysScreen.kt` for accessibility.

* fix(#287): correct empty-state descriptions and accessibility content descriptions

- Replaced incorrect `toolsets_empty_desc` with newly added `keys_empty_desc` on the Keys screen.
- Replaced incorrect `toolsets_empty_desc` with newly added `profiles_empty_desc` on the Profiles screen.
- Updated the content description of the edit icon on the Keys screen to use newly added `content_desc_edit` instead of `nav_drawer_section_converse`.
This commit is contained in:
M57 authored and GitHub committed 2026-06-22 22:33:09 +03:00
1 parent e8025efcde
commit 6abfabdac0
3 files changed
+6 -3

No files matched your search

+3
View File
@@ -102,6 +102,7 @@
<string name="content_desc_scroll_to_bottom">Scroll to bottom</string>
<string name="content_desc_interrupt">Interrupt</string>
<string name="content_desc_copy">Copy</string>
<string name="content_desc_edit">Edit</string>
<!-- Settings Screen -->
<string name="settings_sec_connection">Connection</string>
@@ -286,6 +287,7 @@
<!-- Profiles Screen -->
<string name="profiles_empty_title">No profiles available</string>
<string name="profiles_empty_desc">Connection profiles from Hermes will appear here.</string>
<string name="profiles_label_model">Model: %1$s</string>
<string name="profiles_label_provider">Provider: %1$s</string>
<string name="profiles_action_edit_soul">Edit Soul</string>
@@ -335,6 +337,7 @@
<!-- Keys Screen -->
<string name="keys_empty_title">No environment keys reported</string>
<string name="keys_empty_desc">Environment keys from Hermes will appear here.</string>
<string name="keys_label_not_configured">Not configured</string>
<string name="keys_action_toggle_visibility">Toggle Visibility</string>