Read unread count in tabs with context in Talkback mode.
Read the unread count as "x unread items" in the tab title.
Bug: 25122434
Change-Id: I1acbebdae979c7ef6c177713ccbe59af6e16a949
diff --git a/res-common/values/strings.xml b/res-common/values/strings.xml
index 6ad9616..20b8c85 100644
--- a/res-common/values/strings.xml
+++ b/res-common/values/strings.xml
@@ -781,4 +781,17 @@
Example: Mobile • 650-555-1212 -->
<string name="call_subject_type_and_number"><xliff:g id="type" example="Mobile">%1$s</xliff:g> • <xliff:g id="number" example="(650) 555-1212">%2$s</xliff:g></string>
+ <!-- String format to describe the number of unread items in a tab.
+
+ Note: AccessibilityServices use this attribute to announce what the view represents.
+ This is especially valuable for views without textual representation like ImageView.
+ -->
+ <plurals name="tab_title_with_unread_items">
+ <item quantity="one">
+ <xliff:g id="title">%1$s</xliff:g>. <xliff:g id="count">%2$d</xliff:g> unread item.
+ </item>
+ <item quantity="other">
+ <xliff:g id="title">%1$s</xliff:g>. <xliff:g id="count">%2$d</xliff:g> unread items.
+ </item>
+ </plurals>
</resources>