Skip to content

Commit

Permalink
Changes in text
Browse files Browse the repository at this point in the history
  • Loading branch information
Luuk2016 committed Jan 18, 2022
1 parent 0b84516 commit 3afcbdf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 62 deletions.
16 changes: 11 additions & 5 deletions ikwambe-foundation-ios/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@

*/

"water-pump" = "Water pump";

"help-to-build" = "Help to build a water pump";

"by-making-a-donation" = "By making a donation to the foundation, you can help us with building a water pump.";

"at-this-moment" = "At this moment, drinking water isn't available in the village of ikwambe";
"at-this-moment" = "At this moment, drinking water isn't available in the village of Ikwambe";

"stories-from-ikwambe" = "Stories from Ikwambe";

Expand All @@ -34,7 +36,7 @@

"welcome-back" = "Welcome back!";

"do-i-need-account" = "Do i need an account?";
"do-i-need-account" = "Do I need an account?";

"account-explanation" = "An account is fully optional. \nWith an account you can keep track of your donations.";

Expand All @@ -52,11 +54,13 @@

"logout" = "Logout";

"loading-donations" = "Loading donations";

"build-a-water-pump" = "Build a water pump";

"overview" = "Overview";

"project-overview" = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut molestie nunc scelerisque, suscipit metus feugiat, interdum augue. Nam dolor mauris, euismod sed lectus ut, hendrerit rutrum libero. Vestibulum facilisis quam rhoncus pharetra mattis. Nulla facilisi. Curabitur ex ligula, ornare vel ex sed, fringilla iaculis mauris.";
"project-overview" = "It is the first step towards the big challenges. Ikwambe is a small village in Tanzania. There is no water source at all, no dispenser, no electricity. But people live there and must survive every day.";

"milestones" = "Milestones";

Expand Down Expand Up @@ -96,6 +100,8 @@

"by-donating" = "By donating, you will help to bring clean water to Ikwambe. Please select an amount below:";

"other" = "Other";

"loading-payment" = "Loading payment, please wait";

"who-we-are" = "Who we are";
Expand All @@ -110,7 +116,7 @@

"stories-from-ikwambe" = "Stories from Ikwambe";

"stories-from-ikwambe-text" = "Be surprised by the most unique, moving or telling stories of the Ikwambe foundation.\nRead their stories here.";
"stories-from-ikwambe-text" = "Be surprised by the most unique, moving or telling stories of the Ikwambe Foundation.\nRead their stories here.";

"loading-stories" = "Loading stories";

Expand All @@ -128,7 +134,7 @@ Furthermore there is limited access to clean water all year long.

Few people can boil (dirty) water for drinking. The rest use it only for other domestic purposes.

The other option is to walk 3 to 5 km (to and fro) to the neighboring village of Sululu, where there is a pumping well.
The other option is to walk 3 to 5 km (to and from) to the neighboring village of Sululu, where there is a pumping well.

However, the villagers are limited by the amount of water they can carry.

Expand Down
2 changes: 1 addition & 1 deletion ikwambe-foundation-ios/views/donation/DonationView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ struct DonationView: View {
}.buttonStyle(DonationAmountButton())
.disabled(!buttonsEnabled)

Button("Other") {
Button(NSLocalizedString("other", comment: "")) {
amount = 0.00
customAmountEnabled = true
}.buttonStyle(DonationAmountButton())
Expand Down
54 changes: 0 additions & 54 deletions ikwambe-foundation-ios/views/projects/DonationsOverview.swift

This file was deleted.

4 changes: 2 additions & 2 deletions ikwambe-foundation-ios/views/user/ProfileView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct ProfileView: View {
if (donations.isEmpty == false) {
ForEach(donations) { donation in
VStack(alignment: .center) {
Text("Waterpump")
Text(NSLocalizedString("water-pump", comment: ""))
.font(Font.headline.weight(.bold))

Text("€\(donation.amount, specifier: "%.2f") on \(String(donation.donationDate.prefix(10)))")
Expand All @@ -62,7 +62,7 @@ struct ProfileView: View {
}.multilineTextAlignment(.center)
}
} else {
ProgressView("Loading donations")
ProgressView(NSLocalizedString("loading-donations", comment: ""))
.onAppear {
getDonations()
}
Expand Down

0 comments on commit 3afcbdf

Please sign in to comment.