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

Commit ad3668bd authored by Romain Hunault's avatar Romain Hunault
Browse files

Fix a spelling mistake

parent 0962eeea
Loading
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
From: Romain HUNAULT <romain.hunault@e.email>
Date: Tue, 16 Apr 2019 22:27:43 +0200
Subject: [PATCH] Add /e/ browser informations in About
Subject: [PATCH] Add /e/ browser information in About

---
 chrome/android/java/res/xml/about_chrome_preferences.xml | 3 +++
@@ -17,8 +17,8 @@ index e1ddc3099473..9424e04f1cd0 100644

 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+    <Preference
+        android:key="e_browser_informations"
+        android:title="@string/e_browser_informations_title" />
+        android:key="e_browser_information"
+        android:title="@string/e_browser_information_title" />
     <Preference
         android:key="application_version"
         android:title="@string/application_version_title" />
@@ -30,7 +30,7 @@ index f19d3c9f6fdd..53e3cef068d4 100644
     private static final String PREF_APPLICATION_VERSION = "application_version";
     private static final String PREF_OS_VERSION = "os_version";
     private static final String PREF_LEGAL_INFORMATION = "legal_information";
+    private static final String PREF_E_BROWSER_INFORMATIONS = "e_browser_informations";
+    private static final String PREF_E_BROWSER_INFORMATION = "e_browser_information";

     // Non-translated strings:
     private static final String MSG_DEVELOPER_ENABLE_COUNTDOWN =
@@ -41,8 +41,8 @@ index f19d3c9f6fdd..53e3cef068d4 100644
-        p = findPreference(PREF_LEGAL_INFORMATION);
-        int currentYear = Calendar.getInstance().get(Calendar.YEAR);
-        p.setSummary(getString(R.string.legal_information_summary, currentYear));
+        p = findPreference(PREF_E_BROWSER_INFORMATIONS);
+        p.setSummary(getString(R.string.e_browser_informations));
+        p = findPreference(PREF_E_BROWSER_INFORMATION);
+        p.setSummary(getString(R.string.e_browser_information));
     }

     /**
@@ -64,10 +64,10 @@ index 8d423fbfdf72..0352ecb7d809 100644
       <message name="IDS_DEPRECATION_WARNING" desc="Warning about Chrome updates no longer being supported">
         Chrome updates are no longer supported for this version of Android
       </message>
+      <message name="IDS_E_BROWSER_INFORMATIONS_TITLE" desc="Title for /e/ Browser informations ">
+        /e/ browser informations
+      <message name="IDS_E_BROWSER_INFORMATION_TITLE" desc="Title for /e/ Browser information ">
+        /e/ browser information
+      </message>
+      <message name="IDS_E_BROWSER_INFORMATIONS" desc="/e/ Browser informations ">
+      <message name="IDS_E_BROWSER_INFORMATION" desc="/e/ Browser information ">
+        The /e/ browser is a fork of Chromium/Bromite that:\n\t- offers privacy-compliant search engines by default\n\t- includes several "ungoogling" patches\n\t- offers an Ad-blocker by default
+      </message>