Skip to content

Commit

Permalink
chore: update setting title
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Oct 19, 2024
1 parent c3cb377 commit 085995e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/components/Settings/MemoRelatedSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const MemoRelatedSettings = () => {
/>
</div>
<div className="w-full flex flex-row justify-between items-center">
<span>{t("setting.system-section.disable-markdown-shortcuts")}</span>
<span>{t("setting.system-section.disable-markdown-shortcuts-in-editor")}</span>
<Switch
checked={memoRelatedSetting.disableMarkdownShortcuts}
onChange={(event) => updatePartialSetting({ disableMarkdownShortcuts: event.target.checked })}
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"disable-password-login-final-warning": "Please type \"CONFIRM\" if you know what you are doing.",
"disable-password-login-warning": "This will disable password login for all users. It is not possible to log in without reverting this setting in the database if your configured identity providers fail. You’ll also have to be extra carefull when removing an identity provider",
"disable-public-memos": "Disable public memos",
"disable-markdown-shortcuts": "Disable Markdown shortcuts",
"disable-markdown-shortcuts-in-editor": "Disable Markdown shortcuts in editor",
"display-with-updated-time": "Display with updated time",
"enable-auto-compact": "Enable auto compact",
"enable-double-click-to-edit": "Enable double click to edit",
Expand Down
1 change: 0 additions & 1 deletion web/src/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@
"disable-password-login-final-warning": "何をしているか理解している場合は、「CONFIRM」と入力してください。",
"disable-password-login-warning": "これにより、すべてのユーザーのパスワードでのログインが無効になります。設定済みのIDプロバイダーが失敗した場合、この設定をデータベースで元に戻さない限り、ログインすることはできません。IDプロバイダーを削除する際も、非常に注意が必要です",
"disable-public-memos": "公開メモを無効化する",
"disable-markdown-shortcuts": "Markdownショートカットを無効にする",
"display-with-updated-time": "更新日時を表示する",
"enable-auto-compact": "折りたたみを有効化",
"enable-double-click-to-edit": "ダブルクリックで編集を有効化",
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"disable-password-login-final-warning": "如果您知道自己在做什么,请输入 \"CONFIRM\"",
"disable-password-login-warning": "所有用户将无法使用密码登录。如果配置的身份提供程序失效,不在数据库中恢复此设置将无法登录。删除身份提供程序时也要格外小心",
"disable-public-memos": "禁用公开备忘录",
"disable-markdown-shortcuts": "禁用 Markdown 快捷键",
"disable-markdown-shortcuts-in-editor": "禁用编辑器中的 Markdown 快捷键",
"display-with-updated-time": "根据最后修改时间顺序显示",
"enable-auto-compact": "启用自动超长折叠显示",
"enable-double-click-to-edit": "启用双击编辑",
Expand Down
2 changes: 1 addition & 1 deletion web/src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
"disable-password-login-final-warning": "如果你知道自己在做什麼,請輸入「CONFIRM」。",
"disable-password-login-warning": "所有使用者將無法使用密碼登入。如果設定的身份識別提供者失效,不在資料庫中恢復此設定將無法登入。刪除身分識別提供者時也要特別小心❗",
"disable-public-memos": "停用公共 Memo",
"disable-markdown-shortcuts": "停用 Markdown 快捷鍵",
"disable-markdown-shortcuts-in-editor": "停用編輯器 Markdown 快捷鍵",
"display-with-updated-time": "顯示更新時間",
"enable-auto-compact": "啟用摺疊顯示",
"enable-double-click-to-edit": "啟用雙擊後編輯",
Expand Down

0 comments on commit 085995e

Please sign in to comment.