mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 17:53:55 +08:00
Events, Polls, and Dates all have "advanced mode" toggles, but they're all just a little different. This unifies them behind one reusable core component. Now they're all consisently toggling between "advanced mode" and "simple mode" Before: <img width="700" alt="image" src="https://github.com/user-attachments/assets/0b92e8f1-1dd0-4617-8ab6-6d968ca980cc" /> <img width="350" alt="image" src="https://github.com/user-attachments/assets/d02a8464-b782-4c1e-a7f0-d1a90e87798d" /> <img width="800" alt="image" src="https://github.com/user-attachments/assets/f5d074d3-0e32-41e6-a3fb-f6a3b0f32ae3" /> After: <img width="600" alt="image" src="https://github.com/user-attachments/assets/c25cd693-d4e7-4906-a346-197dcf6d5f6e" /> <img width="600" alt="image" src="https://github.com/user-attachments/assets/a3e1d7c3-f796-448d-83bb-cae611114030" /> <img width="600" alt="image" src="https://github.com/user-attachments/assets/90eecacb-9868-4fd3-b74f-722b32b9425e" /> <img width="600" alt="image" src="https://github.com/user-attachments/assets/881b5a8a-7731-40f1-af33-ba6bc94910de" />
41 lines
1.7 KiB
YAML
Vendored
41 lines
1.7 KiB
YAML
Vendored
en:
|
|
admin_js:
|
|
admin:
|
|
site_settings:
|
|
categories:
|
|
discourse_local_dates: "Discourse Local Dates"
|
|
js:
|
|
discourse_local_dates:
|
|
relative_dates:
|
|
today: Today %{time}
|
|
tomorrow: Tomorrow %{time}
|
|
yesterday: Yesterday %{time}
|
|
countdown:
|
|
passed: date has passed
|
|
title: Insert date / time
|
|
create:
|
|
form:
|
|
insert: Insert
|
|
format_description: "Format used to display the date to the user. Use Z to show the offset and zz for the timezone name."
|
|
timezones_title: Timezones to display
|
|
timezones_description: Timezones will be used to display dates in preview and fallback.
|
|
recurring_title: Recurrence
|
|
recurring_description: "Define the recurrence of an event. You can also manually edit the recurring option generated by the form and use one of the following keys: years, quarters, months, weeks, days, hours, minutes, seconds, milliseconds."
|
|
recurring_none: No recurrence
|
|
invalid_date: Invalid date, make sure date and time are correct
|
|
date_title: Date
|
|
time_title: Time
|
|
format_title: Date format
|
|
timezone: Timezone
|
|
until: Until...
|
|
current_timezone: "Current timezone:"
|
|
recurring:
|
|
every_day: "Every day"
|
|
every_week: "Every week"
|
|
every_two_weeks: "Every two weeks"
|
|
every_month: "Every month"
|
|
every_two_months: "Every two months"
|
|
every_three_months: "Every three months"
|
|
every_six_months: "Every six months"
|
|
every_year: "Every year"
|
|
default_title: "%{site_name} Event"
|