|
6 | 6 | #include "VKHelpers.h" |
7 | 7 | #include "VKRenderPass.h" |
8 | 8 |
|
9 | | -#include "../Overlays/Shaders/shader_loading_dialog.h" |
10 | | -#include "../Program/GLSLCommon.h" |
11 | | -#include "../Program/ShaderInterpreter.h" |
12 | | -#include "../rsx_methods.h" |
| 9 | +#include "Emu/RSX/Overlays/Shaders/shader_loading_dialog.h" |
| 10 | +#include "Emu/RSX/Program/GLSLCommon.h" |
| 11 | +#include "Emu/RSX/Program/ShaderInterpreter.h" |
| 12 | +#include "Emu/RSX/rsx_methods.h" |
| 13 | +#include "Emu/localized_string.h" |
13 | 14 |
|
14 | 15 | #include <thread> |
15 | 16 |
|
@@ -719,7 +720,7 @@ namespace vk |
719 | 720 |
|
720 | 721 | void shader_interpreter::preload(rsx::shader_loading_dialog* dlg) |
721 | 722 | { |
722 | | - dlg->create("Precompiling interpreter variants.\nPlease wait...", "Shader Compilation"); |
| 723 | + dlg->create(get_localized_string(localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS), get_localized_string(localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS_TITLE)); |
723 | 724 |
|
724 | 725 | // Create some basic pipelines that we'll use to seed the base pipeline queue |
725 | 726 | std::vector<vk::pipeline_props> pipe_properties; |
@@ -778,7 +779,7 @@ namespace vk |
778 | 779 | std::this_thread::sleep_for(16ms); |
779 | 780 |
|
780 | 781 | const auto completed = ctr.load(); |
781 | | - dlg->update_msg(0, fmt::format("Building base variant %u of %u...", completed, limit1)); |
| 782 | + dlg->update_msg(0, get_localized_string(localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS_VULKAN, "%u %s %u", completed, get_localized_string(localized_string_id::PROGRESS_DIALOG_OF), limit1)); |
782 | 783 | dlg->set_value(0, completed); |
783 | 784 | } |
784 | 785 | while (ctr.load() < limit1); |
|
0 commit comments