Add name and description for beta feature (#11409)
This commit is contained in:
@@ -77,19 +77,21 @@ export function getFeatures() {
|
|||||||
|
|
||||||
export function getFeatureDescription(feature: Features, i18n: I18n) {
|
export function getFeatureDescription(feature: Features, i18n: I18n) {
|
||||||
switch (feature) {
|
switch (feature) {
|
||||||
case Features.PostThreadKnownLikersEnable:
|
case Features.CanonicalPostNumberingEnable:
|
||||||
return {
|
return {
|
||||||
key: feature,
|
key: feature,
|
||||||
name: i18n._(
|
name: i18n._(
|
||||||
msg({
|
msg({
|
||||||
message: 'Social proofing on posts',
|
message: 'Thread numbering',
|
||||||
comment: 'Name for a feature flag',
|
comment:
|
||||||
|
'Name for a feature flag (See numbered badges (1/3, 2/3, etc.) on posts in a thread by the same author.)',
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
description: i18n._(
|
description: i18n._(
|
||||||
msg({
|
msg({
|
||||||
message: 'Spot posts your friends and follows have liked.',
|
message:
|
||||||
comment: 'Description of a feature flag (Social proofing on posts)',
|
'See numbered badges (1/3, 2/3, etc.) on posts in a thread by the same author.',
|
||||||
|
comment: 'Description of a feature flag (Thread numbering)',
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user