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

Commit 8501596f authored by tibbi's avatar tibbi
Browse files

use CDATA at donate_please string to avoid underlined first space

parent 50aaf783
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ package com.simplemobiletools.commons.dialogs

import android.app.Activity
import android.support.v7.app.AlertDialog
import android.text.Html
import android.text.method.LinkMovementMethod
import com.simplemobiletools.commons.R
import com.simplemobiletools.commons.extensions.launchViewIntent
@@ -11,6 +12,7 @@ import kotlinx.android.synthetic.main.dialog_donate.view.*
class DonateDialog(val activity: Activity) {
    init {
        val view = activity.layoutInflater.inflate(R.layout.dialog_donate, null).apply {
            donate.text = Html.fromHtml(activity.getString(R.string.donate_please))
            donate.movementMethod = LinkMovementMethod.getInstance()
        }

+8 −1
Original line number Diff line number Diff line
@@ -239,7 +239,14 @@
    <string name="additional_info">Additional info</string>
    <string name="app_version">App version: %1$s</string>
    <string name="device_os">Device OS: %1$s</string>
    <string name="donate_please">Hello,\n\nhope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.\n\nYou can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.\n\nThank you!</string>
    <string name="donate_please">
        <![CDATA[
            Hello,<br><br>
            hope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.<br><br>
            You can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.<br><br>
            Thank you!
        ]]>
    </string>
    <string name="purchase">Purchase</string>

    <!-- License -->
+8 −1
Original line number Diff line number Diff line
@@ -239,7 +239,14 @@
    <string name="additional_info">Additional info</string>
    <string name="app_version">App version: %1$s</string>
    <string name="device_os">Device OS: %1$s</string>
    <string name="donate_please">Hello,\n\nhope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.\n\nYou can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.\n\nThank you!</string>
    <string name="donate_please">
        <![CDATA[
            Hello,<br><br>
            hope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.<br><br>
            You can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.<br><br>
            Thank you!
        ]]>
    </string>
    <string name="purchase">Purchase</string>

    <!-- License -->
+8 −1
Original line number Diff line number Diff line
@@ -239,7 +239,14 @@
    <string name="additional_info">Zusätzliche Infos</string>
    <string name="app_version">App-Version: %1$s</string>
    <string name="device_os">Betriebssystem: %1$s</string>
    <string name="donate_please">Hallo,\n\nich hoffe diese App gefällt dir. Sie beinhaltet keine Werbung, bitte unterstütze die Entwicklung durch Kauf der <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> App, dadurch wird auch dieser Dialog künftig nicht mehr gezeigt.\n\nWeitere Optionen zum Spenden findest du <a href="http://simplemobiletools.com/donate">hier</a>.\n\nVielen Dank!</string>
    <string name="donate_please">
        <![CDATA[
            Hallo,<br><br>
            ich hoffe diese App gefällt dir. Sie beinhaltet keine Werbung, bitte unterstütze die Entwicklung durch Kauf der <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> App, dadurch wird auch dieser Dialog künftig nicht mehr gezeigt.<br><br>
            Weitere Optionen zum Spenden findest du <a href="http://simplemobiletools.com/donate">hier</a>.<br><br>
            Vielen Dank!
        ]]>
    </string>
    <string name="purchase">Kaufen</string>

    <!-- License -->
+8 −1
Original line number Diff line number Diff line
@@ -239,7 +239,14 @@
    <string name="additional_info">Additional info</string>
    <string name="app_version">App version: %1$s</string>
    <string name="device_os">Device OS: %1$s</string>
    <string name="donate_please">Hello,\n\nhope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.\n\nYou can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.\n\nThank you!</string>
    <string name="donate_please">
        <![CDATA[
            Hello,<br><br>
            hope you are enjoying the app. It contains no ads, so please support its development by purchasing the <a href="https://play.google.com/store/apps/details?id=com.simplemobiletools.thankyou">Simple Thank You</a> app, it will also prevent this dialog from showing up again.<br><br>
            You can find more donating options <a href="http://simplemobiletools.com/donate">here</a>.<br><br>
            Thank you!
        ]]>
    </string>
    <string name="purchase">Purchase</string>

    <!-- License -->
Loading