X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/1003ecb7be1961f6911827c302149b270ba0f49e..7052e3b5b81ec4d0f3ef7f332f13e45ff4335451:/src/com/owncloud/android/ui/activity/Preferences.java diff --git a/src/com/owncloud/android/ui/activity/Preferences.java b/src/com/owncloud/android/ui/activity/Preferences.java index b206708a..90c7264b 100644 --- a/src/com/owncloud/android/ui/activity/Preferences.java +++ b/src/com/owncloud/android/ui/activity/Preferences.java @@ -102,11 +102,11 @@ public class Preferences extends SherlockPreferenceActivity implements OnPrefere /* About App */ pAboutApp = (Preference) findPreference("about_app"); if (pAboutApp != null) { - pAboutApp.setTitle(getString(R.string.app_name)+" "+getString(R.string.about_android)); + pAboutApp.setTitle(String.format(getString(R.string.about_android), getString(R.string.app_name))); PackageInfo pkg; try { pkg = getPackageManager().getPackageInfo(getPackageName(), 0); - pAboutApp.setSummary(getString(R.string.about_version)+" "+pkg.versionName); + pAboutApp.setSummary(String.format(getString(R.string.about_version), pkg.versionName)); } catch (NameNotFoundException e) { Log_OC.e(TAG, "Error while showing about dialog", e); }