i18n resource string for controls

This commit is contained in:
Kyle Spearrin 2016-11-25 17:11:28 -05:00
parent d8559a81f4
commit 29c4b8e6ee

View file

@ -1,4 +1,5 @@
using System; using Bit.App.Resources;
using System;
using Xamarin.Forms; using Xamarin.Forms;
namespace Bit.App.Controls namespace Bit.App.Controls
@ -12,7 +13,7 @@ namespace Bit.App.Controls
{ {
_cancelClickedAction = cancelClickedAction; _cancelClickedAction = cancelClickedAction;
_page = page; _page = page;
Text = text ?? "Close"; Text = text ?? AppResources.Close;
Clicked += ClickedItem; Clicked += ClickedItem;
Priority = -1; Priority = -1;
} }