Fixed Test Resources

This commit is contained in:
TheJoKlLa 2022-06-25 16:45:21 +02:00
parent 3d1a212ae3
commit 0109053c32
25 changed files with 488 additions and 26 deletions

View File

@ -47,6 +47,7 @@ namespace Borepin
containerRegistry.RegisterForNavigation<ServerPage, ServerPageModel>();
containerRegistry.RegisterForNavigation<ScanPage, ScanPageModel>();
containerRegistry.RegisterForNavigation<ScanURNPage, ScanURNPageModel>();
containerRegistry.RegisterForNavigation<AddUserPage, AddUserPageModel>();
#endregion
#region Register Sequence Navigation

View File

@ -108,6 +108,9 @@
<EmbeddedResource Update="Page\AddServerProcess\AuthPlainPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Page\AddUserPage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Page\MachinePage.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
@ -142,6 +145,9 @@
<EmbeddedResource Update="View\IsBusyView.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="View\PermissionSelectView.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
<EmbeddedResource Update="View\ScanView.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>

View File

@ -4,7 +4,7 @@
x:Class="Borepin.Page.AddServerProcess.AuthPlainPage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Connect to Server">
Title="{x:Static resource_text:TextResource.TITLE_ConnectToServer}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>

View File

@ -4,7 +4,7 @@
x:Class="Borepin.Page.AddServerProcess.ChooseAuthTypePage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Connect to Server">
Title="{x:Static resource_text:TextResource.TITLE_ConnectToServer}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>

View File

@ -4,7 +4,7 @@
x:Class="Borepin.Page.AddServerProcess.SelectServerPage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Connect to Server">
Title="{x:Static resource_text:TextResource.TITLE_ConnectToServer}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.AddUserPage"
Title="{x:Static resource_text:TextResource.TITLE_AddUser}">
<ContentPage.Content>
<StackLayout Padding="20">
<StackLayout IsVisible="{Binding IsBusy}">
<ActivityIndicator IsRunning="{Binding IsBusy}"></ActivityIndicator>
</StackLayout>
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
<StackLayout IsVisible="{Binding IsConnected}">
</StackLayout>
<StackLayout IsVisible="{Binding IsConnected, Converter={StaticResource InvertBoolConverter}}">
<Label Text="{x:Static resource_text:TextResource.PLEASECONNECTTOSERVER}"/>
</StackLayout>
</StackLayout>
</StackLayout>
</ContentPage.Content>
</ContentPage>

View File

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Borepin.Page
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class AddUserPage : ContentPage
{
public AddUserPage()
{
InitializeComponent();
}
}
}

View File

@ -5,7 +5,7 @@
x:Class="Borepin.Page.MachineListPage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Machines">
Title="{x:Static resource_text:TextResource.TITLE_Machines}">
<NavigationPage.TitleView>
<Button Text="Refresh" HorizontalOptions="End" BackgroundColor="{StaticResource SecondColor}" TextColor="{StaticResource FirstColor}" Command="{Binding RefreshCommand}"/>
</NavigationPage.TitleView>

View File

@ -4,7 +4,7 @@
x:Class="Borepin.Page.MachinePage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Machine">
Title="{x:Static resource_text:TextResource.TITLE_Machine}">
<NavigationPage.TitleView>
<Label Text="{Binding MachineItem.State, Converter={StaticResource MachineStateStringConverter}}" FontAttributes="Bold" HorizontalOptions="End" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" WidthRequest="150" Margin="7.5" VerticalOptions="FillAndExpand" FontSize="Small" BackgroundColor="{Binding MachineItem.State, Converter={StaticResource MachineStateColorConverter}}"/>
</NavigationPage.TitleView>

View File

@ -2,8 +2,7 @@
<FlyoutPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.MainPage"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="MainPage">
xmlns:resource_text="clr-namespace:Borepin.Resources.Text">
<FlyoutPage.Flyout>
<ContentPage Title="FabAccess" BackgroundColor="{StaticResource SecondColor}">
<StackLayout>

View File

