Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d2e116e authored by Tony Huang's avatar Tony Huang
Browse files

Fix sort label truncated and update string char limit

1. Fix sort label truncated when font and display size is largest.
2. Update string char limit for fit translation need.

Change-Id: I2f5975b4b599a7feaf022b6df9f2135ef238ec01
Fix: 117882133
Fix: 117867002
Test: atest DocumentsUITests and menual check
parent d6a692ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@
    <TextView
        android:id="@+id/sort_dimen_dropdown"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/dropdown_sort_widget_size"
        android:layout_height="wrap_content"
        android:minHeight="@dimen/dropdown_sort_widget_size"
        android:paddingStart="12dp"
        android:gravity="center"
        android:textAllCaps="true"
+10 −10
Original line number Diff line number Diff line
@@ -123,25 +123,25 @@
    <string name="sort_dimension_size">Size</string>
    <!-- Table header for last modified time. [CHAR_LIMIT=18] -->
    <string name="sort_dimension_date">Modified</string>
    <!-- Bottom sheet list title for file name ascending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for file name ascending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_name_ascending">File name (A to Z)</string>
    <!-- Bottom sheet list title for file type name ascending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for file type name ascending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_file_type_ascending">Type (A to Z)</string>
    <!-- Bottom sheet list title for size ascending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for size ascending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_size_ascending">Size (smallest first)</string>
    <!-- Bottom sheet list title for date ascending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for date ascending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_date_ascending">Modified (oldest first)</string>
    <!-- Bottom sheet list title for file name descending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for file name descending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_name_descending">File name (Z to A)</string>
    <!-- Bottom sheet list title for file type name descending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for file type name descending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_file_type_descending">Type (Z to A)</string>
    <!-- Bottom sheet list title for size descending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for size descending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_size_descending">Size (largest first)</string>
    <!-- Bottom sheet list title for date descending [CHAR_LIMIT=24] -->
    <!-- Bottom sheet list title for date descending [CHAR_LIMIT=42] -->
    <string name="sort_dimension_date_descending">Modified (newest first)</string>
    <!-- Bottom sheet dialog title [CHAR_LIMIT=24] -->
    <!-- Bottom sheet dialog title [CHAR_LIMIT=42] -->
    <string name="sort_dimension_dialog_title">Sort by</string>
    <!-- Dropdown sort wiget button title. [CHAR_LIMIT=18] -->
    <!-- Dropdown sort wiget button title. [CHAR_LIMIT=60] -->
    <string name="sort_dimension_button_title">Sorted by <xliff:g id="label" example="File name (A to Z)">%s</xliff:g></string>

    <!--Table header for number of items in a folder.-->