use system strings

This commit is contained in:
Philipp Crocoll 2014-05-25 06:03:54 +02:00
parent 3947d8b7a5
commit e871664ff4
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace keepass2android
((NotificationManager)GetSystemService(Context.NotificationService)).CancelAll();
AlertDialog.Builder b = new AlertDialog.Builder(this);
b.SetMessage(Resource.String.killed_by_os);
b.SetPositiveButton(Resource.String.ok, delegate
b.SetPositiveButton(Android.Resource.String.Ok, delegate
{
Intent i = new Intent(this, typeof(FileSelectActivity));
i.AddFlags(ActivityFlags.ClearTask | ActivityFlags.NewTask);

View File

@ -429,7 +429,7 @@ namespace keepass2android
{
AlertDialog.Builder b = new AlertDialog.Builder(this);
b.SetMessage(Resource.String.YubiChallengeNotInstalled);
b.SetPositiveButton(Resource.String.ok, delegate {
b.SetPositiveButton(Android.Resource.String.Ok, delegate {
Util.GotoUrl(this, GetString(Resource.String.MarketURL) + "com.yubichallenge");
});
b.SetNegativeButton(Resource.String.cancel, delegate { });