我认为您在第一个帖子中提到的不是文本。关于主题的是
{ HAS_UNREAD_AND_NEW, select,
true {
{ UNREAD, plural,
=0 {}
one {There is # unread}
other {There are # unread}
}
{ NEW, plural,
=0 {}
one { and # new topic remaining,}
other { and # new topics remaining,}
}
}
false {
{ UNREAD, plural,
=0 {}
one {There is # unread topic remaining,}
other {There are # unread topics remaining,}
}
{ NEW, plural,
=0 {}
one {There is # new topic remaining,}
other {There are # new topics remaining,}
}
}
other {}
}
{ HAS_CATEGORY, select,
true { or browse other topics in {categoryLink}}
false { or view latest topics}
other {}
}
此字符串使用 ICU 消息格式。有关翻译指南,请参阅 https://meta.discourse.org/t/7035。
当 HAS_UNREAD_AND_NEW 为 true 时,UNREAD 和 NEW 都大于 0
当 HAS_UNREAD_AND_NEW 为 false 时,UNREAD 或 NEW 中至少有一个大于 0
如果您正确理解了注释,那么第一个is需要更改为are,因为这是针对 1 个未读和至少 1 个新主题的文本。如果更改了,您应该会看到“There are 1 unread and 1 new topic remaining,”
而“There is 1 new topic remaining,”和“There is 1 unread topic remaining,”仍然使用“is”。
如果我没错,您可以在您的论坛上通过将js.topic.read_more_MF中的第一个is更改为are来修复此问题。
然后我们可以在消息的那个上尝试同样的操作,并创建一个拉取请求来修复所有论坛的问题。