Browse Source

Fixes in notifications menu

master
Global Server 3 years ago
parent
commit
a644fa2118
  1. 2
      src/components/sidebarLeft/tabs/notifications.ts
  2. 2
      src/lang.ts

2
src/components/sidebarLeft/tabs/notifications.ts

@ -38,7 +38,7 @@ export default class AppNotificationsTab extends SliderSuperTabEventable {
}); });
const previewEnabledRow = new Row({ const previewEnabledRow = new Row({
checkboxField: new CheckboxField({text: 'Notifications.MessagePreview', checked: true}), checkboxField: new CheckboxField({text: 'MessagePreview', checked: true}),
subtitleLangKey: 'Loading', subtitleLangKey: 'Loading',
}); });

2
src/lang.ts

@ -9,6 +9,7 @@ const lang = {
"NearbyCreateGroup":"Create a Local group", "NearbyCreateGroup":"Create a Local group",
"GrantPermissions":"Grant me permissions", "GrantPermissions":"Grant me permissions",
"AwayTo":"%1$s away", "AwayTo":"%1$s away",
"MessagePreview":"Message Preview",
"KMetersAway2":"%1$s km away", "KMetersAway2":"%1$s km away",
"MetersAway2":"%1$s m away", "MetersAway2":"%1$s m away",
"MilesAway":"%1$s mi away", "MilesAway":"%1$s mi away",
@ -91,7 +92,6 @@ const lang = {
"ChatBackground.UploadWallpaper": "Upload Wallpaper", "ChatBackground.UploadWallpaper": "Upload Wallpaper",
"ChatBackground.Blur": "Blur Wallpaper Image", "ChatBackground.Blur": "Blur Wallpaper Image",
"Notifications.Sound": "Notification Sound", "Notifications.Sound": "Notification Sound",
"Notifications.MessagePreview": "Message preview",
"NewPrivateChat": "New Private Chat", "NewPrivateChat": "New Private Chat",
"NewPoll.OptionLabel": "Option %d", "NewPoll.OptionLabel": "Option %d",
"Message.Context.Selection.Copy": "Copy selected", "Message.Context.Selection.Copy": "Copy selected",

Loading…
Cancel
Save