@ -5,7 +5,7 @@
x:Class="Borepin.Page.ServerListPage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Servers">
Title="{x:Static resource_text:TextResource.TITLE_Servers}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>

View File

@ -4,7 +4,7 @@
x:Class="Borepin.Page.ServerPage"
xmlns:converters="clr-namespace:Borepin.Converter"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Server">
Title="{x:Static resource_text:TextResource.TITLE_Server}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>

View File

@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.SetUpProcess.WelcomePage"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="FabAccess">
Title="{x:Static resource_text:TextResource.FABACCESS}">
<ContentPage.Content>
<ScrollView>
<StackLayout Style="{StaticResource Style_StackLayout_Content}">

View File

@ -2,7 +2,7 @@
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.SettingsPage"
Title="Settings">
Title="{x:Static resource_text:TextResource.TITLE_Settings}">
<ContentPage.Content>
<StackLayout>
<Label Text="Settings Page"

View File

@ -2,8 +2,7 @@
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.StartPage"
xmlns:resource_text="clr-namespace:Borepin.Resources.Text"
Title="Start">
xmlns:resource_text="clr-namespace:Borepin.Resources.Text">
<ContentPage.Content>
<StackLayout Padding="20">
<StackLayout IsVisible="{Binding IsBusy}" VerticalOptions="CenterAndExpand">

View File

@ -4,7 +4,7 @@
xmlns:views="clr-namespace:Borepin.View"
x:Class="Borepin.Page.UserListPage"
xmlns:converters="clr-namespace:Borepin.Converter"
Title="Machines">
Title="{x:Static resource_text:TextResource.TITLE_Users}">
<NavigationPage.TitleView>
<Button Text="Refresh" HorizontalOptions="End" BackgroundColor="{StaticResource SecondColor}" TextColor="{StaticResource FirstColor}" Command="{Binding RefreshCommand}"/>
</NavigationPage.TitleView>
@ -21,6 +21,7 @@
</StackLayout>
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
<StackLayout IsVisible="{Binding IsConnected}">
<Button Text="{x:Static resource_text:TextResource.UserListPage_AddUser}" Command="{Binding AddUserCommand}" Style="{StaticResource Style_Button_Primary}"/>
<ListView ItemsSource="{Binding UserListItemViewModel_List}" SelectionMode="None" SeparatorColor="Transparent">
<ListView.ItemTemplate>
<DataTemplate>
@ -32,7 +33,7 @@
</ListView>
</StackLayout>
<StackLayout IsVisible="{Binding IsConnected, Converter={StaticResource InvertBoolConverter}}">
<Label Text="Please connect to Server"/>
<Label Text="{x:Static resource_text:TextResource.PLEASECONNECTTOSERVER}"/>
</StackLayout>
</StackLayout>
</StackLayout>

View File

@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Borepin.Page.UserPage"
xmlns:converters="clr-namespace:Borepin.Converter" xmlns:views="clr-namespace:Borepin.View"
Title="Machine">
Title="{x:Static resource_text:TextResource.TITLE_User}">
<ContentPage.Resources>
<ResourceDictionary>
<converters:MachineStateColorConverter x:Key="MachineStateColorConverter"/>
@ -31,7 +31,7 @@
</ListView>
</StackLayout>
<StackLayout IsVisible="{Binding IsConnected, Converter={StaticResource InvertBoolConverter}}">
<Label Text="Please connect to Server"/>
<Label Text="{x:Static resource_text:TextResource.PLEASECONNECTTOSERVER}"/>
</StackLayout>
</StackLayout>
</StackLayout>

View File

@ -104,7 +104,7 @@ namespace Borepin.PageModel.AddServerProcess
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to connect to server.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_UnableServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
@ -114,7 +114,7 @@ namespace Borepin.PageModel.AddServerProcess
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to authenticate to server.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_AuthServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
@ -124,7 +124,7 @@ namespace Borepin.PageModel.AddServerProcess
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unexpected Error.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_UnexpectedError, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});

View File

