Skip to content

Commit 951f29b

Browse files
committed
Converted more strings into resources
1 parent fd888f1 commit 951f29b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+14103
-3169
lines changed

DiskImageTool/Extensions/StringExtensions.vb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
Imports System.Runtime.CompilerServices
22

33
Module StringExtensions
4-
<Extension()>
5-
Public Function Pluralize(Value As String, Count As Integer) As String
6-
Return Value & IIf(Count <> 1, "s", "")
7-
End Function
8-
94
<Extension()>
105
Public Function WordWrap(Text As String, Width As Integer, Font As Font) As List(Of String)
116
Dim StringList = New List(Of String)

DiskImageTool/Forms/AboutBox.Designer.vb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DiskImageTool/Forms/AboutBox.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<data name="LogoPictureBox.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
122122
<value>
123123
iVBORw0KGgoAAAANSUhEUgAAAHoAAAB6CAYAAABwWUfkAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
124-
wQAADsEBuJFr7QAACbFJREFUeF7tnUdvFMsWgK23vr/kLd/b3S0555xMzjnnnEEgQAi4egQhkQUIIYHE
124+
vwAADr8BOAVTJAAACbFJREFUeF7tnUdvFMsWgK23vr/kLd/b3S0555xMzjnnnEEgQAi4egQhkQUIIYHE
125125
AiRWLBC6EpgLghXBYPIDG8HD9OOb6xomHJup6qrp9sw50jcLl7urzvk8Pd1V4+6aX8XHjx+j169fx+bt
126126
27dRU1NT9OXLF+UH1OLdu3dFdfr06VPUUvrw8erVq+jq1avR/v37o507d3ph9+7dGdnK31BjqU6wb9++
127127
6Pz589G9e/eib9+++Rff3Nwc3bhxQ+w8Lrt27RITrlbaEp3LgQMHort37/qTjeQLFy5EO3bsyGP79u3R

DiskImageTool/Forms/AboutBox.vb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99
Else
1010
ApplicationTitle = System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName)
1111
End If
12-
Me.Text = String.Format("About {0}", ApplicationTitle)
12+
Me.Text = My.Resources.Label_About & " " & ApplicationTitle
1313
' Initialize all of the text displayed on the About Box.
1414
' TODO: Customize the application's assembly information in the "Application" pane of the project
1515
' properties dialog (under the "Project" menu).
1616
Me.LabelProductName.Text = My.Application.Info.ProductName
17-
Me.LabelVersion.Text = String.Format("Version {0}", GetVersionString)
17+
Me.LabelVersion.Text = My.Resources.Label_Version & " " & GetVersionString()
1818
Me.LabelURL.Text = MainForm.SITE_URL
1919
Me.TextBoxDescription.Text = GetResource("License.txt")
20+
21+
OKButton.Text = My.Resources.Menu_Ok
2022
End Sub
2123

2224
Private Function GetResource(Name As String) As String

DiskImageTool/Forms/BootSectorForm.Designer.vb

Lines changed: 70 additions & 352 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)