From c3fe3292adbf2941154d5bdab6fe59cea89c5004 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 22 Apr 2019 13:47:45 -0400 Subject: [PATCH] i18n extension --- src/App/Pages/Accounts/LoginPage.xaml | 10 +++++----- src/App/Pages/GeneratorPage.xaml | 4 ++-- src/App/Pages/HomePage.xaml | 8 ++++---- src/App/Pages/ViewPage.xaml | 8 ++++---- .../{TranslateExtension.cs => I18nExtension.cs} | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) rename src/App/Utilities/{TranslateExtension.cs => I18nExtension.cs} (87%) diff --git a/src/App/Pages/Accounts/LoginPage.xaml b/src/App/Pages/Accounts/LoginPage.xaml index 933622a7c..c1cd3c943 100644 --- a/src/App/Pages/Accounts/LoginPage.xaml +++ b/src/App/Pages/Accounts/LoginPage.xaml @@ -4,7 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Bit.App.Pages.LoginPage" xmlns:pages="clr-namespace:Bit.App.Pages" - xmlns:i18n="clr-namespace:Bit.App.Utilities" + xmlns:u="clr-namespace:Bit.App.Utilities" xmlns:bv="clr-namespace:Bit.App.Controls.BoxedView" x:DataType="pages:LoginPageViewModel" Title="{Binding PageTitle}"> @@ -13,22 +13,22 @@ - + - - - + diff --git a/src/App/Pages/GeneratorPage.xaml b/src/App/Pages/GeneratorPage.xaml index 2bb852369..3bf1489cd 100644 --- a/src/App/Pages/GeneratorPage.xaml +++ b/src/App/Pages/GeneratorPage.xaml @@ -4,7 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Bit.App.Pages.GeneratorPage" xmlns:pages="clr-namespace:Bit.App.Pages" - xmlns:i18n="clr-namespace:Bit.App.Utilities" + xmlns:u="clr-namespace:Bit.App.Utilities" x:DataType="pages:GeneratorPageViewModel" Title="{Binding PageTitle}"> @@ -18,7 +18,7 @@ HorizontalOptions="Center" VerticalOptions="CenterAndExpand" /> - + - - ("i18nService"); }