Small bug fixes
This commit is contained in:
@@ -1046,19 +1046,25 @@
|
||||
"de" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Rezept von einer Website importieren"
|
||||
"value" : "Rezept von einer Website importieren (Experimentell)"
|
||||
}
|
||||
},
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Import recipe from a website (Experimental)"
|
||||
}
|
||||
},
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Importar receta desde un sitio web"
|
||||
"value" : "Importar receta desde un sitio web (Experimental)"
|
||||
}
|
||||
},
|
||||
"fr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Importer une recette depuis un site web"
|
||||
"value" : "Importer une recette depuis un site web (Expérimental)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,16 +65,16 @@ struct RecipeEditView: View {
|
||||
Form {
|
||||
if viewModel.showImportSection {
|
||||
Section {
|
||||
TextField("URL (e.g. example.com/recipe)", text: $viewModel.importURL)
|
||||
TextField(LocalizedStringKey("URL (e.g. example.com/recipe)"), text: $viewModel.importURL)
|
||||
Button {
|
||||
viewModel.importRecipe()
|
||||
} label: {
|
||||
Text("Import")
|
||||
Text(LocalizedStringKey("Import"))
|
||||
}
|
||||
} header: {
|
||||
Text("Import Recipe")
|
||||
Text(LocalizedStringKey("Import Recipe"))
|
||||
} footer: {
|
||||
Text("Paste the url of a recipe you would like to import in the above, and we will try to fill in the fields for you. This feature does not work with every website. If your favourite website is not supported, feel free to reach out for help. You can find the contact details in the app settings.")
|
||||
Text(LocalizedStringKey("Paste the url of a recipe you would like to import in the above, and we will try to fill in the fields for you. This feature does not work with every website. If your favourite website is not supported, feel free to reach out for help. You can find the contact details in the app settings."))
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user