Skip to content
This repository was archived by the owner on Sep 14, 2024. It is now read-only.

Commit f680d4e

Browse files
committed
Merge branch 'release/0.6.0'
2 parents 9bddf08 + 434f2c9 commit f680d4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1123
-177
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
distribution: 'adopt'
1414
- uses: subosito/flutter-action@v1
1515
with:
16-
flutter-version: '2.0.4'
16+
flutter-version: '2.2.0'
1717
- run: flutter pub get
1818
- run: flutter build apk --debug

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ It works best with an Nextcloud installation >= 19 and a Cookbook plugin version
1919
Current Features:
2020
- View all recipes by Category
2121
- Search Recipes by Name
22+
- Recipe Creating
2223
- Recipe Editing
2324
- Recipe Import
25+
- Darkmode (Thanks to SeineEloquenz)
2426

2527
Planned Features:
26-
- Recipe Creating *
27-
- Darkmode
28+
- Settings Tab *
2829
- Offline Usage (Caching)
2930

3031
\* Currently worked on!
@@ -36,11 +37,13 @@ https://www.transifex.com/nextcloud/nextcloud/cookbook_flutter/
3637

3738
### Screenshots
3839

39-
<img src="https://user-images.githubusercontent.com/7461832/106359784-0c7e5100-6315-11eb-809b-975ad55dd3eb.png" alt="Login Screen" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/106359789-0e481480-6315-11eb-9631-c5d919dfe197.png" alt="Categories" width="300px" />
40+
<img src="https://user-images.githubusercontent.com/7461832/106359784-0c7e5100-6315-11eb-809b-975ad55dd3eb.png" alt="Login Screen" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/119380264-c7659c80-bcc0-11eb-9671-45f16f6d505b.png" alt="Categories" width="300px" />
4041
<img src="https://user-images.githubusercontent.com/7461832/106359788-0daf7e00-6315-11eb-8604-7abbc541e344.png" alt="Search" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/106359787-0daf7e00-6315-11eb-88a4-b305b796d512.png" alt="Category Recipes" width="300px" />
4142
<img src="https://user-images.githubusercontent.com/7461832/106396792-8a705400-640a-11eb-9d81-8ca421a689f2.png" alt="Recipe" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/106359785-0d16e780-6315-11eb-9099-0c33aa8943be.png" alt="Recipe Details" width="300px" />
4243
<img src="https://user-images.githubusercontent.com/7461832/106396793-8c3a1780-640a-11eb-9324-7a9d26205814.png" alt="Recipe Edit 1" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/106396794-8c3a1780-640a-11eb-8d64-5eb4fc90faa9.png" alt="Recipe Edit 2" width="300px" />
4344
<img src="https://user-images.githubusercontent.com/7461832/115114582-6e536c00-9f90-11eb-873f-5f2cf9ef1e82.png" alt="Recipe Import" width="300px" />
45+
<img src="https://user-images.githubusercontent.com/7461832/119380327-dcdac680-bcc0-11eb-80d5-f6c0d8647bc9.png" alt="Darkmode Categories" width="300px" /> <img src="https://user-images.githubusercontent.com/7461832/119380320-dc423000-bcc0-11eb-889d-2d0de9983743.png" alt="Darkmode Recipe" width="300px" />
46+
4447

4548

4649

