Skip to content

Commit ff4ddab

Browse files
authored
Pluralize domain label in deep links panel
1 parent afcbeed commit ff4ddab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/devtools_app/lib/src/screens/deep_link_validation/deep_link_list_view.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// found in the LICENSE file or at https://developers.google.com/open-source/licenses/bsd.
44

55
import 'package:devtools_app_shared/ui.dart';
6+
import 'package:devtools_app_shared/utils.dart';
67
import 'package:flutter/foundation.dart';
78
import 'package:flutter/material.dart';
89

@@ -439,7 +440,7 @@ class _NotificationCardSection extends StatelessWidget {
439440
children: [
440441
if (domainErrorCount > 0)
441442
NotificationCard(
442-
title: '$domainErrorCount domain not verified',
443+
title: '$domainErrorCount ${pluralize('domain', domainErrorCount)} not verified',
443444
description:
444445
'This affects all deep links. Fix issues to make users go directly to your app.',
445446
actionButton: TextButton(

0 commit comments

Comments
 (0)