Skip to content

Commit

Permalink
Loc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikasoukhov committed Jul 9, 2017
1 parent da4a625 commit 575f80c
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Algo/Commissions/CommissionRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ public class CommissionBoardCodeRule : CommissionRule
/// Board code.
/// </summary>
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[CategoryLoc(LocalizedStrings.GeneralKey)]
public ExchangeBoard Board
{
Expand Down
2 changes: 1 addition & 1 deletion BusinessEntities/ExchangeBoard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public ExchangeBoard()
[DataMember]
[Identity]
[DisplayNameLoc(LocalizedStrings.CodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string Code
{
Expand Down
24 changes: 22 additions & 2 deletions Localization/LocalizedStrings_Items.cs
Original file line number Diff line number Diff line change
Expand Up @@ -988,12 +988,12 @@ partial class LocalizedStrings
public static string Code => GetString(CodeKey);

/// <summary>
/// Board code.
/// Board code
/// </summary>
public const string BoardCodeKey = nameof(BoardCode);

/// <summary>
/// Board code.
/// Board code
/// </summary>
public static string BoardCode => GetString(BoardCodeKey);

Expand Down Expand Up @@ -45646,5 +45646,25 @@ partial class LocalizedStrings
/// Security or board code are duplicated for {0}
/// </summary>
public static string SecurityOrBoardCodeDuplicatedParams => GetString(SecurityOrBoardCodeDuplicatedParamsKey);

/// <summary>
/// Bytes
/// </summary>
public const string BytesKey = nameof(Bytes);

/// <summary>
/// Bytes
/// </summary>
public static string Bytes => GetString(BytesKey);

/// <summary>
/// Project
/// </summary>
public const string ProjectKey = nameof(Project);

/// <summary>
/// Project
/// </summary>
public static string Project => GetString(ProjectKey);
}
}
4 changes: 3 additions & 1 deletion Localization/text.csv
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ LicenseNotSupport;License N{0} does not support '{1}'.;Лицензия N{0} н
StockExchange;Stock exchange;Фондовая биржа
Str56;Code of the exchange, to which the board belongs.;Код биржи, которой принадлежит площадка.
Code;Code;Код
BoardCode;Board code.;Код площадки.
BoardCode;Board code;Код площадки
Reregistering;Reregistering;Перерегистрация
Str60;Gets a value indicating whether the re-registration orders as a single transaction.;Поддерживается ли перерегистрация заявок в виде одной транзакции.
MarketOrders;Market orders;Рыночные заявки
Expand Down Expand Up @@ -4597,6 +4597,8 @@ AdapterBoard;Adapter board code;Код площадки в адаптере
ConnectionNotSpecifiedParams;Connection not specified for {0};Подключение не указано для {0}
SecurityOrBoardCodeNotSpecifiedParams;Security or board code not specified for {0};Код инструмента или площадки не указан для {0}
SecurityOrBoardCodeDuplicatedParams;Security or board code are duplicated for {0};Код инструмента или площадк повторяется для {0}
Bytes;Bytes;Байты
Project;Project;Проект
DocStr0;Button activation alert settings;Кнопка активации настроек сигнала
DocStr1;Initializes a new instance of the {0};Создать {0}
DocStr2;Load settings;Загрузить настройки
Expand Down
2 changes: 1 addition & 1 deletion Messages/BoardMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class BoardMessage : Message
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.CodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string Code { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Messages/NewsMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class NewsMessage : Message
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string BoardCode { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Messages/PortfolioChangeMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public sealed class PortfolioChangeMessage : BaseChangeMessage<PositionChangeTyp
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string BoardCode { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Messages/PortfolioMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class PortfolioMessage : Message
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string BoardCode { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Messages/QuoteChange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public QuoteChange(Sides side, decimal price, decimal volume)
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string BoardCode { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Messages/SecurityId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public string SecurityCode
/// </summary>
[DataMember]
[DisplayNameLoc(LocalizedStrings.BoardKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey)]
[DescriptionLoc(LocalizedStrings.BoardCodeKey, true)]
[MainCategory]
public string BoardCode
{
Expand Down

0 comments on commit 575f80c

Please sign in to comment.