Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding russian #1855

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions cmake/build_helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ macro(configurePackingResources)
set(CPACK_WIX_PRODUCT_ICON "${PROJECT_SOURCE_DIR}/resources/dist/windows/icon.ico")
set(CPACK_WIX_UI_BANNER "${PROJECT_SOURCE_DIR}/resources/dist/windows/wix_banner.png")
set(CPACK_WIX_UI_DIALOG "${PROJECT_SOURCE_DIR}/resources/dist/windows/wix_dialog.png")
set(CPACK_WIX_CULTURES "en-US;de-DE;ja-JP;it-IT;pt-BR;zh-CN;zh-TW")
set(CPACK_WIX_CULTURES "en-US;de-DE;ja-JP;it-IT;pt-BR;zh-CN;zh-TW;ru-RU")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "ImHex")
set_property(INSTALL "$<TARGET_FILE_NAME:main>"
PROPERTY CPACK_START_MENU_SHORTCUTS "ImHex"
Expand Down Expand Up @@ -876,4 +876,4 @@ function(precompileHeaders target includeFolder)
PUBLIC
"$<$<COMPILE_LANGUAGE:CXX>:${INCLUDES}>"
)
endfunction()
endfunction()
8 changes: 7 additions & 1 deletion dist/web/source/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
<lastmod>2024-01-02T11:44:00+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<title>Russian</title>
<loc>https://web.imhex.werwolv.net?lang=ru-RU</loc>
<lastmod>2024-08-08T22:38:00+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<title>Deutsch</title>
<loc>https://web.imhex.werwolv.net?lang=de-DE</loc>
Expand Down Expand Up @@ -59,4 +65,4 @@
</url>


