lang: Fixed some localization issues
This commit is contained in:
parent
662d80abea
commit
116aeede2d
@ -125,7 +125,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
fs::openFileBrowser(fs::DialogMode::Open, {}, [](const auto &path) {
|
||||
std::thread([path] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto patchData = fs::File(path, fs::File::Mode::Read).readBytes();
|
||||
auto patch = hex::loadIPSPatch(patchData);
|
||||
@ -149,7 +149,7 @@ namespace hex::plugin::builtin {
|
||||
if (ImGui::MenuItem("hex.builtin.menu.file.import.ips32"_lang, nullptr, false)) {
|
||||
fs::openFileBrowser(fs::DialogMode::Open, {}, [](const auto &path) {
|
||||
std::thread([path] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto patchData = fs::File(path, fs::File::Mode::Read).readBytes();
|
||||
auto patch = hex::loadIPS32Patch(patchData);
|
||||
@ -185,7 +185,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
std::thread([patches] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto data = generateIPSPatch(patches);
|
||||
|
||||
@ -212,7 +212,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
std::thread([patches] {
|
||||
auto task = ImHexApi::Tasks::createTask("hex.common.processing", 0);
|
||||
auto task = ImHexApi::Tasks::createTask("hex.builtin.common.processing", 0);
|
||||
|
||||
auto data = generateIPS32Patch(patches);
|
||||
|
||||
|
@ -304,8 +304,8 @@ namespace hex::plugin::builtin {
|
||||
void draw(ViewHexEditor *editor) override {
|
||||
ImGui::TextUnformatted("hex.builtin.view.hex_editor.menu.edit.insert"_lang);
|
||||
|
||||
ImGui::InputHexadecimal("hex.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.common.size"_lang, &this->m_size);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.size"_lang, &this->m_size);
|
||||
|
||||
View::confirmButtons("hex.builtin.common.set"_lang, "hex.builtin.common.cancel"_lang,
|
||||
[&, this]{
|
||||
@ -335,8 +335,8 @@ namespace hex::plugin::builtin {
|
||||
void draw(ViewHexEditor *editor) override {
|
||||
ImGui::TextUnformatted("hex.builtin.view.hex_editor.menu.edit.remove"_lang);
|
||||
|
||||
ImGui::InputHexadecimal("hex.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.common.size"_lang, &this->m_size);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.address"_lang, &this->m_address);
|
||||
ImGui::InputHexadecimal("hex.builtin.common.size"_lang, &this->m_size);
|
||||
|
||||
View::confirmButtons("hex.builtin.common.set"_lang, "hex.builtin.common.cancel"_lang,
|
||||
[&, this]{
|
||||
|
@ -81,7 +81,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.common.open", "Open" },
|
||||
{ "hex.builtin.common.browse", "Browse..." },
|
||||
{ "hex.builtin.common.choose_file", "Choose file" },
|
||||
{ "hex.common.processing", "Processing" },
|
||||
{ "hex.builtin.common.processing", "Processing" },
|
||||
|
||||
{ "hex.builtin.popup.exit_application.title", "Exit Application?" },
|
||||
{ "hex.builtin.popup.exit_application.desc", "You have unsaved changes made to your Project.\nAre you sure you want to exit?" },
|
||||
|
@ -80,7 +80,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.common.open", "Apri" },
|
||||
{ "hex.builtin.common.browse", "Esplora..." },
|
||||
{ "hex.builtin.common.choose_file", "Scegli file" },
|
||||
//{ "hex.common.processing", "Processing" },
|
||||
//{ "hex.builtin.common.processing", "Processing" },
|
||||
|
||||
{ "hex.builtin.popup.exit_application.title", "Uscire dall'applicazione?" },
|
||||
{ "hex.builtin.popup.exit_application.desc", "Hai delle modifiche non salvate nel tuo progetto.\nSei sicuro di voler uscire?" },
|
||||
|
@ -80,7 +80,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.common.open", "開く" },
|
||||
{ "hex.builtin.common.browse", "ファイルを参照..." },
|
||||
{ "hex.builtin.common.choose_file", "ファイルを選択" },
|
||||
// { "hex.common.processing", "Processing" },
|
||||
// { "hex.builtin.common.processing", "Processing" },
|
||||
|
||||
{ "hex.builtin.popup.exit_application.title", "アプリケーションを終了しますか?" },
|
||||
{ "hex.builtin.popup.exit_application.desc", "プロジェクトに保存されていない変更があります。\n終了してもよろしいですか?" },
|
||||
|
@ -80,7 +80,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.common.open", "Abrir" },
|
||||
{ "hex.builtin.common.browse", "Navegar..." },
|
||||
{ "hex.builtin.common.choose_file", "Escolher arquivo" },
|
||||
{ "hex.common.processing", "Processando" },
|
||||
{ "hex.builtin.common.processing", "Processando" },
|
||||
|
||||
{ "hex.builtin.popup.exit_application.title", "Sair da aplicação?" },
|
||||
{ "hex.builtin.popup.exit_application.desc", "Você tem alterações não salvas feitas em seu projeto.\nVocê tem certeza que quer sair?" },
|
||||
|
@ -80,7 +80,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.common.open", "打开" },
|
||||
{ "hex.builtin.common.browse", "浏览..." },
|
||||
{ "hex.builtin.common.choose_file", "选择文件" },
|
||||
//{ "hex.common.processing", "Processing" },
|
||||
//{ "hex.builtin.common.processing", "Processing" },
|
||||
|
||||
{ "hex.builtin.popup.exit_application.title", "退出?" },
|
||||
{ "hex.builtin.popup.exit_application.desc", "工程还有为保存的更改。\n确定要退出吗?" },
|
||||
|
Loading…
Reference in New Issue
Block a user