From 48c8d84d2fefdb76a40f24b0fc73a7c2aa6a5cbe Mon Sep 17 00:00:00 2001
From: str4d <str4d@mail.i2p>
Date: Fri, 8 Nov 2013 20:56:52 +0000
Subject: [PATCH] Fixed new version dialog text

---
 src/net/i2p/android/router/fragment/VersionDialog.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/net/i2p/android/router/fragment/VersionDialog.java b/src/net/i2p/android/router/fragment/VersionDialog.java
index 857eed20d..21898029b 100644
--- a/src/net/i2p/android/router/fragment/VersionDialog.java
+++ b/src/net/i2p/android/router/fragment/VersionDialog.java
@@ -86,7 +86,8 @@ public class VersionDialog extends DialogFragment {
                 break;
 
             case DIALOG_NEW_VERSION:
-                b.setMessage(R.string.welcome_new_version + " " + currentVersion)
+                b.setMessage(getResources().getString(R.string.welcome_new_version) +
+                             " " + currentVersion)
                  .setCancelable(true)
                  .setPositiveButton("OK", new DialogInterface.OnClickListener() {
 
-- 
GitLab