Add a new tier for the tip jar

This commit is contained in:
Thomas Ricouard 2023-01-22 12:27:00 +01:00
parent b4225b2be7
commit bdfb8039af
7 changed files with 17 additions and 1 deletions

View file

@ -6,7 +6,7 @@ import SwiftUI
struct SupportAppView: View {
enum Tips: String, CaseIterable {
case one, two, three
case one, two, three, four
init(productId: String) {
self = .init(rawValue: String(productId.split(separator: ".")[2]))!
@ -24,6 +24,8 @@ struct SupportAppView: View {
return "settings.support.two.title"
case .three:
return "settings.support.three.title"
case .four:
return "settings.support.four.title"
}
}
@ -35,6 +37,8 @@ struct SupportAppView: View {
return "settings.support.two.subtitle"
case .three:
return "settings.support.three.subtitle"
case .four:
return "settings.support.four.subtitle"
}
}
}

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 Großzügiges Trinkgeld";
"settings.support.two.subtitle" = "Ich liebe den Duft eines tollen Kaffees ❤️";
"settings.support.two.title" = "☕️ Schönes Trinkgeld";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "Lokale Timeline hinzufügen";
"settings.title" = "Einstellungen";

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 Generous Tip";
"settings.support.two.subtitle" = "I love the taste of a fancy coffee ❤️";
"settings.support.two.title" = "☕️ Nice Tip";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "Add a local timeline";
"settings.title" = "Settings";

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 Propina generosa";
"settings.support.two.subtitle" = "Me encanta el sabor del café de lujo ❤️";
"settings.support.two.title" = "☕️ Buena propina";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "Añadir cronología local";
"settings.title" = "Ajustes";

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 Contributo generoso";
"settings.support.two.subtitle" = "Adoro il sapore di un buon caffé ❤️";
"settings.support.two.title" = "☕️ Contributo carino";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "Aggiungi una timeline locale";
"settings.title" = "Impostazioni";

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 Royale fooi";
"settings.support.two.subtitle" = "Ik hou van de geur van een goeie kop koffie ❤️";
"settings.support.two.title" = "☕️ Goeie fooi";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "Een lokale tijdlijn toevoegen";
"settings.title" = "Instellingen";

View file

@ -94,6 +94,8 @@
"settings.support.three.title" = "🤯 很慷慨的捐赠";
"settings.support.two.subtitle" = "我很乐意给自己买一杯的咖啡 ❤️";
"settings.support.two.title" = "☕️ 很不错的捐赠";
"settings.support.four.title" = "👽 Who are you Tip";
"settings.support.four.subtitle" = "It'll go a long way to keep Ice Cubes running!";
"settings.timeline.add" = "添加一个本地时间线";
"settings.title" = "设置";