OSDN Git Service

Fix bug #17449527 On Profile info alert box, profile picture button is unlabeled...
authorFabrice Di Meglio <fdimeglio@google.com>
Wed, 10 Sep 2014 20:12:25 +0000 (13:12 -0700)
committerFabrice Di Meglio <fdimeglio@google.com>
Wed, 10 Sep 2014 20:12:25 +0000 (13:12 -0700)
- add missing string

Change-Id: I9c6a50353075b05d0f80d112c999b2579cdb6676

res/layout/edit_user_info_dialog_content.xml
res/values/strings.xml

index d23f6f5..4d76e13 100644 (file)
@@ -26,7 +26,7 @@
         android:layout_height="56dip"
         android:layout_gravity="bottom"
         android:layout_marginEnd="6dp"
-        android:contentDescription="@null"
+        android:contentDescription="@string/user_image_photo_selector"
         android:background="@*android:drawable/spinner_background_holo_dark"
         android:scaleType="fitCenter"/>
 
index 2a1c897..af0adc6 100644 (file)
     <string name="user_image_take_photo" msgid="7496128293167402354">Take photo</string>
     <!-- An option in a photo selection dialog, if there is no photo yet [CHAR LIMIT=50] -->
     <string name="user_image_choose_photo" msgid="3746334626214970837">Choose photo from Gallery</string>
+    <!-- Accessibility message for the photo selector which is a button/popup with the current photo [CHAR LIMIT=50] -->
+    <string name="user_image_photo_selector">Select photo</string>
 
     <!-- Text to display in regulatory info screen (from device overlay). -->
     <string name="regulatory_info_text"></string>