[Scummvm-git-logs] scummvm master -> 20f845f121e464276b31f70d6e959cd65b0471ce
sev-
noreply at scummvm.org
Sat Feb 28 23:20:17 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
20f845f121 PLAYGROUND3D: Removed translation for keymapper actions
Commit: 20f845f121e464276b31f70d6e959cd65b0471ce
https://github.com/scummvm/scummvm/commit/20f845f121e464276b31f70d6e959cd65b0471ce
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-03-01T00:20:09+01:00
Commit Message:
PLAYGROUND3D: Removed translation for keymapper actions
The engine is strictly for internal use, there is no reason
to translate, and the terms used are very specific and
poorly translatable
Changed paths:
R engines/playground3d/POTFILES
engines/playground3d/metaengine.cpp
diff --git a/engines/playground3d/POTFILES b/engines/playground3d/POTFILES
deleted file mode 100644
index 0c40d21ce4b..00000000000
--- a/engines/playground3d/POTFILES
+++ /dev/null
@@ -1 +0,0 @@
-engines/playground3d/metaengine.cpp
diff --git a/engines/playground3d/metaengine.cpp b/engines/playground3d/metaengine.cpp
index d812095f563..8023ff61254 100644
--- a/engines/playground3d/metaengine.cpp
+++ b/engines/playground3d/metaengine.cpp
@@ -22,7 +22,6 @@
#include "base/plugins.h"
#include "common/system.h"
-#include "common/translation.h"
#include "backends/keymapper/action.h"
#include "backends/keymapper/keymapper.h"
@@ -48,23 +47,24 @@ public:
}
Common::KeymapArray initKeymaps(const char *target) const override {
- Common::Keymap *keymap = new Common::Keymap(Common::Keymap::kKeymapTypeGame, "playground3d", _("Default keymappings"));
+ Common::Keymap *keymap = new Common::Keymap(Common::Keymap::kKeymapTypeGame, "playground3d", Common::U32String("Default keymappings"));
Common::Action *act;
- act = new Common::Action(Common::kStandardActionLeftClick, _("Switch test"));
+ // We intentionally do not translate these
+ act = new Common::Action(Common::kStandardActionLeftClick, Common::U32String("Switch test"));
act->setCustomEngineActionEvent(Playground3d::kActionSwitchTest);
act->addDefaultInputMapping("MOUSE_LEFT");
act->addDefaultInputMapping("JOY_A");
keymap->addAction(act);
- act = new Common::Action("FOG", _("Enable/Disable fog"));
+ act = new Common::Action("FOG", Common::U32String("Enable / Disable fog"));
act->setCustomEngineActionEvent(Playground3d::kActionEnableFog);
act->addDefaultInputMapping("f");
act->addDefaultInputMapping("JOY_X");
keymap->addAction(act);
- act = new Common::Action("SCISSOR", _("Enable/Disable scissor"));
+ act = new Common::Action("SCISSOR", Common::U32String("Enable / Disable scissor"));
act->setCustomEngineActionEvent(Playground3d::kActionEnableScissor);
act->addDefaultInputMapping("s");
act->addDefaultInputMapping("JOY_Y");
More information about the Scummvm-git-logs
mailing list