Skip to content

Commit

Permalink
ui: Condition UI-string "channel" terminology on >=255, not >255
Browse files Browse the repository at this point in the history
Oops; this was missed because I didn't do end-to-end testing before
we merged zulip#5830.
  • Loading branch information
chrisbobbe committed Apr 26, 2024
1 parent d185737 commit 3b85a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/TranslationProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function TranslationProvider(props: Props): React.Node {
// TODO(server-9.0) remove "stream" terminology
const effectiveMessagesByLanguage =
activeAccountState == null
|| getZulipFeatureLevel(activeAccountState) > streamChannelRenameFeatureLevel
|| getZulipFeatureLevel(activeAccountState) >= streamChannelRenameFeatureLevel
? messagesByLanguageRenamed
: messagesByLanguage;

Expand Down

0 comments on commit 3b85a50

Please sign in to comment.