Skip to content

Commit 9e27a11

Browse files
committed
msglist [nfc]: s/localizations/zulipLocalizations/
1 parent 131a4e9 commit 9e27a11

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lib/widgets/message_list.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -817,16 +817,16 @@ class _TypingStatusWidgetState extends State<TypingStatusWidget> with PerAccount
817817
if (narrow is! SendableNarrow) return const SizedBox();
818818

819819
final store = PerAccountStoreWidget.of(context);
820-
final localizations = ZulipLocalizations.of(context);
820+
final zulipLocalizations = ZulipLocalizations.of(context);
821821
final typistIds = model!.typistIdsInNarrow(narrow);
822822
if (typistIds.isEmpty) return const SizedBox();
823823
final text = switch (typistIds.length) {
824-
1 => localizations.onePersonTyping(
824+
1 => zulipLocalizations.onePersonTyping(
825825
store.userDisplayName(typistIds.first)),
826-
2 => localizations.twoPeopleTyping(
826+
2 => zulipLocalizations.twoPeopleTyping(
827827
store.userDisplayName(typistIds.first),
828828
store.userDisplayName(typistIds.last)),
829-
_ => localizations.manyPeopleTyping,
829+
_ => zulipLocalizations.manyPeopleTyping,
830830
};
831831

832832
return Padding(
@@ -1452,13 +1452,13 @@ class MessageWithPossibleSender extends StatelessWidget {
14521452
final designVariables = DesignVariables.of(context);
14531453
final message = item.message;
14541454

1455-
final localizations = ZulipLocalizations.of(context);
1455+
final zulipLocalizations = ZulipLocalizations.of(context);
14561456
String? editStateText;
14571457
switch (message.editState) {
14581458
case MessageEditState.edited:
1459-
editStateText = localizations.messageIsEditedLabel;
1459+
editStateText = zulipLocalizations.messageIsEditedLabel;
14601460
case MessageEditState.moved:
1461-
editStateText = localizations.messageIsMovedLabel;
1461+
editStateText = zulipLocalizations.messageIsMovedLabel;
14621462
case MessageEditState.none:
14631463
}
14641464

0 commit comments

Comments
 (0)