assets/i18n/cs_CZ.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"errors": {
2929
"not_reachable": "Nelze se připojit k: {server_url}\n{error_msg}",
3030
"certificate_failed": "Certifikát serveru se nepodařilo ověřit: {server_url}\n{error_msg}",
31-
"request_failed": "Žádost o heslo generované aplikací selhala:\n{error_msg}",
31+
"request_failed": "Žádost o heslo pro aplikaci se nezdařila:\n{error_msg}",
3232
"parse_failed": "Nedaří se zpracovat heslo pro aplikaci!\n{error_msg}",
3333
"parse_missing": "V odpovědi se nedaří najít heslo aplikace:\n{error_msg}",
3434
"auth_failed": "Uživatelské jméno a / nebo heslo není správné!",
@@ -41,6 +41,9 @@
4141
"categories": {
4242
"title": "Kuchařka",
4343
"all_categories": "Všechno",
44+
"drawer": {
45+
"import": "Importovat recept"
46+
},
4447
"errors": {
4548
"unknown": "Kategorie v neznámém stavu",
4649
"load_failed": "Načítání kategorie se nezdařilo: {error_msg}",
@@ -58,9 +61,14 @@
5861
"recipe": {
5962
"title": "Recept:",
6063
"fields": {
64+
"name": "Název receptu:",
65+
"description": "Popis receptu:",
66+
"keywords": "Klíčová slova:",
67+
"category": "Kategorie:",
6168
"servings": "Porcí:",
6269
"source": "Zdroj:",
6370
"source_button": "Zdroj",
71+
"image": "Obrázek:",
6472
"time": {
6573
"prep": "Doba přípravy:",
6674
"cook": "Doba vaření:",
@@ -76,10 +84,20 @@
7684
},
7785
"recipe_edit": {
7886
"title": "Upravit recept",
87+
"button": "Aktualizovat recept",
7988
"errors": {
8089
"update_failed": "Aktualizace se nezdařila: {error_msg}"
8190
}
8291
},
92+
"recipe_import": {
93+
"title": "Importovat recept",
94+
"button": "Importovat",
95+
"field": "URL adresa receptu",
96+
"clipboard": "Vložit obsah schránky",
97+
"errors": {
98+
"import_failed": "Import se nezdařil {error_msg}"
99+
}
100+
},
83101
"search": {
84102
"title": "Hledat",
85103
"nothing_found": "Nenalezen žádný recept!"

assets/i18n/de.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"categories": {
4242
"title": "Kochbuch",
4343
"all_categories": "Alle",
44+
"drawer": {
45+
"import": "Rezept importieren"
46+
},
4447
"errors": {
4548
"unknown": "Kategorien sind in unbekanntem Zustand",
4649
"load_failed": "Laden der Kategorien ist fehlgeschlagen: {error_msg}",
@@ -58,9 +61,14 @@
5861
"recipe": {
5962
"title": "Rezept:",
6063
"fields": {
64+
"name": "Rezept-Name:",
65+
"description": "Rezept-Beschreibung:",
66+
"keywords": "Schlüsselwörter:",
67+
"category": "Kategorie:",
6168
"servings": "Portionen:",
6269
"source": "Quelle:",
6370
"source_button": "Quelle",
71+
"image": "Bild:",
6472
"time": {
6573
"prep": "Vorbereitungsdauer:",
6674
"cook": "Kochdauer:",
@@ -76,10 +84,20 @@
7684
},
7785
"recipe_edit": {
7886
"title": "Rezept bearbeiten",
87+
"button": "Rezept aktualisieren",
7988
"errors": {
8089
"update_failed": "Aktualisierung fehlgeschlagen {error_msg}"
8190
}
8291
},
92+
"recipe_import": {
93+
"title": "Rezept importieren",
94+
"button": "Importieren",
95+
"field": "URL zum Rezept",
96+
"clipboard": "Zwischenablage einfügen",
97+
"errors": {
98+
"import_failed": "Import fehlgeschlagen {error_msg}"
99+
}
100+
},
83101
"search": {
84102
"title": "Suchen",
85103
"nothing_found": "Kein Rezept gefunden!"

assets/i18n/de_DE.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"categories": {
4242
"title": "Kochbuch",
4343
"all_categories": "Alle",
44+
"drawer": {
45+
"import": "Rezept importieren"
46+
},
4447
"errors": {
4548
"unknown": "Kategorien sind in unbekanntem Zustand",
4649
"load_failed": "Laden der Kategorien ist fehlgeschlagen: {error_msg}",
@@ -58,9 +61,14 @@
5861
"recipe": {
5962
"title": "Rezept:",
6063
"fields": {
64+
"name": "Rezept-Name:",
65+
"description": "Rezept-Beschreibung:",
66+
"keywords": "Schlüsselwörter:",
67+
"category": "Kategorie:",
6168
"servings": "Portionen:",
6269
"source": "Quelle:",
6370
"source_button": "Quelle",
71+
"image": "Bild:",
6472
"time": {
6573
"prep": "Vorbereitungsdauer:",
6674
"cook": "Kochdauer:",
@@ -76,10 +84,20 @@
7684
},
7785
"recipe_edit": {
7886
"title": "Rezept bearbeiten",
87+
"button": "Rezept aktualisieren",
7988
"errors": {
8089
"update_failed": "Aktualisierung fehlgeschlagen {error_msg}"
8190
}
8291
},
92+
"recipe_import": {
93+
"title": "Rezept importieren",
94+
"button": "Importieren",
95+
"field": "URL zum Rezept",
96+
"clipboard": "Zwischenablage einfügen",
97+
"errors": {
98+
"import_failed": "Import fehlgeschlagen {error_msg}"
99+
}
100+
},
83101
"search": {
84102
"title": "Suche",
85103
"nothing_found": "Kein Rezept gefunden!"

assets/i18n/en.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"load_failed": "Category Load Failed: {error_msg}",
5050
"load_no_response": "Could not retrieve the Categories from the server.",
5151
"api_version_check_failed": "Failed to check the API version of the Server:\n{error_msg}",
52-
"api_version_above_confirmed": "The API version of the Server was Updated. Some features might not work as expected. Please wait for an update!\n{version}"
52+
"api_version_above_confirmed": "The API version of the Server was Updated. Some features might not work as expected. Please wait for an update!\n{version}",
53+
"plugin_missing": "Categories could not be loaded. Make sure that the cookbook plugin is installed on this nextcloud instance!"
5354
}
5455
},
5556
"recipe_list": {
@@ -89,6 +90,13 @@
8990
"update_failed": "Update Failed {error_msg}"
9091
}
9192
},
93+
"recipe_create": {
94+
"title": "Create Recipe",
95+
"button": "Create Recipe",
96+
"errors": {
97+
"update_failed": "Create Failed {error_msg}"
98+
}
99+
},
92100
"recipe_import": {
93101
"title": "Import Recipe",
94102
"button": "Import",
@@ -99,7 +107,10 @@
99107
}
100108
},
101109
"search": {
102-
"title": "Search",
103-
"nothing_found": "No recipe found!"
110+
"title": "Search Recipe",
111+
"nothing_found": "No recipe found!",
112+
"errors": {
113+
"search_failed": "Unable to load all Recipes!\n{error_msg}"
114+
}
104115
}
105116
}

assets/i18n/es.json

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,32 +21,35 @@
2121
},
2222
"settings": {
2323
"title": "Configuración avanzada",
24-
"app_password": "Use una contraseña autogenerada por App Password.\nNecesaria para cuentas con doble factor de autenticación, 2FA.",
25-
"self_signed_certificate": "Ignorar certificados inválidos.\nNecesario para certificados auto firmados.\nUselo bajo su propio riesgo!)"
24+
"app_password": "Use una contraseña de aplicación autogenerada.\nNecesaria para cuentas con doble factor de autenticación, 2FA.",
25+
"self_signed_certificate": "Ignorar certificados no válidos.\nNecesario para certificados autofirmados.\nÚselo bajo su propio riesgo!)"
2626
},
2727
"button": "Iniciar sesión",
2828
"errors": {
2929
"not_reachable": "No se puede alcanzar: {server_url} \n {error_msg}",
3030
"certificate_failed": "No puede verificar el Certificado del servidor: {server_url} \n {error_msg}",
31-
"request_failed": "Falló la consulta a la App Password:\n{error_msg}",
32-
"parse_failed": "¡No se pudo analizar la respuesta de App Password!\n{error_msg}",
33-
"parse_missing": "¡No se pudo encontrar la respuesta de App Password!\n{error_msg}",
31+
"request_failed": "Fallo al solicitar la contraseña de aplicación:\n{error_msg}",
32+
"parse_failed": "¡No se ha podido analizar la respuesta de contraseña de aplicación!\n{error_msg}",
33+
"parse_missing": "¡No se ha podido encontrar la contraseña de aplicación en la respuesta!\n{error_msg}",
3434
"auth_failed": "¡Usuario y/o contraseña incorrectos!",
35-
"authentication_not_found": "No se ha encontrado autenticación en Storage",
36-
"failed_remove_remote": "¡Fallo al eliminar la App Password remota!",
37-
"failure": "El proceso de Inicio de sesión no se ha completado adecuadamente.\n{status_code}\n{status_message}",
38-
"credentials_invalid": "¡Las credenciales almacenados ya no son válidas y has sido desconectado!"
35+
"authentication_not_found": "No se ha encontrado autenticación en el almacenamiento",
36+
"failed_remove_remote": "¡Fallo al eliminar la contaseña de aplicación remota!",
37+
"failure": "El proceso de inicio de sesión no se ha completado adecuadamente.\n{status_code}\n{status_message}",
38+
"credentials_invalid": "¡Las credenciales almacenadas ya no son válidas y has sido desconectado!"
3939
}
4040
},
4141
"categories": {
42-
"title": "Recetario",
42+
"title": "Cookbook",
4343
"all_categories": "Todo",
44+
"drawer": {
45+
"import": "Importar receta"
46+
},
4447
"errors": {
4548
"unknown": "Categorías en estado desconocido",
46-
"load_failed": "Fallo al Cargar Categorías: {error_msg}",
47-
"load_no_response": "No se pudieron recuperar las Categorías desde el servidor.",
48-
"api_version_check_failed": "Fallo al comprobar la versión API del Servidor:\n{error_msg}",
49-
"api_version_above_confirmed": "Se ha actualizado la Version API del Servidor. Algunas caracteristicas puede que no funcionen como se espera. ¡Por favor espere a una actualización!\n{version}"
49+
"load_failed": "Fallo al cargar categorías: {error_msg}",
50+
"load_no_response": "No se han podido recuperar las Categorías desde el servidor.",
51+
"api_version_check_failed": "Fallo al comprobar la versión API del servidor:\n{error_msg}",
52+
"api_version_above_confirmed": "Se ha actualizado la versión de la API del servidor. Algunas características puede que no funcionen como se espera. ¡Por favor, espere a una actualización!\n{version}"
5053
}
5154
},
5255
"recipe_list": {
@@ -58,9 +61,14 @@
5861
"recipe": {
5962
"title": "Receta:",
6063
"fields": {
64+
"name": "Nombre de la receta:",
65+
"description": "Descripción de la receta:",
66+
"keywords": "Palabras clave:",
67+
"category": "Categoría:",
6168
"servings": "Porciones:",
6269
"source": "Origen:",
6370
"source_button": "Origen",
71+
"image": "Imagen:",
6472
"time": {
6573
"prep": "Tiempo de preparación:",
6674
"cook": "Tiempo de cocción:",
@@ -71,15 +79,25 @@
7179
"instructions": "Instrucciones:"
7280
},
7381
"errors": {
74-
"load_failed": "¡Fallo al cargar la Receta!"
82+
"load_failed": "¡Fallo al cargar la receta!"
7583
}
7684
},
7785
"recipe_edit": {
7886
"title": "Editar receta",
87+
"button": "Actualizar receta",
7988
"errors": {
8089
"update_failed": "La actualización falló {error_msg}"
8190
}
8291
},
92+
"recipe_import": {
93+
"title": "Impotar receta",
94+
"button": "Importar",
95+
"field": "URL de la receta",
96+
"clipboard": "Pegar del portapapeles",
97+
"errors": {
98+
"import_failed": "Fallo al importar: {error_msg}"
99+
}
100+
},
83101
"search": {
84102
"title": "Buscar",
85103
"nothing_found": "¡No se ha encontrado la receta!"

0 commit comments

Comments
 (0)