From caf10658630c4b58f5129e38455bce51fe760726 Mon Sep 17 00:00:00 2001 From: avc <94137451+git-avc@users.noreply.github.com> Date: Mon, 30 Jun 2025 06:45:31 +0200 Subject: [PATCH] fix: add translatable strings for file upload dialog on webform (#33156) * fix: add webform translatable strings * fix: linters --- frappe/website/doctype/web_form/web_form.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/frappe/website/doctype/web_form/web_form.py b/frappe/website/doctype/web_form/web_form.py index c426e79e94..4a27762dd8 100644 --- a/frappe/website/doctype/web_form/web_form.py +++ b/frappe/website/doctype/web_form/web_form.py @@ -286,6 +286,25 @@ def get_context(context): "Validation Error", "No {0} found", "Create a new {0}", + "Drag and drop files here or upload from", + "My Device", + "Link", + "Camera", + "Upload", + "Set all public", + "Set all private", + "Public", + "Private", + "Optimize", + "Drop files here", + "Take Photo", + "No Images", + "Total Images", + "Preview", + "Submit", + "Capture", + "Attach a web link", + "← Back to upload files", self.title, self.introduction_text, self.success_title,