FIX: uses i18n for saved text (#18949)
This commit is contained in:
parent
d7844a797f
commit
4e6909cc5a
|
@ -6,7 +6,7 @@
|
|||
<div class="chat-form__control">
|
||||
<ComboBox @content={{this.mutedOptions}} @value={{this.channel.current_user_membership.muted}} @valueProperty="value" @class="channel-settings-view__muted-selector" @onChange={{action (fn this.saveNotificationSettings "muted")}} />
|
||||
{{#if this.savedMuted}}
|
||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
||||
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -19,7 +19,7 @@
|
|||
<div class="chat-form__control">
|
||||
<ComboBox @content={{this.notificationLevels}} @value={{this.channel.current_user_membership.desktop_notification_level}} @valueProperty="value" @class="channel-settings-view__desktop-notification-level-selector" @onChange={{action (fn this.saveNotificationSettings "desktop_notification_level")}} />
|
||||
{{#if this.savedDesktopNotificationLevel}}
|
||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
||||
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<div class="chat-form__control">
|
||||
<ComboBox @content={{this.notificationLevels}} @value={{this.channel.current_user_membership.mobile_notification_level}} @valueProperty="value" @class="channel-settings-view__mobile-notification-level-selector" @onChange={{action (fn this.saveNotificationSettings "mobile_notification_level")}} />
|
||||
{{#if this.savedMobileNotificationLevel}}
|
||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
||||
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue