add-bug

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Add a new bug entry to
packages/bugs/api/[v].ts
.
The user will describe the bug and the affected version(s). Add the new entry at the top of the
bugs
array, immediately after the opening bracket, following the existing format:
ts
{
	title: '<short title>',
	description: '<description with upgrade instruction>',
	link: 'https://remotion.dev/changelog',
	versions: ['<affected versions>'],
},
Rules:
  • The description should tell users which version to upgrade to.
  • The link should be
    https://remotion.dev/changelog
    unless the user provides a specific link.
  • Add the entry at the top of the array so the most recent bugs come first.
在
packages/bugs/api/[v].ts
中添加新的 bug 条目。
用户会描述该 bug 及受影响的版本。按照现有格式,将新条目添加到
bugs
数组顶部,即左方括号之后:
ts
{
	title: '<简短标题>',
	description: '<包含升级说明的描述>',
	link: 'https://remotion.dev/changelog',
	versions: ['<受影响的版本>'],
},
规则:
  • 描述中应告知用户应升级到哪个版本。
  • 除非用户提供了特定链接,否则链接应为
    https://remotion.dev/changelog
    。
  • 将条目添加到数组顶部,使最近的 bug 排在最前面。