1
0
mirror of synced 2024-11-28 17:40:51 +01:00
ImHex/plugins/windows/romfs/lang/zh_TW.json
Truman Kilen 5c84ef5f72
feat: Added Linux support to the Process Memory Provider (#1331)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->
Implement a Linux backend for the ProcessMemoryProvider plugin.

### Implementation description
<!-- Explain what you did to correct the problem -->
Most of the provider code is the same between Windows and Linux. The
primary differences are:
- enumerate PIDs in `/proc/` to get the process list
- use `/proc/<PID>/cmdline` as the process name
- parse `/proc/<PID>/maps` to get the module list
- reading/writing from memory is done using
`process_vm_readv`/`process_vm_writev`

NOTE: `sudo setcap CAP_SYS_PTRACE=+eip build/imhex` must be run to give
the binary permission to read another process' memory. Running as root
user should also work but I would not recommend it.

### Additional things
The existing translations keys no longer match since I moved the plugin
from `windows` to `builtin`.

I'm not well versed in C++ so I attempted to keep my changes rather
simple. Feedback is very welcome.

---------

Co-authored-by: WerWolv <werwolv98@gmail.com>
2023-12-07 23:33:15 +01:00

27 lines
1.5 KiB
JSON

{
"code": "zh-TW",
"country": "Taiwan",
"language": "Chinese (Traditional)",
"translations": {
"hex.builtin.setting.general.context_menu_entry": "視窗內容功能表項目",
"hex.windows.view.tty_console.auto_scroll": "自動捲動",
"hex.windows.view.tty_console.baud": "鮑率",
"hex.windows.view.tty_console.clear": "清除",
"hex.windows.view.tty_console.config": "設定",
"hex.windows.view.tty_console.connect": "連接",
"hex.windows.view.tty_console.connect_error": "無法連接至 COM 連接埠!",
"hex.windows.view.tty_console.console": "終端機",
"hex.windows.view.tty_console.cts": "使用 CTS 流量控制",
"hex.windows.view.tty_console.disconnect": "斷開連接",
"hex.windows.view.tty_console.name": "TTY 終端機",
"hex.windows.view.tty_console.no_available_port": "未選取有效的 COM 連接埠或無可用的 COM 連接埠!",
"hex.windows.view.tty_console.num_bits": "資料位元",
"hex.windows.view.tty_console.parity_bits": "同位位元",
"hex.windows.view.tty_console.port": "連接埠",
"hex.windows.view.tty_console.reload": "重新載入",
"hex.windows.view.tty_console.send_eot": "傳送 EOT",
"hex.windows.view.tty_console.send_etx": "傳送 ETX",
"hex.windows.view.tty_console.send_sub": "傳送 SUB",
"hex.windows.view.tty_console.stop_bits": "停止位元"
}
}