mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Missing paste behaviour option translations
This commit is contained in:
@@ -496,6 +496,9 @@
|
||||
"hex.builtin.setting.hex_editor.highlight_color": "Selection highlight color",
|
||||
"hex.builtin.setting.hex_editor.pattern_parent_highlighting": "Highlight pattern parents on hover",
|
||||
"hex.builtin.setting.hex_editor.paste_behaviour": "Single-Byte Paste behaviour",
|
||||
"hex.builtin.setting.hex_editor.paste_behaviour.none": "Ask me next time",
|
||||
"hex.builtin.setting.hex_editor.paste_behaviour.everything": "Paste everything",
|
||||
"hex.builtin.setting.hex_editor.paste_behaviour.selection": "Paste over selection",
|
||||
"hex.builtin.setting.hex_editor.sync_scrolling": "Synchronize editor scroll position",
|
||||
"hex.builtin.setting.hex_editor.show_highlights": "Show colorful highlightings",
|
||||
"hex.builtin.setting.hex_editor.show_selection": "Move selection display to hex editor footer",
|
||||
|
||||
@@ -900,7 +900,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ContentRegistry::Settings::add<Widgets::Checkbox>("hex.builtin.setting.hex_editor", "", "hex.builtin.setting.hex_editor.pattern_parent_highlighting", true);
|
||||
|
||||
std::vector<std::string> pasteBehaviourNames = { "Ask me next time", "Paste everything", "Paste over selection" };
|
||||
std::vector<std::string> pasteBehaviourNames = { "hex.builtin.setting.hex_editor.paste_behaviour.none", "hex.builtin.setting.hex_editor.paste_behaviour.everything", "hex.builtin.setting.hex_editor.paste_behaviour.selection" };
|
||||
std::vector<nlohmann::json> pasteBehaviourValues = { "none", "everything", "selection" };
|
||||
ContentRegistry::Settings::add<Widgets::DropDown>("hex.builtin.setting.hex_editor", "", "hex.builtin.setting.hex_editor.paste_behaviour",
|
||||
pasteBehaviourNames,
|
||||
|
||||
Reference in New Issue
Block a user