Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v3

- name: Select Xcode Version
run: sudo xcode-select -switch /Applications/Xcode_14.3.1.app
run: sudo xcode-select -switch /Applications/Xcode_15.0.app

- name: Build
run: swift build -vv
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.9

import PackageDescription

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class DynamicListPresenter {
public static let dataNotAvailable = NSLocalizedString("data_not_available", bundle: Bundle.module, comment: "")
public static let topics = NSLocalizedString("topics", bundle: Bundle.module, comment: "")
public static let networkError = NSLocalizedString("network_error", bundle: Bundle.module, comment: "")
public static let loadingContent = NSLocalizedString("loading_content", bundle: Bundle.module, comment: "News Feed loading content text")
public static let loadingContent = NSLocalizedString("loading_content", bundle: Bundle.module, comment: "Items loading content text")
public static let connectivityErrorRefresh = NSLocalizedString(
"connectivity_error_refresh",
bundle: Bundle.module,
Expand Down
151 changes: 151 additions & 0 deletions Sources/DynamicList/Presentation/Localizable.xcstrings
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
{
"sourceLanguage" : "en",
"strings" : {
"connectivity_error_refresh" : {
"comment" : "News Feed connectivity error text",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Unable to retrieve content.\nTry again by pulling to refresh."
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "No se ha podido cargar el contenido.\nIntenta nuevamente deslizando hacia abajo."
}
}
}
},
"data_not_available" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Oops, looks like there's no available data."
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ups, parece que no hay datos disponibles."
}
}
}
},
"Example list items" : {
"comment" : "Preview title",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Example list items"
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Lista de ejemplo"
}
}
}
},
"Fruit image" : {
"localizations" : {
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Imagen de la fruta"
}
}
}
},
"loading_content" : {
"comment" : "Items loading content text",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Loading content..."
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Cargando contenido..."
}
}
}
},
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." : {
"localizations" : {
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}
}
}
},
"network_error" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Oops, looks like there's a network error."
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Ups, parece que hubo un error en la conexión."
}
}
}
},
"search" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Search"
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Buscar"
}
}
}
},
"This is the end of the list ✅" : {
"localizations" : {
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Este es el final de la lista ✅"
}
}
}
},
"topics" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Topics"
}
},
"es-419" : {
"stringUnit" : {
"state" : "translated",
"value" : "Temas"
}
}
}
}
},
"version" : "1.0"
}
6 changes: 0 additions & 6 deletions Sources/DynamicList/Presentation/en.lproj/Localizable.strings

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ struct DetailFruitItemView: View {
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
)
VStack {
Text("FRUIT SYMBOL")
Text("Fruit image")
.bold()
Text(item.symbol)
.font(.system(size: 256))
Expand Down