Skip to content

Commit 60af73e

Browse files
committed
fix(localization): update ReportableEntity extension for correct localization
- Change ReportableEntity.engagement to ReportableEntity.comment - Ensure proper localization key is used for comment entity
1 parent 7ed754e commit 60af73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shared/extensions/reportable_entity_extension.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extension ReportableEntityX on ReportableEntity {
1111
return l10n.reportableEntityHeadline;
1212
case ReportableEntity.source:
1313
return l10n.reportableEntitySource;
14-
case ReportableEntity.engagement:
14+
case ReportableEntity.comment:
1515
return l10n.reportableEntityComment;
1616
}
1717
}

0 commit comments

Comments
 (0)