diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs index 4fc87c3..76e7c3e 100644 --- a/Borepin/Borepin/App.xaml.cs +++ b/Borepin/Borepin/App.xaml.cs @@ -10,7 +10,6 @@ using Borepin.PageModel.SetUpProcess; using Borepin.Page.AddServerProcess; using Borepin.PageModel.AddServerProcess; using System; -using Prism.Navigation; using Borepin.Service.Storage; namespace Borepin diff --git a/Borepin/Borepin/Borepin.csproj b/Borepin/Borepin/Borepin.csproj index 97ed6e0..0307902 100644 --- a/Borepin/Borepin/Borepin.csproj +++ b/Borepin/Borepin/Borepin.csproj @@ -21,8 +21,11 @@ + + + @@ -32,7 +35,6 @@ - diff --git a/Borepin/Borepin/Helpers/TranslateExtension.cs b/Borepin/Borepin/Helpers/TranslateExtension.cs deleted file mode 100644 index 77139d0..0000000 --- a/Borepin/Borepin/Helpers/TranslateExtension.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Plugin.Multilingual; -using System; -using System.Reflection; -using System.Resources; -using Xamarin.Forms; -using Xamarin.Forms.Xaml; - -namespace Borepin.Helpers -{ - [ContentProperty("Text")] - public class TranslateExtension : IMarkupExtension - { - const string _ResourceId = "Borepin.Resources.Text.TextResource"; - - static readonly Lazy _Resmgr = new Lazy(() => new ResourceManager(_ResourceId, typeof(TranslateExtension).GetTypeInfo().Assembly)); - - public string Text { get; set; } - - public object ProvideValue(IServiceProvider serviceProvider) - { - if (Text == null) - { - return ""; - } - - System.Globalization.CultureInfo ci = CrossMultilingual.Current.CurrentCultureInfo; - - string translation = _Resmgr.Value.GetString(Text, ci); - - if (translation == null) - { - -#if DEBUG - //throw new ArgumentException( - // String.Format("Key '{0}' was not found in resources '{1}' for culture '{2}'.", Text, ResourceId, ci.Name), - // "Text"); - translation = "!MISSING TEXT!"; -#else - translation = Text; // returns the key, which GETS DISPLAYED TO THE USER -#endif - } - return translation; - } - } -} diff --git a/Borepin/Borepin/MultilingualResources/Borepin.de.xlf b/Borepin/Borepin/MultilingualResources/Borepin.de.xlf deleted file mode 100644 index ee215de..0000000 --- a/Borepin/Borepin/MultilingualResources/Borepin.de.xlf +++ /dev/null @@ -1,40 +0,0 @@ - - - -
- -
- - - -
- -
- -
- - - - Automate your Space with FabAccess - Automate your Space with FabAccess - - - Welcome - Welcome - - - Begin working - Begin working - - - Login to your Space - Login to your Space - - - Wenn du dieses Logo siehst, dann kannst du es scannen - Wenn du dieses Logo siehst, dann kannst du es scannen - - - -
-
\ No newline at end of file diff --git a/Borepin/Borepin/MultilingualResources/Borepin.en.xlf b/Borepin/Borepin/MultilingualResources/Borepin.en.xlf deleted file mode 100644 index ae8fdc1..0000000 --- a/Borepin/Borepin/MultilingualResources/Borepin.en.xlf +++ /dev/null @@ -1,40 +0,0 @@ - - - -
- -
- - - -
- -
- -
- - - - Automate your Space with FabAccess - Automate your Space with FabAccess - - - Welcome - Welcome - - - Begin working - Begin working - - - Login to your Space - Login to your Space - - - Wenn du dieses Logo siehst, dann kannst du es scannen - Wenn du dieses Logo siehst, dann kannst du es scannen - - - -
-
\ No newline at end of file diff --git a/Borepin/Borepin/Page/AddServerProcess/SelectServerPage.xaml b/Borepin/Borepin/Page/AddServerProcess/SelectServerPage.xaml index ed588ac..fef59c0 100644 --- a/Borepin/Borepin/Page/AddServerProcess/SelectServerPage.xaml +++ b/Borepin/Borepin/Page/AddServerProcess/SelectServerPage.xaml @@ -16,7 +16,7 @@ - +