@ -107,7 +107,7 @@ namespace Borepin.PageModel.AddServerProcess
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Server address is invaild.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_AddressInvalid, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
@ -124,7 +124,7 @@ namespace Borepin.PageModel.AddServerProcess
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to connect to server.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_UnableServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});

View File

@ -0,0 +1,119 @@
using Borepin.Base;
using Prism.Commands;
using Prism.Navigation;
using System.Threading.Tasks;
using System.Windows.Input;
using FabAccessAPI.Schema;
using Borepin.Model;
using Prism.Services;
using Borepin.Service;
using Borepin.Base.Exceptions;
using Capnp.Rpc;
using System;
using static FabAccessAPI.Schema.UserSystem.ManageInterface;
using static FabAccessAPI.Schema.UserSystem.ManageInterface.AddUserError;
using Xamarin.Forms;
namespace Borepin.PageModel
{
public class AddUserPageModel : ConnectionModelBase
{
#region Contructors
public AddUserPageModel(INavigationService navigationService, IPageDialogService pageDialogService, IAPIService apiService) : base(navigationService, pageDialogService, apiService)
{
AddUserCommand = new DelegateCommand(AddUserCommandExecute);
}
#endregion
#region Fields
private string _Username;
public string Username
{
get => _Username;
set => SetProperty(ref _Username, value);
}
private string _Password;
public string Password
{
get => _Password;
set => SetProperty(ref _Password, value);
}
#endregion
#region Commands
private ICommand _AddUserCommand;
public ICommand AddUserCommand
{
get => _AddUserCommand;
set => SetProperty(ref _AddUserCommand, value);
}
public async void AddUserCommandExecute()
{
IsBusy = true;
if(_API.IsConnected)
{
try
{
Fallible<User, AddUserError> user_result = await _API.Session.UserSystem.Manage.AddUserFallible(Username, Password).ConfigureAwait(false);
if(user_result.Failed != null)
{
switch(user_result.Failed.Error)
{
case AddUserErrorEnum.alreadyExists:
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_UnableServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
break;
case AddUserErrorEnum.usernameInvalid:
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, "Unable to connect to server.", Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
break;
case AddUserErrorEnum.passwordInvalid:
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to connect to server.", "Ok").ConfigureAwait(false);
IsBusy = false;
});
break;
}
}
else
{
NavigationParameters parameters = new NavigationParameters
{
{ "instance", user_result.Successful.Username },
};
Device.BeginInvokeOnMainThread(async () =>
{
INavigationResult result = await _NavigationService.NavigateAsync("/MainPage/NavigationPage/UserListPage/UserPage", parameters).ConfigureAwait(false);
if (result.Exception != null)
{
Log.Fatal(result.Exception, "Navigating failed");
}
});
}
}
catch (RpcException exception) when (string.Equals(exception.Message, "RPC connection is broken. Task would never return.", StringComparison.Ordinal))
{
Log.Debug("RPC Connection Loss");
}
}
IsBusy = false;
}
#endregion
}
}

View File

@ -84,7 +84,7 @@ namespace Borepin.PageModel
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("YAY", "It's Bionade", "OK").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.YAY, Resources.Text.TextResource.Bionade, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsScanning = true;
});
return;
@ -109,7 +109,7 @@ namespace Borepin.PageModel
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Alert", "QR Code is invalid", "OK").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT, Resources.Text.TextResource.Alert_QRInvalid, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsScanning = true;
});
return;

View File

