OSDN Git Service

Fix for bug #8456352 [BiDi][fa] Widget dimensions are RTL in Farsi
authorFabrice Di Meglio <fdimeglio@google.com>
Mon, 8 Apr 2013 20:05:14 +0000 (13:05 -0700)
committerFabrice Di Meglio <fdimeglio@google.com>
Mon, 8 Apr 2013 20:37:20 +0000 (13:37 -0700)
- make the string translatable

After this patch, there will need to have the string translated for all
supported languages.

For Farsi (the only exception), the string should be defined as:

<string name="widget_dims_format">%2$d \u00d7 %1$d</string>

Change-Id: I7acd305b677a8dbc0d12a751a6faad54424c641d

res/values/strings.xml

index c0b0fd0..ead582e 100644 (file)
@@ -46,7 +46,8 @@
          in the Phone UI. [CHAR LIMIT=32] -->
     <string name="market">Shop</string>
     <!-- The format string for the dimensions of a widget in the drawer -->
-    <string name="widget_dims_format" translatable="false">%1$d \u00d7 %2$d</string>
+    <!-- There is a special version of this format string for Farsi -->
+    <string name="widget_dims_format">%1$d \u00d7 %2$d</string>
 
     <!-- External-drop widget pick label format string [CHAR_LIMIT=25] -->
     <string name="external_drop_widget_pick_format" translatable="false">%1$s (%2$d \u00d7 %3$d)</string>