diff --git a/wwwroot/js/i18n.js b/wwwroot/js/i18n.js index bf4aa39..51e84f2 100644 --- a/wwwroot/js/i18n.js +++ b/wwwroot/js/i18n.js @@ -63,6 +63,8 @@ const translations = { "form.placeholder.youtube": "YouTube URL", "form.placeholder.gameUrl": "Game website URL", "form.playersInvalid": "Players must be between 1 and 32, and min cannot exceed max.", + "form.screenshotHint": "Use a public direct image link (http/https), max 5 MB. Avoid shortlinks/redirects.", + "form.screenshotInvalid": "Screenshot must be a direct http/https image URL (png, jpg, jpeg, gif, webp, avif) under 5 MB and not a redirect/shortlink.", "section.mySuggestions": "Your suggestions", "section.allSuggestions": "All suggestions", @@ -229,6 +231,8 @@ const translations = { "form.placeholder.youtube": "YouTube-URL", "form.placeholder.gameUrl": "Spiel-Webseite", "form.playersInvalid": "Spielerzahl muss zwischen 1 und 32 liegen, und Min darf Max nicht überschreiten.", + "form.screenshotHint": "Nutze einen öffentlichen Bildlink (http/https), max. 5 MB. Keine Kurzlinks/Weiterleitungen.", + "form.screenshotInvalid": "Screenshot muss eine direkte http/https-Bild-URL sein (png, jpg, jpeg, gif, webp, avif), unter 5 MB und ohne Weiterleitung/Kurzlink.", "section.mySuggestions": "Deine Vorschläge", "section.allSuggestions": "Alle Vorschläge", diff --git a/wwwroot/js/ui.js b/wwwroot/js/ui.js index 609369c..0ab1219 100644 --- a/wwwroot/js/ui.js +++ b/wwwroot/js/ui.js @@ -520,6 +520,8 @@ function buildSuggestionForm(initial = {}, lockTitle = false) { +

${t("form.screenshotHint")}

+