Skip to content

Commit 43e5fed

Browse files
committed
Change text and identifier referencing SWAG snippets to "packets"
SWAG terminology for "snippets" is "packets". So all references to "snippets" in the context of SWAG packages have been renamed. This includes identifiers, dialogue box text, and comments. Any text referencing "snippets" in the context of CodeSnip snippets has been left unchanged. No XML tag names have been changed as yet: those names are still valid in pre-release copies of the SWAG database, though that will change.
1 parent 64830b6 commit 43e5fed

File tree

7 files changed

+531
-508
lines changed

7 files changed

+531
-508
lines changed

Src/FmSWAGImportDlg.dfm

Lines changed: 45 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ inherited SWAGImportDlg: TSWAGImportDlg
1919
inherited pcWizard: TPageControl
2020
Width = 671
2121
Height = 456
22-
ActivePage = tsUpdate
22+
ActivePage = tsCategories
2323
ExplicitWidth = 671
2424
ExplicitHeight = 456
2525
object tsIntro: TTabSheet
2626
Caption = 'tsIntro'
2727
TabVisible = False
28+
ExplicitLeft = 0
29+
ExplicitTop = 0
30+
ExplicitWidth = 0
31+
ExplicitHeight = 0
2832
inline frmIntro: THTMLTpltDlgFrame
2933
Left = 0
3034
Top = 0
@@ -55,6 +59,10 @@ inherited SWAGImportDlg: TSWAGImportDlg
5559
Caption = 'tsFolder'
5660
ImageIndex = 4
5761
TabVisible = False
62+
ExplicitLeft = 0
63+
ExplicitTop = 0
64+
ExplicitWidth = 0
65+
ExplicitHeight = 0
5866
object lblFolder: TLabel
5967
Left = 0
6068
Top = 8
@@ -68,9 +76,9 @@ inherited SWAGImportDlg: TSWAGImportDlg
6876
object lblFolderPageInfo: TLabel
6977
Left = 0
7078
Top = 72
71-
Width = 270
79+
Width = 267
7280
Height = 13
73-
Caption = 'Click the Next button to choose which snippets to import'
81+
Caption = 'Click the Next button to choose which packets to import'
7482
end
7583
object edPath: TEdit
7684
Left = 0
@@ -113,20 +121,20 @@ inherited SWAGImportDlg: TSWAGImportDlg
113121
Height = 36
114122
AutoSize = False
115123
Caption =
116-
'Select a category from the list on the left and click "Show Snip' +
117-
'pets In Category" (or double click the category) to display a li' +
118-
'st of its snippets in the right hand list. Tick the snippets you' +
119-
' want to import. Repeat with as many categories as you wish. Whe' +
120-
'n you are ready to import click "Next".'
124+
'Select a category from the list on the left and click "Show Pack' +
125+
'ets In Category" (or double click the category) to display a lis' +
126+
't of its packets in the right hand list. Tick the packet(s) you ' +
127+
'want to import. Repeat with as many categories as you wish. When' +
128+
' you are ready to import click "Next".'
121129
WordWrap = True
122130
end
123-
object lblSelectSnippets: TLabel
131+
object lblSelectPackets: TLabel
124132
Left = 256
125133
Top = 45
126-
Width = 119
134+
Width = 116
127135
Height = 13
128-
Caption = '&Select required snippets:'
129-
FocusControl = clbSelectSnippets
136+
Caption = '&Select required packets:'
137+
FocusControl = clbSelectPackets
130138
end
131139
object lbCategories: TListBox
132140
Left = 0
@@ -138,16 +146,16 @@ inherited SWAGImportDlg: TSWAGImportDlg
138146
OnDblClick = lbCategoriesDblClick
139147
OnKeyDown = lbCategoriesKeyDown
140148
end
141-
object clbSelectSnippets: TCheckListBox
149+
object clbSelectPackets: TCheckListBox
142150
Left = 256
143151
Top = 64
144152
Width = 404
145153
Height = 321
146-
OnClickCheck = clbSelectSnippetsClickCheck
154+
OnClickCheck = clbSelectPacketsClickCheck
147155
ItemHeight = 13
148156
TabOrder = 2
149-
OnDblClick = clbSelectSnippetsDblClick
150-
OnKeyDown = clbSelectSnippetsKeyDown
157+
OnDblClick = clbSelectPacketsDblClick
158+
OnKeyDown = clbSelectPacketsKeyDown
151159
end
152160
object btnDisplayCategory: TButton
153161
Left = 30
@@ -157,31 +165,36 @@ inherited SWAGImportDlg: TSWAGImportDlg
157165
Action = actDisplayCategory
158166
TabOrder = 1
159167
end
160-
object btnDisplaySnippet: TButton
168+
object btnDisplayPacket: TButton
161169
Left = 280
162170
Top = 391
163171
Width = 185
164172
Height = 25
165-
Action = actDisplaySnippet
173+
Action = actDisplayPacket
166174
TabOrder = 3
167175
end
168176
end
169177
object tsUpdate: TTabSheet
170178
Caption = 'tsUpdate'
171179
ImageIndex = 2
172180
TabVisible = False
181+
ExplicitLeft = 0
182+
ExplicitTop = 0
183+
ExplicitWidth = 0
184+
ExplicitHeight = 0
173185
object lblUpdateDesc: TLabel
174186
Left = 0
175187
Top = 3
176188
Width = 649
177189
Height = 36
178190
AutoSize = False
179191
Caption =
180-
'You have chosen to import the following SWAG snippets. They will' +
181-
' be imported with the given Display Names and Snippet IDs. You c' +
182-
'an change these if you wish using the Snippets Editor. To make c' +
183-
'hanges go back to the previous page. When you are ready to impor' +
184-
't the snippets click "Import". This step can'#39't be undone.'
192+
'You have chosen to import the following SWAG packets as CodeSnip' +
193+
' snippets. They will be imported with the given Display Names an' +
194+
'd Packet IDs. You can change these if you wish using the Snippet' +
195+
's Editor. To make changes go back to the previous page. When you' +
196+
' are ready to import the packets click "Import". This step can'#39't' +
197+
' be undone.'
185198
WordWrap = True
186199
end
187200
object lvImports: TListView
@@ -212,6 +225,10 @@ inherited SWAGImportDlg: TSWAGImportDlg
212225
Caption = 'tsFinish'
213226
ImageIndex = 3
214227
TabVisible = False
228+
ExplicitLeft = 0
229+
ExplicitTop = 0
230+
ExplicitWidth = 0
231+
ExplicitHeight = 0
215232
inline frmOutro: THTMLTpltDlgFrame
216233
Left = 0
217234
Top = 0
@@ -250,14 +267,14 @@ inherited SWAGImportDlg: TSWAGImportDlg
250267
Left = 336
251268
Top = 256
252269
object actDisplayCategory: TAction
253-
Caption = 'S&how Snippets In Category'
270+
Caption = 'S&how Packets In Category'
254271
OnExecute = actDisplayCategoryExecute
255272
OnUpdate = actDisplayCategoryUpdate
256273
end
257-
object actDisplaySnippet: TAction
258-
Caption = '&Preview Selected Snippet...'
259-
OnExecute = actDisplaySnippetExecute
260-
OnUpdate = actDisplaySnippetUpdate
274+
object actDisplayPacket: TAction
275+
Caption = '&Preview Selected Packet...'
276+
OnExecute = actDisplayPacketExecute
277+
OnUpdate = actDisplayPacketUpdate
261278
end
262279
object actBrowse: TAction
263280
Caption = '...'

0 commit comments

Comments
 (0)