Skip to content

Commit 8ffdc3f

Browse files
committed
chore: nav_* 형태로 탭바, 내비게이션 타이틀 일원화
1 parent 4e26e2e commit 8ffdc3f

9 files changed

Lines changed: 16 additions & 50 deletions

File tree

DevLog/Resource/Localizable.xcstrings

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
}
195195
}
196196
},
197-
"account_title" : {
197+
"nav_account" : {
198198
"extractionState" : "manual",
199199
"localizations" : {
200200
"en" : {
@@ -381,7 +381,7 @@
381381
}
382382
}
383383
},
384-
"home_content_title" : {
384+
"nav_home_content" : {
385385
"extractionState" : "manual",
386386
"localizations" : {
387387
"en" : {
@@ -466,23 +466,6 @@
466466
}
467467
}
468468
},
469-
"home_title" : {
470-
"extractionState" : "manual",
471-
"localizations" : {
472-
"en" : {
473-
"stringUnit" : {
474-
"state" : "translated",
475-
"value" : "Home"
476-
}
477-
},
478-
"ko" : {
479-
"stringUnit" : {
480-
"state" : "translated",
481-
"value" : "홈"
482-
}
483-
}
484-
}
485-
},
486469
"home_web_empty" : {
487470
"extractionState" : "manual",
488471
"localizations" : {
@@ -1156,7 +1139,7 @@
11561139
}
11571140
}
11581141
},
1159-
"push_notifications_title" : {
1142+
"nav_push_notifications" : {
11601143
"extractionState" : "manual",
11611144
"localizations" : {
11621145
"en" : {
@@ -1241,7 +1224,7 @@
12411224
}
12421225
}
12431226
},
1244-
"push_settings_title" : {
1227+
"nav_push_settings" : {
12451228
"extractionState" : "manual",
12461229
"localizations" : {
12471230
"en" : {
@@ -1982,7 +1965,7 @@
19821965
}
19831966
}
19841967
},
1985-
"settings_title" : {
1968+
"nav_settings" : {
19861969
"extractionState" : "manual",
19871970
"localizations" : {
19881971
"en" : {
@@ -2101,7 +2084,7 @@
21012084
}
21022085
}
21032086
},
2104-
"theme_title" : {
2087+
"nav_theme" : {
21052088
"extractionState" : "manual",
21062089
"localizations" : {
21072090
"en" : {
@@ -2577,23 +2560,6 @@
25772560
}
25782561
}
25792562
},
2580-
"today_title" : {
2581-
"extractionState" : "manual",
2582-
"localizations" : {
2583-
"en" : {
2584-
"stringUnit" : {
2585-
"state" : "translated",
2586-
"value" : "Today"
2587-
}
2588-
},
2589-
"ko" : {
2590-
"stringUnit" : {
2591-
"state" : "translated",
2592-
"value" : "오늘"
2593-
}
2594-
}
2595-
}
2596-
},
25972563
"web_page_missing_title" : {
25982564
"extractionState" : "manual",
25992565
"localizations" : {
@@ -3403,7 +3369,7 @@
34033369
}
34043370
}
34053371
},
3406-
"todo_manage_title" : {
3372+
"nav_todo_manage" : {
34073373
"extractionState" : "manual",
34083374
"localizations" : {
34093375
"en" : {

DevLog/UI/Home/HomeView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct HomeView: View {
2121
webPageSection
2222
}
2323
.listStyle(.insetGrouped)
24-
.navigationTitle(String(localized: "home_title"))
24+
.navigationTitle(String(localized: "nav_home"))
2525
.navigationDestination(for: Path.self) { path in
2626
switch path {
2727
case .category(let item):
@@ -333,7 +333,7 @@ struct HomeView: View {
333333
.foregroundStyle(Color(.label))
334334
}
335335
}
336-
.navigationTitle(String(localized: "home_content_title"))
336+
.navigationTitle(String(localized: "nav_home_content"))
337337
.navigationBarTitleDisplayMode(.inline)
338338
.toolbar {
339339
ToolbarItem(placement: .topBarLeading) {

DevLog/UI/Home/TodoManageView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct TodoManageView: View {
5050
.listRowInsets(EdgeInsets())
5151
}
5252
.environment(\.editMode, .constant(.active))
53-
.navigationTitle(String(localized: "todo_manage_title"))
53+
.navigationTitle(String(localized: "nav_todo_manage"))
5454
.navigationBarTitleDisplayMode(.inline)
5555
.navigationBarBackButtonHidden()
5656
.sheet(isPresented: Binding(

DevLog/UI/PushNotification/PushNotificationListView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct PushNotificationListView: View {
3636
}
3737
}
3838
.refreshable { viewModel.send(.fetchNotifications) }
39-
.navigationTitle(String(localized: "push_notifications_title"))
39+
.navigationTitle(String(localized: "nav_push_notifications"))
4040
.alert(
4141
"",
4242
isPresented: Binding(

DevLog/UI/Setting/AccountView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct AccountView: View {
5151
}
5252
.scrollDisabled(true)
5353
.listStyle(.insetGrouped)
54-
.navigationTitle(String(localized: "account_title"))
54+
.navigationTitle(String(localized: "nav_account"))
5555
.onAppear {
5656
viewModel.send(.onAppear)
5757
}

DevLog/UI/Setting/PushNotificationSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ struct PushNotificationSettingsView: View {
6161
.opacity(viewModel.state.pushNotificationEnable ? 1.0 : 0.2)
6262
}
6363
.listStyle(.insetGrouped)
64-
.navigationTitle(String(localized: "push_settings_title"))
64+
.navigationTitle(String(localized: "nav_push_settings"))
6565
.overlay {
6666
if viewModel.state.isLoading {
6767
LoadingView()

DevLog/UI/Setting/SettingView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct SettingView: View {
108108
Spacer()
109109
}
110110
}
111-
.navigationTitle(String(localized: "settings_title"))
111+
.navigationTitle(String(localized: "nav_settings"))
112112
.navigationBarTitleDisplayMode(.inline)
113113
.navigationDestination(for: Path.self) { path in
114114
switch path {

DevLog/UI/Setting/ThemeView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ struct ThemeView: View {
5252
.listStyle(.insetGrouped)
5353
.toolbar {
5454
ToolbarItem(placement: .principal) {
55-
Text(String(localized: "theme_title"))
55+
Text(String(localized: "nav_theme"))
5656
.bold()
5757
}
5858
}

DevLog/UI/Today/TodayView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct TodayView: View {
2525
}
2626
}
2727
.listStyle(.insetGrouped)
28-
.navigationTitle(String(localized: "today_title"))
28+
.navigationTitle(String(localized: "nav_today"))
2929
.toolbar { toolbarContent }
3030
.navigationDestination(for: Path.self) { path in
3131
switch path {

0 commit comments

Comments
 (0)