Enhance RustyCMS: Update .gitignore to include demo assets, improve admin UI dependency management, and add new translations for asset management. Implement asset date filtering and enhance content forms with asset previews. Introduce caching mechanisms for improved performance and add support for draft status in content entries.

This commit is contained in:
Peter Meier
2026-03-12 16:03:26 +01:00
parent 7795a238e1
commit 22b4367c47
24 changed files with 900 additions and 131 deletions

View File

@@ -28,7 +28,15 @@
"removeEntry": "Entfernen",
"addEntry": "+ Eintrag hinzufügen",
"keyPlaceholder": "Schlüssel",
"valuePlaceholder": "Wert"
"valuePlaceholder": "Wert",
"pickAsset": "Bild wählen",
"pickFromAssets": "Aus Assets wählen",
"loadingAssets": "Assets werden geladen…",
"noAssets": "Noch keine Assets. Lade Bilder im Bereich Assets hoch.",
"status": "Status",
"statusDraft": "Entwurf",
"statusPublished": "Ver\u00f6ffentlicht",
"statusHint": "Entw\u00fcrfe sind \u00fcber die \u00f6ffentliche API nicht sichtbar."
},
"SearchableSelect": {
"placeholder": "\u2014 Bitte ausw\u00e4hlen \u2014",
@@ -113,6 +121,11 @@
"Dashboard": {
"title": "Dashboard",
"subtitle": "W\u00e4hle eine Sammlung zur Inhaltsverwaltung.",
"newContentType": "Neuer Inhaltstyp",
"searchPlaceholder": "Inhaltstypen suchen…",
"filterByTag": "Tag:",
"tagAll": "Alle",
"noResults": "Kein Inhaltstyp entspricht Suche oder Filter.",
"noCollections": "Keine Sammlungen geladen. Pr\u00fcfe ob die RustyCMS-API unter {url} erreichbar ist."
},
"TypesPage": {
@@ -205,6 +218,7 @@
"noEntries": "Keine Einträge.",
"noEntriesCreate": "Noch keine Einträge. Erstellen Sie den ersten.",
"edit": "Bearbeiten",
"draft": "Entwurf",
"searchPlaceholder": "Suchen…",
"loading": "Laden…",
"sortBy": "Sortieren nach {field}",
@@ -223,6 +237,10 @@
"titleAll": "Alle Assets",
"titleRoot": "Root",
"assetCount": "{count} Bild(er)",
"assetCountFiltered": "{count} von {total} Bild(ern)",
"searchPlaceholder": "Nach Dateiname suchen…",
"dateFrom": "Von Datum",
"dateTo": "Bis Datum",
"upload": "Hochladen",
"uploading": "Wird hochgeladen…",
"uploadedCount": "{count} Datei(en) hochgeladen.",
@@ -258,6 +276,16 @@
"copyWithTransformNewName": "Neuer Dateiname",
"copyWithTransformCreate": "Kopie erstellen",
"copyWithTransformDone": "Transformierte Kopie erstellt.",
"transformPresetThumb": "Thumb 300px",
"transformPresetSquare": "Quadrat 1:1",
"transformPresetMedium": "Mittel 800px",
"transformPresetJpeg": "JPEG 1200px",
"transformWidth": "Breite",
"transformHeight": "H\u00f6he",
"transformAspect": "Seitenverh\u00e4ltnis",
"transformFit": "Fit",
"transformFormat": "Format",
"transformQuality": "Qualit\u00e4t (1100)",
"creating": "Wird erstellt…"
}
}

View File

@@ -28,7 +28,15 @@
"removeEntry": "Remove",
"addEntry": "+ Add entry",
"keyPlaceholder": "Key",
"valuePlaceholder": "Value"
"valuePlaceholder": "Value",
"pickAsset": "Pick image",
"pickFromAssets": "Pick from assets",
"loadingAssets": "Loading assets…",
"noAssets": "No assets yet. Upload images in the Assets section.",
"status": "Status",
"statusDraft": "Draft",
"statusPublished": "Published",
"statusHint": "Draft entries are not visible in the public API."
},
"SearchableSelect": {
"placeholder": "— Please select —",
@@ -113,6 +121,11 @@
"Dashboard": {
"title": "Dashboard",
"subtitle": "Choose a collection to manage content.",
"newContentType": "New content type",
"searchPlaceholder": "Search content types…",
"filterByTag": "Tag:",
"tagAll": "All",
"noResults": "No content types match your search or filter.",
"noCollections": "No collections loaded. Check that the RustyCMS API is running at {url}."
},
"TypesPage": {
@@ -205,6 +218,7 @@
"noEntries": "No entries.",
"noEntriesCreate": "No entries yet. Create the first one.",
"edit": "Edit",
"draft": "Draft",
"searchPlaceholder": "Search…",
"loading": "Loading…",
"sortBy": "Sort by {field}",
@@ -223,6 +237,10 @@
"titleAll": "All assets",
"titleRoot": "Root",
"assetCount": "{count} image(s)",
"assetCountFiltered": "{count} of {total} image(s)",
"searchPlaceholder": "Search by filename…",
"dateFrom": "From date",
"dateTo": "To date",
"upload": "Upload",
"uploading": "Uploading…",
"uploadedCount": "Uploaded {count} file(s).",
@@ -258,6 +276,16 @@
"copyWithTransformNewName": "New filename",
"copyWithTransformCreate": "Create copy",
"copyWithTransformDone": "Transformed copy created.",
"transformPresetThumb": "Thumb 300px",
"transformPresetSquare": "Square 1:1",
"transformPresetMedium": "Medium 800px",
"transformPresetJpeg": "JPEG 1200px",
"transformWidth": "Width",
"transformHeight": "Height",
"transformAspect": "Aspect ratio",
"transformFit": "Fit",
"transformFormat": "Format",
"transformQuality": "Quality (1100)",
"creating": "Creating…"
}
}