Removed some hardcoded text and renamed Lotsen to Flusslotsen
This commit is contained in:
parent
eb62097278
commit
090fa6cfda
@ -27,7 +27,7 @@ namespace BreCalClient
|
|||||||
BSMD = 1,
|
BSMD = 1,
|
||||||
[Description("Terminal")]
|
[Description("Terminal")]
|
||||||
TERMINAL = 2,
|
TERMINAL = 2,
|
||||||
[Description("Lotsen")]
|
[Description("Flusslotsen")]
|
||||||
PILOT = 4,
|
PILOT = 4,
|
||||||
[Description("Agentur")]
|
[Description("Agentur")]
|
||||||
AGENCY = 8,
|
AGENCY = 8,
|
||||||
|
|||||||
@ -89,12 +89,12 @@
|
|||||||
<ColumnDefinition Width=".15*" />
|
<ColumnDefinition Width=".15*" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Grid.Column="0" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="0" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="1" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Agent" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="1" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textAgency}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="2" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Festmacher" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="2" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textMooring}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="3" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Hafenamt" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="3" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textPortAuthority}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="4" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Lotsen" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="4" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textPilots}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="5" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Schlepper" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="5" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textTug}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
<Label Grid.Column="6" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="Terminal" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
<Label Grid.Column="6" Background="{Binding Source={x:Static sets:Settings.Default}, Path=BG_COLOR}" Foreground="White" Content="{x:Static p:Resources.textTerminal}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"></Label>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ScrollViewer Grid.Row="3" VerticalScrollBarVisibility="Auto">
|
<ScrollViewer Grid.Row="3" VerticalScrollBarVisibility="Auto">
|
||||||
<StackPanel x:Name="stackPanel"/>
|
<StackPanel x:Name="stackPanel"/>
|
||||||
|
|||||||
18
src/BreCalClient/Resources/Resources.Designer.cs
generated
18
src/BreCalClient/Resources/Resources.Designer.cs
generated
@ -900,6 +900,15 @@ namespace BreCalClient.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Pilot.
|
||||||
|
/// </summary>
|
||||||
|
public static string textPilots {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("textPilots", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Port.
|
/// Looks up a localized string similar to Port.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -909,6 +918,15 @@ namespace BreCalClient.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Port authority.
|
||||||
|
/// </summary>
|
||||||
|
public static string textPortAuthority {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("textPortAuthority", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Rain sensitive cargo.
|
/// Looks up a localized string similar to Rain sensitive cargo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -269,7 +269,7 @@
|
|||||||
<value>Anlegeseite</value>
|
<value>Anlegeseite</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="textPilot" xml:space="preserve">
|
<data name="textPilot" xml:space="preserve">
|
||||||
<value>Lotse</value>
|
<value>Flusslotse</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="textPilotRequired" xml:space="preserve">
|
<data name="textPilotRequired" xml:space="preserve">
|
||||||
<value>Lotsorder</value>
|
<value>Lotsorder</value>
|
||||||
@ -496,4 +496,10 @@
|
|||||||
<data name="textShips" xml:space="preserve">
|
<data name="textShips" xml:space="preserve">
|
||||||
<value>Schiffe</value>
|
<value>Schiffe</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textPilots" xml:space="preserve">
|
||||||
|
<value>Flusslotsen</value>
|
||||||
|
</data>
|
||||||
|
<data name="textPortAuthority" xml:space="preserve">
|
||||||
|
<value>Hafenamt</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -388,9 +388,15 @@
|
|||||||
<data name="textPilotRequired" xml:space="preserve">
|
<data name="textPilotRequired" xml:space="preserve">
|
||||||
<value>Pilot required</value>
|
<value>Pilot required</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textPilots" xml:space="preserve">
|
||||||
|
<value>Pilot</value>
|
||||||
|
</data>
|
||||||
<data name="textPort" xml:space="preserve">
|
<data name="textPort" xml:space="preserve">
|
||||||
<value>Port</value>
|
<value>Port</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textPortAuthority" xml:space="preserve">
|
||||||
|
<value>Port authority</value>
|
||||||
|
</data>
|
||||||
<data name="textRainSensitiveCargo" xml:space="preserve">
|
<data name="textRainSensitiveCargo" xml:space="preserve">
|
||||||
<value>Rain sensitive cargo</value>
|
<value>Rain sensitive cargo</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@ -10,6 +10,7 @@ namespace brecal.model
|
|||||||
{
|
{
|
||||||
#region Enumerations
|
#region Enumerations
|
||||||
|
|
||||||
|
// TODO: should localize the descriptions
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum ParticipantType
|
public enum ParticipantType
|
||||||
{
|
{
|
||||||
@ -19,7 +20,7 @@ namespace brecal.model
|
|||||||
BSMD = 1,
|
BSMD = 1,
|
||||||
[Description("Terminal")]
|
[Description("Terminal")]
|
||||||
TERMINAL = 2,
|
TERMINAL = 2,
|
||||||
[Description("Lotsen")]
|
[Description("Flusslotsen")]
|
||||||
PILOT = 4,
|
PILOT = 4,
|
||||||
[Description("Agentur")]
|
[Description("Agentur")]
|
||||||
AGENCY = 8,
|
AGENCY = 8,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user