mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-21 21:46:27 +02:00
Code updated to 3.0.238
This commit is contained in:
parent
3302d80678
commit
9c6a1fa92b
257 changed files with 7763 additions and 2861 deletions
|
@ -23,7 +23,7 @@
|
|||
<Folder Include="Services\BluetoothLock\Tdo\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="Serilog" Version="2.10.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
<source>Unexpected locking state "{0}" detected after sending open command.</source>
|
||||
<target state="translated">Unerwarteter Schlosszustand "{0}" gemeldet nach Ausführen des Öffnen-Befehls.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ErrorOpenLockUnknownPosition" translate="yes" xml:space="preserve">
|
||||
<source>Lock reports unknown bold position.</source>
|
||||
<target state="needs-review-translation">Schloss meldet unbekannten Schließzustand.</target>
|
||||
<note from="MultilingualUpdate" annotates="source" priority="2">Please verify the translation’s accuracy as the source string was updated after it was translated.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="ErrorBluetoothDisconnectedException" translate="yes" xml:space="preserve">
|
||||
<source>No bluetooth connection.</source>
|
||||
<target state="translated">Keine Bluetooth-Verbindung.</target>
|
||||
|
@ -39,6 +34,10 @@
|
|||
<source>Bold is blocked.</source>
|
||||
<target state="translated">Schloss ist blockiert.</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="ErrorOpenLockBoldWasBlocked" translate="yes" xml:space="preserve">
|
||||
<source>Bolds was or is blocked.</source>
|
||||
<target state="new">Bolds was or is blocked.</target>
|
||||
</trans-unit>
|
||||
</group>
|
||||
</body>
|
||||
</file>
|
||||
|
|
|
@ -114,6 +114,15 @@ namespace TINK.MultilingualResources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bolds was or is blocked..
|
||||
/// </summary>
|
||||
internal static string ErrorOpenLockBoldWasBlocked {
|
||||
get {
|
||||
return ResourceManager.GetString("ErrorOpenLockBoldWasBlocked", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Unexpected locking state "{0}" detected after sending open command..
|
||||
/// </summary>
|
||||
|
@ -122,14 +131,5 @@ namespace TINK.MultilingualResources {
|
|||
return ResourceManager.GetString("ErrorOpenLockUnexpectedState", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Lock reports unknown bold position..
|
||||
/// </summary>
|
||||
internal static string ErrorOpenLockUnknownPosition {
|
||||
get {
|
||||
return ResourceManager.GetString("ErrorOpenLockUnknownPosition", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
<data name="ErrorOpenLockUnexpectedState" xml:space="preserve">
|
||||
<value>Unerwarteter Schlosszustand "{0}" gemeldet nach Ausführen des Öffnen-Befehls.</value>
|
||||
</data>
|
||||
<data name="ErrorOpenLockUnknownPosition" xml:space="preserve">
|
||||
<value>Schloss meldet unbekannten Schließzustand.</value>
|
||||
</data>
|
||||
<data name="ErrorBluetoothDisconnectedException" xml:space="preserve">
|
||||
<value>Keine Bluetooth-Verbindung.</value>
|
||||
</data>
|
||||
|
|
|
@ -135,10 +135,10 @@
|
|||
<data name="ErrorOpenLockBoldBlocked" xml:space="preserve">
|
||||
<value>Bold is blocked.</value>
|
||||
</data>
|
||||
<data name="ErrorOpenLockBoldWasBlocked" xml:space="preserve">
|
||||
<value>Bolds was or is blocked.</value>
|
||||
</data>
|
||||
<data name="ErrorOpenLockUnexpectedState" xml:space="preserve">
|
||||
<value>Unexpected locking state "{0}" detected after sending open command.</value>
|
||||
</data>
|
||||
<data name="ErrorOpenLockUnknownPosition" xml:space="preserve">
|
||||
<value>Lock reports unknown bold position.</value>
|
||||
</data>
|
||||
</root>
|
|
@ -1,13 +0,0 @@
|
|||
using TINK.Model.Bike.BluetoothLock;
|
||||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
public class CouldntOpenBoldBlockedException : StateAwareException
|
||||
{
|
||||
public CouldntOpenBoldBlockedException() : base(
|
||||
LockingState.Unknown, //
|
||||
MultilingualResources.Resources.ErrorOpenLockBoldBlocked)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
using TINK.Model.Bike.BluetoothLock;
|
||||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Lock can not be opened, because bold is blocked. Lock reports that obstacle is still blocking.
|
||||
/// </summary>
|
||||
public class CouldntOpenBoldIsBlockedException : StateAwareException
|
||||
{
|
||||
public CouldntOpenBoldIsBlockedException() : base(
|
||||
LockingState.Unknown,
|
||||
MultilingualResources.Resources.ErrorOpenLockBoldBlocked)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
using TINK.Model.Bike.BluetoothLock;
|
||||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Lock can not be opened, because bold is/ was blocked. Obstacle might no more block but lock could not be opened completely to obstacle.
|
||||
/// </summary>
|
||||
public class CouldntOpenBoldWasBlockedException : StateAwareException
|
||||
{
|
||||
public CouldntOpenBoldWasBlockedException() : base(
|
||||
LockingState.Unknown,
|
||||
MultilingualResources.Resources.ErrorOpenLockBoldWasBlocked)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
|
@ -9,9 +9,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
public CouldntOpenInconsistentStateExecption(LockingState state) :
|
||||
base(
|
||||
state,
|
||||
state != LockingState.Unknown
|
||||
? string.Format(Resources.ErrorOpenLockUnexpectedState, state)
|
||||
: Resources.ErrorOpenLockUnknownPosition)
|
||||
string.Format(Resources.ErrorOpenLockUnexpectedState, state))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue