Add missing strings to _locales folder

This commit is contained in:
Fedor Indutny 2021-09-07 12:41:14 -07:00 committed by GitHub
parent 71b50aae00
commit 5c7972893c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -6155,7 +6155,7 @@
}, },
"Preferences__button--chats": { "Preferences__button--chats": {
"message": "Chats", "message": "Chats",
"description": "Button to switch the settings view" "description": "Button to switch the settings view (and a title of pane)"
}, },
"Preferences__button--calls": { "Preferences__button--calls": {
"message": "Calls", "message": "Calls",
@ -6279,6 +6279,14 @@
"message": "Automatically download updates", "message": "Automatically download updates",
"description": "Label for checkbox for the auto download updates setting" "description": "Label for checkbox for the auto download updates setting"
}, },
"Preferences__enable-notifications": {
"message": "Enable notifications",
"description": "Label for checkbox for the notifications setting"
},
"Preferences__devices": {
"message": "Devices",
"description": "Label for Device list in call settings pane"
},
"DialogUpdate--version-available": { "DialogUpdate--version-available": {
"message": "Update to version $version$ available", "message": "Update to version $version$ available",
"description": "Tooltip for new update available", "description": "Tooltip for new update available",

View file

@ -498,7 +498,7 @@ export const Preferences = ({
{i18n('Preferences__button--chats')} {i18n('Preferences__button--chats')}
</div> </div>
</div> </div>
<SettingsRow title="Chats"> <SettingsRow title={i18n('Preferences__button--chats')}>
<Checkbox <Checkbox
checked={hasSpellCheck} checked={hasSpellCheck}
description={spellCheckDirtyText} description={spellCheckDirtyText}
@ -588,7 +588,7 @@ export const Preferences = ({
onChange={onCallRingtoneNotificationChange} onChange={onCallRingtoneNotificationChange}
/> />
</SettingsRow> </SettingsRow>
<SettingsRow title="Devices"> <SettingsRow title={i18n('Preferences__devices')}>
<Control <Control
left={ left={
<> <>
@ -715,7 +715,7 @@ export const Preferences = ({
<SettingsRow> <SettingsRow>
<Checkbox <Checkbox
checked={hasNotifications} checked={hasNotifications}
label="Enable notifications" label={i18n('Preferences__enable-notifications')}
moduleClassName="Preferences__checkbox" moduleClassName="Preferences__checkbox"
name="notifications" name="notifications"
onChange={onNotificationsChange} onChange={onNotificationsChange}