Skip to content

Commit aae8f38

Browse files
committed
Update donate strings
1 parent 2fb1993 commit aae8f38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/src/main/java/com/javiersantos/whatsappbetaupdater/util/UtilsDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void onClick(MaterialDialog dialog, DialogAction which) {
7676
public static MaterialDialog showDonateDialog(final Context context) {
7777
MaterialDialog dialog = new MaterialDialog.Builder(context)
7878
.title(context.getResources().getString(R.string.action_donate))
79-
.content(context.getResources().getString(R.string.donate_description))
79+
.content(String.format(context.getResources().getString(R.string.donate_description), context.getResources().getString(R.string.app_name)))
8080
.items(context.getResources().getStringArray(R.array.donate_amount))
8181
.itemsCallbackSingleChoice(-1, new MaterialDialog.ListCallbackSingleChoice() {
8282
@Override

app/src/main/res/values-es/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<string name="downloading">Descargando %1$s %2$s…</string>
1818
<string name="delete">¿Quieres guardar la actualización?</string>
1919
<string name="delete_description">Es posible guardar o eliminar la actualización descargada (APK). ¿Qué quieres hacer?</string>
20-
<string name="donate_description">Beta Updater para WhatsApp es una app de código libre gratuita y libre de publicidad. Si quieres contribuir con el desarrollo puedes realizar una aportación. ¡Gracias!</string>
20+
<string name="donate_description">%s es una app de código libre gratuita y libre de publicidad. Si quieres contribuir con el desarrollo puedes realizar una aportación. ¡Gracias!</string>
2121
<string name="app_update">La actualización %s está disponible</string>
2222
<string name="app_update_description">Una nueva versión está lista para descargar. Es recomendable actualizar a la última versión para disponer de las últimas mejoras y soluciones de errores.</string>
2323

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<string name="downloading">Downloading %1$s %2$s…</string>
1818
<string name="delete">Do you want to keep the update?</string>
1919
<string name="delete_description">It\'s possible to keep or delete the downloaded update (APK). What do you want to do?</string>
20-
<string name="donate_description">Beta Updater for WhatsApp is an Open Source app completely free without ads. If you want to contribute with the development, I\'ll be really thankful.</string>
20+
<string name="donate_description">%s is an Open Source app completely free without ads. If you want to contribute with the development, I\'ll be really thankful.</string>
2121
<string name="app_update">Update %s is available</string>
2222
<string name="app_update_description">A new version is ready to download. You should update to the latest version to have the latest improvements and bug fixes.</string>
2323

0 commit comments

Comments
 (0)