mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:36:19 +08:00
837bd5a6e5
- Stop looking up the topic title from the DOM. On long topics, the topic title may not be present. Instead, we can store the topic title in a data-title attribute during decorateCookedElement, and then access it later. This approach would also allow us to add customize titles per-local-date in future. If there is no topic title available (e.g. when local dates are used elsewhere in the UI), we use the site name to build a sensible default - Don't require a postId for creating calendar events. We don't have postIds in non-post contexts. At the moment, the 'download ICS' function will fail without a valid postId, so that will need to be fixed in a future commit.
38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
en:
|
|
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
|
|
advanced_mode: Advanced mode
|
|
simple_mode: Simple mode
|
|
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...
|
|
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"
|