Inline localize, remove string formatting from localized text
This commit is contained in:
parent
ffc9ade8cb
commit
7ce75070ec
1 changed files with 1 additions and 4 deletions
|
|
@ -64,10 +64,7 @@ namespace MatterHackers.MatterControl.AboutPage
|
|||
UpdateControlData.Instance.CheckForUpdateUserRequested();
|
||||
};
|
||||
|
||||
string currentBuildNo = VersionInfo.Instance.BuildVersion;
|
||||
string currentBuildInfoLabel = String.Format("Current Build : {0}", currentBuildNo);
|
||||
|
||||
var currentBuildInfo = new TextWidget(currentBuildInfoLabel.Localize());
|
||||
var currentBuildInfo = new TextWidget("Current Build".Localize() + $" : {VersionInfo.Instance.BuildVersion}");
|
||||
currentBuildInfo.HAnchor = HAnchor.Stretch;
|
||||
currentBuildInfo.Margin = new BorderDouble(left: 5, bottom: 15, top: 20);
|
||||
currentBuildInfo.TextColor = ActiveTheme.Instance.PrimaryTextColor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue