Skip to content

Commit 767e1ae

Browse files
committed
fix: update delete poll option label for consistency across languages
1 parent 2faa5cf commit 767e1ae

14 files changed

+14
-14
lines changed

packages/stream_chat_flutter/lib/src/localization/translations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ Attachment limit exceeded: it's not possible to add more than $limit attachments
11121112
'Are you sure you want to end the vote?';
11131113

11141114
@override
1115-
String get deletePollOptionLabel => 'Delete option?';
1115+
String get deletePollOptionLabel => 'Delete Option';
11161116

11171117
@override
11181118
String get deletePollOptionQuestion =>

packages/stream_chat_flutter/test/src/poll/creator/poll_option_reorderable_list_view_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ void main() {
356356
await tester.pumpAndSettle();
357357

358358
// Verify the delete confirmation dialog is shown
359-
expect(find.text('Delete option?'), findsOneWidget);
359+
expect(find.text('Delete Option'), findsOneWidget);
360360
expect(
361361
find.text('Are you sure you want to delete this option?'),
362362
findsOneWidget,

packages/stream_chat_localizations/example/lib/add_new_lang.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ class NnStreamChatLocalizations extends GlobalStreamChatLocalizations {
582582
'Are you sure you want to end the poll?';
583583

584584
@override
585-
String get deletePollOptionLabel => 'Delete option?';
585+
String get deletePollOptionLabel => 'Delete Option';
586586

587587
@override
588588
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_ca.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class StreamChatLocalizationsCa extends GlobalStreamChatLocalizations {
563563
'Estàs segur que vols finalitzar la votació?';
564564

565565
@override
566-
String get deletePollOptionLabel => 'Eliminar opció?';
566+
String get deletePollOptionLabel => 'Eliminar opció';
567567

568568
@override
569569
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_de.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ class StreamChatLocalizationsDe extends GlobalStreamChatLocalizations {
557557
'Sind Sie sicher, dass Sie die Abstimmung beenden möchten?';
558558

559559
@override
560-
String get deletePollOptionLabel => 'Option löschen?';
560+
String get deletePollOptionLabel => 'Option löschen';
561561

562562
@override
563563
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_en.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ class StreamChatLocalizationsEn extends GlobalStreamChatLocalizations {
559559
'Are you sure you want to end the vote?';
560560

561561
@override
562-
String get deletePollOptionLabel => 'Delete option?';
562+
String get deletePollOptionLabel => 'Delete Option';
563563

564564
@override
565565
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_es.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ No es posible añadir más de $limit archivos adjuntos
564564
'¿Estás seguro de que quieres finalizar la votación?';
565565

566566
@override
567-
String get deletePollOptionLabel => '¿Eliminar opción?';
567+
String get deletePollOptionLabel => 'Eliminar opción';
568568

569569
@override
570570
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_fr.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ Limite de pièces jointes dépassée : il n'est pas possible d'ajouter plus de $
566566
'Êtes-vous sûr de vouloir terminer le vote?';
567567

568568
@override
569-
String get deletePollOptionLabel => "Supprimer l'option ?";
569+
String get deletePollOptionLabel => "Supprimer l'option";
570570

571571
@override
572572
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_hi.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class StreamChatLocalizationsHi extends GlobalStreamChatLocalizations {
551551
'क्या आप वाकई मतदान समाप्त करना चाहते हैं?';
552552

553553
@override
554-
String get deletePollOptionLabel => 'विकल्प हटाएं?';
554+
String get deletePollOptionLabel => 'विकल्प हटाएं';
555555

556556
@override
557557
String get deletePollOptionQuestion =>

packages/stream_chat_localizations/lib/src/stream_chat_localizations_it.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ Attenzione: il limite massimo di $limit file è stato superato.
567567
'Sei sicuro di voler terminare il voto?';
568568

569569
@override
570-
String get deletePollOptionLabel => "Eliminare l'opzione?";
570+
String get deletePollOptionLabel => "Elimina l'opzione";
571571

572572
@override
573573
String get deletePollOptionQuestion =>

0 commit comments

Comments
 (0)