Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/locales/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ clear_ordinary_confirm_title = "Clear Ordinary Records"
clear_ordinary_confirm_message = "This will permanently delete non-pinned and non-favorited clipboard records. Pinned and favorited records will be kept."
clear_confirm_cancel = "Cancel"
clear_confirm_button = "Clear"
clear_ordinary_tooltip = "Delete non-pinned and non-favorited records"
clear_all_tooltip = "Delete all records, including pinned and favorited"
pin = "Pin"
unpin = "Unpin"
pin_unavailable = "Pin is unavailable when Paste Immediately is enabled"
Expand Down
18 changes: 10 additions & 8 deletions assets/locales/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ tray_show = "表示"
tray_quit = "終了"

# Main window
clear_ordinary = "通常の記録を消去"
clear_all = "すべてクリア"
clear_ordinary = "通常を消去"
clear_all = "全消去"
clear_confirm_title = "すべての記録を消去"
clear_confirm_message = "保存されたすべてのクリップボード記録が完全に削除されます。この操作は取り消せません。"
clear_ordinary_confirm_title = "通常の記録を消去"
clear_ordinary_confirm_message = "ピン留めもお気に入り登録もされていないクリップボード記録を完全に削除します。ピン留め済みとお気に入り済みの記録は保持されます。"
clear_confirm_cancel = "キャンセル"
clear_confirm_button = "消去"
clear_ordinary_tooltip = "ピン留めやお気に入り以外の記録を削除"
clear_all_tooltip = "ピン留めやお気に入りを含むすべての記録を削除"
pin = "ピン留め"
unpin = "ピン留め解除"
pin_unavailable = "確認後すぐ貼り付けが有効な間はピン留めできません"
Expand Down Expand Up @@ -54,14 +56,14 @@ settings_max_history = "最大表示件数"
settings_max_storage = "最大保存件数"
settings_max_storage_invalid_warning = "保存数の値が無効です"
settings_max_storage_lt_history_warning = "保存数は表示数以上である必要があります"
settings_autostart = "システム起動時に起動"
settings_autostart = "自動起動"
settings_max_history_invalid_warning = "履歴数の値が無効です"
settings_paste_immediately = "確認後すぐ貼り付け"
settings_hover_preview = "ホバー プレビュー"
settings_space_preview = "スペース プレビュー"
settings_clear_history = "履歴を消去"
settings_open_log = "ログディレクトリを開く"
settings_open_config = "設定ディレクトリを開く"
settings_open_log = "ログを開く"
settings_open_config = "設定を開く"

# About
about_title = "について"
Expand All @@ -72,13 +74,13 @@ about_github_tooltip = "GitHub"
about_xiaohongshu_tooltip = "小红书"

# アップデート
update_auto_check = "アップデートを自動確認"
update_include_prerelease = "プレリリース版を含める"
update_auto_check = "自動更新確認"
update_include_prerelease = "プレリリースを含む"
update_check_now = "今すぐ確認"
update_checking = "アップデートを確認中..."
update_available = "新しいバージョンが利用可能です"
update_up_to_date = "最新バージョンです!"
update_download = "ダウンロードしてインストール"
update_download = "ダウンロード"
update_downloading = "ダウンロード中..."
update_restart = "アップデートがインストールされました。再起動してください。"
update_restart_button = "今すぐ再起動"
Expand Down
2 changes: 2 additions & 0 deletions assets/locales/zh-CN.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ clear_ordinary_confirm_title = "清空普通记录"
clear_ordinary_confirm_message = "将永久删除未置顶且未收藏的剪贴板记录,已置顶和已收藏的记录会被保留。"
clear_confirm_cancel = "取消"
clear_confirm_button = "清空"
clear_ordinary_tooltip = "删除未置顶且未收藏的记录"
clear_all_tooltip = "删除所有记录,包括置顶和收藏"
pin = "置顶"
unpin = "取消置顶"
pin_unavailable = "启用确认后立即粘贴时,无法使用置顶"
Expand Down
2 changes: 2 additions & 0 deletions src/gui/panel/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ fn render_clear_history_row(cx: &Context<'_, RopyBoard>) -> impl IntoElement {
.border_1()
.border_color(cx.theme().border)
.label(I18n::translate(cx, "clear_ordinary"))
.tooltip(I18n::translate(cx, "clear_ordinary_tooltip"))
.on_click(cx.listener(|board, _, _, cx| {
board.open_clear_confirm(ClearConfirmAction::OrdinaryRecords, cx);
})),
Expand All @@ -492,6 +493,7 @@ fn render_clear_history_row(cx: &Context<'_, RopyBoard>) -> impl IntoElement {
.small()
.danger()
.label(I18n::translate(cx, "clear_all"))
.tooltip(I18n::translate(cx, "clear_all_tooltip"))
.on_click(cx.listener(|board, _, _, cx| {
board.open_clear_confirm(ClearConfirmAction::AllHistory, cx);
})),
Expand Down
Loading