diff --git a/src/UI/Settings/UIWindowSettings.js b/src/UI/Settings/UIWindowSettings.js index ad00b339..5418e4d3 100644 --- a/src/UI/Settings/UIWindowSettings.js +++ b/src/UI/Settings/UIWindowSettings.js @@ -131,11 +131,11 @@ async function UIWindowSettings(options){ h += `
`; h += `

Clock

`; h += `
` - h += `Visable:` - h += `` + h += `` + h += `` + h += `` h += `` h += `
` h += `
`; @@ -364,6 +364,7 @@ async function UIWindowSettings(options){ value === 'show' && $('#clock').show(); value === 'hide' && $('#clock').hide(); + // save clock_visable to user preferences window.mutate_user_preferences({ clock_visable: value }); diff --git a/src/i18n/translations/en.js b/src/i18n/translations/en.js index 4980a140..a72e570d 100644 --- a/src/i18n/translations/en.js +++ b/src/i18n/translations/en.js @@ -61,6 +61,10 @@ const en = { current_password: "Current Password", cut: 'Cut', clock: "Clock", + click_visable: 'Visible', + click_visable_hide: 'Hide - Always hidden', + click_visable_show: 'Show - Always visible', + click_visable_auto: 'Auto - Default, visible only in full-screen mode.', date_modified: 'Date modified', delete: 'Delete', delete_account: "Delete Account", diff --git a/src/i18n/translations/zh.js b/src/i18n/translations/zh.js index 82e44ab0..9440c60b 100644 --- a/src/i18n/translations/zh.js +++ b/src/i18n/translations/zh.js @@ -50,6 +50,11 @@ const zh = { create_shortcut: "创建快捷方式", current_password: "当前密码", cut: '剪切', + clock: "时间", + click_visable: '显示方式', + click_visable_hide: '隐藏 - 始终隐藏', + click_visable_show: '显示 - 始终显示', + click_visable_auto: '自动 - 默认值,全屏显示', date_modified: '修改日期', delete: '删除', delete_permanently: "永久删除",