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

2
src/lang.ts

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

Loading…
Cancel
Save