Skip to content

Commit 10e7755

Browse files
dadachiclaude
andcommitted
Rename Number Tag labels to Item Tag for identifier alignment
- 'Manage Number Tags' → 'Manage Item Tags' - 'Tag Number' → 'Name' (aligns with ItemTag.name field after Phase 1 API refactor) - 'Add a new number tag...' → 'Add a new item tag...' - 'Tag number is invalid.' → 'Item tag name is invalid.' - 'Tag Number must be a 2-N...' → 'Name must be a 2-N...' (ItemTagCreate/EditView footer) - Identifier: shopSettingsManageNumberTagsLabel → shopSettingsManageItemTagsLabel Queue-specific strings (swipeNumberTagBelow, serverNumberTagsWebpage*, resetNumberTags*, onboardingDescription*) are intentionally kept for now; they will be deleted alongside NFC/scan/reset code in Phase 2 Part A. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6d2b626 commit 10e7755

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

NativeAppTemplate/Constants.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ extension String {
165165

166166
static let shopSettingsLabel = "Shop Settings"
167167
static let shopSettingsBasicSettingsLabel = "Basic Settings"
168-
static let shopSettingsManageNumberTagsLabel = "Manage Number Tags"
168+
static let shopSettingsManageItemTagsLabel = "Manage Item Tags"
169169
static let shopSettingsNumberTagsWebpageLabel = "Number Tags Webpage"
170170
static let resetNumberTagsDescription = "Reset all number tag statuses."
171171
static let resetNumberTags = "Reset Number Tags"
@@ -177,13 +177,13 @@ extension String {
177177

178178
// MARK: Item Tag View
179179

180-
static let tagNumber = "Tag Number"
180+
static let tagNumber = "Name"
181181
static let editTag = "Edit Tag"
182182
static let addTag = "Add Tag"
183-
static let addTagDescription = "Add a new number tag and start changing the tag status."
183+
static let addTagDescription = "Add a new item tag and start changing the tag status."
184184
static let deleteTag = "Delete tag"
185185
static let buttonDeleteTag = "Delete Tag"
186-
static let tagNumberIsInvalid = "Tag number is invalid."
186+
static let tagNumberIsInvalid = "Item tag name is invalid."
187187
static let writeServerTag = "Write Server Tag"
188188
static let writeCustomerTag = "Write Customer Tag"
189189
static let youCannotUndoAfterLockingTag =

NativeAppTemplate/UI/Shop Settings/ItemTag Detail/ItemTagEditView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private extension ItemTagEditView {
5454
Text(String.tagNumber)
5555
} footer: {
5656
VStack(alignment: .leading) {
57-
Text("Tag Number must be a 2-\(viewModel.maximumQueueNumberLength) alphanumeric characters.")
57+
Text("Name must be a 2-\(viewModel.maximumQueueNumberLength) alphanumeric characters.")
5858
.font(.uiFootnote)
5959
Text(String.zeroPadding)
6060
.font(.uiFootnote)

NativeAppTemplate/UI/Shop Settings/ItemTag List/ItemTagCreateView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private extension ItemTagCreateView {
5151
Text(String.tagNumber)
5252
} footer: {
5353
VStack(alignment: .leading) {
54-
Text("Tag Number must be a 2-\(viewModel.maximumQueueNumberLength) alphanumeric characters.")
54+
Text("Name must be a 2-\(viewModel.maximumQueueNumberLength) alphanumeric characters.")
5555
.font(.uiFootnote)
5656
Text(String.zeroPadding)
5757
.font(.uiFootnote)

NativeAppTemplate/UI/Shop Settings/ItemTag List/ItemTagListView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private extension ItemTagListView {
8585
}
8686
}
8787
}
88-
.navigationTitle(String.shopSettingsManageNumberTagsLabel)
88+
.navigationTitle(String.shopSettingsManageItemTagsLabel)
8989
.toolbar {
9090
ToolbarItem(placement: .navigationBarTrailing) {
9191
Button {

NativeAppTemplate/UI/Shop Settings/ShopSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private extension ShopSettingsView {
8282
)
8383
)
8484
} label: {
85-
Label(String.shopSettingsManageNumberTagsLabel, systemImage: "rectangle.stack")
85+
Label(String.shopSettingsManageItemTagsLabel, systemImage: "rectangle.stack")
8686
}
8787
.listRowBackground(Color.cardBackground.opacity(0.7))
8888
}

0 commit comments

Comments
 (0)