Skip to content

Commit

Permalink
Complete localization (#17)
Browse files Browse the repository at this point in the history
* Complete localizatoin

Signed-off-by: Daiki Matsudate <[email protected]>

* Fix localize

Signed-off-by: Daiki Matsudate <[email protected]>

* Fix Non exempt encryption

Signed-off-by: Daiki Matsudate <[email protected]>

* Add Makefile

Signed-off-by: Daiki Matsudate <[email protected]>

---------

Signed-off-by: Daiki Matsudate <[email protected]>
  • Loading branch information
d-date committed Mar 13, 2024
1 parent 00d484a commit 46c9353
Show file tree
Hide file tree
Showing 11 changed files with 515 additions and 38 deletions.
2 changes: 1 addition & 1 deletion App/App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<string>ja</string>
</array>
<key>ITSAppUsesNonExemptEncryption</key>
<true/>
<false/>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
Expand Down
2 changes: 1 addition & 1 deletion App/Clip/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>ITSAppUsesNonExemptEncryption</key>
<true/>
<false/>
<key>NSAppClip</key>
<dict>
<key>NSAppClipRequestEphemeralUserNotification</key>
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
format:
@swift format \
--ignore-unparsable-files \
--in-place \
--recursive \
./App/ \
./MyLibrary/
2 changes: 1 addition & 1 deletion MyLibrary/Sources/DataClient/Resources/day1.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
]
}
],
"description": "Have you ever built a socket communication app? The sense of accomplishment when you delve into layers that aren't typically touched in your everyday app development and actually utilize them in an app is truly exceptional. However, creating a socket communication app requires knowledge of POSIX sockets, and for complex communications, you need to implement parallel processing."
"description": "Have you ever built a socket communication app? The sense of accomplishment when you delve into layers that aren't typically touched in your everyday app development and actually utilize them in an app is truly exceptional. However, creating a socket communication app requires knowledge of POSIX sockets, and for complex communications, you need to implement parallel processing.\nIn this talk, we'll implement socket communication and parallel processing in Swift. With Swift, which we're all familiar with, you can easily venture into unfamiliar territories, and there are several instances where you can leverage Swift's capabilities through implementing socket communication and parallel processing. Take this opportunity to enjoy learning socket communication and rediscover the charm of Swift!"
},
{
"id": 7,
Expand Down
2 changes: 1 addition & 1 deletion MyLibrary/Sources/DataClient/Resources/day2.json
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
{
"name": "Zamzam Farzamipooya",
"image_name": "Zamzam",
"bio": "Zamzam is a tech lead with deep knowledge in AI and mobile technology, currently advancing her expertise at Veo Technologies in Copenhagen. A movie enthusiast post-work ",
"bio": "Zamzam is a tech lead with deep knowledge in AI and mobile technology, currently advancing her expertise at Veo Technologies in Copenhagen. A movie enthusiast post-work",
"links": [
{
"url": "https://twitter.com/zamzampooya",
Expand Down
4 changes: 2 additions & 2 deletions MyLibrary/Sources/DataClient/Resources/organizers.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"id": 2,
"name": "Daiki Matsudate",
"image_name": "Daiki",
"bio": "Daiki has worked as an iOS Developer for over 10 years and met as a volunteer staff member at try! Swift Tokyo in 2017. Inspired by the international speakers and sponsors he met then, he attended his first international conference, WWDC 2017.\nIn his work, I work as a software engineer at a ministry, while also serving as a technical advisor at various startups and listed companies, and as a general incorporated association try! Swift Tokyo.\nWhen he is not working, he likes to take podcasts with friends, play RPG games, snowboard in the snowy mountains, and spend time with friends in the neighborhood.",
"bio": "Daiki has worked as an iOS Developer for over 10 years and met as a volunteer staff member at try! Swift Tokyo in 2017. Inspired by the international speakers and sponsors he met then, he attended his first international conference, WWDC 2017.\nIn his work, I work as a software engineer at a ministry, while also serving as a technical advisor at various startups and listed companies, and as a general incorporated association try! Swift Tokyo.\nWhen he is not working, he likes to take podcasts with friends, play RPG games, snowboard in the snowy mountains, and spend time with friends in the neighborhood. He bought Apple Vision Pro at Honolulu on the day of release.",
"links": [
{
"name": "@d_date",
Expand Down Expand Up @@ -131,7 +131,7 @@
"id": 9,
"name": "Roku / Miki Yoshida",
"image_name": "Roku",
"bio": "Roku is an iOS Developer. She joined try! Swift in 2019 as a volunteer staff member, and became an organizer in 2020.\nShe loves Swift community and occasionally organizes study sessions and development camps.\nShe is interested in beer, whiskey, and unique design clothes. In addition to creating apps, She also enjoy making accessories.\nHer lucky number is 6️⃣, which is called \"Roku\" in Japanese.",
"bio": "Roku is an iOS Developer. She joined try! Swift in 2019 as a volunteer staff member, and became an organizer in 2020.\nShe loves Swift community and occasionally organizes study sessions and development camps.\nShe is interested in beer, whiskey, and unique design clothes. In addition to creating apps, She also enjoy making accessories.\nHer lucky number is 6️⃣, which is called \"Roku\" in Japanese.",
"links": [
{
"name": "@66nylon_y",
Expand Down
19 changes: 6 additions & 13 deletions MyLibrary/Sources/DataClient/Resources/workshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
{
"name": "Shinichiro Oba",
"image_name": "Shinichiro Oba",
"bio": "He is a software engineer and works on improvements of DevOps and DevEx in various teams. He also contributes some open-sourced swift projects.",
"bio": "Shinichiro is a software engineer and works on improvements of DevOps and DevEx in various teams. He also contributes some open-sourced swift projects.",
"links": [
{
"name": "@ooba",
Expand All @@ -115,7 +115,7 @@
{
"name": "Kazuya Hiruma",
"image_name": "Kazuya Hiruma",
"bio": "Kazuya worked as a web engineer leader at Kayac, and then fell in love with 3DCG and VR, and moved to the VR team at COLOPL, where he worked as a lead engineer for the development of the VR game \"Nyoro The Snake & Seven Islands\" and experienced developing many VR games. After joining MESON, he worked as an XR engineer before becoming CTO.",
"bio": "Kazuya worked as a web engineer leader at Kayac, and then fell in love with 3DCG and VR, and moved to the VR team at COLOPL, where he worked as a lead engineer for the development of the VR game \"Nyoro The Snake & Seven Islands\" and experienced developing many VR games. After joining MESON, he worked as an XR engineer before becoming CTO.",
"links": [
{
"name": "@edom18",
Expand All @@ -126,7 +126,7 @@
{
"name": "Hisaki Sato",
"image_name": "Hisaki Sato",
"bio": "Hisaki joined Konami Digital Entertainment and was involved in the online implementation of Winning Eleven for 5 years, developed and operated apps as an engineer at COLOPL for 9 years, developed AR games using location information and AR, and VR games such as OculusRift and PSVR After his experience in development, he joined MESON. He is developing SunnyTune, a launch title for VisionPro at MESON",
"bio": "Hisaki joined Konami Digital Entertainment and was involved in the online implementation of Winning Eleven for 5 years, developed and operated apps as an engineer at COLOPL for 9 years, developed AR games using location information and AR, and VR games such as OculusRift and PSVR After his experience in development, he joined MESON. He is developing SunnyTune, a launch title for VisionPro at MESON.",
"links": [
{
"name": "@lorincho3",
Expand All @@ -136,11 +136,7 @@
}
],
"description": "You will learn how MESON's launch title for Apple Vision Pro is made with hands-on experience.\n\nWe will also talk a bit about how we develop in Unity (PolySpatial).",
"requirements": [
"Latest Xcode",
"Unity (if needed)",
"Apple Vision Pro (if you have, not required)"
]
"requirements": "Latest Xcode, Unity if needed and Apple Vision Pro (if you have, not required)"
}
]
},
Expand Down Expand Up @@ -193,11 +189,8 @@
]
}
],
"description": "In this workshop, we will look at the Swift compilation process and what those parts are, learn a bit about LLVM, how to find a bug to work on using bugs.swift.org, and then making a build with our changes and running tests. A merged pull request is not the goal of this workshop, but you should have enough knowledge to get started and know where to look to learn more after attending.",
"requirements": [
"Laptops with the latest stable Xcode",
"Building the Swift compiler is preferred. Instruction will be provided beforehand."
]
"description": "In this workshop we will look at the Swift compilation process and what those parts are, learn a bit about LLVM, how to find a bug to work on using bugs.swift.org and then making a build with our changes and running tests.A merged pull request is not the goal of this workshop, but after attending this workshop you should have enough knowledge to get started and know where to look to learn more.\n\nIf you are proficient in C++ or even have some experience with LLVM, then you can start working with the Swift compiler right away.\n\nIf you do not have former C++ knowledge fear not, the Swift standard library or SwiftSyntax are written mostly in Swift and the python / swift hybrid '.gyb' files.\nIn addition, we’re welcome to contribute to any other Swift family projects, like Foundation, Swift Package Manager, or any other first-party libraries.",
"requirements": "Laptops with the latest stable Xcode and building the Swift compiler is preferred. Instruction will be provided beforehand."
},
{
"title": "Peer Labs",
Expand Down
6 changes: 3 additions & 3 deletions MyLibrary/Sources/ScheduleFeature/Detail.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public struct ScheduleDetail {

var title: String
var description: String
var requirements: [String]?
var requirements: String?
var speakers: [Speaker]
@Presents var destination: Destination.State?

public init(title: String, description: String, requirements: [String]? = nil, speakers: [Speaker]) {
public init(title: String, description: String, requirements: String? = nil, speakers: [Speaker]) {
self.title = title
self.description = description
self.requirements = requirements
Expand Down Expand Up @@ -81,7 +81,7 @@ public struct ScheduleDetailView: View {
Text("Requirements", bundle: .module)
.font(.subheadline.bold())
.foregroundStyle(Color.accentColor)
Text(ListFormatter.localizedString(byJoining: requirements))
Text(LocalizedStringKey(requirements), bundle: .module)
.font(.callout)
}
.padding()
Expand Down
Loading

0 comments on commit 46c9353

Please sign in to comment.