- `web::Upload` guarda los archivos de un envío multipart en disco por trozos, con nombre aleatorio, extensiones y tamaño máximo por archivo. `receive()` deserializa además los campos de texto con serde_qs. - `web::Download` sirve un archivo subido con rangos y peticiones condicionales, inline sólo para tipos pasivos y con nosniff. - `form::File`, componente para elegir archivos, y soporte en Bootsier. - Límite del cuerpo según el tipo de contenido: `server.max_body_size` baja a 2 MiB y el nuevo `upload.max_request_size` (32 MiB) se aplica sólo a multipart/form-data.
89 lines
2.8 KiB
Text
89 lines
2.8 KiB
Text
title = Form controls
|
|
slogan = Bootsier form components showcase
|
|
block_selections = Checkboxes, switches and radio buttons
|
|
block_text = Text fields, multiline and range
|
|
block_lists = Selection lists
|
|
block_lists_floating = Select lists and floating labels
|
|
block_dialog = Modal dialog
|
|
|
|
fieldset_text = Text fields
|
|
label_name = Full name
|
|
placeholder_name = e.g.: Jane Smith
|
|
label_email = Email address
|
|
placeholder_email = user@example.com
|
|
label_password = Password
|
|
label_phone = Phone number
|
|
placeholder_phone = +1 555 000 0000
|
|
label_url = Website
|
|
placeholder_url = https://example.com
|
|
label_search = Search
|
|
placeholder_search = Search term...
|
|
help_name = Enter your full name as it appears on your ID.
|
|
help_email = We will only use your email to send important notifications.
|
|
|
|
fieldset_textarea = Multiline text
|
|
label_comment = Comment
|
|
placeholder_comment = Write your comment here...
|
|
help_comment = Maximum 500 characters.
|
|
|
|
fieldset_select = Selection lists
|
|
label_language = Language
|
|
label_country = Country
|
|
label_technologies = Preferred technologies
|
|
help_technologies = Hold Ctrl (or Cmd on Mac) to select multiple options.
|
|
select_choose = — Choose an option —
|
|
select_group_europe = Europe
|
|
select_spanish = Spanish
|
|
select_french = French
|
|
select_group_americas = Americas
|
|
select_english = English
|
|
select_portuguese = Portuguese
|
|
select_disabled = Not available
|
|
select_germany = Germany
|
|
select_spain = Spain
|
|
select_france = France
|
|
select_portugal = Portugal
|
|
|
|
fieldset_checkbox = Checkboxes and switches
|
|
desc_checkbox = This group shows standard checkboxes, inline checkboxes, reverse-aligned options, and toggle switches for binary choices.
|
|
label_terms = I accept the terms and conditions
|
|
label_marketing = Commercial emails (inline)
|
|
label_newsletter = Newsletter (inline)
|
|
label_notifications = Enable notifications (reverse)
|
|
label_dark_mode = Dark mode (unavailable)
|
|
|
|
fieldset_radio = Radio buttons
|
|
label_frequency = Newsletter frequency
|
|
radio_daily = Daily
|
|
radio_weekly = Weekly
|
|
radio_monthly = Monthly
|
|
radio_never = Never (disabled)
|
|
|
|
fieldset_checkgroup = Checkbox group
|
|
label_interests = Areas of interest
|
|
help_interests = Select all options that apply.
|
|
check_rust = Rust programming
|
|
check_web = Web development
|
|
check_ai = Artificial intelligence
|
|
check_games = Game development (disabled)
|
|
|
|
fieldset_floating = Floating labels
|
|
|
|
fieldset_range = Slider
|
|
label_rating = Overall rating
|
|
help_rating = From 1 (very poor) to 10 (excellent).
|
|
|
|
fieldset_file = Files
|
|
label_photo = Profile picture
|
|
help_photo = JPEG or PNG image. This example does not save it.
|
|
label_attachments = Attachments
|
|
help_attachments = You can choose several PDF files.
|
|
|
|
btn_submit = Submit
|
|
btn_reset = Reset
|
|
btn_cancel = Cancel
|
|
btn_ok = Ok
|
|
btn_delete = Delete record
|
|
|
|
dialog_delete_title = Delete record
|
|
dialog_delete_body = Are you sure you want to delete this record? This action cannot be undone.
|