mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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">
|
<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")}} />
|
<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}}
|
{{#if this.savedMuted}}
|
||||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<div class="chat-form__control">
|
<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")}} />
|
<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}}
|
{{#if this.savedDesktopNotificationLevel}}
|
||||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<div class="chat-form__control">
|
<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")}} />
|
<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}}
|
{{#if this.savedMobileNotificationLevel}}
|
||||||
<span class="channel-settings-view__saved">✓ Saved</span>
|
<span class="channel-settings-view__saved">✓ {{i18n "saved"}}</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user