@ -135,7 +135,7 @@ namespace Borepin.PageModel
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to connect to server.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_UnableServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});
@ -145,7 +145,7 @@ namespace Borepin.PageModel
{
Device.BeginInvokeOnMainThread(async () =>
{
await _PageDialogService.DisplayAlertAsync("Connection failed", "Unable to authenticate to server.", "Ok").ConfigureAwait(false);
await _PageDialogService.DisplayAlertAsync(Resources.Text.TextResource.ALERT_ConnectionFailed, Resources.Text.TextResource.ALERT_AuthServer, Resources.Text.TextResource.OK).ConfigureAwait(false);
IsBusy = false;
});

View File

@ -11,6 +11,7 @@ using System;
using NaturalSort.Extension;
using System.Linq;
using Borepin.Service;
using Xamarin.Forms;
namespace Borepin.PageModel
{
@ -20,6 +21,7 @@ namespace Borepin.PageModel
public UserListPageModel(INavigationService navigationService, IPageDialogService pageDialogService, IAPIService apiService) : base(navigationService, pageDialogService, apiService)
{
RefreshCommand = new DelegateCommand(async ()=> await RefreshCommandExecute().ConfigureAwait(true));
AddUserCommand = new DelegateCommand(AddUserCommandExecute);
}
#endregion
@ -73,6 +75,24 @@ namespace Borepin.PageModel
IsRefreshing = false;
}
private ICommand _AddUserCommand;
public ICommand AddUserCommand
{
get => _AddUserCommand;
set => SetProperty(ref _AddUserCommand, value);
}
public void AddUserCommandExecute()
{
Device.BeginInvokeOnMainThread(async () =>
{
INavigationResult result = await _NavigationService.NavigateAsync("/MainPage/NavigationPage/AddUserPage").ConfigureAwait(false);
if (result.Exception != null)
{
Log.Fatal(result.Exception, "Navigating failed");
}
});
}
#endregion
}
}

View File

@ -132,6 +132,87 @@ namespace Borepin.Resources.Text {
}
}
/// <summary>
/// Looks up a localized string similar to Alert.
/// </summary>
internal static string ALERT {
get {
return ResourceManager.GetString("ALERT", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Server address is invaild..
/// </summary>
internal static string ALERT_AddressInvalid {
get {
return ResourceManager.GetString("ALERT_AddressInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to authenticate to server..
/// </summary>
internal static string ALERT_AuthServer {
get {
return ResourceManager.GetString("ALERT_AuthServer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connection failed.
/// </summary>
internal static string ALERT_ConnectionFailed {
get {
return ResourceManager.GetString("ALERT_ConnectionFailed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to QR Code is invalid.
/// </summary>
internal static string Alert_QRInvalid {
get {
return ResourceManager.GetString("Alert_QRInvalid", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unable to connect to server..
/// </summary>
internal static string ALERT_UnableServer {
get {
return ResourceManager.GetString("ALERT_UnableServer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Unexpected Error..
/// </summary>
internal static string ALERT_UnexpectedError {
get {
return ResourceManager.GetString("ALERT_UnexpectedError", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to It&apos;s Bionade.
/// </summary>
internal static string Bionade {
get {
return ResourceManager.GetString("Bionade", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Build.
/// </summary>
internal static string BUILD {
get {
return ResourceManager.GetString("BUILD", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
@ -150,6 +231,15 @@ namespace Borepin.Resources.Text {
}
}
/// <summary>
/// Looks up a localized string similar to FabAccess.
/// </summary>
internal static string FABACCESS {
get {
return ResourceManager.GetString("FABACCESS", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Host.
/// </summary>
@ -267,6 +357,15 @@ namespace Borepin.Resources.Text {
}
}
/// <summary>
/// Looks up a localized string similar to Ok.
/// </summary>
internal static string OK {
get {
return ResourceManager.GetString("OK", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to or.
/// </summary>
@ -429,6 +528,96 @@ namespace Borepin.Resources.Text {
}
}
/// <summary>
/// Looks up a localized string similar to Add User.
/// </summary>
internal static string TITLE_AddUser {
get {
return ResourceManager.GetString("TITLE_AddUser", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connect to Server.
/// </summary>
internal static string TITLE_ConnectToServer {
get {
return ResourceManager.GetString("TITLE_ConnectToServer", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Machine.
/// </summary>
internal static string TITLE_Machine {
get {
return ResourceManager.GetString("TITLE_Machine", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Machines.
/// </summary>
internal static string TITLE_Machines {
get {
return ResourceManager.GetString("TITLE_Machines", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Server.
/// </summary>
internal static string TITLE_Server {
get {
return ResourceManager.GetString("TITLE_Server", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Servers.
/// </summary>
internal static string TITLE_Servers {
get {
return ResourceManager.GetString("TITLE_Servers", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Settings.
/// </summary>
internal static string TITLE_Settings {
get {
return ResourceManager.GetString("TITLE_Settings", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to User.
/// </summary>
internal static string TITLE_User {
get {
return ResourceManager.GetString("TITLE_User", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Users.
/// </summary>
internal static string TITLE_Users {
get {
return ResourceManager.GetString("TITLE_Users", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Add User.
/// </summary>
internal static string UserListPage_AddUser {
get {
return ResourceManager.GetString("UserListPage_AddUser", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Username.
/// </summary>
@ -437,5 +626,23 @@ namespace Borepin.Resources.Text {
return ResourceManager.GetString("USERNAME", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Version.
/// </summary>
internal static string VERSION {
get {
return ResourceManager.GetString("VERSION", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to YAY.
/// </summary>
internal static string YAY {
get {
return ResourceManager.GetString("YAY", resourceCulture);
}
}
}
}

View File

@ -142,12 +142,42 @@
<value>PLACEHOLDER</value>
<comment>Server Struktur erklären, auf QR-Code hinweisen, ansonsten im Space fragen</comment>
</data>
<data name="ALERT" xml:space="preserve">
<value>Alert</value>
</data>
<data name="ALERT_AddressInvalid" xml:space="preserve">
<value>Server address is invaild.</value>
</data>
<data name="ALERT_AuthServer" xml:space="preserve">
<value>Unable to authenticate to server.</value>
</data>
<data name="ALERT_ConnectionFailed" xml:space="preserve">
<value>Connection failed</value>
</data>
<data name="Alert_QRInvalid" xml:space="preserve">
<value>QR Code is invalid</value>
</data>
<data name="ALERT_UnableServer" xml:space="preserve">
<value>Unable to connect to server.</value>
</data>
<data name="ALERT_UnexpectedError" xml:space="preserve">
<value>Unexpected Error.</value>
</data>
<data name="Bionade" xml:space="preserve">
<value>It's Bionade</value>
</data>
<data name="BUILD" xml:space="preserve">
<value>Build</value>
</data>
<data name="CANCEL" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="DELETE" xml:space="preserve">
<value>Delete</value>
</data>
<data name="FABACCESS" xml:space="preserve">
<value>FabAccess</value>
</data>
<data name="HOST" xml:space="preserve">
<value>Host</value>
</data>
@ -188,6 +218,9 @@
<data name="MainPage_Version" xml:space="preserve">
<value>Version</value>
</data>
<data name="OK" xml:space="preserve">
<value>Ok</value>
</data>
<data name="OR" xml:space="preserve">
<value>or</value>
</data>
@ -242,7 +275,43 @@
<data name="StartPage_Starting" xml:space="preserve">
<value>Starting App</value>
</data>
<data name="TITLE_AddUser" xml:space="preserve">
<value>Add User</value>
</data>
<data name="TITLE_ConnectToServer" xml:space="preserve">
<value>Connect to Server</value>
</data>
<data name="TITLE_Machine" xml:space="preserve">
<value>Machine</value>
</data>
<data name="TITLE_Machines" xml:space="preserve">
<value>Machines</value>
</data>
<data name="TITLE_Server" xml:space="preserve">
<value>Server</value>
</data>
<data name="TITLE_Servers" xml:space="preserve">
<value>Servers</value>
</data>
<data name="TITLE_Settings" xml:space="preserve">
<value>Settings</value>
</data>
<data name="TITLE_User" xml:space="preserve">
<value>User</value>
</data>
<data name="TITLE_Users" xml:space="preserve">
<value>Users</value>
</data>
<data name="UserListPage_AddUser" xml:space="preserve">
<value>Add User</value>
</data>
<data name="USERNAME" xml:space="preserve">
<value>Username</value>
</data>
<data name="VERSION" xml:space="preserve">
<value>Version</value>
</data>
<data name="YAY" xml:space="preserve">
<value>YAY</value>
</data>
</root>