commonIssuesTip localization

This commit is contained in:
eevee
2024-08-09 14:05:03 +03:00
parent 5ba2b4a659
commit 9afb52f2a4
2 changed files with 8 additions and 6 deletions
@@ -5,18 +5,15 @@ struct CommonIssuesTipView: View {
var onDismiss: () -> Void
var body: some View {
Section {
HStack(spacing: 15) {
Image(systemName: "exclamationmark.bubble")
.font(.title)
.foregroundColor(.gray)
VStack(alignment: .leading, spacing: 3) {
VStack(alignment: .leading) {
Text("Having Trouble?")
Text("common_issues_tip_title".localized)
.font(.headline)
}
@@ -24,10 +21,10 @@ struct CommonIssuesTipView: View {
destination: URL(string: "https://github.com/whoeevee/EeveeSpotify/blob/swift/common_issues.md")!,
label: {
VStack {
Text("If you are facing an issue, such as being unable to play any songs, check out ")
Text("\("common_issues_tip_message".localized) ")
.foregroundColor(.white)
+ Text("Common Issues")
+ Text("common_issues_tip_button".localized)
.foregroundColor(.blue)
+ Text(".")
@@ -4,6 +4,11 @@ patching = "Patching";
lyrics = "Lyrics";
customization = "Customization";
common_issues_tip_title = "Having Trouble?";
common_issues_tip_message = "If you are facing an issue, such as being unable to play any songs, check out";
common_issues_tip_button = "Common Issues";
reset_data = "Reset Data";
reset_data_description = "Clear cached data and restart the app.";