Skip to content

Commit

Permalink
Merge pull request #1006 from 0x1-company/refactor-activated-godmode
Browse files Browse the repository at this point in the history
refactor: 💡 activated god mode
  • Loading branch information
tomokisun authored Nov 20, 2023
2 parents db2816f + 1cf995f commit 770a588
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 70 deletions.
7 changes: 7 additions & 0 deletions Packages/GodPackage/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ let package = Package(
],
products: [
.library(name: "AboutFeature", targets: ["AboutFeature"]),
.library(name: "ActivatedGodModeFeature", targets: ["ActivatedGodModeFeature"]),
.library(name: "ActivityFeature", targets: ["ActivityFeature"]),
.library(name: "AddFeature", targets: ["AddFeature"]),
.library(name: "AppFeature", targets: ["AppFeature"]),
Expand Down Expand Up @@ -63,6 +64,11 @@ let package = Package(
.product(name: "SwiftUIMessage", package: "SwiftUIMessage"),
.product(name: "UIPasteboardClient", package: "CupertinoPackage"),
]),
.target(name: "ActivatedGodModeFeature", dependencies: [
.product(name: "Styleguide", package: "UIComponentPackage"),
.product(name: "AnalyticsClient", package: "DependencyPackage"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
]),
.target(name: "ActivityFeature", dependencies: [
"ProfileFeature",
]),
Expand Down Expand Up @@ -174,6 +180,7 @@ let package = Package(
]),
.target(name: "InboxFeature", dependencies: [
"InboxDetailFeature",
"ActivatedGodModeFeature",
]),
.target(name: "InboxStoryFeature", dependencies: [
.product(name: "God", package: "DependencyPackage"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"sourceLanguage" : "en",
"strings" : {
"OK" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "OK"
}
}
}
},
"Tap a message in your inbox to reveal the sender" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "自分を褒めてくれた人の名前を見ることができます!"
}
}
}
}
},
"version" : "1.0"
}
1 change: 1 addition & 0 deletions Packages/GodPackage/Sources/InboxFeature/Inbox.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import ActivatedGodModeFeature
import AnalyticsClient
import AnimationDisableTransaction
import Build
Expand Down
70 changes: 0 additions & 70 deletions Packages/GodPackage/Sources/InboxFeature/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,6 @@
}
}
},
"From %@ in %@" : {
"extractionState" : "stale",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "From %1$@ in %2$@"
}
},
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "%2$@の%1$@があなたを選びました"
}
}
}
},
"From a %@" : {
"localizations" : {
"ja" : {
Expand Down Expand Up @@ -91,17 +74,6 @@
}
}
},
"godapp.jp" : {
"extractionState" : "stale",
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "godapp.jp"
}
}
}
},
"Notifications are off" : {
"localizations" : {
"ja" : {
Expand All @@ -112,16 +84,6 @@
}
}
},
"OK" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "OK"
}
}
}
},
"See who likes you" : {
"localizations" : {
"ja" : {
Expand All @@ -132,28 +94,6 @@
}
}
},
"See who sent it" : {
"extractionState" : "stale",
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "誰から届いたか見る?👀"
}
}
}
},
"Share Stories" : {
"extractionState" : "stale",
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "ストーリーでシェアする"
}
}
}
},
"someone" : {
"localizations" : {
"ja" : {
Expand All @@ -164,16 +104,6 @@
}
}
},
"Tap a message in your inbox to reveal the sender" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "自分を褒めてくれた人の名前を見ることができます!"
}
}
}
},
"Tap anywhere to close" : {
"localizations" : {
"ja" : {
Expand Down

0 comments on commit 770a588

Please sign in to comment.