Add "Added on " to the date on details.

This commit is contained in:
Daniel Martí 2013-05-07 18:32:13 +02:00
parent 445d6ca667
commit 0f28843163
2 changed files with 4 additions and 2 deletions

View File

@ -43,8 +43,11 @@
like
this: http://f-droid.org/repo</string>
<string name="inst">Installed</string>
<string name="not_inst">Not Installed</string>
<string name="added_on">Added on %s</string>
<string name="installed_update">Update possible - Ver.:</string>
@ -113,7 +116,6 @@
<string name="details_installed">Version %s installed</string>
<string name="details_notinstalled">Not installed</string>
<string name="inst">Installed</string>
<string name="corrupt_download">Downloaded file is corrupt</string>
<string name="download_cancelled">Download cancelled</string>

View File

@ -142,7 +142,7 @@ public class AppDetails extends ListActivity {
TextView added = (TextView) v.findViewById(R.id.added);
if (apk.added != null) {
added.setVisibility(View.VISIBLE);
added.setText(df.format(apk.added));
added.setText(getString(R.string.added_on, df.format(apk.added)));
} else {
added.setVisibility(View.GONE);
}