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

Commit 80f022c3 authored by Steve McKay's avatar Steve McKay
Browse files

Localize Inspector title.

Test: Change title and see the goodness.
Change-Id: I60b18b9f95101395ef0d517a5cb3ec0344bcf337
parent afb79fc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@

    <Toolbar
        android:id="@+id/toolbar"
        android:title="Properties"
        android:title="@string/inspector_title"
        android:layout_width="match_parent"
        android:layout_height="?android:attr/actionBarSize"
        android:background="?android:attr/colorPrimary"
+4 −1
Original line number Diff line number Diff line
@@ -184,7 +184,10 @@
    <string name="toast_failed_delete">Unable to delete some documents</string>

    <!--File properties dialog error shown when information about a file could not be loaded-->
    <string name="file_inspector_load_error">Properties could not be loaded</string>
    <string name="inspector_title">Info</string>

    <!--File properties dialog error shown when information about a file could not be loaded-->
    <string name="inspector_load_error">File info could not be loaded</string>

    <!-- Title of dialog when prompting user to select an app to share documents with [CHAR LIMIT=32] -->
    <string name="share_via">Share via</string>
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ public final class Snackbars {

        //Document Inspector uses a different view from other files app activities.
        final View view = activity.findViewById(R.id.fragment_container);
        Snackbar.make(view, R.string.file_inspector_load_error, Snackbar.LENGTH_INDEFINITE).show();
        Snackbar.make(view, R.string.inspector_load_error, Snackbar.LENGTH_INDEFINITE).show();
    }

    public static final void showCustomTextWithImage(Activity activity, String text, int imageRes) {