</urlset>
</urlset>
3 changes: 2 additions & 1 deletion plugins/diffing/romfs/lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"code": "en-US",
"country": "United States",
"language": "English",
"fallback": true,
"translations": {
"hex.diffing.algorithm.simple.name": "Simple byte-by-byte algorithm",
"hex.diffing.algorithm.simple.description": "Naïve O(N) byte-by-byte comparison.\nCan only identify byte modifications and insertions / deletions at the end of the data",
Expand All @@ -19,4 +20,4 @@
"hex.diffing.view.diff.settings.no_settings": "No settings available",
"hex.diffing.view.diff.task.diffing": "Diffing data..."
}
}
}
23 changes: 23 additions & 0 deletions plugins/diffing/romfs/lang/ru_RU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"code": "ru-RU",
"language": "Russian",
"country": "Russia",
"fallback": false,
"translations": {
"hex.diffing.algorithm.simple.name": "Простой побайтовый алгоритм",
"hex.diffing.algorithm.simple.description": "Примитивное O(N) побайтовое сравнение.\nСпособен выявить только изменения байтов и вставку/удаление в конце данных",
"hex.diffing.algorithm.myers.name": "Алгоритм битового-вектора Майера",
"hex.diffing.algorithm.myers.description": "Умный O(N*M) алгоритм сравнения. Способен выявить изменение, вставку и удаление байтов в любом месте в данных",
"hex.diffing.algorithm.myers.settings.window_size": "Размер окна",
"hex.diffing.view.diff.name": "Сравнение",
"hex.diffing.view.diff.added": "Добавлен",
"hex.diffing.view.diff.modified": "Изменён",
"hex.diffing.view.diff.provider_a": "Источник A",
"hex.diffing.view.diff.provider_b": "Источник B",
"hex.diffing.view.diff.removed": "Удалён",
"hex.diffing.view.diff.algorithm": "Алгоритм сравнения",
"hex.diffing.view.diff.settings": "Нет доступных настроек",
"hex.diffing.view.diff.settings.no_settings": "Нет доступных настроек",
"hex.diffing.view.diff.task.diffing": "Сравнение данных..."
}
}
78 changes: 78 additions & 0 deletions plugins/disassembler/romfs/lang/ru_RU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"code": "ru-RU",
"language": "Russian",
"country": "Russia",
"fallback": false,
"translations": {
"hex.disassembler.view.disassembler.16bit": "16-bit",
"hex.disassembler.view.disassembler.32bit": "32-bit",
"hex.disassembler.view.disassembler.64bit": "64-bit",
"hex.disassembler.view.disassembler.arch": "Архитектура",
"hex.disassembler.view.disassembler.arm.arm": "ARM",
"hex.disassembler.view.disassembler.arm.armv8": "ARMv8",
"hex.disassembler.view.disassembler.arm.cortex_m": "Cortex-M",
"hex.disassembler.view.disassembler.arm.default": "По умолчанию",
"hex.disassembler.view.disassembler.arm.thumb": "Thumb",
"hex.disassembler.view.disassembler.base": "Основание",
"hex.disassembler.view.disassembler.bpf.classic": "Классический",
"hex.disassembler.view.disassembler.bpf.extended": "Расширенный",
"hex.disassembler.view.disassembler.disassemble": "Дизассемблировать",
"hex.disassembler.view.disassembler.disassembling": "Дизассемблирование...",
"hex.disassembler.view.disassembler.disassembly.address": "Адрес",
"hex.disassembler.view.disassembler.disassembly.bytes": "Байты",
"hex.disassembler.view.disassembler.disassembly.offset": "Сдвиг",
"hex.disassembler.view.disassembler.disassembly.title": "Дизассемблирование",
"hex.disassembler.view.disassembler.m680x.6301": "6301",
"hex.disassembler.view.disassembler.m680x.6309": "6309",
"hex.disassembler.view.disassembler.m680x.6800": "6800",
"hex.disassembler.view.disassembler.m680x.6801": "6801",
"hex.disassembler.view.disassembler.m680x.6805": "6805",
"hex.disassembler.view.disassembler.m680x.6808": "6808",
"hex.disassembler.view.disassembler.m680x.6809": "6809",
"hex.disassembler.view.disassembler.m680x.6811": "6811",
"hex.disassembler.view.disassembler.m680x.cpu12": "CPU12",
"hex.disassembler.view.disassembler.m680x.hcs08": "HCS08",
"hex.disassembler.view.disassembler.m68k.000": "000",
"hex.disassembler.view.disassembler.m68k.010": "010",
"hex.disassembler.view.disassembler.m68k.020": "020",
"hex.disassembler.view.disassembler.m68k.030": "030",
"hex.disassembler.view.disassembler.m68k.040": "040",
"hex.disassembler.view.disassembler.m68k.060": "060",
"hex.disassembler.view.disassembler.mips.micro": "Micro",
"hex.disassembler.view.disassembler.mips.mips2": "MIPS II",
"hex.disassembler.view.disassembler.mips.mips3": "MIPS III",
"hex.disassembler.view.disassembler.mips.mips32": "MIPS32",
"hex.disassembler.view.disassembler.mips.mips32R6": "MIPS32R6",
"hex.disassembler.view.disassembler.mips.mips64": "MIPS64",
"hex.disassembler.view.disassembler.mos65xx.6502": "6502",
"hex.disassembler.view.disassembler.mos65xx.65816": "65816",
"hex.disassembler.view.disassembler.mos65xx.65816_long_m": "65816 Long M",
"hex.disassembler.view.disassembler.mos65xx.65816_long_mx": "65816 Long MX",
"hex.disassembler.view.disassembler.mos65xx.65816_long_x": "65816 Long X",
"hex.disassembler.view.disassembler.mos65xx.65c02": "65C02",
"hex.disassembler.view.disassembler.mos65xx.w65c02": "W65C02",
"hex.disassembler.view.disassembler.sh.sh2": "SH2",
"hex.disassembler.view.disassembler.sh.sh2a": "SH2A",
"hex.disassembler.view.disassembler.sh.sh3": "SH3",
"hex.disassembler.view.disassembler.sh.sh4": "SH4",
"hex.disassembler.view.disassembler.sh.sh4a": "SH4A",
"hex.disassembler.view.disassembler.sh.fpu": "FPU",
"hex.disassembler.view.disassembler.sh.dsp": "DSP",
"hex.disassembler.view.disassembler.tricore.110": "110",
"hex.disassembler.view.disassembler.tricore.120": "120",
"hex.disassembler.view.disassembler.tricore.130": "130",
"hex.disassembler.view.disassembler.tricore.131": "131",
"hex.disassembler.view.disassembler.tricore.160": "160",
"hex.disassembler.view.disassembler.tricore.161": "161",
"hex.disassembler.view.disassembler.tricore.162": "162",
"hex.disassembler.view.disassembler.name": "Дизассемблер",
"hex.disassembler.view.disassembler.position": "Позиция",
"hex.disassembler.view.disassembler.ppc.booke": "Book-E",
"hex.disassembler.view.disassembler.ppc.qpx": "Quad Processing Extensions",
"hex.disassembler.view.disassembler.ppc.spe": "Signal Processing Engine",
"hex.disassembler.view.disassembler.region": "Участок кода",
"hex.disassembler.view.disassembler.riscv.compressed": "Сжатый",
"hex.disassembler.view.disassembler.settings.mode": "Режим",
"hex.disassembler.view.disassembler.sparc.v9": "Sparc V9"
}
}
36 changes: 36 additions & 0 deletions plugins/hashes/romfs/lang/ru_RU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"code": "ru-RU",
"language": "Russian",
"country": "Russia",
"fallback": false,
"translations": {
"hex.hashes.achievement.misc.create_hash.name": "Хэшченье с предсказанием",
"hex.hashes.achievement.misc.create_hash.desc": "Создайте новую хеш-функцию в меню работы с хешами:\n1. Выберите её тип\n2. Дайте ей название\n3. Нажмите на кнопку + поблизости",
"hex.hashes.view.hashes.function": "Хэш-функция",
"hex.hashes.view.hashes.hash": "Хэш",
"hex.hashes.view.hashes.hover_info": "Наведите на выбранную область в Hex редакторе с зажатым Shift, чтобы увидеть хэши данных этой области",
"hex.hashes.view.hashes.name": "Хэши",
"hex.hashes.view.hashes.no_settings": "Нет доступных настроек",
"hex.hashes.view.hashes.remove": "Убрать хеш",
"hex.hashes.view.hashes.table.name": "Название",
"hex.hashes.view.hashes.table.result": "Результат",
"hex.hashes.view.hashes.table.type": "Тип",
"hex.hashes.hash.common.iv": "Начальное значение",
"hex.hashes.hash.common.poly": "Полином",
"hex.hashes.hash.common.key": "Ключ",
"hex.hashes.hash.common.security_level": "Степень защиты",
"hex.hashes.hash.common.size": "Размер хеша",
"hex.hashes.hash.common.input_size": "Размер ввода",
"hex.hashes.hash.common.output_size": "Размер выхода",
"hex.hashes.hash.common.rounds": "Количество повторных хеширований",
"hex.hashes.hash.common.salt": "Соль",
"hex.hashes.hash.common.standard": "Стандартный",
"hex.hashes.hash.common.standard.custom": "Пользовательский",
"hex.hashes.hash.common.personalization": "Персонализация",
"hex.hashes.hash.common.refl_in": "Отразить вовнутрь",
"hex.hashes.hash.common.refl_out": "Отразить наружу",
"hex.hashes.hash.common.xor_out": "XOR Out",
"hex.hashes.hash.sum": "Сумма",
"hex.hashes.hash.sum.fold": "Результат свёртки"
}
}
3 changes: 2 additions & 1 deletion plugins/script_loader/romfs/lang/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"code": "de-DE",
"country": "Germany",
"language": "German",
"fallback": false,
"translations": {
"hex.script_loader.menu.run_script": "Skript ausführen",
"hex.script_loader.menu.loading": "Laden...",
"hex.script_loader.menu.no_scripts": "Keine Skripte gefunden"
}
}
}
3 changes: 2 additions & 1 deletion plugins/script_loader/romfs/lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"code": "en-US",
"country": "United States",
"language": "English",
"fallback": true,
"translations": {
"hex.script_loader.menu.run_script": "Run Script...",
"hex.script_loader.menu.loading": "Loading...",
"hex.script_loader.menu.no_scripts": "No scripts found",
"hex.script_loader.task.updating": "Updating scripts...",
"hex.script_loader.task.running": "Running script..."
}
}
}
13 changes: 13 additions & 0 deletions plugins/script_loader/romfs/lang/ru_RU.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"code": "ru-RU",
"language": "Russian",
"country": "Russia",
"fallback": false,
"translations": {
"hex.script_loader.menu.run_script": "Запустить скрипт...",
"hex.script_loader.menu.loading": "Загрузка...",
"hex.script_loader.menu.no_scripts": "Скрипты не найдены",
"hex.script_loader.task.updating": "Обновление скриптов...",
"hex.script_loader.task.running": "Выполнение скрипта..."
}
}
3 changes: 2 additions & 1 deletion plugins/script_loader/romfs/lang/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"code": "zh_CN",
"country": "China",
"language": "Chinese (Simplified)",
"fallback": false,
"translations": {
"hex.script_loader.menu.loading": "加载中……",
"hex.script_loader.menu.no_scripts": "空空如也",
"hex.script_loader.menu.run_script": "运行脚本……"
}
}
}
3 changes: 2 additions & 1 deletion plugins/script_loader/romfs/lang/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"code": "zh-TW",
"country": "Taiwan",
"language": "Chinese (Traditional)",
"fallback": false,
"translations": {
"hex.script_loader.menu.loading": "正在載入...",
"hex.script_loader.menu.no_scripts": "找不到指令碼",
"hex.script_loader.menu.run_script": "執行指令碼..."
}
}
}
Loading