From 690958d488cbe154e2df29248396f37b257c0816 Mon Sep 17 00:00:00 2001
From: Soren Stoutner
Date: Thu, 6 Jul 2017 15:42:18 -0700
Subject: [PATCH] Update the unencrypted website `AlertDialog` text.
Implements https://redmine.stoutner.com/issues/162.
---
app/src/main/assets/es/about_licenses.html | 2 +-
app/src/main/res/layout/unencrypted_website.xml | 1 +
app/src/main/res/values/attrs.xml | 1 +
app/src/main/res/values/strings.xml | 2 +-
app/src/main/res/values/styles.xml | 2 ++
5 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/app/src/main/assets/es/about_licenses.html b/app/src/main/assets/es/about_licenses.html
index 9460f564..1c50064f 100644
--- a/app/src/main/assets/es/about_licenses.html
+++ b/app/src/main/assets/es/about_licenses.html
@@ -60,7 +60,7 @@
licencia GPLv3+.
deriva de ic_exit_to_app, que es parte del conjunto de iconos Android Material y es liberado bajo la Licencia Apache 2.0.
- El texto completo de la licencia se encuentra debajo. Copyright de modificaciones © 2017 Soren Stoutner. El imagen resultante se libera bajo la
+ El texto completo de la licencia se encuentra debajo. Copyright de modificaciones © 2017 Soren Stoutner. La imagen resultante se libera bajo la
licencia GPLv3+.
orbot es una versión modificada del icono de estado del proyecto Orbot,
que tiene copyright 2009-2010 por Nathan Freitas, The Guardian Project. Es liberado bajo la licencia BSD modificada (de 3 cláusulas).
diff --git a/app/src/main/res/layout/unencrypted_website.xml b/app/src/main/res/layout/unencrypted_website.xml
index 9e5759d4..59b6cd63 100644
--- a/app/src/main/res/layout/unencrypted_website.xml
+++ b/app/src/main/res/layout/unencrypted_website.xml
@@ -23,4 +23,5 @@
android:layout_height="match_parent"
android:layout_width="match_parent"
android:padding="10dp"
+ android:textColor="?attr/redText"
android:text="@string/no_ssl_certificate" />
\ No newline at end of file
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
index 8b2ce62c..a756278c 100644
--- a/app/src/main/res/values/attrs.xml
+++ b/app/src/main/res/values/attrs.xml
@@ -29,6 +29,7 @@
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index dcbabfcc..386e9c9d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -64,7 +64,7 @@
View SSL Certificate
Unencrypted Website
- Communication with this website is not encrypted by an SSL certificate.
+ Communication with this website is not encrypted. This allows third parties to intercept information, track your browsing, and inject malicious content.
SSL Certificate
Close
Issued To
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 8f119233..851ec955 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -34,6 +34,7 @@
- @color/blue_700
- @color/blue_900
- @color/black
+ - @color/red_a700
@@ -107,6 +108,7 @@
- @color/blue_600
- @color/blue_700
- @color/gray_200
+ - @color/red_900
--
2.45.2