Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.
C++ 3d3d-sculptingcppdear-imguidigital-sculptingfbxgame-developmentgaussian-splattinggltfimage-to-3dmcpopenglopenusdsculptingtext-to-3dunreal-engine
Preferences > AI and live mode's confirm reasons through tr() (es, zh-TW, zh-CN); i18n_raw_labels: no label reaches ImGui without tr() unless raw_allow.txt lists it
islandmed1e2f007ee158
diff --git a/CMakeLists.txt b/CMakeLists.txtindex a459debb..cd1496e2 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -755,6 +755,9 @@ if(SCULPTFORGE_BUILD_TESTS)# Every interface label has a Spanish, a Traditional and a Simplified Chinese translation (or is a name kept in English,# tools/i18n/keep_english.txt): a new label without one fails here, not in a release.add_test(NAME i18n_coverage COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/i18n/coverage.py --check)+ # ...and no label reaches ImGui without tr() unless tools/i18n/raw_allow.txt lists it (names that stay English, and+ # the 11-06 backlog, which only shrinks): coverage can't see a label that never goes through tr().+ add_test(NAME i18n_raw_labels COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/i18n/coverage.py --raw-check)add_test(NAME marks_self_test COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tools/check_marks.py --self-test)# The same marks read off the pixels of every tracked image and video (OCR, cached by file hash), and the deploy's# takedown of flagged ones (tools/media_takedown.py).diff --git a/changes/fix-i18n-ai-prefs.md b/changes/fix-i18n-ai-prefs.mdnew file mode 100644index 00000000..89edc662--- /dev/null+++ b/changes/fix-i18n-ai-prefs.md@@ -0,0 +1,8 @@+---+fixed: **Preferences > AI** and live mode's step confirmations were partly in English in Spanish and Chinese:+ Enable AI features, its description and privacy line, the Hugging Face token field, AI services & privacy, and the+ reasons a step asks first ("Writes ... outside the project folder", "Overwrites ...", "Connects to the network"...)+ are now translated. A new check stops labels from reaching the screen without going through the translator.+testers:+ - Preferences > Interface > Language > Español, 繁體中文 or 简体中文, then Preferences > AI: every line is translated.+---diff --git a/src/app/App.cpp b/src/app/App.cppindex d0809779..31a835bd 100644--- a/src/app/App.cpp+++ b/src/app/App.cpp@@ -2939,7 +2939,7 @@ void App::drawUi() {if (ImGui::Button("Third-party notices"))SDL_OpenURL("https://github.com/islandmed/SculptForge/blob/main/THIRD_PARTY_NOTICES.md");ImGui::SameLine();- if (ImGui::Button("AI services & privacy"))+ if (ImGui::Button(tr("AI services & privacy")))SDL_OpenURL("https://github.com/islandmed/SculptForge/blob/main/docs/ai-services.md");ImGui::Spacing();drawSupportersSection(); // PanelSupport.cpp@@ -3577,12 +3577,12 @@ void App::showHunyuanNoticeOnce() {void App::drawAiPrefsSection() {ImGui::SetNextItemWidth(-1);- ImGui::InputTextWithHint("##hftoken", "Hugging Face token (hf_...)", hfToken_, sizeof hfToken_, ImGuiInputTextFlags_Password);+ ImGui::InputTextWithHint("##hftoken", tr("Hugging Face token (hf_...)"), hfToken_, sizeof hfToken_, ImGuiInputTextFlags_Password);ui::HelpText("Hugging Face token", nullptr,"Free at huggingface.co/settings/tokens (read access). Raises the free daily allowance in ""Generate 3D, and TRELLIS.2 needs it. Empty = the HF_TOKEN environment variable.","Preferences > AI");- if (ImGui::Button("Save", ImVec2(-1, 0))) {+ if (ImGui::Button(tr("Save##hftoken"), ImVec2(-1, 0))) {// Saves the token into the settings as they are on disk, so other unsaved panel edits stay unsaved.aiSettings_.hfToken = hfToken_;ai::AiSettings saved = aiSettingsPath_.empty() ? aiSettings_ : ai::AiSettings::load(aiSettingsPath_);diff --git a/src/app/I18nSimplifiedChinese.cpp b/src/app/I18nSimplifiedChinese.cppindex be696808..f7b7ddb3 100644--- a/src/app/I18nSimplifiedChinese.cpp+++ b/src/app/I18nSimplifiedChinese.cpp@@ -3243,6 +3243,37 @@ constexpr Entry kSimplifiedChinese[] = {"立即停止 AI 工具。其步骤保留在“撤销”中。"},{"Your AI tool asks: ","你的 AI 工具请求: "},+ // --- Preferences > AI and live mode's confirm reasons (fix/i18n-ai-prefs) ---+ {"AI Brush and Generate 3D. Off: they are hidden and SculptForge makes no AI network calls.",+ "AI 笔刷与生成 3D 模型。关闭:两者都会隐藏,SculptForge 不会进行任何 AI 网络连接。"},+ {"AI services & privacy",+ "AI 服务与隐私"},+ {"Set by this computer (SF_AI or --no-ai).",+ "由这台电脑设置(SF_AI 或 --no-ai)。"},+ {"Your art is never uploaded or used for training. AI features run only when you use them and can be turned off.",+ "你的作品绝不会被上传或用于训练。AI 功能只在你使用时运行,也可以关闭。"},+ {"Hugging Face token (hf_...)",+ "Hugging Face 令牌(hf_...)"},+ {"Connects to the network",+ "会连接到网络"},+ {"Runs a macro or script",+ "会运行宏或脚本"},+ {"Runs outside programs (splat training)",+ "会运行外部程序(splat 训练)"},+ {"Deletes a file from your library",+ "会删除资源库中的文件"},+ {"Writes a program or settings file: %s",+ "会写入程序或配置文件:%s"},+ {"Overwrites %s",+ "会覆盖 %s"},+ {"Writes %s (outside the project folder and the files you picked)",+ "会写入项目文件夹与你所选文件以外的位置:%s"},+ {"Reads %s (outside the project folder and the files you picked)",+ "会读取项目文件夹与你所选文件以外的位置:%s"},+ {"Saves over the project",+ "会覆盖保存项目"},+ {"Replaces the scene: your unsaved changes would be lost",+ "会替换场景:未保存的更改将会丢失"},};} // namespacediff --git a/src/app/I18nSpanish.cpp b/src/app/I18nSpanish.cppindex ee2c3d8a..3e9766d5 100644--- a/src/app/I18nSpanish.cpp+++ b/src/app/I18nSpanish.cpp@@ -3548,7 +3548,7 @@ constexpr Entry kSpanish[] = {{"Disconnect AI tool", "Desconectar herramienta de IA"},{"Disconnect", "Desconectar"},{"It can run SculptForge's commands and see the viewport; what it sees goes to that tool's AI service. Every step is in Undo. Files outside the project, scripts and the network ask you first.", "Puede ejecutar los comandos de SculptForge y ver el visor; lo que ve va al servicio de IA de esa herramienta. Cada paso queda en Deshacer. Los archivos fuera del proyecto, los scripts y la red te preguntan antes."},- {"Let AI tools control this window", "Permitir que herramientas de IA controlen esta ventana"},+ {"Let AI tools control this window", "Permitir que la IA controle esta ventana"},{"Let an AI tool control this window?", "¿Permitir que una herramienta de IA controle esta ventana?"},{"Live mode can't start: ", "El modo en vivo no puede iniciarse: "},{"Live mode: an AI tool on this computer (sculptforge-cli --mcp --attach) can ask to sculpt in this window while you watch. You approve each connection; files outside the project, scripts and the network ask first. Nothing listens on the network.", "Modo en vivo: una herramienta de IA de este equipo (sculptforge-cli --mcp --attach) puede pedir esculpir en esta ventana mientras miras. Apruebas cada conexión; los archivos fuera del proyecto, los scripts y la red preguntan antes. Nada escucha en la red."},@@ -3682,6 +3682,37 @@ constexpr Entry kSpanish[] = {{"This removes your %d subdivision levels. Undo brings them back.", "Esto quita tus %d niveles de subdivisión. Deshacer los recupera."},{"Views", "Vistas"},{"name (optional)", "nombre (opcional)"},+ // --- Preferences > AI and live mode's confirm reasons (fix/i18n-ai-prefs) ---+ {"AI Brush and Generate 3D. Off: they are hidden and SculptForge makes no AI network calls.",+ "Pincel IA y Generar 3D. Desactivado: se ocultan y SculptForge no hace ninguna llamada de red de IA."},+ {"AI services & privacy",+ "Servicios de IA y privacidad"},+ {"Set by this computer (SF_AI or --no-ai).",+ "Lo fija este equipo (SF_AI o --no-ai)."},+ {"Your art is never uploaded or used for training. AI features run only when you use them and can be turned off.",+ "Tu arte nunca se sube ni se usa para entrenar. Las funciones de IA solo se ejecutan cuando las usas y se pueden desactivar."},+ {"Hugging Face token (hf_...)",+ "Token de Hugging Face (hf_...)"},+ {"Connects to the network",+ "Se conecta a la red"},+ {"Runs a macro or script",+ "Ejecuta una macro o un script"},+ {"Runs outside programs (splat training)",+ "Ejecuta programas externos (entrenamiento de splats)"},+ {"Deletes a file from your library",+ "Borra un archivo de tu biblioteca"},+ {"Writes a program or settings file: %s",+ "Escribe un programa o un archivo de configuración: %s"},+ {"Overwrites %s",+ "Sobrescribe %s"},+ {"Writes %s (outside the project folder and the files you picked)",+ "Escribe %s (fuera de la carpeta del proyecto y de los archivos que elegiste)"},+ {"Reads %s (outside the project folder and the files you picked)",+ "Lee %s (fuera de la carpeta del proyecto y de los archivos que elegiste)"},+ {"Saves over the project",+ "Guarda sobre el proyecto"},+ {"Replaces the scene: your unsaved changes would be lost",+ "Reemplaza la escena: se perderían los cambios sin guardar"},};} // namespacediff --git a/src/app/I18nTraditionalChinese.cpp b/src/app/I18nTraditionalChinese.cppindex 06b46d47..018e7383 100644--- a/src/app/I18nTraditionalChinese.cpp+++ b/src/app/I18nTraditionalChinese.cpp@@ -3214,6 +3214,37 @@ constexpr Entry kTraditionalChinese[] = {{"This removes your %d subdivision levels. Undo brings them back.", "這會移除你的 %d 個細分層級。復原可恢復。"},{"Views", "視圖"},{"name (optional)", "名稱(選填)"},+ // --- Preferences > AI and live mode's confirm reasons (fix/i18n-ai-prefs) ---+ {"AI Brush and Generate 3D. Off: they are hidden and SculptForge makes no AI network calls.",+ "AI 筆刷與生成 3D 模型。關閉:兩者都會隱藏,SculptForge 不會進行任何 AI 網路連線。"},+ {"AI services & privacy",+ "AI 服務與隱私"},+ {"Set by this computer (SF_AI or --no-ai).",+ "由這台電腦設定(SF_AI 或 --no-ai)。"},+ {"Your art is never uploaded or used for training. AI features run only when you use them and can be turned off.",+ "你的作品絕不會被上傳或用於訓練。AI 功能只在你使用時執行,也可以關閉。"},+ {"Hugging Face token (hf_...)",+ "Hugging Face 權杖(hf_...)"},+ {"Connects to the network",+ "會連線到網路"},+ {"Runs a macro or script",+ "會執行巨集或指令碼"},+ {"Runs outside programs (splat training)",+ "會執行外部程式(splat 訓練)"},+ {"Deletes a file from your library",+ "會刪除資源庫中的檔案"},+ {"Writes a program or settings file: %s",+ "會寫入程式或設定檔:%s"},+ {"Overwrites %s",+ "會覆寫 %s"},+ {"Writes %s (outside the project folder and the files you picked)",+ "會寫入專案資料夾與你所選檔案以外的位置:%s"},+ {"Reads %s (outside the project folder and the files you picked)",+ "會讀取專案資料夾與你所選檔案以外的位置:%s"},+ {"Saves over the project",+ "會覆蓋儲存專案"},+ {"Replaces the scene: your unsaved changes would be lost",+ "會取代場景:未儲存的變更將會遺失"},};} // namespacediff --git a/src/app/PanelAi.cpp b/src/app/PanelAi.cppindex 4417431c..bc5c40ea 100644--- a/src/app/PanelAi.cpp+++ b/src/app/PanelAi.cpp@@ -7,6 +7,7 @@// AI network entry point refuses. Saved in ai.json at once, so the CLI, Python and MCP server follow it.// SF_AI=off (or --no-ai) locks it for studios.#include "app/App.h"+#include "app/I18n.h"#include "app/Ui.h"#include "ai/AiCommands.h"@@ -126,18 +127,18 @@ void App::drawAiPrefs() {const bool locked = ai::aiPolicyLocked();bool on = ai::aiEnabled();ImGui::BeginDisabled(locked);- if (ImGui::Checkbox("Enable AI features##prefs.ai", &on)) setAiFeatures(on);+ if (ImGui::Checkbox(tr("Enable AI features##prefs.ai"), &on)) setAiFeatures(on);ImGui::EndDisabled();ui::HelpAction(*this, "prefs.ai_features");- if (locked) ImGui::TextDisabled("Set by this computer (SF_AI or --no-ai).");+ if (locked) ImGui::TextDisabled("%s", tr("Set by this computer (SF_AI or --no-ai)."));ImGui::PushStyleColor(ImGuiCol_Text, ImGui::GetStyleColorVec4(ImGuiCol_TextDisabled));- ImGui::TextWrapped("AI Brush and Generate 3D. Off: they are hidden and SculptForge makes no AI network calls.");- ImGui::TextWrapped("%s", ai::kPrivacyLine);+ ImGui::TextWrapped("%s", tr("AI Brush and Generate 3D. Off: they are hidden and SculptForge makes no AI network calls."));+ ImGui::TextWrapped("%s", tr(ai::kPrivacyLine));ImGui::PopStyleColor();ImGui::Spacing();drawAiLinkPrefs(); // live mode (PanelAiLink.cpp)ImGui::Spacing();- if (ImGui::SmallButton("AI services & privacy##prefs.ai"))+ if (ImGui::SmallButton(tr("AI services & privacy##prefs.ai")))SDL_OpenURL("https://github.com/islandmed/SculptForge/blob/main/docs/ai-services.md");}diff --git a/src/app/PanelAiLink.cpp b/src/app/PanelAiLink.cppindex 72ac6465..512f91f1 100644--- a/src/app/PanelAiLink.cpp+++ b/src/app/PanelAiLink.cpp@@ -371,13 +371,16 @@ void App::pollAiLink() {link::AiDecision d = s.session->policy.classify(isLiveTool(name) ? nullptr : cmd, name, step.call.args);// A new scene clears the history: unsaved work couldn't be undone back.if (d.verdict == link::AiVerdict::Allow && doc_.dirty() && replacesScene(name))- d = {link::AiVerdict::Confirm, "Replaces the scene: your unsaved changes would be lost"};+ d = link::confirmBecause("Replaces the scene: your unsaved changes would be lost");if (d.verdict == link::AiVerdict::Deny) {s.send(link::AiLinkSession::resultReply(step.call.id, false, d.reason));} else if (d.verdict == link::AiVerdict::Confirm) {- s.confirm = AiLinkState::Pending{std::move(step.call), d.reason};+ // The dialog and the status line in the interface language; the tool only ever gets English.+ std::string shown = d.format ? tr(d.format) : d.reason;+ if (const size_t at = shown.find("%s"); d.format && at != std::string::npos) shown.replace(at, 2, d.subject);+ s.confirm = AiLinkState::Pending{std::move(step.call), shown};s.focusDialog = true;- status_ = std::string(tr("Your AI tool asks: ")) + d.reason;+ status_ = std::string(tr("Your AI tool asks: ")) + shown;} else {aiLinkExecute(step.call);}diff --git a/src/link/AiLinkSession.cpp b/src/link/AiLinkSession.cppindex 1797b21a..1ca6b6c0 100644--- a/src/link/AiLinkSession.cpp+++ b/src/link/AiLinkSession.cpp@@ -95,6 +95,12 @@ bool AiLinkPolicy::allowedPath(const std::string& path) const {return false;}+AiDecision confirmBecause(const char* format, const std::string& subject) {+ AiDecision d{AiVerdict::Confirm, format, format, subject};+ if (const size_t at = d.reason.find("%s"); at != std::string::npos) d.reason.replace(at, 2, subject);+ return d;+}+AiDecision AiLinkPolicy::classify(const Command* cmd, const std::string& name, const Args& args) const {if (hidden(name)) return {AiVerdict::Deny, "Unknown tool: " + name};if (!cmd) return {}; // a live-window tool: the viewport, the camera, screen strokes@@ -103,12 +109,12 @@ AiDecision AiLinkPolicy::classify(const Command* cmd, const std::string& name, c"brush_gallery_search", "brush_gallery_install", "unreal_editors","unreal_send"};for (const char* n : kNetwork)- if (name == n) return {AiVerdict::Confirm, "Connects to the network"};- if (args.contains("url")) return {AiVerdict::Confirm, "Connects to the network"};+ if (name == n) return confirmBecause("Connects to the network");+ if (args.contains("url")) return confirmBecause("Connects to the network");if (name == "macro_run" || name.rfind("script", 0) == 0 || name.rfind("python", 0) == 0)- return {AiVerdict::Confirm, "Runs a macro or script"};- if (name == "splat_train") return {AiVerdict::Confirm, "Runs outside programs (splat training)"};- if (name == "brush_delete" || name == "vdm_delete") return {AiVerdict::Confirm, "Deletes a file from your library"};+ return confirmBecause("Runs a macro or script");+ if (name == "splat_train") return confirmBecause("Runs outside programs (splat training)");+ if (name == "brush_delete" || name == "vdm_delete") return confirmBecause("Deletes a file from your library");const bool writer = writes(name);for (const auto& [key, value] : args) {@@ -117,18 +123,19 @@ AiDecision AiLinkPolicy::classify(const Command* cmd, const std::string& name, cif (!s || s->empty()) continue;const fs::path p = resolved(*s, projectDir);const std::string shown = p.empty() ? *s : fromPath(p);- if (writer && !p.empty() && runnable(p)) return {AiVerdict::Confirm, "Writes a program or settings file: " + shown};+ if (writer && !p.empty() && runnable(p)) return confirmBecause("Writes a program or settings file: %s", shown);std::error_code ec;if (writer && !p.empty() && fs::exists(p, ec) && !fs::is_directory(p, ec))- return {AiVerdict::Confirm, "Overwrites " + shown};+ return confirmBecause("Overwrites %s", shown);if (!allowedPath(*s))- return {AiVerdict::Confirm, std::string(writer ? "Writes " : "Reads ") + shown +- " (outside the project folder and the files you picked)"};+ return confirmBecause(writer ? "Writes %s (outside the project folder and the files you picked)"+ : "Reads %s (outside the project folder and the files you picked)",+ shown);}if (name == "save_project") {const auto it = args.find("path");if (it == args.end() || std::get_if<std::string>(&it->second) == nullptr || std::get<std::string>(it->second).empty())- return {AiVerdict::Confirm, "Saves over the project"};+ return confirmBecause("Saves over the project");}return {};}diff --git a/src/link/AiLinkSession.h b/src/link/AiLinkSession.hindex e3094dd6..25a7d08c 100644--- a/src/link/AiLinkSession.h+++ b/src/link/AiLinkSession.h@@ -25,8 +25,14 @@ enum class AiVerdict { Allow, Confirm, Deny };struct AiDecision {AiVerdict verdict = AiVerdict::Allow;- std::string reason; // Confirm: what the dialog says ("Overwrites C:/x.glb"); Deny: the error+ std::string reason; // Confirm: what the dialog says ("Overwrites C:/x.glb"); Deny: the error. English, also for the tool+ // Confirm: the reason's English template with one %s for `subject` ("Overwrites %s"), so the app shows it through+ // tr() (shownReason); the templates are listed in tools/i18n/coverage.py (DYNAMIC).+ const char* format = nullptr;+ std::string subject;};+// A Confirm decision whose reason is `format` with `subject` in place of its %s.+AiDecision confirmBecause(const char* format, const std::string& subject = {});struct AiLinkPolicy {std::string projectDir; // the saved project's folder ("" when none)diff --git a/tests/test_ai_link.cpp b/tests/test_ai_link.cppindex acc9687e..a518f72c 100644--- a/tests/test_ai_link.cpp+++ b/tests/test_ai_link.cpp@@ -157,6 +157,13 @@ TEST(ai_link_policy) {// No project: a relative path can't be placed, so it asks.AiLinkPolicy none;CHECK(none.classify(reg.find("export_glb"), "export_glb", {{"path", std::string("a.glb")}}).verdict == AiVerdict::Confirm);+ // The reason the tool gets stays English; the app shows the template through tr() with the path filled in.+ const AiDecision out = none.classify(reg.find("export_glb"), "export_glb", {{"path", std::string("/elsewhere/a.glb")}});+ CHECK(out.format != nullptr && std::string(out.format).find("%s") != std::string::npos);+ CHECK(out.reason.find("a.glb") != std::string::npos);+ CHECK(out.reason.find("%s") == std::string::npos);+ CHECK(out.reason.find("outside the project folder") != std::string::npos);+ CHECK(out.subject.find("a.glb") != std::string::npos);}TEST(ai_link_message_parser_fuzz) {diff --git a/tests/ui/ai_prefs_languages.sfui b/tests/ui/ai_prefs_languages.sfuinew file mode 100644index 00000000..430aade9--- /dev/null+++ b/tests/ui/ai_prefs_languages.sfui@@ -0,0 +1,38 @@+# Preferences > AI in every language: Enable AI features, its description, the privacy line, live mode, the Hugging Face+# token and AI services & privacy are translated (they were shown in English before tr() reached them) and fit.+# One sub-palette open (the default): opening a section closes the others.+run ui_look look=classic layout=classic+run new_sphere subdivisions=2+click "Preferences##palette.preferences"+click "AI##preferences.ai"+expect "Enable AI features##prefs.ai"+expect "AI services & privacy##prefs.ai"+shot ai-prefs-en++click "Interface##preferences.interface"+click "Español##language.es"+click "AI##preferences.ai"+expect "Activar funciones de IA##prefs.ai"+expect "Servicios de IA y privacidad##prefs.ai"+expect_text "Tu arte nunca se sube"+shot ai-prefs-es++click "Interfaz##preferences.interface"+click "繁體中文##language.zh-TW"+click "AI##preferences.ai"+expect "啟用 AI 功能##prefs.ai"+expect "AI 服務與隱私##prefs.ai"+shot ai-prefs-zh-tw++click "界面##preferences.interface"+click "简体中文##language.zh-CN"+click "AI##preferences.ai"+expect "启用 AI 功能##prefs.ai"+expect "AI 服务与隐私##prefs.ai"+expect_text "你的作品绝不会被上传或用于训练"+shot ai-prefs-zh-cn++click "界面##preferences.interface"+click "English##language.en"+expect "Interface##preferences.interface"+key escapediff --git a/tools/i18n/coverage.py b/tools/i18n/coverage.pyindex 6531df3b..90d9fed5 100644--- a/tools/i18n/coverage.py+++ b/tools/i18n/coverage.py@@ -9,6 +9,8 @@ which of them the table has no translation for.tools/i18n/coverage.py --check exit 1 unless every language is at 100% (ctest i18n_coverage)tools/i18n/coverage.py --json the strings and what each language lacks, for scriptstools/i18n/coverage.py --raw literals ImGui shows without tr(): not translatable until wrapped in tr()+ tools/i18n/coverage.py --raw-check exit 1 if a literal shown without tr() is not in raw_allow.txt, or a line there+ no longer matches one (ctest i18n_raw_labels): new labels can't skip tr()The strings are found in src/app/*.cpp, the label paths tr() is used through:- a literal passed to tr(), trPath() (each "A > B" step) or a wrapper that calls tr() on it (WRAPPERS below:@@ -29,6 +31,7 @@ from pathlib import PathROOT = Path(__file__).resolve().parents[2]SRC = ROOT / "src" / "app"KEEP = Path(__file__).resolve().parent / "keep_english.txt"+RAW_ALLOW = Path(__file__).resolve().parent / "raw_allow.txt"LANGS = {"es": SRC / "I18nSpanish.cpp", "zh-TW": SRC / "I18nTraditionalChinese.cpp","zh-CN": SRC / "I18nSimplifiedChinese.cpp"}SKIP_FILES = {"I18n.cpp", "I18nSpanish.cpp", "I18nTraditionalChinese.cpp", "I18nSimplifiedChinese.cpp"}@@ -52,6 +55,14 @@ DYNAMIC = {"Density", "Plain", "No Image", "Checker", "Texture"],"PanelUvEditor.cpp sections": ["Unwrap", "Pack", "Texel Density", "Trim Sheet", "Edit", "Display"],"Pickers.cpp sections and core/ListSort.h listSortLabel": ["Built-in", "Custom", "Recent", "Pack"],+ "link/AiLinkSession.cpp and PanelAiLink.cpp confirm reasons (AiDecision::format, shown through tr())": [+ "Connects to the network", "Runs a macro or script", "Runs outside programs (splat training)",+ "Deletes a file from your library", "Writes a program or settings file: %s", "Overwrites %s",+ "Writes %s (outside the project folder and the files you picked)",+ "Reads %s (outside the project folder and the files you picked)", "Saves over the project",+ "Replaces the scene: your unsaved changes would be lost"],+ "ai/AiPolicy.h kPrivacyLine (PanelAi.cpp)": [+ "Your art is never uploaded or used for training. AI features run only when you use them and can be turned off."],"core/RadialMenu.cpp radialButtonLabel": ["None", "Middle mouse button", "Mouse back button", "Mouse forward button","Pen lower button", "Pen upper button", "Pen third button","Right mouse button"],@@ -63,7 +74,7 @@ RAW_IMGUI = {"Button": [0], "SmallButton": [0], "Text": [0], "TextDisabled": [0]"TextUnformatted": [0], "TextColored": [1], "SeparatorText": [0], "Selectable": [0], "MenuItem": [0],"BeginMenu": [0], "Checkbox": [0], "CollapsingHeader": [0], "TreeNode": [0], "Combo": [0, 2],"RadioButton": [0], "SetTooltip": [0], "BulletText": [0], "Begin": [0], "BeginTabItem": [0],- "SliderFloat": [0, 4], "SliderInt": [0, 4], "InputText": [0]}+ "SliderFloat": [0, 4], "SliderInt": [0, 4], "InputText": [0], "InputTextWithHint": [1]}ICON = "\x00ICON\x00" # stands for an ICON_LC_* macro inside a labelTOKEN = re.compile(@@ -432,6 +443,38 @@ def translates(table, text):return core(t)+def raw_key(f, call, s):+ """A raw_allow.txt line: file, ImGui call and the literal as JSON, tab-separated (no line number: edits move it)."""+ return f"{f}\tImGui::{call}\t{json.dumps(s.replace(ICON, '<icon>'), ensure_ascii=False)}"+++def raw_check(write=False):+ found = {raw_key(f, call, s) for f, _, call, s in raw_labels()}+ lines = RAW_ALLOW.read_text(encoding="utf-8").splitlines() if RAW_ALLOW.exists() else []+ allowed = {ln for ln in lines if ln.strip() and not ln.startswith("#")}+ if write: # keeps the comments and the intentional section, rewrites the backlog+ head = []+ for ln in lines:+ head.append(ln)+ if ln.startswith("# --- backlog"):+ break+ backlog = sorted(found - {ln for ln in head if not ln.startswith("#")})+ RAW_ALLOW.write_text("\n".join(head + backlog) + "\n", encoding="utf-8")+ print(f"raw_allow.txt: {len(backlog)} backlog lines")+ return 0+ new, stale = sorted(found - allowed), sorted(allowed - found)+ for ln in new:+ print(f"shown without tr(): {ln}")+ for ln in stale:+ print(f"raw_allow.txt line no label matches any more (delete it): {ln}")+ print(f"{len(found)} labels shown without tr(), {len(new)} new, {len(stale)} stale allow-list lines")+ if new or stale:+ print("i18n_raw_labels: wrap new labels in tr() and translate them (coverage.py --missing); a name that stays "+ "English everywhere goes in raw_allow.txt's intentional section")+ return 1+ return 0++def load_keep():keep = set()if KEEP.exists():@@ -448,8 +491,13 @@ def main():ap.add_argument("--check", action="store_true", help="exit 1 unless every language is at 100%%")ap.add_argument("--json", action="store_true")ap.add_argument("--raw", action="store_true", help="list the literals ImGui shows without tr() (not translatable yet)")+ ap.add_argument("--raw-check", action="store_true", help="exit 1 on a raw literal not in raw_allow.txt (or a stale line)")+ ap.add_argument("--raw-write", action="store_true", help="rewrite raw_allow.txt's backlog to what is raw now")args = ap.parse_args()+ if args.raw_check or args.raw_write:+ return raw_check(write=args.raw_write)+if args.raw:raw = raw_labels()for f, line, call, s in raw:diff --git a/tools/i18n/raw_allow.txt b/tools/i18n/raw_allow.txtnew file mode 100644index 00000000..fd12a100--- /dev/null+++ b/tools/i18n/raw_allow.txt@@ -0,0 +1,424 @@+# Labels ImGui shows without tr() (coverage.py --raw-check, ctest i18n_raw_labels). One per line: file, ImGui call and+# the literal as JSON, tab-separated. A label that isn't here fails the test: wrap it in tr() and translate it+# (coverage.py --missing), or, if it stays English in every language, add it to the intentional section.+# --- intentional: names that stay English everywhere ---+App.cpp ImGui::Button "Ollama"+App.cpp ImGui::Button "LM Studio"+App.cpp ImGui::SeparatorText "Unreal Engine"+# --- backlog (11-06): shown in English in every language. Wrap in tr(), translate, delete the line; never add here.+App.cpp ImGui::Begin "About SculptForge"+App.cpp ImGui::BeginTabItem "From image"+App.cpp ImGui::BeginTabItem "From text"+App.cpp ImGui::Button "+ Add"+App.cpp ImGui::Button "Cancel"+App.cpp ImGui::Button "Clean floaters"+App.cpp ImGui::Button "Clear##splats"+App.cpp ImGui::Button "Export FBX for Unreal..."+App.cpp ImGui::Button "Fit"+App.cpp ImGui::Button "Flip"+App.cpp ImGui::Button "GLB + blend shapes"+App.cpp ImGui::Button "Generate 3D model"+App.cpp ImGui::Button "Inflate"+App.cpp ImGui::Button "Install .sfbrush..."+App.cpp ImGui::Button "LOD chain (GLB per level)"+App.cpp ImGui::Button "License"+App.cpp ImGui::Button "Make relief"+App.cpp ImGui::Button "OK"+App.cpp ImGui::Button "Save .sfbrush..."+App.cpp ImGui::Button "Save settings"+App.cpp ImGui::Button "Save splats..."+App.cpp ImGui::Button "Sculpt to splats"+App.cpp ImGui::Button "Send to Unreal"+App.cpp ImGui::Button "Stamp from this view"+App.cpp ImGui::Button "Third-party notices"+App.cpp ImGui::Button "Try a test head##splats"+App.cpp ImGui::Button "Turn 90"+App.cpp ImGui::Checkbox "Connected only##recipe"+App.cpp ImGui::Checkbox "Dark is high##project"+App.cpp ImGui::Checkbox "Dark is high##relief"+App.cpp ImGui::Checkbox "Refine the selected brush"+App.cpp ImGui::Checkbox "Show mesh"+App.cpp ImGui::Checkbox "Show##splats"+App.cpp ImGui::Checkbox "Unreal is on another computer"+App.cpp ImGui::Checkbox "View falloff##recipe"+App.cpp ImGui::CollapsingHeader "AI provider"+App.cpp ImGui::Combo "Effort"+App.cpp ImGui::Combo "Remesh"+App.cpp ImGui::InputText "API key"+App.cpp ImGui::InputText "Folder"+App.cpp ImGui::InputText "HF token"+App.cpp ImGui::InputText "Model id"+App.cpp ImGui::InputText "Server"+App.cpp ImGui::InputTextWithHint "e.g. bark of an old oak tree"+App.cpp ImGui::RadioButton "Base mesh"+App.cpp ImGui::Selectable "Other file (API format)..."+App.cpp ImGui::Selectable "Sculpt"+App.cpp ImGui::SeparatorText "Export"+App.cpp ImGui::SeparatorText "Quick shapes (offline)"+App.cpp ImGui::SetTooltip "Centre and scale to the sculpt"+App.cpp ImGui::SetTooltip "Imports (or updates) the asset in the open Unreal Editor.\nNeeds the Python Editor Script Plugin and Project Settings > Python > Enable Remote Execution."+App.cpp ImGui::SetTooltip "In Unreal: Project Settings > Plugins > Python > Advanced:\nMulticast Time-To-Live = 1, Multicast Bind Address = 0.0.0.0"+App.cpp ImGui::SetTooltip "Install a brush someone shared: a brush code (sfbrush1:...) or .sfbrush text on the clipboard (Ctrl+V in the viewport)"+App.cpp ImGui::SetTooltip "Quad Remesh (default): clean quads ready for sculpting and subdividing, with one subdivision level holding the detail. Voxel remesh: an even, watertight triangle surface. Off: the model as the service made it."+App.cpp ImGui::SetTooltip "Turn upside down (most captures are)"+App.cpp ImGui::SliderFloat "Depth##project"+App.cpp ImGui::SliderFloat "Depth##relief"+App.cpp ImGui::SliderFloat "Reduction"+App.cpp ImGui::SliderFloat "Thickness"+App.cpp ImGui::SliderFloat "opacity %.2f"+App.cpp ImGui::SliderFloat "weight %.2f"+App.cpp ImGui::SliderFloat "x%.2f / level"+App.cpp ImGui::SliderInt "Detail##inflate"+App.cpp ImGui::SliderInt "Detail##relief"+App.cpp ImGui::SliderInt "LODs"+App.cpp ImGui::SliderInt "Resolution"+App.cpp ImGui::SmallButton "Clear chat"+App.cpp ImGui::SmallButton "Full guide: Windows, macOS, Linux, LM Studio"+App.cpp ImGui::SmallButton "Save settings"+App.cpp ImGui::Text "%zu splats (SH %d)"+App.cpp ImGui::Text "SculptForge %s"+App.cpp ImGui::TextDisabled " Designing brush%.*s"+App.cpp ImGui::TextDisabled "About %d quads, then 1 subdivision level"+App.cpp ImGui::TextDisabled "Click a level to inspect it in the viewport."+App.cpp ImGui::TextDisabled "Sculpt expressions & correctives;\nexported as glTF morph targets."+App.cpp ImGui::TextDisabled "This stays in the Model tooltip."+App.cpp ImGui::TextDisabled "editable"+App.cpp ImGui::TextUnformatted "Free and open-source digital sculpting."+App.cpp ImGui::TextWrapped "1. Install Ollama (or use your package manager, e.g. sudo pacman -S ollama):\n curl -fsSL https://ollama.com/install.sh | sh\n2. Start it if needed:\n sudo systemctl enable --now ollama\n3. Download the model:\n ollama pull qwen3:4b-instruct\n4. Click Ollama above, then Find models."+App.cpp ImGui::TextWrapped "1. Install Ollama from ollama.com/download and drag it to Applications.\n2. Download the model (in Terminal):\n ollama pull qwen3:4b-instruct\n3. Ollama runs in the menu bar. Click Ollama above, then Find models."+App.cpp ImGui::TextWrapped "1. Install Ollama from ollama.com/download, or in PowerShell:\n winget install Ollama.Ollama\n2. Download the model (in PowerShell):\n ollama pull qwen3:4b-instruct\n3. Ollama runs in the system tray. Click Ollama above, then Find models."+App.cpp ImGui::TextWrapped "Built with SDL 3 (zlib), Dear ImGui (MIT), GLM (MIT), stb (MIT/public domain), ufbx (MIT/public domain), xatlas (MIT), MikkTSpace (zlib), the Inter and JetBrains Mono typefaces (SIL OFL 1.1) and the MIT-licensed colours of the Forge Terminal look's schemes. Quad Remesh follows Instant Meshes (BSD-3-Clause). The phone link uses QR Code generator (MIT), libdatachannel and libjuice (MPL-2.0), usrsctp (BSD-3-Clause) and Mbed TLS (Apache-2.0). Uses libcurl (curl license) where available."+App.cpp ImGui::TextWrapped "Connected - %d model%s installed"+App.cpp ImGui::TextWrapped "Copyright (C) 2026 The SculptForge contributors. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3 or later. It comes with ABSOLUTELY NO WARRANTY."+App.cpp ImGui::TextWrapped "Describe a brush the way you'd describe it to another sculptor."+App.cpp ImGui::TextWrapped "Describe one object: \"a stylised dragon head with curled horns\", \"a cartoon fox sitting\"."+App.cpp ImGui::TextWrapped "Free: an open model (GPT-OSS 20B) hosted by Pollinations.ai, no sign-up. Only your brush description and settings are sent. Rate limited to a request every few seconds; if it can't be reached, a running Ollama is used instead."+App.cpp ImGui::TextWrapped "Offline: no outside connections. Updates come only from your studio's channel."+App.cpp ImGui::TextWrapped "Open or drop a .ply capture (Polycam, Luma, Postshot, Scaniverse...) to sculpt against it."+App.cpp ImGui::TextWrapped "Or drop a sketch, concept, logo, photo or height map onto the window."+App.cpp ImGui::TextWrapped "Requests go only to the endpoint above. Keys are stored on this computer only (owner-readable ai.json); leave empty to use ANTHROPIC_API_KEY / OPENAI_API_KEY. For private, offline use, run Ollama and pick OpenAI-compatible."+App.cpp ImGui::TextWrapped "Skeletal mesh with %zu morph targets."+App.cpp ImGui::TextWrapped "Static mesh with %d LODs."+App.cpp ImGui::TextWrapped "The 2.5 GB model needs about 4 GB of free memory and works without a graphics card (10-20 s per brush on a laptop CPU, a few seconds with a GPU)."+App.cpp ImGui::TextWrapped "Try an idea below, or ask for changes to the selected brush, like \"sharper\" or \"less buildup\"."+App.cpp ImGui::TextWrapped "Unreal, Unity, Godot, Blender, three.js"+App.cpp ImGui::TreeNode "Relief"+App.cpp ImGui::TreeNode "Run a model on this computer"+App.cpp ImGui::TreeNode "Silhouette blockout"+App.cpp ImGui::TreeNode "Stamp onto model"+Config.cpp ImGui::Begin "Controls"+Config.cpp ImGui::InputTextWithHint "<icon> Filter shortcuts and gestures"+Console.cpp ImGui::Begin "Console"+Console.cpp ImGui::InputTextWithHint "help, or a command such as remesh resolution=200"+Console.cpp ImGui::TextColored "Type help and press Enter to list the commands."+Gizmo.cpp ImGui::Begin "Gizmo"+Gizmo.cpp ImGui::Button "Apply"+Gizmo.cpp ImGui::Button "Clear"+Gizmo.cpp ImGui::TextDisabled "Q W E R: Draw, Move, Scale, Rotate"+Gizmo.cpp ImGui::TextWrapped "Shift snaps (15 deg, grid, 10%%). Alt+drag the gizmo: move it only. Alt+click the model: pivot there."+Input.cpp ImGui::Begin "Quick Menu##quickmenu"+LibraryBrowser.cpp ImGui::Begin "Library"+LibraryBrowser.cpp ImGui::Button "<icon> Show library folder"+LibraryBrowser.cpp ImGui::MenuItem "<icon> Generate 3D..."+LibraryBrowser.cpp ImGui::SliderInt "Rows %d"+Palettes.cpp ImGui::BeginMenu "New from Starter Mesh"+PanelBake.cpp ImGui::Checkbox "Auto distance"+PanelBake.cpp ImGui::Checkbox "EXR displacement"+PanelBake.cpp ImGui::Checkbox "Preview Normal Map"+PanelBake.cpp ImGui::Selectable "All visible Parts"+PanelBake.cpp ImGui::Selectable "Own micro level##micro"+PanelBake.cpp ImGui::Selectable "Own top subdivision level##level"+PanelBake.cpp ImGui::TextDisabled "%dx%d in %.1f s from %zu tris"+PanelBake.cpp ImGui::TextDisabled "Displacement: mid-grey = 0, white = +%.4g"+PanelBake.cpp ImGui::TextDisabled "No UVs: Tool > Texture Map > Auto UV"+PanelBake.cpp ImGui::TextDisabled "Onto %s (%zu tris, UVs)"+PanelBake.cpp ImGui::TextUnformatted "Source"+PanelBake.cpp ImGui::TextWrapped "%.1f%% of texels found no surface: raise Front / Rear"+PanelBlender.cpp ImGui::BeginMenu "Blender"+PanelBlender.cpp ImGui::MenuItem "Receive automatically##blender"+PanelBlender.cpp ImGui::SetTooltip "Exchange folder: %s"+PanelBlender.cpp ImGui::TextDisabled "Needs the SculptForge add-on in Blender\n(Help > User Guide > Working with Blender)."+PanelBridge.cpp ImGui::BeginMenu "Bridge"+PanelBridge.cpp ImGui::InputTextWithHint "Custom bridge folder (optional)"+PanelBridge.cpp ImGui::MenuItem "Export Bridge file..."+PanelBridge.cpp ImGui::MenuItem "Import Bridge file..."+PanelBridge.cpp ImGui::MenuItem "Receive automatically"+PanelBridge.cpp ImGui::MenuItem "Receive"+PanelBridge.cpp ImGui::MenuItem "Send"+PanelBridge.cpp ImGui::TextDisabled "Bridge folder: %s"+PanelBridge.cpp ImGui::TextDisabled "No default bridge folder on this system;\nBridge files still import and export."+PanelBrushGallery.cpp ImGui::Begin "Community brushes"+PanelBrushGallery.cpp ImGui::Button "Refresh"+PanelBrushGallery.cpp ImGui::Button "Share yours"+PanelBrushGallery.cpp ImGui::Button "Try again"+PanelBrushGallery.cpp ImGui::Button "Use"+PanelBrushGallery.cpp ImGui::InputTextWithHint "Community gallery (or a URL / folder for a studio mirror)"+PanelBrushGallery.cpp ImGui::InputTextWithHint "Search brushes (scales, skin, stone...)"+PanelBrushGallery.cpp ImGui::Selectable "All tags"+PanelBrushGallery.cpp ImGui::SetTooltip "Clear the search"+PanelBrushGallery.cpp ImGui::SetTooltip "Save your brush from Brush Lab, then open a pull request on the gallery.\nOpens %s"+PanelBrushGallery.cpp ImGui::TextDisabled "Gallery"+PanelBrushGallery.cpp ImGui::TextWrapped "Can't reach the brush gallery: %s"+PanelBrushGallery.cpp ImGui::TextWrapped "Offline - showing the gallery from your last visit (%s)."+PanelBrushGallery.cpp ImGui::TextWrapped "Refresh failed: %s"+PanelBrushLibrary.cpp ImGui::Button "Cancel"+PanelBrushLibrary.cpp ImGui::Button "Delete"+PanelBrushLibrary.cpp ImGui::Button "Rename"+PanelBrushLibrary.cpp ImGui::MenuItem "Copy brush code"+PanelBrushLibrary.cpp ImGui::MenuItem "Delete...##brush"+PanelBrushLibrary.cpp ImGui::MenuItem "Rename...##brush"+PanelBrushLibrary.cpp ImGui::MenuItem "Reveal in folder"+PanelBrushLibrary.cpp ImGui::MenuItem "Save .sfbrush..."+PanelBrushLibrary.cpp ImGui::SetTooltip "One line of text to share in chat, email or a forum"+PanelBrushLibrary.cpp ImGui::SetTooltip "Only brushes in your own library can be deleted"+PanelBrushLibrary.cpp ImGui::Text "Delete '%s' from your brush library?"+PanelBrushLibrary.cpp ImGui::TextDisabled "Its .sfbrush file is removed. Copy its brush code first if you might want it back."+PanelBrushLibrary.cpp ImGui::TextDisabled "Right-click to share, rename or delete"+PanelBrushLibrary.cpp ImGui::TextDisabled "The %s brush of the same name is used again."+PanelBrushLibrary.cpp ImGui::TextDisabled "The %s brush stays as it is; the renamed copy goes into your library."+PanelFace.cpp ImGui::Checkbox "Loop##facetake"+PanelFace.cpp ImGui::Checkbox "Parts too##face"+PanelFace.cpp ImGui::Combo "Symmetry##face"+PanelFace.cpp ImGui::SmallButton "Clear##facelm"+PanelFace.cpp ImGui::TextDisabled "Baked: %s (%.1f s, exports with GLB / USD)"+PanelFill.cpp ImGui::Button "<icon> Fill Layer##fill"+PanelForgeSpheres.cpp ImGui::MenuItem "Delete Sphere"+PanelForgeSpheres.cpp ImGui::MenuItem "Insert Between"+PanelForgeSpheres.cpp ImGui::MenuItem "Set as Root"+PanelForgeSpheres.cpp ImGui::TextDisabled "Block out a base mesh from connected spheres, then Make Mesh to sculpt it."+PanelIntegrations.cpp ImGui::Checkbox "Show SculptForge on Discord##prefs.discord"+PanelIntegrations.cpp ImGui::Checkbox "Show the file name##prefs.discord"+PanelIntegrations.cpp ImGui::Checkbox "Show the monthly challenge##prefs.discord"+PanelIntegrations.cpp ImGui::InputTextWithHint "Theme (64 characters at most)"+PanelIntegrations.cpp ImGui::TextWrapped "Nothing else is sent: no folders, no user name, no model details. Needs the Discord app running."+PanelKelvinlet.cpp ImGui::Begin "Capture from view##capture"+PanelKelvinlet.cpp ImGui::Button "Capture again##capture"+PanelKelvinlet.cpp ImGui::Button "Detail Clone##capture"+PanelKelvinlet.cpp ImGui::Button "Save to Library##capture"+PanelKelvinlet.cpp ImGui::Button "Use as Alpha##capture"+PanelKelvinlet.cpp ImGui::Button "Use as VDM##capture"+PanelKelvinlet.cpp ImGui::Checkbox "Clone follows stroke"+PanelKelvinlet.cpp ImGui::Checkbox "Fit plane"+PanelKelvinlet.cpp ImGui::Checkbox "Invert##capture"+PanelKelvinlet.cpp ImGui::InputTextWithHint "Name"+PanelKelvinlet.cpp ImGui::TextDisabled "%zu points, height %.3g, reach %.2f radii"+PanelMaya.cpp ImGui::BeginMenu "Maya"+PanelMaya.cpp ImGui::MenuItem "Get automatically##maya"+PanelMaya.cpp ImGui::MenuItem "Turn the Maya bridge off##maya"+PanelMaya.cpp ImGui::TextDisabled "Folder: %s"+PanelMaya.cpp ImGui::TextDisabled "Needs the SculptForge shelf script in Maya\n(Help > User Guide > Working with Maya)."+PanelMaya.cpp ImGui::TextDisabled "Off: choose an exchange folder first."+PanelPacks.cpp ImGui::InputText "Name##macroname"+PanelPacks.cpp ImGui::TextDisabled "%d commands"+PanelPacks.cpp ImGui::TextDisabled "%d items"+PanelPacks.cpp ImGui::TextDisabled "%s - %s unpacked"+PanelPacks.cpp ImGui::TextDisabled "by %s - %s - %s"+PanelPaintLayers.cpp ImGui::Button "<icon> New"+PanelPbr.cpp ImGui::Selectable "Normal view"+PanelPbr.cpp ImGui::SeparatorText "Material Channels"+PanelPbr.cpp ImGui::SeparatorText "Material"+PanelPbr.cpp ImGui::SetTooltip "%s: %s, %s, %d%%\nClick: on / off. Right-click: blend and opacity."+PanelPbr.cpp ImGui::SetTooltip "%s: roughness %.2f, metallic %.0f"+PanelPbr.cpp ImGui::SliderFloat "Opacity %.0f%%"+PanelPbr.cpp ImGui::TextDisabled "%s on '%s'"+PanelPerformanceProfile.cpp ImGui::Button "Back to automatic"+PanelPerformanceProfile.cpp ImGui::Button "Re-calibrate"+PanelPerformanceProfile.cpp ImGui::Button "Skip"+PanelPerformanceProfile.cpp ImGui::Checkbox "Frame Governor"+PanelPerformanceProfile.cpp ImGui::TextDisabled "Esc"+PanelPerformanceProfile.cpp ImGui::TextUnformatted "Getting to know this computer"+PanelPerformanceProfile.cpp ImGui::TextUnformatted "Hardware profile"+PanelPerformanceProfile.cpp ImGui::TextWrapped "Detected %s, %s -> %s"+PanelPerformanceProfile.cpp ImGui::TreeNode "Manual overrides"+PanelPhone.cpp ImGui::Begin "Capture from phone"+PanelPhone.cpp ImGui::BulletText "Android Chrome says \"This site can't be reached\"\n(ERR_TOO_MANY_RETRIES)? Recent Chrome versions can\nblock every home-network address, even your router.\nUse Firefox on the phone instead and allow it to\nreach local devices when it asks."+PanelPhone.cpp ImGui::BulletText "Linux: allow port %d (TCP and UDP) through the\nfirewall, e.g. sudo ufw allow from\n<your network>/24 to any port %d"+PanelPhone.cpp ImGui::BulletText "Same Wi-Fi: not a guest network, not mobile data."+PanelPhone.cpp ImGui::BulletText "Several networks? Pick the Wi-Fi one under Network."+PanelPhone.cpp ImGui::BulletText "Turn off VPNs on the phone and the computer."+PanelPhone.cpp ImGui::BulletText "Windows: allow SculptForge on private networks\nwhen the firewall asks."+PanelPhone.cpp ImGui::BulletText "macOS: allow incoming connections for SculptForge\n(System Settings > Network > Firewall)."+PanelPhone.cpp ImGui::Button "Try again##phone"+PanelPhone.cpp ImGui::Checkbox "Generate from a photo at once##phone"+PanelPhone.cpp ImGui::Checkbox "Mirror left and right##phone"+PanelPhone.cpp ImGui::Checkbox "Update after each stroke##phone"+PanelPhone.cpp ImGui::SeparatorText "Face"+PanelPhone.cpp ImGui::SeparatorText "Received"+PanelPhone.cpp ImGui::SeparatorText "View in AR"+PanelPhone.cpp ImGui::SetTooltip "Show the folder"+PanelPhone.cpp ImGui::Text "Captures/%s"+PanelPhone.cpp ImGui::Text "On the phone: %s"+PanelPhone.cpp ImGui::Text "Receiving %s (%s)"+PanelPhone.cpp ImGui::Text "and type the code %.3s %.3s"+PanelPhone.cpp ImGui::Text "http://%s"+PanelPhone.cpp ImGui::TextColored "<icon> %d frames, %.1f s"+PanelPhone.cpp ImGui::TextColored "<icon> %s connected"+PanelPhone.cpp ImGui::TextColored "<icon> %s: not seen for %.0f s"+PanelPhone.cpp ImGui::TextColored "Connected (%s), no face for %.0f s"+PanelPhone.cpp ImGui::TextColored "Live over %s, %.0f fps"+PanelPhone.cpp ImGui::TextColored "Preparing the model for the phone..."+PanelPhone.cpp ImGui::TextColored "The phone link couldn't start."+PanelPhone.cpp ImGui::TextColored "This code expires in %.0f s"+PanelPhone.cpp ImGui::TextColored "This computer isn't on a local network."+PanelPhone.cpp ImGui::TextColored "face_weights isn't in this build: the model doesn't move yet."+PanelPhone.cpp ImGui::TextDisabled "<icon> Waiting for your phone..."+PanelPhone.cpp ImGui::TextDisabled "No camera? Open this in the phone's browser:"+PanelPhone.cpp ImGui::TextDisabled "Saved in %s/Captures. Only devices on your network can connect, and only while this window is open."+PanelPhone.cpp ImGui::TextUnformatted "Scan with your phone's camera"+PanelPhone.cpp ImGui::TreeNode "The phone can't open the page?"+PanelSculptable.cpp ImGui::Button "Back##sculptable"+PanelSculptable.cpp ImGui::Button "Cancel##sculptable"+PanelSculptable.cpp ImGui::Button "Find again##sculptable"+PanelSculptable.cpp ImGui::Checkbox "All pieces"+PanelSculptable.cpp ImGui::Checkbox "Face loops"+PanelSculptable.cpp ImGui::Checkbox "Fill holes"+PanelSculptable.cpp ImGui::Checkbox "Keep scan"+PanelSculptable.cpp ImGui::Checkbox "Review##sculptable"+PanelSculptable.cpp ImGui::RadioButton "Texture##sculptcolor"+PanelSculptable.cpp ImGui::RadioButton "Vertex Paint##sculptcolor"+PanelSculptable.cpp ImGui::TextWrapped "Click %s."+PanelSculptable.cpp ImGui::TextWrapped "Drag the dots to move the landmarks (the other side follows). The lines are the loops Quad Remesh will follow."+PanelSculptable.cpp ImGui::TextWrapped "No face found: Place by hand, or Finish without face loops."+PanelSculptable.cpp ImGui::TreeNode "More##sculptable"+PanelSplatTrain.cpp ImGui::Button "Not now"+PanelSplatTrain.cpp ImGui::Button "Project page"+PanelSplatTrain.cpp ImGui::Button "Stop download"+PanelSplatTrain.cpp ImGui::SeparatorText "Train from capture"+PanelSplatTrain.cpp ImGui::Text "Training splat - %s"+PanelSplatTrain.cpp ImGui::TextDisabled "%s elapsed%s"+PanelSplatTrain.cpp ImGui::TextDisabled "%s elapsed, about %s left"+PanelSplatTrain.cpp ImGui::TextDisabled "Training - progress is over the viewport"+PanelSplatTrain.cpp ImGui::TextWrapped "Brush is a free, open-source Gaussian splat trainer (Apache-2.0) that runs on your graphics card - NVIDIA, AMD, Intel or Apple, no CUDA needed. SculptForge runs it as a separate program."+PanelSplatTrain.cpp ImGui::TextWrapped "COLMAP (BSD licence) works out where each photo was taken, which training needs. SculptForge runs it as a separate program."+PanelSplatTrain.cpp ImGui::TextWrapped "Download %s %s (%s) from %s into %s. Its SHA-256 checksum is checked before it is used."+PanelSplatTrain.cpp ImGui::TextWrapped "There is no ready-made %s for this computer. %s"+PanelSplatTrain.cpp ImGui::TextWrapped "Trainer: Brush is not installed yet (it is offered when you start)."+PanelSplatTrain.cpp ImGui::TreeNode "Tools##splattrain"+PanelSupport.cpp ImGui::Begin "Big meshes are faster now##bigmesh"+PanelSupport.cpp ImGui::Begin "SculptForge has a new look##newlook"+PanelSupport.cpp ImGui::Begin "Welcome to SculptForge"+PanelSupport.cpp ImGui::Button "<icon> Sculpted before? Take the quick tour##welcome.tour"+PanelSupport.cpp ImGui::Button "<icon> Start from a head##welcome"+PanelSupport.cpp ImGui::Button "<icon> Start the 10-minute lesson##welcome.lesson"+PanelSupport.cpp ImGui::Button "Close##welcome"+PanelSupport.cpp ImGui::Button "Got it##bigmesh"+PanelSupport.cpp ImGui::Button "Join the community on Discord##welcome"+PanelSupport.cpp ImGui::Button "Keep my layout##newlook"+PanelSupport.cpp ImGui::Button "More starter meshes##welcome"+PanelSupport.cpp ImGui::Button "Open the User Guide##welcome"+PanelSupport.cpp ImGui::Button "Performance settings##bigmesh"+PanelSupport.cpp ImGui::Button "Support SculptForge##about"+PanelSupport.cpp ImGui::Button "Support SculptForge##welcome"+PanelSupport.cpp ImGui::Button "Try it##newlook"+PanelSupport.cpp ImGui::SeparatorText "Founding Members"+PanelSupport.cpp ImGui::SeparatorText "Supporters"+PanelSupport.cpp ImGui::SetTooltip "A neutral human head with clean quads and eye and mouth loops, ready for a portrait."+PanelSupport.cpp ImGui::SetTooltip "Bust, full body, hand, foot, ear, eye, stylised and creature heads, torso and bevelled primitives: Library > Tool > Starter meshes."+PanelSupport.cpp ImGui::SetTooltip "Questions, tips and work in progress: opens the invite in your browser."+PanelSupport.cpp ImGui::SetTooltip "Ten short slides: remeshing, dynamic topology, retopology, levels, masking, cut, brushes and baking, each with a Show me button."+PanelSupport.cpp ImGui::SetTooltip "Your first sculpt: a cute owl head from this sphere, step by step, in about ten minutes."+PanelSupport.cpp ImGui::TextDisabled "Be the first: sculptforge.app/support.html"+PanelSupport.cpp ImGui::TextDisabled "Either way: Preferences > Interface > Look changes it later."+PanelSupport.cpp ImGui::TextUnformatted "AI features:"+PanelSupport.cpp ImGui::TextUnformatted "Coming from:"+PanelSupport.cpp ImGui::TextUnformatted "Pick a look:"+PanelSupport.cpp ImGui::TextWrapped "Background Preview (experimental): a big brush shows under the pen while it's still being worked out."+PanelSupport.cpp ImGui::TextWrapped "Hold Ctrl over any control to see what it does. The User Guide (Shift+F1) explains every tool, and the quick tour shows what is where."+PanelSupport.cpp ImGui::TextWrapped "Neutral grey panels with one orange accent, and the SculptForge layout: menus by task, a status bar and a one-row tool shelf. Your layout stays as it is unless you try it."+PanelSupport.cpp ImGui::TextWrapped "On a dense scan with micro levels, big brushes now keep up with the pen and the view turns smoothly right after a stroke."+PanelSupport.cpp ImGui::TextWrapped "SculptForge is free. A membership adds betas and early builds, a vote on what we build next, Member Requests (ask for a brush or an alpha) and your name in the credits. %s"+PanelSupport.cpp ImGui::TextWrapped "Thank you to everyone who supports SculptForge:"+PanelSupport.cpp ImGui::TextWrapped "The first %d members, with our thanks for good:"+PanelSupport.cpp ImGui::TextWrapped "Two settings in Preferences > Performance help most on big meshes:"+PanelSupport.cpp ImGui::TextWrapped "View resolution 75%%: draws about half the pixels, for integrated graphics and big screens."+PanelSupportCard.cpp ImGui::Button "Become a member##member_card.become"+PanelSupportCard.cpp ImGui::Button "I'm already a member##member_card.already"+PanelSupportCard.cpp ImGui::Button "I'm already a member##prefs.member_verify"+PanelSupportCard.cpp ImGui::Button "Not now##member_card.not_now"+PanelSupportCard.cpp ImGui::Button "Show the memberships"+PanelSupportCard.cpp ImGui::SetTooltip "Nothing about memberships for a week."+PanelSupportCard.cpp ImGui::SetTooltip "Sign in with GitHub (the member builds' sign-in): no more cards."+PanelSupportCard.cpp ImGui::TextWrapped "The first %d members are Founding Members: a badge, their name in the credits and their price locked for good."+PanelTexture.cpp ImGui::Checkbox "Show texture"+PanelTexture.cpp ImGui::TextDisabled "%dx%d texture, %d layer%s"+PanelTexture.cpp ImGui::TextDisabled "No UVs: Auto UV makes them"+PanelTexture.cpp ImGui::TextDisabled "Paint into"+PanelTexture.cpp ImGui::TextDisabled "UVs, no texture yet"+PanelTimeline.cpp ImGui::InputText "File"+PanelTimeline.cpp ImGui::SetTooltip "Branch from step %zu: %zu step%s, ending with \"%s\"\nClick to make it the active branch"+PanelTimeline.cpp ImGui::SetTooltip "Step %d: %s (%s)\n%u %s, %s%s\nClick or drag to show the model here; right-click to re-tune"+PanelTimeline.cpp ImGui::TextDisabled "%s %zu branch%s"+PanelUvEditor.cpp ImGui::Begin "UV Editor"+PanelVdm.cpp ImGui::Checkbox "Flip X##vdm"+PanelVdm.cpp ImGui::Checkbox "Flip Y##vdm"+PanelVdm.cpp ImGui::Checkbox "Flip Z##vdm"+PanelVdm.cpp ImGui::Checkbox "Swap Y/Z##vdm"+PanelVdm.cpp ImGui::InputTextWithHint "Name of the new VDM"+PanelVdm.cpp ImGui::SeparatorText "Create"+PanelVdm.cpp ImGui::SeparatorText "Load"+PanelVdm.cpp ImGui::SliderFloat "Scale %.2f"+PanelVdm.cpp ImGui::SliderInt "Map Size %d px"+PanelVdm.cpp ImGui::SliderInt "Plane Res %d"+Pickers.cpp ImGui::BeginMenu "Move to folder##litsphere"+Pickers.cpp ImGui::Button "<icon> Load image..."+Pickers.cpp ImGui::Checkbox "Invert loaded image"+Pickers.cpp ImGui::InputTextWithHint "<icon> Filter alphas"+Pickers.cpp ImGui::MenuItem "Add to bottom shelf"+Pickers.cpp ImGui::MenuItem "Copy brush code"+Pickers.cpp ImGui::MenuItem "Delete##vdm"+Pickers.cpp ImGui::MenuItem "Delete...##brush"+Pickers.cpp ImGui::MenuItem "Lit Spheres (no folder)##litspheremove"+Pickers.cpp ImGui::MenuItem "Remove##litsphere"+Pickers.cpp ImGui::MenuItem "Rename...##brush"+Pickers.cpp ImGui::MenuItem "Reveal in folder"+Pickers.cpp ImGui::MenuItem "Save as .sfbrush..."+Pickers.cpp ImGui::Selectable "New folder...##litsphere"+Pickers.cpp ImGui::Selectable "Rename...##litsphere"+Pickers.cpp ImGui::SetTooltip "One line of text to share in chat, email or a forum"+Pickers.cpp ImGui::SliderFloat "Scatter %.2f"+Pickers.cpp ImGui::TextDisabled "No alpha matches \"%s\""+Pickers.cpp ImGui::TextDisabled "No brush matches \"%s\""+Pickers.cpp ImGui::TextDisabled "Type a letter to narrow the brushes, then press its orange key"+ProofMode.cpp ImGui::Begin "Benchmark results"+ProofMode.cpp ImGui::Button "Cancel"+ProofMode.cpp ImGui::Button "Close"+ProofMode.cpp ImGui::Button "How to share results"+ProofMode.cpp ImGui::Button "Open folder"+ProofMode.cpp ImGui::Button "Start"+ProofMode.cpp ImGui::Checkbox "Keep vertical sync on (frame rate capped at the display's)"+ProofMode.cpp ImGui::Checkbox "Record a video of the run (needs ffmpeg)"+ProofMode.cpp ImGui::Text "%.0f / %.0f ms, %.0f / %.0f px"+ProofMode.cpp ImGui::Text "%.0f ms"+ProofMode.cpp ImGui::Text "%.1f ms"+ProofMode.cpp ImGui::TextColored "Not enough free memory for %s: it will be skipped. Close other apps first."+ProofMode.cpp ImGui::TextColored "The current scene is replaced. Save your work first."+ProofMode.cpp ImGui::TextDisabled "%s of memory free now (%s)"+ProofMode.cpp ImGui::TextDisabled "Clay at 25, 60 and 120 px, Move, Smooth, a 240 px brush, then an orbit: the scene the website's table uses (same as sculptforge --benchmark %s)"+ProofMode.cpp ImGui::TextDisabled "Press Esc to stop the run."+ProofMode.cpp ImGui::TextDisabled "Result: %s"+ProofMode.cpp ImGui::TextDisabled "Video: %s"+ProofMode.cpp ImGui::TextUnformatted "Scene"+ProofMode.cpp ImGui::TextWrapped "A live display shows the frame rate, frame times (median, 95th, 99th percentile), how far the stroke trails the pointer, and memory. The result is saved as JSON beside a video of the run:"+ProofMode.cpp ImGui::TextWrapped "Proof mode measures how responsive sculpting is on this computer. For each mesh size it builds a sphere with subdivision levels, then plays a scripted pen stroke through the same code your pen goes through (240 samples a second), with a normal and a large brush, and turns the view."+QuickTour.cpp ImGui::Begin "New to SculptForge? A quick tour##quicktour"+QuickTour.cpp ImGui::Button "<icon> See memberships##quicktour"+QuickTour.cpp ImGui::Button "<icon> Show me##quicktour"+QuickTour.cpp ImGui::Button "Back##quicktour"+QuickTour.cpp ImGui::Button "Maybe later##quicktour"+QuickTour.cpp ImGui::SetTooltip "Opens it in SculptForge; the tour waits at the bottom."+QuickTour.cpp ImGui::SetTooltip "Opens sculptforge.app/support.html in your browser."+QuickTour.cpp ImGui::SmallButton "Back to the tour##quicktour"+QuickTour.cpp ImGui::SmallButton "Close##quicktour.aside"+QuickTour.cpp ImGui::SmallButton "Next##quicktour.aside"+QuickTour.cpp ImGui::SmallButton "No thanks##quicktour.offer"+QuickTour.cpp ImGui::SmallButton "Take the tour##quicktour.offer"+QuickTour.cpp ImGui::Text "Quick tour %d / %d: %s"+QuickTour.cpp ImGui::TextUnformatted "New to SculptForge? A two-minute tour shows where everything is."+RadialMenu.cpp ImGui::InputTextWithHint "<icon> Search actions"+RadialMenu.cpp ImGui::InputTextWithHint "Name"+Shell.cpp ImGui::TextUnformatted "SculptForge"+Ui.cpp ImGui::TextColored "No parameters."+Ui.cpp ImGui::TextUnformatted "Hold Alt for the scripting parameters."+UserGuide.cpp ImGui::Begin "User Guide"+UserGuide.cpp ImGui::InputTextWithHint "<icon> Search the guide (Ctrl+F)"+UserGuide.cpp ImGui::TextColored "%zu result%s%s"