diff --git a/CHANGELOG.md b/CHANGELOG.md index 1683a6f4..0c65c674 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,9 +56,12 @@ New: - Translate MapMap into Arabic, laid out from right to left with numbers written with the digits 0 to 9, into Hindi and into Russian: choose them in Preferences > Interface > Language, or with `--lang ar`, `hi` or `ru`. No speaker of these languages has read them yet. - See the scene from the projector, with a camera placed next to it: Tools > Auto-Mapping covers the screen of the projector with the output, projects a countdown, then black and white stripes that the camera films, about 15 seconds in all. The scene seen from the projector then shows under the shapes of the output editor, with in red what the camera did not see, to place the shapes on it by hand. Tools > Show Auto-Mapping Image hides it, Tools > Clear Auto-Mapping Image forgets it; it is never saved, and goes with the project. No image of the camera is written to the disk, unless asked with `--auto-mapping-save-images `. `--auto-mapping-simulation` films a computed scene instead, to try it without a camera or a projector. Placing shapes on the flat faces found comes in a later version. - Put layers in groups, which fold in the list of layers and show, hide, lock, put in solo or fade their layers together. Edit > Group (Ctrl+G, Cmd+G on macOS) puts the selected layers in a new group named after them, Ungroup (Ctrl+Shift+G) takes them out, and New Group adds an empty one. Drag a layer onto a group to put it in, or between two rows to place it there; drag a group to move it with its layers. The eye, solo, lock and opacity of a group add to those of its layers, and can be linked to a key or a MIDI control. Deleting a group asks first, then deletes its layers. Each of these is one step to undo. The project keeps the groups and their fold; a project without groups is written as before. OSC reaches groups at `/mapmap/group/...` and puts a layer in one with `/mapmap/layer/group`; the MCP tools `list_groups`, `create_group` and `delete_group` manage them. +- Play a show without moving its shapes by mistake: View > Performance Mode (Ctrl+Shift+L, Cmd+Shift+L on macOS), the red button of the toolbar, or a key, a pad or a button learned on it, switch between edit mode and performance mode, without asking. In performance mode, a red banner, the status bar and the title of the window say so; the vertices are drawn small and red, as on a locked layer, and the shapes cannot be moved, turned or reshaped with the mouse, the keyboard or MIDI controls; adding and deleting layers and sources, dropping media, Create Shapes of the automatic mapping, the output resolution, Undo and Redo are greyed, and their tooltip says why. Showing, hiding, solo, opacity, playback, cues, effects and saving still work, and OSC and MCP can still change everything. The project keeps its mode (the key `performance`, see `docs/project-format.md`); `--performance` starts in performance mode whatever the project says. OSC sets it at `/mapmap/project/performance`, MCP with the kind `project`. Improvements: +- The solo button of the list of layers shows an "S", as on a mixing desk. +- Two quick clicks on the eye, the solo or the lock of a layer switch it twice: the second click was lost, taken for a double click. - The settings panel shows values in pixels without their unit, and numbers without thousands separators: 1024, not 1,024 px. - A bottom section under the editor, hidden at first, holds tabs; Window > Editor, Bottom Section, and Editor and Bottom Section (Ctrl+Alt+1, 2 and 3; Cmd+Option on macOS), two buttons beside its tabs and the OSC address `/mapmap/view/panels` show one, the other or both, and MapMap remembers the choice. - The frames per second in the status bar keep the same width as they change: the other boxes of the status bar no longer move each second. @@ -82,6 +85,7 @@ Improvements: Changes: +- The lock of a layer now also keeps its shapes from the keys and MIDI controls linked to its vertices, and from the arrow keys, which moved the selected vertex of a locked layer. OSC and MCP still move them. - Clicking again on the selected layer no longer switches to scaling or rotating, and the M key does nothing. Use the handle of the layer instead: R, S and T choose what it does. - The two meshes of a layer always keep the same grid. - Dragging the center point of an ellipse in perspective moves it inside the outline, which stays in place: the image tilts and the four other points slide along the outline. It no longer moves the whole ellipse; drag the inside of the ellipse for that. Without perspective, the center point still moves the ellipse. diff --git a/OSC b/OSC index e9f8d14c..e371991d 100644 --- a/OSC +++ b/OSC @@ -118,6 +118,20 @@ Examples:: /mapmap/layer/vertex/source/xy ,iiff 0 2 320.0 240.0 +Project +------- + +:: + + /mapmap/project/ Write a setting of the project itself, which has no id. + /mapmap/project/performance ,i 0|1 Go into performance mode (1), or back to edit mode (0). + +In performance mode the shapes of the layers cannot be moved or changed from +the interface, the keys or controllers, and nothing can be added or deleted. +OSC and MCP still move them, so that a control desk or a script keeps its +hand during a show. + + Output window ------------- diff --git a/docs/informations/mapmap-keyboard-shortcuts.md b/docs/informations/mapmap-keyboard-shortcuts.md index a9a5d4e6..c96951fe 100644 --- a/docs/informations/mapmap-keyboard-shortcuts.md +++ b/docs/informations/mapmap-keyboard-shortcuts.md @@ -40,6 +40,7 @@ | Ctrl + F | Output fills a screen, or back to how it was shown | | Ctrl + Shift + F | Output in a window | | Escape | Bring MapMap back from the screen covered by the output | +| Ctrl + Shift + L | Performance mode: lock the shapes for the show, or back to edit mode | | Alt + T | Show/Hide test signal | | Alt + C | Show/Hide controls | | Alt + U | Show/Hide undo history | diff --git a/docs/informations/osc.md b/docs/informations/osc.md index 7880dcff..5807a818 100644 --- a/docs/informations/osc.md +++ b/docs/informations/osc.md @@ -127,6 +127,15 @@ Play: `/mapmap/play` Rewind/reset: `/mapmap/rewind` Quit: `/mapmap/quit` +## Project + +The settings of the project itself have no id: `/mapmap/project/ `. + +Go into performance mode, where the shapes of the layers cannot be moved or changed from the interface, the keys or controllers, and nothing can be added or deleted: `/mapmap/project/performance ,i 1` +Back to edit mode: `/mapmap/project/performance ,i 0` + +OSC and MCP still move the shapes in performance mode, so that a control desk or a script keeps its hand during a show. + ## Output window Hide the output, show it in a window, or cover the output screen: `/mapmap/output/mode ,s ` diff --git a/docs/project-format.md b/docs/project-format.md index c6802df3..34c81d61 100644 --- a/docs/project-format.md +++ b/docs/project-format.md @@ -30,6 +30,10 @@ The keys of earlier versions in camelCase or PascalCase (`className`, `sourceId` A MapMap project is a JSON object. The writer emits `sources` and `layers` arrays, including when they are empty. A layer refers to its source by a numeric ID. Array order matters: the first layer is at the top of the stack. Mesh vertices are in row-major order. An older project may omit `output_resolution`, which earlier versions wrote `outputResolution`: read it when `output_resolution` is absent, and write only `output_resolution`. +The settings of the project itself are keys of this object, written only when they differ from their default, so that a project that does not use them keeps the same bytes: + +- `performance`, `true` when the project was saved in performance mode: the shapes cannot be changed with the mouse, the keyboard or controllers, and no layer or source can be added or deleted. Without it, the project opens in edit mode. Its address is `/mapmap/project/performance` by OSC, the kind `project` by MCP, and the element `project` by links. + The current development reader accepts earlier setting names such as `sourceId` and `nColumns`. When both spellings occur, the current spelling takes precedence. IDs and coordinates are already JSON numbers. Beta.1 stores many settings as strings. Beta.2 reads those projects directly. Saving a project writes the beta.2 format, with native numbers and booleans. Use Save As to keep a copy that beta.1 can read. ## Beta.2 file format @@ -172,7 +176,7 @@ Each link has a `trigger`, a `target` and an `action`: - `trigger.kind` is `key` for a key of the computer keyboard. `trigger.key` is the key and its modifiers in the portable text of `QKeySequence`, such as `M` or `Shift+M`: the same in every language of the system. - `trigger.kind` is `midi` for a MIDI device: `trigger.message` is `control` (a control change: a knob, a fader, some buttons) or `note` (a key, a pad), `trigger.channel` the channel, from 1 to 16, and `trigger.number` the number of the control or of the note, from 0 to 127. The port is not written: a device plugged into another port, or replaced by another one, keeps its links. -- `target.element` is `source` or `layer`, `target.id` the id of the element, `target.setting` the path of the setting, as in OSC. `target.component`, `x` or `y`, makes the link drive one coordinate of a point, such as a vertex (`output/vertices/2`); without it, the link drives the whole value. +- `target.element` is `source`, `layer` or `group`, `target.id` the id of the element, `target.setting` the path of the setting, as in OSC. `target.element` is `project` for a setting of the project itself, such as `performance`, without `target.id`. `target.component`, `x` or `y`, makes the link drive one coordinate of a point, such as a vertex (`output/vertices/2`); without it, the link drives the whole value. - `action` is `toggle`, `on`, `off`, `follow`, `increase`, `decrease` or `relative`. A link without an action toggles. `follow`, which sets the setting at the position of the control, and `relative`, which moves it as much as the control turned since its previous message, are only for a MIDI `control`. `increase` and `decrease` move a number by a hundredth of its range, or a coordinate by a pixel. A coordinate only takes `increase`, `decrease` and `relative`. ```json diff --git a/resources/images/icons/performance_w.svg b/resources/images/icons/performance_w.svg new file mode 100644 index 00000000..063de965 --- /dev/null +++ b/resources/images/icons/performance_w.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/resources/interface.qrc b/resources/interface.qrc index d21dc7fc..b28a63c2 100644 --- a/resources/interface.qrc +++ b/resources/interface.qrc @@ -10,6 +10,7 @@ images/icons/add_movie_w.png images/icons/add_camera_w.png images/icons/add_generator_w.png + images/icons/performance_w.svg images/icons/syphon-white.png images/shapes/add_quad.png images/shapes/add_triangle.png diff --git a/src/app/main.cpp b/src/app/main.cpp index 1f7f65c2..25157550 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -163,6 +163,12 @@ int main(int argc, char *argv[]) "Cover the output screen with the output, without asking (see --output-screen)."); parser.addOption(fullscreenOption); + // --performance option + QCommandLineOption performanceOption("performance", + "Start in performance mode, even if the project was saved in edit mode: the shapes are locked against " + "the mouse, the keyboard and controllers, and nothing can be added or deleted."); + parser.addOption(performanceOption); + // --output-screen option QCommandLineOption outputScreenOption("output-screen", "Show the output on for this session: its name, as --list-screens writes it, or its number in that list.", @@ -370,6 +376,10 @@ int main(int argc, char *argv[]) win->loadFile(projectFileValue); } + // After the project, which may have been saved in edit mode. + if (parser.isSet(performanceOption)) + win->getMappingManager().setPerformanceMode(true); + QString oscPortValue = parser.value("osc-port"); if (oscPortValue != "") win->setOscPort(oscPortValue); diff --git a/src/control/McpServer.cpp b/src/control/McpServer.cpp index fadfb836..fda637f7 100644 --- a/src/control/McpServer.cpp +++ b/src/control/McpServer.cpp @@ -441,17 +441,20 @@ QJsonObject McpServer::handleToolsCall(const QJsonObject& params) const QString property = args.value("property").toString(); const QVariant value = args.value("value").toVariant(); + // The project itself has settings too, such as "performance", and no id. + const bool project = kind == "project"; QSharedPointer element; if (kind == "source") element = mm.getSourceById(id); else if (kind == "layer") element = mm.getLayerById(id); else if (kind == "group") element = mm.getGroupById(id); - else return textResult("'kind' must be \"source\", \"layer\" or \"group\".", true); + else if (!project) return textResult("'kind' must be \"source\", \"layer\", \"group\" or \"project\".", true); - if (element.isNull()) return textResult(QString("No %1 with id %2.").arg(kind).arg(id), true); + if (!project && element.isNull()) return textResult(QString("No %1 with id %2.").arg(kind).arg(id), true); if (property.isEmpty()) return textResult("Missing required argument 'property'.", true); - SettingNode* node = element->settings()->findNode(property); - if (!node) return textResult(QString("No setting '%1' on %2 %3.").arg(property, kind).arg(id), true); + const QString owner = project ? kind : QString("%1 %2").arg(kind).arg(id); + SettingNode* node = (project ? mm.settings() : element->settings())->findNode(property); + if (!node) return textResult(QString("No setting '%1' on %2.").arg(property, owner), true); if (node->kind() != SettingNode::SettingKind) return textResult(QString("'%1' is a %2, not a setting: use list_settings to find the settings below it.") .arg(property, node->kind() == SettingNode::GroupKind ? "group" : "list"), true); @@ -462,10 +465,12 @@ QJsonObject McpServer::handleToolsCall(const QJsonObject& params) // A point or a range is given as an array of two numbers; anything else as one value. const QVariantList arguments = (value.typeId() == QMetaType::QVariantList) ? value.toList() : QVariantList { value }; - if (!writeRemoteSetting(*element, setting, arguments, sameMediaSourceAllowed())) - return textResult(QString("Could not set '%1' on %2 %3: value refused.").arg(property, kind).arg(id), true); + const bool written = project ? setting->setFromArguments(arguments) + : writeRemoteSetting(*element, setting, arguments, sameMediaSourceAllowed()); + if (!written) + return textResult(QString("Could not set '%1' on %2: value refused.").arg(property, owner), true); _mainWindow->updateCanvases(); - return textResult(QString("Set %1 %2 property '%3'.").arg(kind).arg(id).arg(property)); + return textResult(QString("Set %1 property '%2'.").arg(owner, property)); } // ---- Effects ---- @@ -527,6 +532,7 @@ QJsonObject McpServer::handleToolsCall(const QJsonObject& params) state["nSources"] = mm.nSources(); state["nLayers"] = mm.nLayers(); state["nGroups"] = mm.nGroups(); + state["performance"] = mm.isPerformanceMode(); state["currentSourceId"] = static_cast(_mainWindow->getCurrentSourceId()); state["currentLayerId"] = static_cast(_mainWindow->getCurrentLayerId()); return jsonResult(state); @@ -570,10 +576,10 @@ QJsonObject McpServer::handleToolsCall(const QJsonObject& params) if (kind == "source") element = mm.getSourceById(id); else if (kind == "layer") element = mm.getLayerById(id); else if (kind == "group") element = mm.getGroupById(id); - else return textResult("'kind' must be \"source\", \"layer\" or \"group\".", true); - if (element.isNull()) return textResult(QString("No %1 with id %2.").arg(kind).arg(id), true); + else if (kind != "project") return textResult("'kind' must be \"source\", \"layer\", \"group\" or \"project\".", true); + if (kind != "project" && element.isNull()) return textResult(QString("No %1 with id %2.").arg(kind).arg(id), true); QJsonObject result; - result["settings"] = describeSettings(element->settings()); + result["settings"] = describeSettings(kind == "project" ? mm.settings() : element->settings()); return jsonResult(result); } if (name == "get_layer") @@ -800,14 +806,14 @@ QJsonArray McpServer::toolDefinitions() const }, QJsonArray{"id", "vertices"})); tools.append(tool("set_property", - "Set a setting of a source, a layer or a group (e.g. name, opacity, color, uri, group_id, or a path such as output/vertices/0; see list_settings). A point or a range takes an array of two numbers.", + "Set a setting of a source, a layer, a group or the project itself (e.g. name, opacity, color, uri, group_id, or a path such as output/vertices/0; see list_settings). A point or a range takes an array of two numbers. The project has no id; its setting performance (true or false) puts it in performance mode, where the shapes cannot be moved from the interface, the keys or controllers, but still can be by MCP and OSC.", QJsonObject{ - {"kind", prop("string", "\"source\", \"layer\" or \"group\".")}, - {"id", prop("integer", "Element id.")}, + {"kind", prop("string", "\"source\", \"layer\", \"group\" or \"project\".")}, + {"id", prop("integer", "Element id; ignored for the project.")}, {"property", prop("string", "Setting name or path.")}, {"value", QJsonObject{{"description", "Property value (type depends on the property)."}}} }, - QJsonArray{"kind", "id", "property", "value"})); + QJsonArray{"kind", "property", "value"})); tools.append(tool("list_effect_types", "List the kinds of effects that can be put on a source or a layer, with the category each is " @@ -833,7 +839,7 @@ QJsonArray McpServer::toolDefinitions() const QJsonArray{"kind", "id", "effect_id"})); tools.append(tool("get_state", - "Get overall state: playing, fps, counts and current selection.", + "Get overall state: playing, fps, counts, current selection, and performance (true in performance mode).", QJsonObject(), QJsonArray())); tools.append(tool("list_sources", "List all sources with their summary fields: id, name, opacity, locked, " "type (as in project files, such as \"mapmap:video\" or \"mapmap.shaders:checker.fs\") and " @@ -843,14 +849,14 @@ QJsonArray McpServer::toolDefinitions() const "group_id: the id of its group, or 0.", QJsonObject(), QJsonArray())); tools.append(tool("list_settings", - "List every setting of a source, a layer or a group with its path, type, value, bounds, unit and options. " + "List every setting of a source, a layer, a group or the project itself with its path, type, value, bounds, unit and options. " "Values and bounds are in the stored range, which set_property takes: an opacity goes from 0 to 1. " "displayScale, when given, is the factor to the number shown to the user (100 for a percentage).", QJsonObject{ - {"kind", prop("string", "\"source\", \"layer\" or \"group\".")}, - {"id", prop("integer", "Element id.")} + {"kind", prop("string", "\"source\", \"layer\", \"group\" or \"project\".")}, + {"id", prop("integer", "Element id; ignored for the project.")} }, - QJsonArray{"kind", "id"})); + QJsonArray{"kind"})); tools.append(tool("get_source", "Get all properties of a source, and its effects.", QJsonObject{{"id", prop("integer", "Source id.")}}, QJsonArray{"id"})); tools.append(tool("get_layer", "Get all properties of a layer, and its effects.", diff --git a/src/control/OscAction.cpp b/src/control/OscAction.cpp index c3ff7ced..66311eec 100644 --- a/src/control/OscAction.cpp +++ b/src/control/OscAction.cpp @@ -382,6 +382,21 @@ OscAction parseOscAction(const QString& address, const QVariantList& args) return parseGroup(rest.mid(1), args); } + // The settings of the project itself: /mapmap/project/ . + if (head == QLatin1String("project")) + { + if (rest.size() < 2) + return invalid("project command is missing the path of a setting"); + const QString path = rest.mid(1).join('/'); + if (args.isEmpty()) + return invalid("setting '" + path + "' of the project is missing its value"); + OscAction a; + a.type = OscAction::ProjectSetting; + a.path = path; + a.values = args; + return a; + } + if (head == QLatin1String("output")) return parseOutput(rest.mid(1), args); diff --git a/src/control/OscAction.h b/src/control/OscAction.h index a8e1fb20..14ebbd73 100644 --- a/src/control/OscAction.h +++ b/src/control/OscAction.h @@ -70,6 +70,9 @@ struct OscAction { GroupProperty, ///< Set a property of a group, named after the selector. GroupSetting, ///< Write a setting of a group, addressed by its path. + // The project itself. + ProjectSetting, ///< Write a setting of the project, such as "performance", by its path. + // The output window. OutputSetMode, ///< Hide the output, show it in a window, or cover a screen. OutputSetScreen, ///< Choose the output screen, by name or by number from 1 (selector). @@ -139,7 +142,8 @@ struct OscAction { * by id in the address and follows the path of one of its settings: * "/mapmap/layer/3/output/vertices/5" ; it is recognized when the * segment after "layer", "source" or "group" is made of digits only, and every argument - * is part of the value. + * is part of the value. The settings of the project itself have no id: + * "/mapmap/project/performance" . * * @param address the full OSC path, e.g. "/mapmap/layer/vertex/source/xy". * @param args the OSC arguments, NOT including the address or the type tags. diff --git a/src/control/OscInterface.cpp b/src/control/OscInterface.cpp index 47512dc5..1cfdeda0 100644 --- a/src/control/OscInterface.cpp +++ b/src/control/OscInterface.cpp @@ -409,6 +409,18 @@ bool OscInterface::applyAction(MainWindow &main_window, const OscAction& action) return handled; } + // The settings of the project itself, such as the performance mode. + case OscAction::ProjectSetting: + { + Setting* setting = manager.settings()->find(action.path); + if (!setting) + { + qWarning() << "OSC: the project has no setting at" << action.path; + return false; + } + return setting->setFromArguments(action.values); + } + // Per-group commands: the settings of the group, as those of a layer. case OscAction::GroupProperty: case OscAction::GroupSetting: diff --git a/src/core/Element.cpp b/src/core/Element.cpp index 39fa8948..9dfa56c7 100644 --- a/src/core/Element.cpp +++ b/src/core/Element.cpp @@ -62,7 +62,7 @@ Element::Element(uid id, UidAllocator* allocator) : _name(""), _isLocked(false), root->addSetting(SettingInfo::boolean("locked", tr("Locked")) .hidden() - .description(tr("Whether this element is protected from changes made with the mouse."))) + .description(tr("Whether this element is protected from changes made with the mouse, the keyboard and controllers."))) ->bind([this]() { return QVariant(isLocked()); }, [this](const QVariant& value) { setLocked(value.toBool()); return true; }); diff --git a/src/core/Link.cpp b/src/core/Link.cpp index 22448492..ad758de7 100644 --- a/src/core/Link.cpp +++ b/src/core/Link.cpp @@ -52,6 +52,7 @@ const QString NOTE_MESSAGE = QStringLiteral("note"); const QString SOURCE_ELEMENT = QStringLiteral("source"); const QString LAYER_ELEMENT = QStringLiteral("layer"); const QString GROUP_ELEMENT = QStringLiteral("group"); +const QString PROJECT_ELEMENT = QStringLiteral("project"); const QString TOGGLE_ACTION = QStringLiteral("toggle"); const QString ON_ACTION = QStringLiteral("on"); const QString OFF_ACTION = QStringLiteral("off"); @@ -229,7 +230,9 @@ LinkTarget LinkTarget::withComponent(Component other) const bool LinkTarget::isValid() const { - return id > NULL_UID && !path.isEmpty(); + if (path.isEmpty()) + return false; + return element == ProjectElement ? id == NULL_UID : id > NULL_UID; } QString LinkTarget::elementWord(ElementKind element) @@ -238,6 +241,7 @@ QString LinkTarget::elementWord(ElementKind element) { case SourceElement: return SOURCE_ELEMENT; case GroupElement: return GROUP_ELEMENT; + case ProjectElement: return PROJECT_ELEMENT; case LayerElement: break; } return LAYER_ELEMENT; @@ -247,7 +251,8 @@ QJsonObject LinkTarget::toJson() const { QJsonObject object; object[ELEMENT_KEY] = elementWord(element); - object[ID_KEY] = id; + if (element != ProjectElement) + object[ID_KEY] = id; object[SETTING_KEY] = path; // The whole value is written as before, without a component. if (component == XCoordinate) @@ -267,8 +272,11 @@ LinkTarget LinkTarget::fromJson(const QJsonObject& object) target.element = LayerElement; else if (element == GROUP_ELEMENT) target.element = GroupElement; + else if (element == PROJECT_ELEMENT) + target.element = ProjectElement; else return LinkTarget(); + // The project has no id: one written anyway makes the target invalid. target.id = object.value(ID_KEY).toInt(NULL_UID); target.path = object.value(SETTING_KEY).toString(); if (object.contains(COMPONENT_KEY)) { @@ -285,10 +293,9 @@ LinkTarget LinkTarget::fromJson(const QJsonObject& object) QString LinkTarget::describe() const { - QString text = QStringLiteral("%1 %2, %3") - .arg(elementWord(element)) - .arg(id) - .arg(path); + QString text = element == ProjectElement + ? QStringLiteral("%1, %2").arg(elementWord(element), path) + : QStringLiteral("%1 %2, %3").arg(elementWord(element)).arg(id).arg(path); if (component != WholeValue) text += QStringLiteral(", ") + (component == XCoordinate ? X_COMPONENT : Y_COMPONENT); return text; diff --git a/src/core/Link.h b/src/core/Link.h index 6363115e..57f8e464 100644 --- a/src/core/Link.h +++ b/src/core/Link.h @@ -22,7 +22,8 @@ * Links: what a trigger, such as a key of the computer keyboard or a knob of a MIDI device, * does to a setting. * - * A link joins a trigger to a target, the setting of a source or of a layer, and says what + * A link joins a trigger to a target, the setting of a source, of a layer, of a group or of the + * project itself, and says what * the trigger does to it (its action). The links of a project are kept in a LinkTable, saved * with the project. A trigger drives one setting only, and a setting has at most one trigger * of each kind for each action: one key that toggles it, one that turns it on, one that turns @@ -113,8 +114,8 @@ struct LinkTrigger { /// The setting a link drives, or one coordinate of a point. struct LinkTarget { - /// The kinds of elements whose settings can be linked. - enum ElementKind { SourceElement, LayerElement, GroupElement }; + /// The kinds of elements whose settings can be linked. The project is one, without an id. + enum ElementKind { SourceElement, LayerElement, GroupElement, ProjectElement }; /// What part of the value a link drives: all of it, or one coordinate of a point, such as /// a vertex of a shape, which has no position between 0 and 1. @@ -123,7 +124,7 @@ struct LinkTarget { /// The kind of the element. ElementKind element = LayerElement; - /// The id of the element. + /// The id of the element; NULL_UID for the project. uid id = NULL_UID; /// The path of the setting in the tree of the element, such as "visible", "opacity" or @@ -140,20 +141,22 @@ struct LinkTarget { /// Returns the same setting, with another component. LinkTarget withComponent(Component other) const; - /// Returns true when the target names an element and a setting. + /// Returns true when the target names an element and a setting: an id, except for the + /// project, which has none. bool isValid() const; - /// Returns the word of a kind of element in project files: "source", "layer" or "group". + /// Returns the word of a kind of element in project files: "source", "layer", "group" or + /// "project". static QString elementWord(ElementKind element); - /// Returns the target as written in project files. + /// Returns the target as written in project files; the project has no "id". QJsonObject toJson() const; /// Reads a target written by toJson(); returns an invalid target when it cannot. static LinkTarget fromJson(const QJsonObject& object); - /// Returns the target as text for warnings, such as "layer 3, visible" or - /// "layer 3, output/vertices/2, x". + /// Returns the target as text for warnings, such as "layer 3, visible", + /// "layer 3, output/vertices/2, x" or "project, performance". QString describe() const; bool operator==(const LinkTarget& other) const; diff --git a/src/core/MM.cpp b/src/core/MM.cpp index bd746d45..43bfaac3 100644 --- a/src/core/MM.cpp +++ b/src/core/MM.cpp @@ -61,6 +61,7 @@ const QColor MM::MID_GRAY("#4c4f5b"); const QColor MM::DARK_BLUE("#0C0927"); const QColor MM::LEARNED_KEYS_OFF_COLOR("#F0A030"); const QColor MM::LEARN_COLOR("#3DAEE9"); +const QColor MM::PERFORMANCE_COLOR("#B00020"); const QColor MM::LIGHT_RED("#69020B"); const QColor MM::DARK_RED("#380b19"); diff --git a/src/core/MM.h b/src/core/MM.h index 829f3733..3a422883 100644 --- a/src/core/MM.h +++ b/src/core/MM.h @@ -123,6 +123,9 @@ class MM static const QColor DARK_RED; /// Colour of learning: the outlines of the controls one can link, and the banner. static const QColor LEARN_COLOR; + /// Colour of the performance mode: its button, its banner and its label, with white text + /// that reads on it in light and dark themes alike. + static const QColor PERFORMANCE_COLOR; /// Text of the status bar when the learned keys are turned off. static const QColor LEARNED_KEYS_OFF_COLOR; diff --git a/src/core/MappingManager.cpp b/src/core/MappingManager.cpp index d934855f..fdb9c080 100644 --- a/src/core/MappingManager.cpp +++ b/src/core/MappingManager.cpp @@ -29,10 +29,60 @@ namespace mmp { MappingManager::MappingManager() : _links(new LinkTable), - _cues(new MediaCues) + _cues(new MediaCues), + _settings(new SettingGroup), + _performance(false) { - // TODO Auto-generated constructor stub + _settings->setListener(this); + _settings->addSetting(SettingInfo::boolean(ProjectLabels::PERFORMANCE, tr("Performance Mode")) + .description(tr("Whether the show is played: the shapes of the layers are locked against " + "the mouse, the keyboard and controllers, and nothing can be added or deleted."))) + ->bind([this]() { return QVariant(_performance); }, + [this](const QVariant& value) { setPerformanceMode(value.toBool()); return true; }); +} + +void MappingManager::setPerformanceMode(bool performance) +{ + if (performance == _performance) + return; + _performance = performance; + _settings->find(ProjectLabels::PERFORMANCE)->notifyChanged(); + emit performanceModeChanged(performance); +} + +bool MappingManager::canChangeGeometry(const MShape* shape, ChangeOrigin origin) const +{ + if (origin == ChangeOrigin::Osc || origin == ChangeOrigin::Mcp) + return true; + return !_performance && !(shape && shape->isLocked()); +} +bool MappingManager::canChangeGeometry(const Layer* layer, ChangeOrigin origin) const +{ + if (origin == ChangeOrigin::Osc || origin == ChangeOrigin::Mcp) + return true; + return !_performance && !(layer && layer->isLocked()); +} + +Setting* MappingManager::linkWritableSetting(const LinkTarget& target) const +{ + Setting* setting = linkTargetSetting(target); + if (!setting || !setting->info().isGeometry()) + return setting; + const Layer* layer = target.element == LinkTarget::LayerElement ? layerMap.value(target.id).data() : nullptr; + return canChangeGeometry(layer, ChangeOrigin::Link) ? setting : nullptr; +} + +void MappingManager::resetSettings() +{ + for (SettingNode* node : _settings->children()) + if (node->kind() == SettingNode::SettingKind) + static_cast(node)->reset(); +} + +void MappingManager::settingValueChanged(const QString& path, const QVariant& value) +{ + emit settingChanged(path, value); } QMap MappingManager::getSourceLayers(const Source::ptr source) const @@ -408,10 +458,14 @@ void MappingManager::clearAll() _cues->clear(); _unknownProjectKeys = QJsonObject(); _unusableLinks = QJsonArray(); + resetSettings(); } Element::ptr MappingManager::linkTargetElement(const LinkTarget& target) const { + // The project is not an element: its settings are found by linkTargetSetting(). + if (target.element == LinkTarget::ProjectElement) + return Element::ptr(); if (target.element == LinkTarget::SourceElement) return sourceMap.value(target.id); if (target.element == LinkTarget::GroupElement) @@ -421,6 +475,8 @@ Element::ptr MappingManager::linkTargetElement(const LinkTarget& target) const Setting* MappingManager::linkTargetSetting(const LinkTarget& target) const { + if (target.element == LinkTarget::ProjectElement) + return _settings->find(target.path); const Element::ptr element = linkTargetElement(target); return element ? element->settings()->find(target.path) : nullptr; } diff --git a/src/core/MappingManager.h b/src/core/MappingManager.h index 2c395850..4f80ef74 100644 --- a/src/core/MappingManager.h +++ b/src/core/MappingManager.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -38,6 +39,7 @@ #include "Layer.h" #include "Link.h" #include "MediaCues.h" +#include "Setting.h" namespace mmp { @@ -45,7 +47,7 @@ namespace mmp { * This is a container class for all the sources and mappings ie. the main model object that allows * CRUD over sources and mappings. */ -class MappingManager : public QObject +class MappingManager : public QObject, public SettingListener { Q_OBJECT public: @@ -76,6 +78,12 @@ class MappingManager : public QObject */ void stackChanged(); + /// The project went into performance mode, or back to edit mode (see isPerformanceMode()). + void performanceModeChanged(bool performance); + + /// A setting of the project itself changed (see settings()). + void settingChanged(const QString& path, const QVariant& value); + private: // Model elements. /// Container for all sources. @@ -112,6 +120,12 @@ class MappingManager : public QObject /// are, so that a project saved by a later version keeps them. QJsonArray _unusableLinks; + /// The settings of the project itself (see settings()). + std::unique_ptr _settings; + + /// True in performance mode (see isPerformanceMode()). + bool _performance; + public: /** * Returns the size of the output frame: the rectangle from (0, 0) to this @@ -160,13 +174,65 @@ class MappingManager : public QObject /// Keeps the links of the project file that this version cannot use, to write them back. void setUnusableLinks(const QJsonArray& links) { _unusableLinks = links; } - /// Returns the element a link target names, or a null pointer when the project has none. + /// Returns the element a link target names, or a null pointer when the project has none, + /// and for a setting of the project itself, which is not an element. Element::ptr linkTargetElement(const LinkTarget& target) const; /// Returns the setting a link target names, or nullptr when the project has no such /// element or the element no such setting. Setting* linkTargetSetting(const LinkTarget& target) const; + /** + * Returns the settings of the project itself, such as "performance". Links reach them with + * the target LinkTarget::ProjectElement, OSC at "/mapmap/project/", and MCP. Those that + * differ from their default value are written at the top of project files, under their id. + */ + SettingGroup* settings() const { return _settings.get(); } + + /// Returns true in performance mode: the show is played, and the shapes of the layers cannot + /// change from the interface, the keys, MIDI or a game controller. + bool isPerformanceMode() const { return _performance; } + + /// Goes into performance mode, or back to edit mode; notifies when it changes. + void setPerformanceMode(bool performance); + + /// Where a change to a project comes from, for canChangeGeometry(). + enum class ChangeOrigin { + /// The interface: the mouse, the arrow keys, the inspector, the menus. + Interface, + /// A link: a key, a MIDI control or a game controller. + Link, + /// An OSC message. + Osc, + /// A tool of the MCP server. + Mcp + }; + + /** + * Returns true when the shape of a layer may change: its vertices, its place, its turn. + * The interface and the links may not change it in performance mode or while the layer is + * locked; OSC and MCP always may, so that a control desk, a script or the automatic mapping + * keep their hand during a show. A null shape or layer has no lock of its own. + */ + bool canChangeGeometry(const MShape* shape, ChangeOrigin origin) const; + bool canChangeGeometry(const Layer* layer, ChangeOrigin origin) const; + + /** + * Returns the setting a link may write: the one linkTargetSetting() returns, or nullptr when + * it changes the shape of a layer (see SettingInfo::geometry()) that canChangeGeometry() + * keeps from links. + */ + Setting* linkWritableSetting(const LinkTarget& target) const; + + /// Puts every setting of the project back to its default value, as in a new project. + void resetSettings(); + + /// Called by the settings of the project when one of them changed. + void settingValueChanged(const QString& path, const QVariant& value) override; + + /// Called by the settings of the project when their structure changed: nothing to do. + void settingStructureChanged() override {} + /** * Removes the links whose target is a setting of an effect of an element, and returns * them, in their order, so that they can be added back (see LinkTable::add()). diff --git a/src/core/ProjectLabels.cpp b/src/core/ProjectLabels.cpp index a90fd3c2..3f6b1948 100644 --- a/src/core/ProjectLabels.cpp +++ b/src/core/ProjectLabels.cpp @@ -38,6 +38,7 @@ const char* ProjectLabels::OUTPUT_RESOLUTION = "output_resolution"; const char* ProjectLabels::FORMER_OUTPUT_RESOLUTION = "outputResolution"; const char* ProjectLabels::LINKS = "links"; const char* ProjectLabels::MEDIA = "media"; +const char* ProjectLabels::PERFORMANCE = "performance"; const char* ProjectLabels::CUES = "cues"; const char* ProjectLabels::NUMBER = "number"; const char* ProjectLabels::TIME = "time"; @@ -127,7 +128,7 @@ int ProjectLabels::compareFormatVersions(const QString& a, const QString& b) bool ProjectLabels::isProjectKey(const QString& key) { for (const char* known : { VERSION, OUTPUT_RESOLUTION, FORMER_OUTPUT_RESOLUTION, SOURCES, LAYERS, GROUPS, - LINKS, MEDIA }) + LINKS, MEDIA, PERFORMANCE }) { if (key == QLatin1String(known)) return true; diff --git a/src/core/ProjectLabels.h b/src/core/ProjectLabels.h index 4aa3ac81..42a4a544 100644 --- a/src/core/ProjectLabels.h +++ b/src/core/ProjectLabels.h @@ -67,6 +67,9 @@ class ProjectLabels { static const char* LINKS; /// The media files of the project that have something of their own, such as cues. static const char* MEDIA; + /// The setting of the project that puts it in performance mode, at the top of project files + /// when it is on. + static const char* PERFORMANCE; /// The cues of a video file in project files, and the group of their settings in a video /// source: "cues//". static const char* CUES; @@ -104,7 +107,7 @@ class ProjectLabels { static const char* GROUP_ID; /// Whether a layer, or a group, is shown. static const char* VISIBLE; - /// Whether an element is protected from changes made with the mouse. + /// Whether an element is protected from changes made with the mouse, the keyboard and controllers. static const char* LOCKED; /// Whether a layer, or a group, is in solo. static const char* SOLO; diff --git a/src/core/ProjectReader.cpp b/src/core/ProjectReader.cpp index 092552ec..a79bd6dc 100644 --- a/src/core/ProjectReader.cpp +++ b/src/core/ProjectReader.cpp @@ -134,6 +134,20 @@ void ProjectReader::parseOutputResolution(const QJsonObject& project) << project[key]; } +void ProjectReader::parseProjectSettings(const QJsonObject& project) +{ + // Each setting of the project is at the top of the file, under its id, only when it differs + // from its default value. + for (SettingNode* node : _manager.settings()->children()) + { + if (node->kind() != SettingNode::SettingKind || !project.contains(node->id())) + continue; + Setting* setting = static_cast(node); + if (!setting->info().isStored() || !setting->setValue(project.value(node->id()).toVariant())) + qWarning() << "Ignoring unreadable project setting" << node->id() << project.value(node->id()); + } +} + QString ProjectReader::errorString() const { return _errorString; @@ -145,6 +159,7 @@ void ProjectReader::parseProject(const QJsonObject& project) manager.clearAll(); parseOutputResolution(project); + parseProjectSettings(project); QJsonArray sources = project[ProjectLabels::SOURCES].toArray(); QJsonArray layers = project[ProjectLabels::LAYERS].toArray(); diff --git a/src/core/ProjectReader.h b/src/core/ProjectReader.h index 355c6328..5e06eaf8 100644 --- a/src/core/ProjectReader.h +++ b/src/core/ProjectReader.h @@ -71,6 +71,8 @@ class ProjectReader void parseProject(const QJsonObject& project); /// Reads the output resolution, if the project has a usable one. void parseOutputResolution(const QJsonObject& project); + /// Reads the settings of the project itself, such as "performance". + void parseProjectSettings(const QJsonObject& project); Source::ptr parseSource(QJsonObject obj, bool legacyPaths); Layer::ptr parseLayer(const QJsonObject& obj); /// Reads the links, once the sources and the layers are read. A link this version cannot diff --git a/src/core/ProjectWriter.cpp b/src/core/ProjectWriter.cpp index b97daa2b..a450cea7 100644 --- a/src/core/ProjectWriter.cpp +++ b/src/core/ProjectWriter.cpp @@ -46,6 +46,17 @@ bool ProjectWriter::writeFile(QIODevice* device, const QString& projectDirectory project[ProjectLabels::OUTPUT_RESOLUTION] = resolution; } + // The settings of the project itself, only when they differ from their default value, so + // that a project that does not use them keeps its bytes. + for (const SettingNode* node : manager.settings()->children()) + { + if (node->kind() != SettingNode::SettingKind) + continue; + const Setting* setting = static_cast(node); + if (setting->info().isStored() && setting->value() != setting->info().defaultValue()) + project[setting->id()] = QJsonValue::fromVariant(setting->value()); + } + // Sources (formerly paints). QJsonArray sources; for (int i=0; i options() const; /// Returns true when a function gives the options: they may change while MapMap runs. @@ -207,6 +213,7 @@ class SettingInfo { bool _readOnly; bool _hidden; bool _momentary; + bool _geometry; }; /// Receives the notifications of a tree. Implemented by Element. diff --git a/src/gui/AutoMappingDialog.cpp b/src/gui/AutoMappingDialog.cpp index b7810e44..d27a2702 100644 --- a/src/gui/AutoMappingDialog.cpp +++ b/src/gui/AutoMappingDialog.cpp @@ -125,8 +125,8 @@ AutoMappingDialog::AutoMappingDialog(MainWindow* mainWindow) QDialogButtonBox* buttons = new QDialogButtonBox(this); _startButton = buttons->addButton(tr("Start"), QDialogButtonBox::AcceptRole); _createButton = buttons->addButton(tr("Create Shapes"), QDialogButtonBox::ActionRole); - _createButton->setToolTip(tr("Make a layer of each face found, with a colour of its own")); - _createButton->setEnabled(false); + _createToolTip = tr("Make a layer of each face found, with a colour of its own"); + _updateCreateButton(); _closeButton = buttons->addButton(QDialogButtonBox::Close); _startButton->setDefault(true); @@ -148,6 +148,8 @@ AutoMappingDialog::AutoMappingDialog(MainWindow* mainWindow) connect(_skipFineStripes, &QCheckBox::toggled, this, &AutoMappingDialog::_updateEstimate); connect(_startButton, &QPushButton::clicked, this, &AutoMappingDialog::_start); connect(_createButton, &QPushButton::clicked, this, &AutoMappingDialog::_createShapes); + connect(&_mainWindow->getMappingManager(), &MappingManager::performanceModeChanged, + this, &AutoMappingDialog::_updateCreateButton); connect(_closeButton, &QPushButton::clicked, this, &AutoMappingDialog::reject); _updateEstimate(); @@ -340,10 +342,11 @@ void AutoMappingDialog::_onFinished() const bool update = !_mainWindow->autoMappingLayers().isEmpty(); _createButton->setText(update ? tr("Update Shapes") : tr("Create Shapes")); - _createButton->setToolTip(update ? tr("Move the layers of the previous scan onto their faces, " - "and make a layer of each new face") - : tr("Make a layer of each face found, with a colour of its own")); - _createButton->setEnabled(quads > 0 || update); + _createToolTip = update ? tr("Move the layers of the previous scan onto their faces, " + "and make a layer of each new face") + : tr("Make a layer of each face found, with a colour of its own"); + _shapesToCreate = quads > 0 || update; + _updateCreateButton(); if (_createButton->isEnabled()) _createButton->setDefault(true); } @@ -467,7 +470,8 @@ void AutoMappingDialog::_createShapes() // The quadrilaterals are layers now: only the outlines to place by hand are left. _showFaces(false); - _createButton->setEnabled(false); + _shapesToCreate = false; + _updateCreateButton(); _closeButton->setDefault(true); QStringList done; @@ -498,6 +502,13 @@ void AutoMappingDialog::_onFailed(const QString& message) } } +void AutoMappingDialog::_updateCreateButton() +{ + const bool performance = _mainWindow->getMappingManager().isPerformanceMode(); + _createButton->setEnabled(_shapesToCreate && !performance); + _createButton->setToolTip(performance ? tr("%1\nLocked in performance mode").arg(_createToolTip) : _createToolTip); +} + void AutoMappingDialog::_setRunning(bool running) { _cameraBox->setEnabled(!running && !simulation); @@ -506,7 +517,10 @@ void AutoMappingDialog::_setRunning(bool running) _startButton->setEnabled(!running && _source); // A new scan finds new faces. if (running) - _createButton->setEnabled(false); + { + _shapesToCreate = false; + _updateCreateButton(); + } _closeButton->setText(running ? tr("Cancel") : tr("Close")); } diff --git a/src/gui/AutoMappingDialog.h b/src/gui/AutoMappingDialog.h index cf528747..906237f1 100644 --- a/src/gui/AutoMappingDialog.h +++ b/src/gui/AutoMappingDialog.h @@ -104,10 +104,17 @@ public slots: /// Draws the faces over the output editor; the quadrilaterals only while they are still to create. void _showFaces(bool withQuads); void _createShapes(); + /// Enables the button that creates the shapes when there are shapes to create or move, except + /// in performance mode, where its tooltip says why. + void _updateCreateButton(); // The faces found by the last scan, in the order of reading. QVector _faces; QPushButton* _createButton; + // True when the last scan found shapes to create or to move. + bool _shapesToCreate = false; + // What the button does, for its tooltip. + QString _createToolTip; MainWindow* _mainWindow; QComboBox* _cameraBox; diff --git a/src/gui/LayerItemDelegate.cpp b/src/gui/LayerItemDelegate.cpp index 1079e4d3..27892f41 100644 --- a/src/gui/LayerItemDelegate.cpp +++ b/src/gui/LayerItemDelegate.cpp @@ -119,10 +119,39 @@ LinkTarget buttonTarget(LayerRowButton button, const QModelIndex& index) return LinkTarget::of(LinkTarget::LayerElement, index.data(LayerTreeModel::LayerIdRole).toInt(), setting); } +/// Draws the solo button as an "S", as on a mixing desk, pale when it does nothing. +void drawSoloButton(QPainter* painter, const QRect& rect, bool enabled) +{ + painter->save(); + QFont font = painter->font(); + font.setBold(true); + font.setPixelSize(MM::MAPPING_LIST_ICON_SIZE); + painter->setFont(font); + QColor color = MM::WHITE; + if (!enabled) + color.setAlphaF(0.35); + painter->setPen(color); + painter->drawText(rect, Qt::AlignCenter, QStringLiteral("S")); + painter->restore(); +} + +/// True in performance mode (see LayerItemDelegate::setPerformanceMode()). +bool performanceMode = false; + +/// Returns true for a button of a layer or of a group that performance mode greys. +bool lockedInPerformance(LayerRowButton button, const QModelIndex& index) +{ + return performanceMode && (isLayerRow(index) || isGroupRow(index)) + && (button == LayerRowButton::Duplicate || button == LayerRowButton::Delete); +} + /// Returns whether a button of a row acts: all of them on a layer, the eye, the solo and the -/// lock on a group, the eye and the cross on a row with a switch. +/// lock on a group, the eye and the cross on a row with a switch; in performance mode, neither +/// the duplicate nor the delete button of a layer or a group. bool buttonActs(LayerRowButton button, const QModelIndex& index) { + if (lockedInPerformance(button, index)) + return false; if (isLayerRow(index)) return true; if (isGroupRow(index)) @@ -132,6 +161,11 @@ bool buttonActs(LayerRowButton button, const QModelIndex& index) } // namespace +void LayerItemDelegate::setPerformanceMode(bool performance) +{ + performanceMode = performance; +} + int layerRowButtonColumn(LayerRowButton button) { return button == LayerRowButton::Hide ? MM::HideColumn : MM::GroupButtonColum; @@ -285,8 +319,10 @@ void LayerItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt { // Solo, lock and duplicate come with several effects: shown greyed, so that the // columns of the buttons stay those of the layers. + drawSoloButton(painter, layerRowButtonRect(LayerRowButton::Solo, rect), + buttonActs(LayerRowButton::Solo, index)); const struct { LayerRowButton button; const char* icon; } buttons[] = { - { LayerRowButton::Solo, ":/solo-mapping" }, { LayerRowButton::Lock, ":/lock-mapping" }, + { LayerRowButton::Lock, ":/lock-mapping" }, { LayerRowButton::Duplicate, ":/duplicate-mapping" }, { LayerRowButton::Delete, ":/delete-mapping" } }; for (const auto& entry : buttons) { @@ -305,14 +341,8 @@ void LayerItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt bool isSolo = index.model()->data(index, LayerTreeModel::SoloRole).toBool(); bool isLocked = index.model()->data(index, LayerTreeModel::LockedRole).toBool(); // Create all mappings buttons: - // solo button - QStyleOptionToolButton mappingSoloButton; - mappingSoloButton.state |= QStyle::State_Enabled; - mappingSoloButton.rect = layerRowButtonRect(LayerRowButton::Solo, rect); - mappingSoloButton.icon = QIcon(":/solo-mapping"); - mappingSoloButton.iconSize = QSize(MM::MAPPING_LIST_ICON_SIZE, - MM::MAPPING_LIST_ICON_SIZE); - mappingSoloButton.text = tr("Solo layer"); + // solo button: an "S", drawn below + const QRect mappingSoloRect = layerRowButtonRect(LayerRowButton::Solo, rect); // lock button QStyleOptionToolButton mappingLockButton; @@ -346,14 +376,13 @@ void LayerItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &opt if (isSolo) { QPainterPath mappingSoloPanel; - mappingSoloPanel.addRoundedRect(mappingSoloButton.rect.adjusted( + mappingSoloPanel.addRoundedRect(mappingSoloRect.adjusted( -2, -2, 2, 2), 4, 4); painter->setPen(QPen()); // No pen painter->fillPath(mappingSoloPanel, MM::DARK_BLUE); painter->drawPath(mappingSoloPanel); } - QApplication::style()->drawControl( QStyle::CE_ToolButtonLabel, - &mappingSoloButton, painter); + drawSoloButton(painter, mappingSoloRect, true); if (isLocked) { @@ -460,6 +489,8 @@ bool LayerItemDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *view, case LayerRowButton::Duplicate: lines << tr("Duplicate layer"); break; case LayerRowButton::Delete: lines << tr("Delete layer"); break; } + if (lockedInPerformance(button, index)) + lines << tr("Locked in performance mode"); const LinkTarget target = buttonTarget(button, index); if (LearnMode* learn = LearnMode::current(); learn && target.isValid()) lines << learn->triggerLines(target); @@ -470,7 +501,10 @@ bool LayerItemDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *view, bool LayerItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) { - if (event->type() == QEvent::MouseButtonPress) + // A second quick click comes as a double click, without a press: on a button it acts as a + // click too, so that two quick clicks switch it twice, and does not rename the layer. + const bool doubleClick = event->type() == QEvent::MouseButtonDblClick; + if (event->type() == QEvent::MouseButtonPress || doubleClick) { QMouseEvent *mouseEvent = static_cast(event); LayerRowButton button; @@ -506,7 +540,7 @@ bool LayerItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, model->setData(index, !(index.data(LayerTreeModel::SoloRole).toBool()), LayerTreeModel::SoloRole); else if (button == LayerRowButton::Lock) model->setData(index, !(index.data(LayerTreeModel::LockedRole).toBool()), LayerTreeModel::LockedRole); - else if (button == LayerRowButton::Delete) + else if (button == LayerRowButton::Delete && buttonActs(button, index)) emit groupRemoved(index.data(LayerTreeModel::GroupIdRole).toInt()); return true; } @@ -525,14 +559,19 @@ bool LayerItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, model->setData(index, !(index.data(LayerTreeModel::LockedRole).toBool()), LayerTreeModel::LockedRole); break; case LayerRowButton::Duplicate: - emit itemDuplicated(index.data(Qt::UserRole).toInt()); + if (buttonActs(button, index)) + emit itemDuplicated(index.data(Qt::UserRole).toInt()); break; case LayerRowButton::Delete: - emit itemRemoved(index.data(Qt::UserRole).toInt()); + if (buttonActs(button, index)) + emit itemRemoved(index.data(Qt::UserRole).toInt()); break; } + // A press goes on to select the layer; a double click stops here. + if (doubleClick) + return true; } - else if (mouseEvent->buttons() & Qt::RightButton && index.isValid()) + else if (!doubleClick && mouseEvent->buttons() & Qt::RightButton && index.isValid()) { emit itemContextMenuRequested(mouseEvent->pos()); } diff --git a/src/gui/LayerItemDelegate.h b/src/gui/LayerItemDelegate.h index 9aa80ed1..3e3ca7e9 100644 --- a/src/gui/LayerItemDelegate.h +++ b/src/gui/LayerItemDelegate.h @@ -67,6 +67,10 @@ class LayerItemDelegate : public QStyledItemDelegate public: LayerItemDelegate(QObject *parent = nullptr); + /// In performance mode, the duplicate and delete buttons of the layers and of the groups are + /// greyed, and say why; the main window refuses them too. Off by default. + static void setPerformanceMode(bool performance); + void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override; QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index bf1ae51b..aa5ca8d8 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -162,6 +162,7 @@ MainWindow::MainWindow() mappingManager = new MappingManager; connect(mappingManager, &MappingManager::layerMoved, this, &MainWindow::showLayerMove); connect(mappingManager, &MappingManager::stackChanged, this, &MainWindow::showStackChange); + connect(mappingManager, &MappingManager::performanceModeChanged, this, &MainWindow::showPerformanceMode); // A cue reached or placed, by a key, a pad, OSC or the inspector, is said in the status bar: // during a show, one sees which cue went. @@ -211,6 +212,25 @@ MainWindow::MainWindow() }); connect(_learnMode, &LearnMode::changed, this, &MainWindow::showLearnMode); + // The settings that change the shape of a layer, such as its vertices, are greyed in the + // inspector while the layer is locked or the project in performance mode. + Inspector::setLockReason([this](const Setting* setting) -> QString { + if (!setting->info().isGeometry()) + return QString(); + const SettingNode* root = setting; + while (root->parent()) + root = root->parent(); + for (int i = 0; i < mappingManager->nLayers(); i++) { + const Layer::ptr layer = mappingManager->getLayer(i); + if (layer->settings() != root) + continue; + if (mappingManager->canChangeGeometry(layer.data(), MappingManager::ChangeOrigin::Interface)) + return QString(); + return mappingManager->isPerformanceMode() ? tr("Locked in performance mode") : tr("Locked with the layer"); + } + return QString(); + }); + // The learned keys, listened to in the whole application. _keyLinkFilter = new KeyLinkFilter(&mappingManager->links(), this); qApp->installEventFilter(_keyLinkFilter); @@ -742,6 +762,8 @@ void MainWindow::addEmptyGroup() void MainWindow::askToDeleteGroup(uid groupId) { + if (refuseInPerformanceMode()) + return; const Group::ptr group = mappingManager->getGroupById(groupId); if (group.isNull()) return; @@ -1110,6 +1132,9 @@ void MainWindow::layerPropertyChanged(uid id, QString propertyName, QVariant val layerLockedAction->setChecked(value.toBool()); } } + // The settings of its shape are greyed in the inspector while it is locked. + if (propertyName == "locked") + Inspector::refreshEditable(); // A layer's new source may have to start or stop playing, whichever layer it is. if (propertyName == ProjectLabels::SOURCE_ID) @@ -1288,6 +1313,8 @@ void MainWindow::dragLeaveEvent(QDragLeaveEvent *event) void MainWindow::dropEvent(QDropEvent *event) { const QMimeData *mimeData = event->mimeData(); + if (dropsMediaInPerformanceMode(mimeData)) + return; if (mimeData->hasUrls()) { // In case that dragged many files @@ -1782,6 +1809,7 @@ void MainWindow::showLearnMode() sourceList->viewport()->update(); learnBanner->setVisible(learning); + showPerformanceButton(); const QString target = _learnMode->hasTarget() ? linkTargetLabel(_learnMode->target()) : QString(); const QString step = learnStepText(); if (!step.isEmpty() && midi) @@ -1967,7 +1995,7 @@ void MainWindow::handleMidiMessage(const QString& port, const MidiMessage& messa statusBar()->showMessage(tr("%1 → %2").arg(trigger.text(), label)); // A control gives its position at once: the setting follows from the first message. if (link.action == LinkAction::Follow) - applyMidiLink(mappingManager->linkTargetSetting(link.target), link.action, message); + applyMidiLink(mappingManager->linkWritableSetting(link.target), link.action, message); return; } @@ -1982,9 +2010,10 @@ void MainWindow::handleMidiMessage(const QString& port, const MidiMessage& messa statusBar()->showMessage(tr("Click a control outlined in blue first, then move %1.").arg(trigger.text())); return; } - // A link to a deleted element does nothing, until the deletion is undone. + // A link to a deleted element does nothing, until the deletion is undone, nor a link to a + // shape that is locked or in performance mode. const Link& link = links.links().at(index); - if (applyMidiLink(mappingManager->linkTargetSetting(link.target), link.action, message, + if (applyMidiLink(mappingManager->linkWritableSetting(link.target), link.action, message, link.target.component, previousValue) && _linksWindow->isVisible()) _linksWindow->flash(index); @@ -1995,9 +2024,11 @@ void MainWindow::applyLink(int index) const LinkTable& links = mappingManager->links(); if (index < 0 || index >= links.count()) return; - // A link to a deleted element does nothing, until the deletion is undone. + // A link to a deleted element does nothing, until the deletion is undone, nor a link to a + // shape that is locked or in performance mode. const Link& link = links.links().at(index); - applyLinkAction(mappingManager->linkTargetSetting(link.target), link.action, link.target.component); + if (!applyLinkAction(mappingManager->linkWritableSetting(link.target), link.action, link.target.component)) + return; // The list of the links shows which one acted. if (_linksWindow->isVisible()) _linksWindow->flash(index); @@ -2013,6 +2044,9 @@ QString MainWindow::linkTargetLabel(const LinkTarget& target) const { const Element::ptr element = mappingManager->linkTargetElement(target); const Setting* setting = mappingManager->linkTargetSetting(target); + // A setting of the project, such as the performance mode, is named alone. + if (target.element == LinkTarget::ProjectElement && setting) + return linkSettingLabel(target, setting); if (!element || !setting) return target.describe(); return tr("%1: %2").arg(element->getName(), linkSettingLabel(target, setting)); @@ -2896,10 +2930,26 @@ void MainWindow::createLayout() bannerLayout->addWidget(stopLearning); learnBanner->setVisible(false); + // The banner across the top of the window in performance mode, red whatever the theme. + performanceBanner = new QWidget; + performanceBanner->setObjectName(QStringLiteral("performanceBanner")); + performanceBanner->setAttribute(Qt::WA_StyledBackground); + performanceBanner->setStyleSheet(QStringLiteral("#performanceBanner { background-color: %1; } " + "#performanceBanner QLabel { color: %2; font-weight: bold; }") + .arg(MM::PERFORMANCE_COLOR.name(), MM::WHITE.name())); + QHBoxLayout* performanceLayout = new QHBoxLayout(performanceBanner); + performanceLayout->setContentsMargins(LEARN_BANNER_MARGIN, LEARN_BANNER_MARGIN / 2, + LEARN_BANNER_MARGIN, LEARN_BANNER_MARGIN / 2); + performanceBannerText = new QLabel(performanceBanner); + performanceBannerText->setWordWrap(true); + performanceLayout->addWidget(performanceBannerText, 1); + performanceBanner->setVisible(false); + QWidget* central = new QWidget; QVBoxLayout* centralLayout = new QVBoxLayout(central); centralLayout->setContentsMargins(0, 0, 0, 0); centralLayout->setSpacing(0); + centralLayout->addWidget(performanceBanner); centralLayout->addWidget(learnBanner); centralLayout->addWidget(mainSplitter, 1); @@ -3660,6 +3710,38 @@ void MainWindow::createActions() // Welcome / onboarding dialog welcomeAction = new QAction(tr("Welcome to %1…").arg(MM::APPLICATION_NAME), this); connect(welcomeAction, &QAction::triggered, this, &MainWindow::showWelcomeDialog); + + // Performance mode: one switch, without confirmation (see showPerformanceMode()). + performanceModeAction = new QAction(tr("&Performance Mode"), this); + performanceModeAction->setIcon(QIcon(":/performance")); + performanceModeAction->setIconVisibleInMenu(false); + performanceModeAction->setShortcut(Qt::CTRL | Qt::SHIFT | Qt::Key_L); + performanceModeAction->setShortcutContext(Qt::ApplicationShortcut); + performanceModeAction->setToolTip(tr("Performance Mode (%1): play the show, with the shapes locked and nothing " + "to add or delete") + .arg(performanceModeAction->shortcut().toString(QKeySequence::NativeText))); + performanceModeAction->setCheckable(true); + addAction(performanceModeAction); + connect(performanceModeAction, &QAction::triggered, this, &MainWindow::triggerPerformanceMode); + + // The commands that add, delete, or change the shape of a layer, disabled together in + // performance mode. In a disabled group, an action stays disabled whatever enables it, and + // gets its own state back when the group is enabled again: a command added to the window + // later is kept from the show by being put here, and nowhere else. + editCommandsGroup = new QActionGroup(this); + editCommandsGroup->setExclusionPolicy(QActionGroup::ExclusionPolicy::None); + for (QAction* action : { importMediaAction, AddCameraAction, addGeneratorAction, + _importLayerMediaAction, addMeshAction, addTriangleAction, addEllipseAction, + duplicateLayerAction, deleteLayerAction, deleteSourceAction, + layerRotate90CWAction, layerRotate90CCWAction, layerRotate180Action, + layerHorizontalFlipAction, layerVerticalFlipAction, outputResolutionAction, + undoAction, redoAction }) + editCommandsGroup->addAction(action); +#ifdef Q_OS_MAC + editCommandsGroup->addAction(addSyphonAction); +#endif + for (QAction* action : recentVideoActions) + editCommandsGroup->addAction(action); } void MainWindow::startFullScreen() @@ -3777,6 +3859,8 @@ void MainWindow::createMenus() viewMenu->addAction(resetZoomAction); viewMenu->addAction(fitToViewAction); viewMenu->addSeparator(); + viewMenu->addAction(performanceModeAction); + viewMenu->addSeparator(); outputMenu = viewMenu->addMenu(tr("&Output")); outputMenu->addAction(outputHiddenAction); outputMenu->addAction(outputWindowAction); @@ -3950,6 +4034,13 @@ void MainWindow::createToolBars() mainToolBar->addAction(addEllipseAction); mainToolBar->addSeparator(); + // Highlighted in red in performance mode, outlined while learning (see showPerformanceButton()). + mainToolBar->addAction(performanceModeAction); + if (QWidget* performanceButton = mainToolBar->widgetForAction(performanceModeAction)) + performanceButton->setObjectName(QStringLiteral("performanceButton")); + showPerformanceButton(); + mainToolBar->addSeparator(); + mainToolBar->addAction(outputButtonAction); // A click covers the screen; the arrow opens the output menu. if (QToolButton* outputButton = qobject_cast(mainToolBar->widgetForAction(outputButtonAction))) @@ -4030,6 +4121,15 @@ void MainWindow::createStatusBar() learnedKeysLabel->setContentsMargins(2, 0, 2, 0); connect(&mappingManager->links(), &LinkTable::changed, this, &MainWindow::showLearnedKeysState); + // "Performance Mode", shown in that mode. + performanceLabel = new QLabel(tr("Performance Mode"), statusBar()); + performanceLabel->setObjectName(QStringLiteral("performanceLabel")); + performanceLabel->setStyleSheet(QStringLiteral("#performanceLabel { background-color: %1; color: %2; " + "font-weight: bold; padding: 0px 6px; }") + .arg(MM::PERFORMANCE_COLOR.name(), MM::WHITE.name())); + performanceLabel->setVisible(false); + statusBar()->addPermanentWidget(performanceLabel); + // Add permanently into the statut bar statusBar()->addPermanentWidget(learnedKeysLabel); statusBar()->addPermanentWidget(currentMessageLabel, 5); @@ -4332,7 +4432,17 @@ void MainWindow::setCurrentFile(const QString &fileName) updateRecentFileActions(); } - setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("MapMap Project"))); + updateWindowTitle(); +} + +void MainWindow::updateWindowTitle() +{ + const QString shownName = curFile.isEmpty() ? tr("Untitled") : strippedName(curFile); + QString title = tr("%1[*] - %2").arg(shownName).arg(tr("MapMap Project")); + // Seen even with the window in the Dock or in the list of windows. + if (mappingManager->isPerformanceMode()) + title = tr("%1 — Performance").arg(title); + setWindowTitle(title); } void MainWindow::setCurrentVideo(const QString &fileName) @@ -5878,9 +5988,9 @@ void MainWindow::connectProjectWidgets() connect(layerListModel, &LayerTreeModel::rowsInserted, this, &MainWindow::updateLayerTreeDecoration); connect(layerListModel, &LayerTreeModel::rowsRemoved, this, &MainWindow::updateLayerTreeDecoration); - connect(layerItemDelegate, &LayerItemDelegate::itemDuplicated, this, &MainWindow::duplicateLayer); + connect(layerItemDelegate, &LayerItemDelegate::itemDuplicated, this, &MainWindow::duplicateLayerFromList); - connect(layerItemDelegate, &LayerItemDelegate::itemRemoved, this, &MainWindow::deleteLayer); + connect(layerItemDelegate, &LayerItemDelegate::itemRemoved, this, &MainWindow::deleteLayerFromList); connect(layerItemDelegate, &LayerItemDelegate::groupRemoved, this, &MainWindow::askToDeleteGroup); connect(layerListModel, &LayerTreeModel::layersPlaceRequested, this, &MainWindow::placeDroppedLayers); connect(layerListModel, &LayerTreeModel::groupMoveRequested, this, &MainWindow::moveDroppedGroup); @@ -5907,9 +6017,9 @@ void MainWindow::disconnectProjectWidgets() disconnect(layerListModel, &LayerTreeModel::rowsInserted, this, &MainWindow::updateLayerTreeDecoration); disconnect(layerListModel, &LayerTreeModel::rowsRemoved, this, &MainWindow::updateLayerTreeDecoration); - disconnect(layerItemDelegate, &LayerItemDelegate::itemDuplicated, this, &MainWindow::duplicateLayer); + disconnect(layerItemDelegate, &LayerItemDelegate::itemDuplicated, this, &MainWindow::duplicateLayerFromList); - disconnect(layerItemDelegate, &LayerItemDelegate::itemRemoved, this, &MainWindow::deleteLayer); + disconnect(layerItemDelegate, &LayerItemDelegate::itemRemoved, this, &MainWindow::deleteLayerFromList); disconnect(layerItemDelegate, &LayerItemDelegate::groupRemoved, this, &MainWindow::askToDeleteGroup); disconnect(layerListModel, &LayerTreeModel::layersPlaceRequested, this, &MainWindow::placeDroppedLayers); disconnect(layerListModel, &LayerTreeModel::groupMoveRequested, this, &MainWindow::moveDroppedGroup); @@ -6203,6 +6313,129 @@ void MainWindow::pollOscInterface() osc_interface->consume_commands(*this); } +LinkTarget MainWindow::performanceModeTarget() +{ + return LinkTarget::of(LinkTarget::ProjectElement, NULL_UID, ProjectLabels::PERFORMANCE); +} + +void MainWindow::triggerPerformanceMode(bool checked) +{ + // While learning, a click chooses the mode to receive the next trigger, as for the eye of + // a layer, instead of switching it. + if (_learnMode->isActive()) + { + QSignalBlocker blocker(performanceModeAction); + performanceModeAction->setChecked(mappingManager->isPerformanceMode()); + _learnMode->choose(performanceModeTarget()); + return; + } + mappingManager->setPerformanceMode(checked); +} + +void MainWindow::showPerformanceMode(bool performance) +{ + { + QSignalBlocker blocker(performanceModeAction); + performanceModeAction->setChecked(performance); + } + showPerformanceButton(); + + // The commands that add, delete or change a shape, with the reason in their tooltip. + const QString shortcut = performanceModeAction->shortcut().toString(QKeySequence::NativeText); + for (QAction* action : editCommandsGroup->actions()) + { + if (performance) + { + action->setProperty("editToolTip", action->toolTip()); + action->setToolTip(tr("%1\nLocked in performance mode: %2 goes back to edit mode.") + .arg(action->toolTip(), shortcut)); + } + else if (action->property("editToolTip").isValid()) + { + action->setToolTip(action->property("editToolTip").toString()); + action->setProperty("editToolTip", QVariant()); + } + } + editCommandsGroup->setEnabled(!performance); + // A click in the undo history would go back as Undo does: the history stays in sight, greyed. + if (undoView) + { + undoView->setEnabled(!performance); + undoView->setToolTip(performance ? tr("Locked in performance mode") : QString()); + } + LayerItemDelegate::setPerformanceMode(performance); + layerList->viewport()->update(); + + performanceBannerText->setText(tr("Performance mode: shapes are locked. %1 goes back to edit mode.").arg(shortcut)); + performanceBanner->setVisible(performance); + performanceLabel->setVisible(performance); + updateWindowTitle(); + statusBar()->showMessage(performance ? tr("Performance mode: shapes are locked") + : tr("Edit mode: shapes can be changed"), STATUS_MESSAGE_MS); + + // The vertices drawn as locked, and the settings of the shapes greyed in the inspector. + Inspector::refreshEditable(); + updateCanvases(); +} + +void MainWindow::showPerformanceButton() +{ + QWidget* button = mainToolBar ? mainToolBar->widgetForAction(performanceModeAction) : nullptr; + if (!button) + return; + // Red when on; while learning, outlined in blue like every control one can link, filled when chosen. + const bool learning = _learnMode && _learnMode->isActive(); + const bool chosen = learning && _learnMode->isChosen(performanceModeTarget()); + QString style = QStringLiteral("#performanceButton:checked { background-color: %1; border-radius: 3px; }") + .arg(MM::PERFORMANCE_COLOR.name()); + if (learning) + style += QStringLiteral(" #performanceButton { border: 2px solid %1; border-radius: 3px; %2 }") + .arg(MM::LEARN_COLOR.name(), + chosen ? QStringLiteral("background-color: %1;").arg(MM::LEARN_COLOR.name()) : QString()); + button->setStyleSheet(style); + + // The triggers linked to it, as on the other controls one can link. + QStringList lines { performanceModeAction->toolTip() }; + if (_learnMode) + lines << _learnMode->triggerLines(performanceModeTarget()); + button->setToolTip(lines.join(QChar('\n'))); +} + +bool MainWindow::refuseInPerformanceMode() +{ + if (!mappingManager->isPerformanceMode()) + return false; + statusBar()->showMessage(tr("Locked in performance mode: %1 goes back to edit mode.") + .arg(performanceModeAction->shortcut().toString(QKeySequence::NativeText)), + STATUS_MESSAGE_MS); + return true; +} + +bool MainWindow::dropsMediaInPerformanceMode(const QMimeData* mimeData) +{ + if (!mimeData || !mimeData->hasUrls() || !mappingManager->isPerformanceMode()) + return false; + for (const QUrl& url : mimeData->urls()) + { + const QString fileName = url.toLocalFile(); + if (!fileName.isEmpty() && !fileSupported(fileName, MM::FILE_EXTENSION)) + return refuseInPerformanceMode(); + } + return false; +} + +void MainWindow::duplicateLayerFromList(uid layerId) +{ + if (!refuseInPerformanceMode()) + duplicateLayer(layerId); +} + +void MainWindow::deleteLayerFromList(uid layerId) +{ + if (!refuseInPerformanceMode()) + deleteLayer(layerId); +} + void MainWindow::exitFullScreen() { // Opened by the test signal, the output hides with it. diff --git a/src/gui/MainWindow.h b/src/gui/MainWindow.h index 9bf245d2..ce1ab50b 100644 --- a/src/gui/MainWindow.h +++ b/src/gui/MainWindow.h @@ -194,6 +194,18 @@ private slots: /// Escape: leaves the screen covered by the output, and turns the test signal off. void exitFullScreen(); + /// The button, the command or the shortcut of the performance mode: switches it, or, while + /// learning, chooses it to receive the next trigger. + void triggerPerformanceMode(bool checked); + + /// Shows the mode of the project: the button and the command, the banner, the label of the + /// status bar, the title, the disabled commands and the locked shapes. + void showPerformanceMode(bool performance); + + /// The duplicate and delete buttons of the list of layers, refused in performance mode. + void duplicateLayerFromList(uid layerId); + void deleteLayerFromList(uid layerId); + /// Ctrl+F: covers the chosen screen with the output, or goes back to how it was shown before. void toggleOutputFillsScreen(); /// Rebuilds the list of screens and follows the chosen screen when screens are plugged or unplugged. @@ -574,6 +586,26 @@ public slots: // The text of the banner: what to do next. QLabel* learnBannerText = nullptr; + // Goes into performance mode and back (see MappingManager::isPerformanceMode()). + QAction* performanceModeAction = nullptr; + + // The commands that add, delete, or change the shape of a layer: disabled together in + // performance mode. + QActionGroup* editCommandsGroup = nullptr; + + // The red banner across the top of the window in performance mode, and its text. + QWidget* performanceBanner = nullptr; + QLabel* performanceBannerText = nullptr; + + // "Performance Mode" in the status bar, in that mode. + QLabel* performanceLabel = nullptr; + + /// Shows the button of the performance mode: red when on, outlined in blue while learning. + void showPerformanceButton(); + + /// Writes the title of the window: the project, and "Performance" in that mode. + void updateWindowTitle(); + // Turns the learned keys on and off, so that typing for something else does not change // the show. QAction* learnedKeysActiveAction = nullptr; @@ -747,7 +779,7 @@ public slots: QAction *_importLayerMediaAction; // Toolbar. - QToolBar *mainToolBar; + QToolBar *mainToolBar = nullptr; // Actions. QAction *separatorAction; @@ -863,7 +895,7 @@ public slots: QTreeView* layerList; QStackedWidget* layerPropertyPanel; - QUndoView* undoView; + QUndoView* undoView = nullptr; MapperGLCanvas* sourceCanvas; MapperGLCanvasToolbar* sourceCanvasToolbar; @@ -1087,6 +1119,18 @@ public slots: // Accessor/mutators for the view. /////////////////////////////////////////////////////////////////// MappingManager& getMappingManager() const { return *mappingManager; } + /// Returns the target of the links that switch the performance mode. + static LinkTarget performanceModeTarget(); + + /// Returns true, saying why in the status bar, when the project is in performance mode, for + /// the commands of the interface that add, delete or change a shape and are not in the + /// group of the edit commands (such as a drop or a button of a list). + bool refuseInPerformanceMode(); + + /// Returns true, saying why, when the files dropped are media to add and the project is in + /// performance mode; a project file can still be dropped. + bool dropsMediaInPerformanceMode(const QMimeData* mimeData); + LayerGui::ptr getLayerGuiByLayerId(uint id) const { return layerGuis[id]; } SourceGui::ptr getSourceGuiBySourceId(uint id) const { return sourceGuis[id]; } diff --git a/src/gui/MapperGLCanvas.cpp b/src/gui/MapperGLCanvas.cpp index dc1fb3fe..f707d6ab 100644 --- a/src/gui/MapperGLCanvas.cpp +++ b/src/gui/MapperGLCanvas.cpp @@ -477,6 +477,8 @@ void MapperGLCanvas::dragLeaveEvent(QDragLeaveEvent *event) void MapperGLCanvas::dropEvent(QDropEvent *event) { const QMimeData *mimeData = event->mimeData(); + if (MainWindow::window()->dropsMediaInPerformanceMode(mimeData)) + return; if (mimeData->hasUrls()) { // In case that dragged many files @@ -622,7 +624,7 @@ void MapperGLCanvas::mousePressEvent(QMouseEvent* event) minDistance = dist; // Vertex can be grabbed only if the mapping is not locked - _vertexGrabbed = !selectedShape->isLocked(); + _vertexGrabbed = !isShapeLocked(selectedShape.data()); _vertexMoved = false; // Active vertex may not moved mousePressedOnSomething = true; @@ -669,7 +671,7 @@ void MapperGLCanvas::mousePressEvent(QMouseEvent* event) if (selectedShape && !_vertexGrabbed && selectedShape->includesPoint(pos)) { if (event->buttons() & Qt::LeftButton) { // Shape can be grabbed only if it is not locked - _shapeGrabbed = !selectedShape->isLocked(); + _shapeGrabbed = !isShapeLocked(selectedShape.data()); // _shapeMoved = false; _shapeFirstGrab = true; @@ -852,10 +854,18 @@ void MapperGLCanvas::mouseMoveEvent(QMouseEvent* event) _mainWindow->updateMouseCoordinates(); } +bool MapperGLCanvas::isShapeLocked(const MShape* shape) +{ + const MainWindow* window = MainWindow::window(); + if (!window) + return shape && shape->isLocked(); + return !window->getMappingManager().canChangeGeometry(shape, MappingManager::ChangeOrigin::Interface); +} + bool MapperGLCanvas::_isOnHandle(const QPoint& viewPosition) { MShape::ptr shape = getCurrentShape(); - if (!shape || shape->isLocked() || !MainWindow::window()->displayControls()) + if (!shape || isShapeLocked(shape.data()) || !MainWindow::window()->displayControls()) return false; const QPointF handleInView = mapFromScene(handlePosition(*shape, MM::HANDLE_DISTANCE / getZoomFactor())); @@ -865,7 +875,7 @@ bool MapperGLCanvas::_isOnHandle(const QPoint& viewPosition) bool MapperGLCanvas::_handleShapeIsCurrent() { MShape::ptr shape = _handleShape.toStrongRef(); - return shape && shape == getCurrentShape() && !shape->isLocked(); + return shape && shape == getCurrentShape() && !isShapeLocked(shape.data()); } void MapperGLCanvas::_updateHandleDrag(bool stepped) @@ -1015,7 +1025,8 @@ void MapperGLCanvas::keyPressEvent(QKeyEvent* event) } } - if (handledKey) + // The arrows do not move a vertex of a locked layer, nor in performance mode. + if (handledKey && !isShapeLocked(shape.data())) { // Enable to Undo and Redo when arrow keys move the position of vertices undoStack->push(new MoveVertexCommand(this, diff --git a/src/gui/MapperGLCanvas.h b/src/gui/MapperGLCanvas.h index 4ecb14c9..9b6f4091 100644 --- a/src/gui/MapperGLCanvas.h +++ b/src/gui/MapperGLCanvas.h @@ -85,6 +85,11 @@ class MapperGLCanvas: public QGraphicsView /// Returns true iff one of the vertices is currently active. bool hasActiveVertex() const { return _activeVertex != NO_VERTEX; } + /// Returns true when the interface may not change a shape: its layer is locked, or the + /// project is in performance mode (see MappingManager::canChangeGeometry()). Its vertices + /// are then drawn small and red. + static bool isShapeLocked(const MShape* shape); + /// Returns the currently active (ie. selected) vertex, or NO_VERTEX if none is currently active. int getActiveVertexIndex() const { return _activeVertex; } diff --git a/src/gui/ShapeControlPainter.cpp b/src/gui/ShapeControlPainter.cpp index 217e33ed..48b29843 100644 --- a/src/gui/ShapeControlPainter.cpp +++ b/src/gui/ShapeControlPainter.cpp @@ -103,7 +103,7 @@ void ShapeControlPainter::paint(QPainter *painter, MapperGLCanvas* canvas, const void ShapeControlPainter::_paintHandles(QPainter *painter, MapperGLCanvas* canvas) { const MShape::ptr shape = getShape(); - if (shape->isLocked()) + if (MapperGLCanvas::isShapeLocked(shape.data())) return; const qreal zoomFactor = canvas->getZoomFactor(); @@ -150,7 +150,7 @@ void ShapeControlPainter::_paintVertices(QPainter *painter, MapperGLCanvas* canv int linkedVertex) { qreal zoomFactor = canvas->getZoomFactor(); - qreal selectRadius = (getShape()->isLocked() ? MM::VERTEX_LOCKED_RADIUS : MM::VERTEX_SELECT_RADIUS) / zoomFactor; + qreal selectRadius = (MapperGLCanvas::isShapeLocked(getShape().data()) ? MM::VERTEX_LOCKED_RADIUS : MM::VERTEX_SELECT_RADIUS) / zoomFactor; qreal strokeWidth = MM::VERTEX_SELECT_STROKE_WIDTH / zoomFactor; for (int i=0; inVertices(); i++) @@ -158,7 +158,7 @@ void ShapeControlPainter::_paintVertices(QPainter *painter, MapperGLCanvas* canv const Util::VertexMark mark = selectedVertices.contains(i) ? Util::VertexMark::Selected : (i == linkedVertex) ? Util::VertexMark::Linked : Util::VertexMark::None; - Util::drawControlsVertex(painter, getShape()->getVertex(i), mark, getShape()->isLocked(), selectRadius, strokeWidth); + Util::drawControlsVertex(painter, getShape()->getVertex(i), mark, MapperGLCanvas::isShapeLocked(getShape().data()), selectRadius, strokeWidth); } } @@ -166,7 +166,7 @@ QPen ShapeControlPainter::getRescaledShapeStroke(MapperGLCanvas* canvas, bool se { const QBrush& brush = (selected ? - (getShape()->isLocked() ? QBrush(MM::CONTROL_LOCKED_COLOR) : QBrush(MM::CONTROL_COLOR)) : + (MapperGLCanvas::isShapeLocked(getShape().data()) ? QBrush(MM::CONTROL_LOCKED_COLOR) : QBrush(MM::CONTROL_COLOR)) : QBrush(MM::CONTROL_COLOR_NON_SELECTED)); return QPen(brush, (innerStroke ? MM::SHAPE_INNER_STROKE_WIDTH : MM::SHAPE_STROKE_WIDTH) / canvas->getZoomFactor()); diff --git a/src/gui/inspector/Inspector.cpp b/src/gui/inspector/Inspector.cpp index 21f2196b..f3013a19 100644 --- a/src/gui/inspector/Inspector.cpp +++ b/src/gui/inspector/Inspector.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include @@ -130,10 +131,18 @@ SettingDisplayGroup describeDisplayGroup(SettingGroup* group, const QString& id) return { id, id, UNDESCRIBED_DISPLAY_ORDER, false }; } +/// Tells why a setting cannot be changed for now (see Inspector::setLockReason()). +std::function& lockReasonFunction() +{ + static std::function reason; + return reason; +} + /// Returns true when the setting can be changed by the user. bool isEditable(const Setting* setting) { - return setting && !setting->info().isReadOnly() && setting->isAvailable(); + return setting && !setting->info().isReadOnly() && setting->isAvailable() + && Inspector::lockReason(setting).isEmpty(); } } // namespace @@ -476,12 +485,26 @@ void InspectorRow::contextMenuEvent(QContextMenuEvent* event) void InspectorRow::updateEnabled() { bool any = false; + QString reason; for (SettingControl* control : _controls) { const bool editable = isEditable(control->setting()); control->setEnabled(editable); any |= editable; + if (reason.isEmpty()) + reason = Inspector::lockReason(control->setting()); } _label->setEnabled(any); + + // A greyed row says why, as long as it is greyed. + if (reason != _lockReason) { + _lockReason = reason; + QStringList tip; + if (!_description.isEmpty()) + tip << _description; + if (!reason.isEmpty()) + tip << reason; + setToolTip(tip.join(QChar('\n'))); + } } void InspectorRow::mouseDoubleClickEvent(QMouseEvent* event) @@ -959,6 +982,25 @@ void InspectorPage::_buildGroup(SettingGroup* group, QVBoxLayout* layout) // --------------------------------------------------------------------------------------------- // Inspector +void Inspector::setLockReason(std::function reason) +{ + lockReasonFunction() = std::move(reason); +} + +QString Inspector::lockReason(const Setting* setting) +{ + const auto& reason = lockReasonFunction(); + return setting && reason ? reason(setting) : QString(); +} + +void Inspector::refreshEditable() +{ + for (QWidget* widget : QApplication::allWidgets()) { + if (InspectorRow* row = qobject_cast(widget)) + row->updateEnabled(); + } +} + void Inspector::useMapMapColors(QWidget* widget) { QColor disabledWhite = MAPMAP_WHITE; diff --git a/src/gui/inspector/Inspector.h b/src/gui/inspector/Inspector.h index af4b1dfb..3d6081d2 100644 --- a/src/gui/inspector/Inspector.h +++ b/src/gui/inspector/Inspector.h @@ -21,6 +21,8 @@ #ifndef INSPECTOR_H_ #define INSPECTOR_H_ +#include + #include #include #include @@ -120,6 +122,8 @@ class InspectorRow : public QWidget { QList _controls; QToolButton* _linkButton; QString _description; + /// Why the settings of the row cannot be changed for now, as shown in its tooltip. + QString _lockReason; }; /// A group of rows with a title that folds and unfolds it. @@ -282,6 +286,17 @@ class Inspector : public QWidget { /// Creates an empty inspector. explicit Inspector(QWidget* parent = nullptr); + /// Sets the function telling why a setting cannot be changed for now, such as a vertex of a + /// locked layer, or an empty text when it can. The rows grey such a setting, and their + /// tooltip gives the reason. By default every setting can be changed. + static void setLockReason(std::function reason); + + /// Returns why a setting cannot be changed for now, or an empty text (see setLockReason()). + static QString lockReason(const Setting* setting); + + /// Greys and ungreys the rows of every inspector again, when what lockReason() says changed. + static void refreshEditable(); + /// Gives a widget and its children the colours of MapMap's style sheet: the controls fill /// with its white rather than with the highlight colour of the system. A child added later /// needs another call. diff --git a/src/shape/Mesh.cpp b/src/shape/Mesh.cpp index d66bb156..5c6609cc 100644 --- a/src/shape/Mesh.cpp +++ b/src/shape/Mesh.cpp @@ -93,6 +93,7 @@ void Mesh::_declareSettings(SettingGroup* root) .bounds(MIN_MESH_DIVISIONS, MAX_MESH_DIVISIONS) .defaultValue(MIN_MESH_DIVISIONS) .displayRow("subdivisions") + .geometry() .description(tr("The number of columns of vertices of the mesh, its two edges included."))) ->bind([this]() { return QVariant(nColumns()); }, [this](const QVariant& value) { setNColumns(value.toInt()); return true; }); @@ -102,6 +103,7 @@ void Mesh::_declareSettings(SettingGroup* root) .bounds(MIN_MESH_DIVISIONS, MAX_MESH_DIVISIONS) .defaultValue(MIN_MESH_DIVISIONS) .displayRow("subdivisions") + .geometry() .description(tr("The number of rows of vertices of the mesh, its two edges included."))) ->bind([this]() { return QVariant(nRows()); }, [this](const QVariant& value) { setNRows(value.toInt()); return true; }); diff --git a/src/shape/Shape.cpp b/src/shape/Shape.cpp index 59caad36..5f8134df 100644 --- a/src/shape/Shape.cpp +++ b/src/shape/Shape.cpp @@ -44,7 +44,8 @@ void MShape::_declareSettings(SettingGroup* root) root->addSetting(SettingInfo::boolean("locked", tr("Locked")) .hidden() - .description(tr("Whether the vertices of this shape are protected from changes made with the mouse."))) + .description(tr("Whether the vertices of this shape are protected from changes made with the mouse, " + "the keyboard and controllers."))) ->bind([this]() { return QVariant(isLocked()); }, [this](const QVariant& value) { setLocked(value.toBool()); return true; }); @@ -54,6 +55,7 @@ void MShape::_declareSettings(SettingGroup* root) SettingInfo::point("vertex", tr("Point")) .unit(SettingInfo::Pixels) .notStored() + .geometry() .displayGroup(VERTICES_DISPLAY_GROUP) .description(tr("The position of a control point of the shape, in pixels.")), [this]() { return nVertices(); }, diff --git a/tests/TestInspector.cpp b/tests/TestInspector.cpp index dbd270ba..42442c32 100644 --- a/tests/TestInspector.cpp +++ b/tests/TestInspector.cpp @@ -19,6 +19,8 @@ */ #include "TestInspector.h" + +#include #include "LearnMode.h" #include @@ -355,6 +357,32 @@ void TestInspector::readOnlyRowIsDisabled() Q_UNUSED(fixed); } +void TestInspector::lockedRowIsGreyedWithItsReason() +{ + // A setting that changes a shape is greyed, with the reason in its tooltip, while the + // function of the main window says it is locked; the other settings stay as they are. + SettingGroup root; + root.addSetting(SettingInfo::number("width", "Width").geometry().description("The width.")); + root.addSetting(SettingInfo::number("opacity", "Opacity")); + InspectorPage page(&root, "test"); + QVERIFY(page.control("width")->isEnabled()); + + bool locked = true; + Inspector::setLockReason([&locked](const Setting* setting) { + return locked && setting->info().isGeometry() ? QString("Locked in performance mode") : QString(); + }); + const auto reset = qScopeGuard([] { Inspector::setLockReason(nullptr); }); + Inspector::refreshEditable(); + QVERIFY(!page.control("width")->isEnabled()); + QVERIFY(page.control("opacity")->isEnabled()); + QCOMPARE(page.row("width")->toolTip(), QString("The width.\nLocked in performance mode")); + + locked = false; + Inspector::refreshEditable(); + QVERIFY(page.control("width")->isEnabled()); + QCOMPARE(page.row("width")->toolTip(), QString("The width.")); +} + void TestInspector::switchToggles() { SettingGroup root; diff --git a/tests/TestInspector.h b/tests/TestInspector.h index affb8077..72f4fcf6 100644 --- a/tests/TestInspector.h +++ b/tests/TestInspector.h @@ -44,6 +44,7 @@ private slots: void labelDragAdjustsShiftIsFine(); void doubleClickResets(); void readOnlyRowIsDisabled(); + void lockedRowIsGreyedWithItsReason(); void switchToggles(); void shortChoiceShowsChips(); void choiceTurnsToMenuPastThreeLines(); diff --git a/tests/TestLayerTree.cpp b/tests/TestLayerTree.cpp index 4d1a2db2..774ee967 100644 --- a/tests/TestLayerTree.cpp +++ b/tests/TestLayerTree.cpp @@ -16,7 +16,12 @@ #include #include +#include +#include +#include +#include #include +#include #include #include @@ -292,6 +297,46 @@ const char* const EFFECT_SWITCH = "effect/42/enabled"; } +void TestLayerTree::soloOfLayerTurnsOffAtFirstClick() +{ + // As in the main window: a click writes the row to its layer, and the layer writes its + // settings back to the row. + ThreeLayers t; + LayerView v(t.model); + QVERIFY(QTest::qWaitForWindowExposed(&v.view)); + QObject::connect(&t.model, &LayerTreeModel::dataChanged, &t.model, [&t](const QModelIndex& index) { + if (t.model.rowKind(index) != LayerTreeModel::RowKind::Layer) + return; + Layer::ptr layer = t.manager.getLayerById(t.model.getItemId(index)); + layer->setVisible(index.data(Qt::CheckStateRole).toBool()); + layer->setSolo(index.data(LayerTreeModel::SoloRole).toBool()); + layer->setLocked(index.data(LayerTreeModel::LockedRole).toBool()); + t.model.updateModel(); + }); + const QModelIndex row = t.model.index(1, MM::HideColumn); + const Layer::ptr layer = t.manager.getLayerById(t.model.getItemId(row)); + + v.click(LayerRowButton::Solo, row); + QVERIFY(layer->isSolo()); + QTest::qWait(QGuiApplication::styleHints()->mouseDoubleClickInterval() + 50); + v.click(LayerRowButton::Solo, t.model.index(1, MM::HideColumn)); + QVERIFY(!layer->isSolo()); + + // Two quick clicks come to a widget as a press, a release, then a double click without a + // press: the double click switches it back, and does not open the name of the layer. + QTest::qWait(QGuiApplication::styleHints()->mouseDoubleClickInterval() + 50); + const QModelIndex cell = row.siblingAtColumn(layerRowButtonColumn(LayerRowButton::Solo)); + const QPoint at = layerRowButtonRect(LayerRowButton::Solo, v.view.visualRect(cell)).center(); + QTest::mouseClick(v.view.viewport(), Qt::LeftButton, Qt::NoModifier, at); + QVERIFY(layer->isSolo()); + QMouseEvent doubleClick(QEvent::MouseButtonDblClick, at, v.view.viewport()->mapToGlobal(at), + Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); + QApplication::sendEvent(v.view.viewport(), &doubleClick); + QVERIFY(!layer->isSolo()); + const QLineEdit* editor = v.view.findChild(); + QVERIFY(!editor || !editor->isVisible()); +} + void TestLayerTree::delegateIgnoresButtonsOnChildRows() { ThreeLayers t; diff --git a/tests/TestLayerTree.h b/tests/TestLayerTree.h index b64355a2..377acd59 100644 --- a/tests/TestLayerTree.h +++ b/tests/TestLayerTree.h @@ -48,6 +48,7 @@ private slots: void dragCountsTheLayersOfGroups(); void dragMovesGroups(); void delegateClicksOnGroupButtons(); + void soloOfLayerTurnsOffAtFirstClick(); }; #endif /* TEST_LAYER_TREE_H_ */ diff --git a/tests/TestLinks.cpp b/tests/TestLinks.cpp index fde6bd8a..a8dccbdd 100644 --- a/tests/TestLinks.cpp +++ b/tests/TestLinks.cpp @@ -164,6 +164,25 @@ void TestLinks::writesAndReadsLinks() QVERIFY(read.links().at(1).action == LinkAction::SwitchOff); } +void TestLinks::projectTargetHasNoId() +{ + // A setting of the project itself, such as the performance mode, is named without an id. + const LinkTarget mode = LinkTarget::of(LinkTarget::ProjectElement, NULL_UID, "performance"); + QVERIFY(mode.isValid()); + QVERIFY(!LinkTarget::of(LinkTarget::ProjectElement, 3, "performance").isValid()); + QVERIFY(!LinkTarget::of(LinkTarget::ProjectElement, NULL_UID, QString()).isValid()); + QCOMPARE(mode.describe(), QString("project, performance")); + + const QJsonObject json = mode.toJson(); + QCOMPARE(json["element"].toString(), QString("project")); + QVERIFY(!json.contains("id")); + QCOMPARE(LinkTarget::fromJson(json), mode); + + QJsonObject withId = json; + withId["id"] = 3; + QVERIFY(!LinkTarget::fromJson(withId).isValid()); +} + void TestLinks::skipsUnreadableLinks() { const QByteArray text = R"([ diff --git a/tests/TestLinks.h b/tests/TestLinks.h index d9194526..babb6deb 100644 --- a/tests/TestLinks.h +++ b/tests/TestLinks.h @@ -29,6 +29,7 @@ private slots: void removesLinks(); void writesAndReadsLinks(); void skipsUnreadableLinks(); + void projectTargetHasNoId(); void toggleSwitchesBoolean(); void toggleGoesToNextOption(); void toggleSendsNumberToOtherEnd(); diff --git a/tests/TestMappingManager.cpp b/tests/TestMappingManager.cpp index ccdeb7bd..53ce53d7 100644 --- a/tests/TestMappingManager.cpp +++ b/tests/TestMappingManager.cpp @@ -18,6 +18,8 @@ #include #include #include "Shapes.h" +#include "Link.h" +#include "MidiMessage.h" using namespace mmp; @@ -655,3 +657,139 @@ void TestMappingManager::namesGroupsAfterTheirLayers() QCOMPARE(Group::numberedName({}), QString("Group 1")); QCOMPARE(Group::numberedName({ "Group 1", "Group 3" }), QString("Group 2")); } + +void TestMappingManager::performanceModeKeepsUndoHistory() +{ + // Switching to performance mode and back is not a step of the history, and keeps it: + // what was done before can still be undone and redone afterwards. + FourLayers p; + QUndoStack undo; + const QVector before = p.manager.stack(); + QVERIFY(p.manager.moveLayer(p.d->getId(), 0)); + undo.push(new StackChangeCommand(p.manager, before, p.manager.stack(), "Move layer")); + undo.setClean(); + + p.manager.setPerformanceMode(true); + QCOMPARE(undo.count(), 1); + QCOMPARE(undo.index(), 1); + p.manager.setPerformanceMode(false); + QCOMPARE(undo.count(), 1); + QCOMPARE(undo.index(), 1); + QVERIFY(undo.isClean()); + + undo.undo(); + QCOMPARE(layerNames(p.manager), QStringList({ "a", "b", "c", "d" })); + undo.redo(); + QCOMPARE(layerNames(p.manager), QStringList({ "d", "a", "b", "c" })); +} + +void TestMappingManager::geometryGateByModeLockAndOrigin_data() +{ + QTest::addColumn("performance"); + QTest::addColumn("locked"); + QTest::addColumn("origin"); + QTest::addColumn("allowed"); + + const QList> origins = { + { "interface", MappingManager::ChangeOrigin::Interface }, + { "link", MappingManager::ChangeOrigin::Link }, + { "osc", MappingManager::ChangeOrigin::Osc }, + { "mcp", MappingManager::ChangeOrigin::Mcp }, + }; + for (const auto& origin : origins) + { + const bool remote = origin.second == MappingManager::ChangeOrigin::Osc + || origin.second == MappingManager::ChangeOrigin::Mcp; + for (bool performance : { false, true }) + for (bool locked : { false, true }) + QTest::addRow("%s, %s, %s", origin.first, performance ? "performance" : "edit", locked ? "locked" : "free") + << performance << locked << int(origin.second) << (remote || (!performance && !locked)); + } +} + +void TestMappingManager::geometryGateByModeLockAndOrigin() +{ + QFETCH(bool, performance); + QFETCH(bool, locked); + QFETCH(int, origin); + QFETCH(bool, allowed); + + MappingManager manager; + Source::ptr red = makeColor("red"); + manager.addSource(red); + Layer::ptr layer = makeColorLayer(red, "wall"); + manager.addLayer(layer); + manager.setPerformanceMode(performance); + layer->setLocked(locked); + + const auto from = MappingManager::ChangeOrigin(origin); + QCOMPARE(manager.canChangeGeometry(layer.data(), from), allowed); + QCOMPARE(manager.canChangeGeometry(layer->getShape().data(), from), allowed); + QCOMPARE(manager.canChangeGeometry(layer->getInputShape().data(), from), allowed); +} + +void TestMappingManager::linksDoNotMoveLockedShapes() +{ + // A key or a MIDI knob linked to a vertex moves it in edit mode only, and only while its + // layer is not locked; the links to anything else still act. + MappingManager manager; + Source::ptr red = makeColor("red"); + manager.addSource(red); + // Large enough for a step of a pixel to keep it a quad. + MShape::ptr quad(new Quad(QPointF(0, 0), QPointF(100, 0), QPointF(100, 100), QPointF(0, 100))); + Layer::ptr layer(new TextureLayer(red, quad, MShape::ptr(quad->clone()))); + manager.addLayer(layer); + + const LinkTarget vertexX = LinkTarget::of(LinkTarget::LayerElement, layer->getId(), + "output/vertices/0", LinkTarget::XCoordinate); + const LinkTarget visible = LinkTarget::of(LinkTarget::LayerElement, layer->getId(), "visible"); + const LinkTarget vertex = LinkTarget::of(LinkTarget::LayerElement, layer->getId(), "output/vertices/0"); + QVERIFY(manager.linkTargetSetting(vertexX)); + QVERIFY(manager.linkTargetSetting(vertex)->info().isGeometry()); + QVERIFY(!manager.linkTargetSetting(visible)->info().isGeometry()); + + MidiMessage knob; + knob.kind = MidiMessage::ControlChange; + knob.channel = MidiMessage::FIRST_CHANNEL; + knob.number = 21; + knob.value = 70; + + auto moveByKey = [&]() { + return applyLinkAction(manager.linkWritableSetting(vertexX), LinkAction::StepUp, LinkTarget::XCoordinate); + }; + auto moveByKnob = [&]() { + return applyMidiLink(manager.linkWritableSetting(vertexX), LinkAction::Relative, knob, + LinkTarget::XCoordinate, 64); + }; + const QPointF start = layer->getShape()->getVertex(0); + + // Edit mode, not locked: both move it. + QVERIFY(moveByKey()); + QVERIFY(moveByKnob()); + QVERIFY(layer->getShape()->getVertex(0).x() > start.x()); + + // Performance mode: neither moves it; the eye still answers. + const QPointF moved = layer->getShape()->getVertex(0); + manager.setPerformanceMode(true); + QVERIFY(!manager.linkWritableSetting(vertexX)); + QVERIFY(!moveByKey()); + QVERIFY(!moveByKnob()); + QCOMPARE(layer->getShape()->getVertex(0), moved); + QVERIFY(applyLinkAction(manager.linkWritableSetting(visible), LinkAction::Toggle)); + QVERIFY(!layer->isVisible()); + + // A link to the performance mode, a setting of the project, switches it back. + const LinkTarget mode = LinkTarget::of(LinkTarget::ProjectElement, NULL_UID, "performance"); + QVERIFY(applyLinkAction(manager.linkWritableSetting(mode), LinkAction::Toggle)); + QVERIFY(!manager.isPerformanceMode()); + + // Edit mode, locked layer: still blocked. + layer->setLocked(true); + QVERIFY(!moveByKey()); + QVERIFY(!moveByKnob()); + QCOMPARE(layer->getShape()->getVertex(0), moved); + + // OSC and MCP do not go through links: the setting itself still takes the value. + QVERIFY(manager.linkTargetSetting(vertexX)->setValue(QPointF(5, 5))); + QCOMPARE(layer->getShape()->getVertex(0), QPointF(5, 5)); +} diff --git a/tests/TestMappingManager.h b/tests/TestMappingManager.h index 9302df04..9ce4f034 100644 --- a/tests/TestMappingManager.h +++ b/tests/TestMappingManager.h @@ -45,7 +45,11 @@ private slots: void movesGroupWithItsLayers(); void restoresTheStack(); void undoesStackChanges(); + void performanceModeKeepsUndoHistory(); void namesGroupsAfterTheirLayers(); + void geometryGateByModeLockAndOrigin_data(); + void geometryGateByModeLockAndOrigin(); + void linksDoNotMoveLockedShapes(); }; #endif /* TEST_MAPPING_MANAGER_H_ */ diff --git a/tests/TestOsc.cpp b/tests/TestOsc.cpp index fb3fe05e..88a18fde 100644 --- a/tests/TestOsc.cpp +++ b/tests/TestOsc.cpp @@ -462,3 +462,23 @@ void TestOsc::writesGroupOfLayer() QVERIFY(writeRemoteSetting(*group, group->settings()->find(hide.path), hide.values, false)); QVERIFY(!manager.layerIsVisible(layers.at(2))); } + +void TestOsc::writesProjectSetting() +{ + // The settings of the project have no id: /mapmap/project/ . + const OscAction on = parseOscAction("/mapmap/project/performance", { 1 }); + QCOMPARE(typeOf(on), int(OscAction::ProjectSetting)); + QCOMPARE(on.path, QString("performance")); + + MappingManager manager; + Setting* mode = manager.settings()->find(on.path); + QVERIFY(mode); + QVERIFY(mode->setFromArguments(on.values)); + QVERIFY(manager.isPerformanceMode()); + QVERIFY(mode->setFromArguments(parseOscAction("/mapmap/project/performance", { 0 }).values)); + QVERIFY(!manager.isPerformanceMode()); + + QCOMPARE(typeOf(parseOscAction("/mapmap/project", { 1 })), int(OscAction::Invalid)); + QCOMPARE(typeOf(parseOscAction("/mapmap/project/performance", {})), int(OscAction::Invalid)); + QVERIFY(!manager.settings()->find(parseOscAction("/mapmap/project/nothing", { 1 }).path)); +} diff --git a/tests/TestOsc.h b/tests/TestOsc.h index 883c1c95..7aa3ad2b 100644 --- a/tests/TestOsc.h +++ b/tests/TestOsc.h @@ -54,6 +54,7 @@ private slots: void rejectsMalformedOutput(); void parsesGroupCommands(); void writesGroupOfLayer(); + void writesProjectSetting(); }; #endif /* TEST_OSC_H_ */ diff --git a/tests/TestProjectRoundTrip.cpp b/tests/TestProjectRoundTrip.cpp index 2b955e87..0d32fef7 100644 --- a/tests/TestProjectRoundTrip.cpp +++ b/tests/TestProjectRoundTrip.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include "Ellipse.h" @@ -1225,6 +1226,54 @@ void TestProjectRoundTrip::projectWithoutGroupsWritesNone() QVERIFY(!written["layers"].toArray().at(0).toObject().contains("group_id")); } +void TestProjectRoundTrip::keepsPerformanceMode() +{ + // A project saved in performance mode opens in performance mode, with a key linked to the + // mode itself, a setting of the project, which has no id. + const QByteArray project = R"({ + "version": "1.0.0-beta.2", + "performance": true, + "sources": [], + "layers": [], + "links": [ + { "trigger": { "kind": "key", "key": "F5" }, "target": { "element": "project", "setting": "performance" } } + ] + })"; + MappingManager manager; + QSignalSpy changed(&manager, &MappingManager::performanceModeChanged); + QVERIFY(readProject(manager, project)); + QVERIFY(manager.isPerformanceMode()); + QCOMPARE(changed.count(), 1); + QCOMPARE(manager.links().count(), 1); + QCOMPARE(manager.links().links().first().target, + LinkTarget::of(LinkTarget::ProjectElement, NULL_UID, "performance")); + QVERIFY(manager.linkTargetSetting(manager.links().links().first().target)); + + const QJsonObject written = parse(writeProject(manager)); + QCOMPARE(written.value("performance"), QJsonValue(true)); + const QJsonObject target = written["links"].toArray().at(0).toObject()["target"].toObject(); + QCOMPARE(target, parse(project)["links"].toArray().at(0).toObject()["target"].toObject()); + + // A new project is in edit mode again. + manager.clearAll(); + QVERIFY(!manager.isPerformanceMode()); +} + +void TestProjectRoundTrip::projectInEditModeWritesNoMode() +{ + const QByteArray original = readFixture(fixturesDir() + "/quad-color.mmp"); + MappingManager manager; + QVERIFY(readProject(manager, original)); + QVERIFY(!manager.isPerformanceMode()); + QVERIFY(!parse(writeProject(manager)).contains("performance")); + + // Back in edit mode, the project is written as it was read. + manager.setPerformanceMode(true); + QVERIFY(parse(writeProject(manager)).contains("performance")); + manager.setPerformanceMode(false); + QCOMPARE(writeProject(manager), inThisFormat(original)); +} + void TestProjectRoundTrip::keepsCuesWithRelativePaths() { // The cues of a file are written under "media", with a path relative to the project, like diff --git a/tests/TestProjectRoundTrip.h b/tests/TestProjectRoundTrip.h index b32fa0b9..2da5245d 100644 --- a/tests/TestProjectRoundTrip.h +++ b/tests/TestProjectRoundTrip.h @@ -64,6 +64,8 @@ private slots: void keepsGroups(); void skipsUnreadableGroups(); void projectWithoutGroupsWritesNone(); + void keepsPerformanceMode(); + void projectInEditModeWritesNoMode(); private: QString _previousDir; diff --git a/translations/mapmap_ar.ts b/translations/mapmap_ar.ts index 818e5089..7d99aa96 100644 --- a/translations/mapmap_ar.ts +++ b/translations/mapmap_ar.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. RTL @@ -330,12 +330,12 @@ QObject - + Initiating program... جارٍ تشغيل البرنامج... - + Done. تم. @@ -495,127 +495,127 @@ تعذّر إنشاء شكل من النوع «%1». - + CC %1 CC %1 - + %1 ch %2 %1 قناة %2 - + Keyboard لوحة المفاتيح - + MIDI MIDI - + Follow the control اتباع عنصر التحكم - + Follow the turns اتباع الدورات - + Move right تحريك لليمين - + Move down تحريك لأسفل - + Increase زيادة - + Move left تحريك لليسار - + Move up تحريك لأعلى - + Decrease إنقاص - + Toggle تبديل - + Turn on تشغيل - + Turn off إيقاف - + Next option الخيار التالي - + Last option الخيار الأخير - + First option الخيار الأول - + Minimum or maximum الحد الأدنى أو الأقصى - + Set to maximum ضبط على الحد الأقصى - + Set to minimum ضبط على الحد الأدنى - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1، x - + %1, y %1، y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -2003,8 +2003,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2016,18 +2016,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2039,7 +2039,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2051,7 +2051,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2063,22 +2063,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2090,7 +2090,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2102,7 +2102,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2114,17 +2114,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +مقفل في وضع العرض + + + Cancel - + Close @@ -2471,8 +2478,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + يحدد ما إذا كان هذا العنصر محميًا من التغييرات التي تتم بالفأرة ولوحة المفاتيح وأجهزة التحكم. + + Whether this element is protected from changes made with the mouse. - يحدد ما إذا كان هذا العنصر محميًا من التغييرات التي تتم بالفأرة. + يحدد ما إذا كان هذا العنصر محميًا من التغييرات التي تتم بالفأرة. @@ -2608,7 +2619,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2616,47 +2627,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1، %2 - + Learn Keys to Move It تعلّم مفاتيح لتحريكه - + Learn MIDI Controls to Move It تعلّم عناصر تحكم MIDI لتحريكه - + Remove the Links That Move It إزالة الروابط التي تحرّكه - + Learn a Key تعلّم مفتاح - + Remove the Key إزالة المفتاح - + Learn a MIDI Control تعلّم عنصر تحكم MIDI - + Remove the MIDI Control إزالة عنصر تحكم MIDI @@ -2779,74 +2790,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer إفراد الطبقة - - + + Lock layer قفل الطبقة - - + + Duplicate layer تكرار الطبقة - - + + Delete layer حذف الطبقة - + Turn the effect on or off تشغيل التأثير أو إيقافه - + Remove the effect إزالة التأثير - + Available once a layer can have several effects متاح عندما يمكن للطبقة أن تحمل عدة تأثيرات - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer إظهار الطبقة أو إخفاؤها + + + Locked in performance mode + مقفل في وضع العرض + mmp::LearnMode @@ -2929,22 +2945,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector مقفل - Whether the vertices of this shape are protected from changes made with the mouse. - يحدد ما إذا كانت رؤوس هذا الشكل محمية من التغييرات التي تتم بالفأرة. + يحدد ما إذا كانت رؤوس هذا الشكل محمية من التغييرات التي تتم بالفأرة. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + يحدد ما إذا كانت رؤوس هذا الشكل محمية من التغييرات التي تتم بالفأرة ولوحة المفاتيح وأجهزة التحكم. + + + Points النقاط - + Point النقطة - + The position of a control point of the shape, in pixels. موضع نقطة تحكم في الشكل، بالبكسل. @@ -2952,49 +2972,60 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - + Cue %1 العلامة %1 - + Cue %1 — %2 العلامة %1 — %2 - + %1 set at %2 وُضعت %1 عند %2 - - - + + + Locked in performance mode + مقفل في وضع العرض + + + + Locked with the layer + مقفل مع الطبقة + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -3006,1124 +3037,1140 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. تستخدمه %1 من الطبقات: تغييره يغيّرها كلها. - + Replace effect استبدال التأثير - - + + Replace Effect استبدال التأثير - - - + + + Add Effect إضافة تأثير - - + + Open project فتح مشروع - - - - + + + + MapMap files (*.%1) ملفات MapMap (*.%1) - + Save over a project of a later version? الحفظ فوق مشروع من إصدار أحدث؟ - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? حُفظ %1 بإصدار أحدث من MapMap، بالصيغة %2. يحتفظ هذا الإصدار بما لا يعرفه، لكن قد لا يفتح الإصدار الأحدث المشروع كما كان. هل تريد الحفظ فوقه على أي حال؟ - - + + Save project حفظ المشروع - - + + Import media source file استيراد ملف مصدر وسائط - - + + Media files (%1 %2);;All files (*) ملفات الوسائط (%1 %2);;كل الملفات (*) - + Camera device جهاز الكاميرا - + Select camera اختيار كاميرا - - + + No camera available لا توجد كاميرا متاحة - - + + You can not use this feature! No camera available in your system لا يمكنك استخدام هذه الميزة! لا توجد كاميرا متاحة في نظامك - + Syphon source added تمت إضافة مصدر Syphon - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. تعلّم MIDI لـ %1: اضغط لوحة لـ «%2»، أو أدر زرًا دوارًا لتحريكه في الاتجاهين. Escape للإيقاف، وDelete لإزالة عناصر تحكم MIDI الخاصة بالنقطة. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. تعلّم المفاتيح لـ %1: اضغط مفتاحًا لـ «%2». Escape للإيقاف، وDelete لإزالة مفاتيح النقطة. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. تعلّم MIDI: حرّك عنصر تحكم أو اضغط لوحة لـ %1. Delete لإزالة عنصر تحكم MIDI الخاص به. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. تعلّم MIDI: انقر عنصر تحكم محاطًا بالأزرق، ثم حرّك عنصر تحكم في جهاز MIDI. عناصر تحكم MIDI المتعلَّمة سابقًا تعمل. - + Learning keys: press a key for %1. Delete removes its key. تعلّم المفاتيح: اضغط مفتاحًا لـ %1. Delete لإزالة مفتاحه. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). تعلّم المفاتيح: انقر عنصر تحكم محاطًا بالأزرق، ثم اضغط مفتاحًا. لا تعمل المفاتيح المتعلَّمة حتى يتوقف التعلّم (Escape). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. حرّك عنصر تحكم MIDI لـ %1. Delete لإزالة عنصر تحكم MIDI الخاص به، وEscape لإيقاف التعلّم. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. تعلّم MIDI: انقر عنصر تحكم محاطًا بالأزرق، ثم حرّك عنصر تحكم في جهاز MIDI. Escape لإيقاف التعلّم. - + Press a key for %1. Delete removes its key, Escape stops learning. اضغط مفتاحًا لـ %1. Delete لإزالة مفتاحه، وEscape لإيقاف التعلّم. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. تعلّم لوحة المفاتيح: انقر عنصر تحكم محاطًا بالأزرق، ثم اضغط مفتاحًا. Escape لإيقاف التعلّم. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. تعلّم MIDI: حرّك عنصر تحكم في جهاز MIDI، لا مفتاحًا. لتعلّم المفاتيح: تحرير > تعلّم لوحة المفاتيح. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 يتحكم في %2. اضغط Escape لإيقاف التعلّم: عندها يعمل %1. - + Click a control outlined in blue first, then press %1. انقر أولًا عنصر تحكم محاطًا بالأزرق، ثم اضغط %1. - + %1 is already the shortcut of %2: choose another key. %1 هو بالفعل اختصار %2: اختر مفتاحًا آخر. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 أُزيل عنصر تحكم MIDI من %1 - + Key removed from %1 أُزيل المفتاح من %1 - + Click a control outlined in blue first, then move %1. انقر أولًا عنصر تحكم محاطًا بالأزرق، ثم حرّك %1. - + Input Editor: %1% محرر الإدخال: %1% - + Output Editor: %1% محرر الإخراج: %1% - - - + + + MapMap MapMap - + Remove this source and all its associated layers? إزالة هذا المصدر وكل الطبقات المرتبطة به؟ - + Input Editor محرر الإدخال - + Output Editor محرر الإخراج - + Library المكتبة - + Layers الطبقات - + Cues العلامات - + Stop Learning إيقاف التعلّم - + Stop learning (Escape) إيقاف التعلّم (Escape) - + &New جديد(&N) - + Create a new project إنشاء مشروع جديد - + &Open… فتح(&O)… - + Open an existing project فتح مشروع موجود - + &Save حفظ(&S) - + Save the project حفظ المشروع - + Save &As… حفظ باسم(&A)… - + Save the project as… حفظ المشروع باسم… - + No Recents Videos لا توجد مقاطع فيديو حديثة - + &Import Media File… استيراد ملف وسائط(&I)… - + Import a video or image file… استيراد ملف فيديو أو صورة… - + Open &Camera Device… فتح جهاز كاميرا(&C)… - + Choose your camera device… اختر جهاز الكاميرا… - - + + Add &Generator إضافة مولِّد(&G) - + Add a generator إضافة مولِّد - + Add &Syphon Source… إضافة مصدر Syphon(&S)… - + Receive live video from another application via Syphon… استقبال فيديو مباشر من تطبيق آخر عبر Syphon… - + E&xit إنهاء(&X) - + Exit the application إنهاء التطبيق - + &Undo تراجع(&U) - + &Redo إعادة(&R) - + &About MapMap حول MapMap(&A) - + Show the application's About box إظهار نافذة «حول» الخاصة بالتطبيق - + Duplicate Layer تكرار الطبقة - + Duplicate layer item تكرار عنصر الطبقة - + Delete Layer حذف الطبقة - + Delete layer item حذف عنصر الطبقة - + Remove Effect إزالة التأثير - + Remove the selected effect إزالة التأثير المحدد - + Rename Layer إعادة تسمية الطبقة - + Rename layer item إعادة تسمية عنصر الطبقة - + Lock Layer قفل الطبقة - + Lock layer item قفل عنصر الطبقة - + Hide Layer إخفاء الطبقة - + Hide layer item إخفاء عنصر الطبقة - + Solo Layer إفراد الطبقة - + Solo layer item إفراد عنصر الطبقة - + Rotate 90° CW تدوير 90° يمينًا - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. تدوير 90° مع عقارب الساعة. في عرض الإدخال، يدير الصورة داخل الطبقة. - + Rotate 90° CCW تدوير 90° يسارًا - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. تدوير 90° عكس عقارب الساعة. في عرض الإدخال، يدير الصورة داخل الطبقة. - + Rotate 180° تدوير 180° - + Rotate 180°. In the input view, rotates the image inside the layer. تدوير 180°. في عرض الإدخال، يدير الصورة داخل الطبقة. - + Flip Horizontally قلب أفقي - + Flip horizontally. In the input view, flips the image inside the layer. قلب أفقي. في عرض الإدخال، يقلب الصورة داخل الطبقة. - + Flip Vertically قلب عمودي - + Flip vertically. In the input view, flips the image inside the layer. قلب عمودي. في عرض الإدخال، يقلب الصورة داخل الطبقة. - - + + Raise رفع - - + + Lower خفض - + Raise to Top رفع إلى الأعلى - + Raise to top رفع إلى الأعلى - + Lower to Bottom خفض إلى الأسفل - + Lower to bottom خفض إلى الأسفل - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + Take the layers out of the group, and remove the group - + New Group - + Add a group without layers, to drag layers into - + Delete Source حذف المصدر - + Delete source item حذف عنصر المصدر - + Rename Source إعادة تسمية المصدر - + Rename source item إعادة تسمية عنصر المصدر - + Import New Media استيراد وسائط جديدة - + Import new media file if not exists on the list استيراد ملف وسائط جديد إن لم يكن في القائمة - + &Preferences… التفضيلات(&P)… - + Configure preferences… ضبط التفضيلات… - + Add &Mesh Layer إضافة طبقة شبكة(&M) - + Add mesh layer إضافة طبقة شبكة - + Add &Triangle Layer إضافة طبقة مثلث(&T) - + Add triangle layer إضافة طبقة مثلث - + Add &Ellipse Layer إضافة طبقة قطع ناقص(&E) - + Add ellipse layer إضافة طبقة قطع ناقص - - + + Play تشغيل - - + + Pause إيقاف مؤقت - - + + Restart إعادة التشغيل - + &Hide Output إخفاء الإخراج(&H) - + Output in a &Window الإخراج في نافذة(&W) - + Output &Fills a Screen الإخراج يملأ شاشة(&F) - + Output الإخراج - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. الإخراج يملأ شاشة (%1). يحدد السهم كيف وأين يُعرض الإخراج. - + &Display Controls عرض أدوات التحكم(&D) - + Display canvas controls عرض أدوات التحكم في مساحة الرسم - + &Display Controls of Layers of a Source عرض أدوات تحكم طبقات المصدر(&D) - + Display all canvas controls related to current source عرض كل أدوات التحكم في مساحة الرسم المرتبطة بالمصدر الحالي - + &Sticky Vertices رؤوس لاصقة(&S) - + Enable sticky vertices تفعيل الرؤوس اللاصقة - + &Keyboard Learn تعلّم لوحة المفاتيح(&K) - + Link keys of the keyboard to settings: click a control, then press a key ربط مفاتيح لوحة المفاتيح بالإعدادات: انقر عنصر تحكم، ثم اضغط مفتاحًا - + &MIDI Learn تعلّم MIDI(&M) - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control ربط عناصر تحكم جهاز MIDI ونوتاته بالإعدادات: انقر عنصر تحكم، ثم حرّك عنصر تحكم MIDI - + Learned K&eys Active المفاتيح المتعلَّمة مفعّلة(&E) - + Turn the learned keys off while typing for something else, and on again إيقاف المفاتيح المتعلَّمة أثناء الكتابة لغرض آخر، ثم إعادة تشغيلها - + Show &Test Signal إظهار إشارة الاختبار(&T) - + Show Test signal إظهار إشارة الاختبار - + &Publish Syphon Output نشر الإخراج عبر Syphon(&P) - + Publish the output composition as a Syphon server other apps can receive نشر تركيبة الإخراج كخادم Syphon يمكن للتطبيقات الأخرى استقباله - + Display &Undo History عرض سجل التراجع(&U) - + Open Conso&le فتح الطرفية(&L) - + &Links الروابط(&L) - + List the keys linked to settings عرض المفاتيح المربوطة بالإعدادات - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Display &Zoom Toolbar عرض شريط التكبير(&Z) - + &Menu Bar شريط القوائم(&M) - + Main Layout التخطيط الرئيسي - + Switch to the Main layout. التبديل إلى التخطيط الرئيسي. - + Input editor Layout تخطيط محرر الإدخال - + Switch to the Input editor Layout. التبديل إلى تخطيط محرر الإدخال. - + Output Editor Layout تخطيط محرر الإخراج - + Switch to the Output Editors Layout. التبديل إلى تخطيط محرر الإخراج. - + Editor المحرر - + Show the editor and hide the bottom section إظهار المحرر وإخفاء القسم السفلي - + Bottom Section القسم السفلي - + Show the bottom section, such as the cues, and hide the editor إظهار القسم السفلي، مثل العلامات، وإخفاء المحرر - + Editor and Bottom Section المحرر والقسم السفلي - + Show the editor, and the bottom section under it إظهار المحرر، والقسم السفلي تحته - - + + Zoom In تكبير - - + + Zoom Out تصغير - + Actual Pixels (1:1) البكسلات الفعلية (1:1) - + Show one image pixel per screen pixel عرض بكسل واحد من الصورة لكل بكسل من الشاشة - + Fit To View (100%) ملاءمة العرض (100%) - + Show the whole image or output frame عرض الصورة كاملة أو إطار الإخراج كاملًا - + Output &Resolution... دقة الإخراج(&R)... - + Choose the size of the output frame اختيار حجم إطار الإخراج - + Report an issue الإبلاغ عن مشكلة - + Professional services && custom development… خدمات احترافية وتطوير حسب الطلب… - + Hire Art Plus Code for video mapping installations, custom features, integration and training استأجر Art Plus Code لتركيبات إسقاط الفيديو والميزات المخصصة والتكامل والتدريب - + Support the project (donate)… ادعم المشروع (تبرّع)… - + Help fund MapMap's ongoing development ساعد في تمويل التطوير المستمر لـ MapMap - + Documentation التوثيق - + Submit feedback via email إرسال ملاحظات عبر البريد الإلكتروني - + &Keyboard shortcuts اختصارات لوحة المفاتيح(&K) - + Welcome to %1… مرحبًا بك في %1… - + + &Performance Mode + وضع العرض(&P) + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + وضع العرض (%1): تقديم العرض مع قفل الأشكال، دون إضافة أو حذف أي شيء + + + &File ملف(&F) - + Open Recents Projects فتح المشاريع الحديثة - + Open Recents Videos فتح مقاطع الفيديو الحديثة - + &Edit تحرير(&E) - + &View عرض(&V) - + &Output الإخراج(&O) - + &Tools - + &Window نافذة(&W) - + &Help مساعدة(&H) - + Change Layer Source تغيير مصدر الطبقة - + &Toolbar شريط الأدوات(&T) - + + Performance Mode + وضع العرض + + + The learned keys act again. المفاتيح المتعلَّمة تعمل من جديد. - + The learned keys are off: they do nothing until turned on again. المفاتيح المتعلَّمة متوقفة: لا تفعل شيئًا حتى يُعاد تشغيلها. - + Learned keys: on المفاتيح المتعلَّمة: مفعّلة - + Learned keys: off المفاتيح المتعلَّمة: متوقفة - + Edit > Learned Keys Active (%1) turns them on and off. تحرير > المفاتيح المتعلَّمة مفعّلة (%1) يشغّلها ويوقفها. - + The document has been modified. Do you want to save your changes? تم تعديل المستند. هل تريد حفظ التغييرات؟ - - + + Error reading mapping project file خطأ في قراءة ملف مشروع الإسقاط - - + + Cannot read file %1: %2. تتعذّر قراءة الملف %1: %2. - + Cannot read %1: %2 تتعذّر قراءة %1: %2 - + Project of a later version مشروع من إصدار أحدث - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. حُفظ هذا المشروع بإصدار أحدث من MapMap، بالصيغة %1؛ وهذا الإصدار يكتب %2. ما لا يعرفه هذا الإصدار يُحتفظ به، لكنه قد لا يعمل كما أراد الإصدار الأحدث. - + Project opened with missing entries فُتح المشروع مع إدخالات مفقودة - + MapMap skipped these project entries: %1 تخطّى MapMap إدخالات المشروع هذه: %1 - + Sources this version cannot open مصادر لا يستطيع هذا الإصدار فتحها - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. يحتوي هذا المشروع على مصادر من أنواع لا يستطيع هذا الإصدار من MapMap فتحها: %1. يُحتفظ بها مع طبقاتها، التي تعرض صورة «مفقود»، وتُحفظ كما هي. - + File loaded تم تحميل الملف - - + + File loaded: %n link(s) active تم تحميل الملف: %n رابط نشط @@ -4135,7 +4182,7 @@ They are kept with their layers, which show a "missing" image, and sav - + , %n kept but not usable here ، %n منها محفوظة دون استخدام هنا @@ -4147,201 +4194,234 @@ They are kept with their layers, which show a "missing" image, and sav - - + + Error saving mapping project خطأ في حفظ مشروع الإسقاط - + Cannot write file %1: %2. تتعذّر كتابة الملف %1: %2. - + Cannot rename temporary file to %1. تعذّرت إعادة تسمية الملف المؤقت إلى %1. - + File saved تم حفظ الملف - + + Untitled بلا عنوان - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project مشروع MapMap - - - + + %1 — Performance + %1 — العرض + + + + + &%1 %2 &%1 %2 - + Clear List مسح القائمة - + No Recents Projects لا توجد مشاريع حديثة - + File imported تم استيراد الملف - + %1 added تمت إضافة %1 - + Group %1 - + Output %1 × %2 الإخراج %1 × %2 - + Output Editor (%1 × %2) محرر الإخراج (%1 × %2) - + Output Resolution دقة الإخراج - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. حجم إطار الإخراج، وهو عادةً دقة جهاز العرض. تحجّمه نافذة الإخراج لتملأ شاشة الإخراج. - + Scale the shapes to keep them in place in the frame تحجيم الأشكال لإبقائها في مكانها داخل الإطار - + %1 %2 × %3 %1 %2 × %3 - - + + Face %1 - + Auto-Mapping - + The output screen %1 is disconnected: the output is hidden until it comes back. شاشة الإخراج %1 مفصولة: يبقى الإخراج مخفيًا حتى تعود. - + The output screen %1 is back. عادت شاشة الإخراج %1. - + %1 - %2x%3 %1 - %2x%3 - + - Primary - الرئيسية - + %1 - disconnected %1 - مفصولة - + Output Fills a Screen الإخراج يملأ شاشة - + The output will cover this screen. Press Esc to bring MapMap back. سيغطي الإخراج هذه الشاشة. اضغط Esc لإعادة MapMap. - + Cover the Screen تغطية الشاشة - + Don't ask again لا تسأل مجددًا - + Warning تحذير - + The following file is not supported: %1 الملف التالي غير مدعوم: %1 - + Cannot load movie تعذّر تحميل الفيديو - + Unable to use file %1. The original file is not found. Please locate. تعذّر استخدام الملف %1. لم يُعثر على الملف الأصلي. يُرجى تحديد موقعه. - - + + Locate file %1 تحديد موقع الملف %1 - - + + %1 files (%2) ملفات %1 (%2) - + Undo history سجل التراجع + + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +مقفل في وضع العرض: يعيد %2 إلى وضع التحرير. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + وضع العرض: الأشكال مقفلة. يعيد %1 إلى وضع التحرير. + + + + Performance mode: shapes are locked + وضع العرض: الأشكال مقفلة + + + + Edit mode: shapes can be changed + وضع التحرير: يمكن تغيير الأشكال + + + + Locked in performance mode: %1 goes back to edit mode. + مقفل في وضع العرض: يعيد %1 إلى وضع التحرير. + mmp::MapperGLCanvasToolbar @@ -4366,6 +4446,19 @@ The original file is not found. Please locate. ملاءمة العرض (100%): عرض الصورة كاملة أو إطار الإخراج كاملًا + + mmp::MappingManager + + + Performance Mode + وضع العرض + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + يحدد ما إذا كان العرض جاريًا: تكون أشكال الطبقات محمية من الفأرة ولوحة المفاتيح وأجهزة التحكم، ولا يمكن إضافة أو حذف أي شيء. + + mmp::MediaCues @@ -4382,17 +4475,17 @@ The original file is not found. Please locate. الأعمدة - + The number of columns of vertices of the mesh, its two edges included. عدد أعمدة رؤوس الشبكة، بما في ذلك حافتاها. - + Rows الصفوف - + The number of rows of vertices of the mesh, its two edges included. عدد صفوف رؤوس الشبكة، بما في ذلك حافتاها. diff --git a/translations/mapmap_de.ts b/translations/mapmap_de.ts index 51345207..8057809b 100644 --- a/translations/mapmap_de.ts +++ b/translations/mapmap_de.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... Programm wird gestartet... - + Done. Fertig. @@ -525,127 +525,127 @@ Das Projektfeld „%1“ muss ein Array sein. - + CC %1 CC %1 - + %1 ch %2 %1 Kan. %2 - + Keyboard Tastatur - + MIDI MIDI - + Follow the control Dem Regler folgen - + Follow the turns Den Drehungen folgen - + Move right Nach rechts - + Move down Nach unten - + Increase Erhöhen - + Move left Nach links - + Move up Nach oben - + Decrease Verringern - + Toggle Umschalten - + Turn on Einschalten - + Turn off Ausschalten - + Next option Nächste Option - + Last option Letzte Option - + First option Erste Option - + Minimum or maximum Minimum oder Maximum - + Set to maximum Auf Maximum setzen - + Set to minimum Auf Minimum setzen - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -1999,8 +1999,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2008,18 +2008,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2027,7 +2027,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2035,7 +2035,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2043,22 +2043,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2066,7 +2066,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2074,7 +2074,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2082,17 +2082,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +Im Performance-Modus gesperrt + + + Cancel - + Close @@ -2439,8 +2446,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Ob dieses Element vor Änderungen mit der Maus, der Tastatur und Controllern geschützt ist. + + Whether this element is protected from changes made with the mouse. - Ob dieses Element vor Änderungen mit der Maus geschützt ist. + Ob dieses Element vor Änderungen mit der Maus geschützt ist. @@ -2576,7 +2587,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2584,47 +2595,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Tasten zum Bewegen zuweisen - + Learn MIDI Controls to Move It MIDI-Regler zum Bewegen zuweisen - + Remove the Links That Move It Verknüpfungen zum Bewegen entfernen - + Learn a Key Taste zuweisen - + Remove the Key Taste entfernen - + Learn a MIDI Control MIDI-Regler zuweisen - + Remove the MIDI Control MIDI-Regler entfernen @@ -2747,74 +2758,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer Ebene solo schalten - - + + Lock layer Ebene sperren - - + + Duplicate layer Ebene duplizieren - - + + Delete layer Ebene löschen - + Turn the effect on or off Effekt ein- oder ausschalten - + Remove the effect Effekt entfernen - + Available once a layer can have several effects Verfügbar, sobald eine Ebene mehrere Effekte haben kann - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer Ebene ein- oder ausblenden + + + Locked in performance mode + Im Performance-Modus gesperrt + mmp::LearnMode @@ -2893,22 +2909,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Gesperrt - Whether the vertices of this shape are protected from changes made with the mouse. - Ob die Eckpunkte dieser Form vor Änderungen mit der Maus geschützt sind. + Ob die Eckpunkte dieser Form vor Änderungen mit der Maus geschützt sind. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Ob die Eckpunkte dieser Form vor Änderungen mit der Maus, der Tastatur und Controllern geschützt sind. + + + Points Punkte - + Point Punkt - + The position of a control point of the shape, in pixels. Die Position eines Kontrollpunkts der Form, in Pixeln. @@ -2916,207 +2936,218 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project Projekt öffnen - - - - + + + + MapMap files (*.%1) MapMap-Dateien (*.%1) - - + + Save project Projekt speichern - - + + Import media source file Mediendatei importieren - - + + Media files (%1 %2);;All files (*) Mediendateien (%1 %2);;Alle Dateien (*) - + Camera device Kamera - + Select camera Kamera auswählen - - + + No camera available Keine Kamera verfügbar - - + + You can not use this feature! No camera available in your system Sie können diese Funktion nicht verwenden! In Ihrem System ist keine Kamera verfügbar - + Syphon source added Syphon-Quelle hinzugefügt - - - + + + MapMap MapMap - + Remove this source and all its associated layers? Diese Quelle und alle zugehörigen Ebenen entfernen? - + Input Editor Eingabe-Editor - + Output Editor Ausgabe-Editor - + Library Bibliothek - + Layers Ebenen - + &New &Neu - + Create a new project Ein neues Projekt erstellen - + &Open… Ö&ffnen… - + Open an existing project Ein vorhandenes Projekt öffnen - + &Save &Speichern - + Save the project Das Projekt speichern - + Save &As… Speichern &unter… - + Save the project as… Das Projekt speichern unter… - + No Recents Videos Keine zuletzt verwendeten Videos - + &Import Media File… &Mediendatei importieren… - + Import a video or image file… Eine Video- oder Bilddatei importieren… - + Open &Camera Device… &Kamera öffnen… - + Choose your camera device… Ihre Kamera auswählen… - + Cue %1 Cue %1 - + Cue %1 — %2 Cue %1 — %2 - + %1 set at %2 %1 gesetzt bei %2 - - - + + + Locked in performance mode + Im Performance-Modus gesperrt + + + + Locked with the layer + Mit der Ebene gesperrt + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -3124,1007 +3155,1055 @@ In Ihrem System ist keine Kamera verfügbar - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. Von %1 Ebenen verwendet: Eine Änderung wirkt sich auf alle aus. - + Replace effect Effekt ersetzen - - + + Replace Effect Effekt ersetzen - - - + + + Add Effect Effekt hinzufügen - + Save over a project of a later version? Projekt einer neueren Version überschreiben? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 wurde mit einer neueren Version von MapMap im Format %2 gespeichert. Diese Version behält, was sie nicht kennt, aber die neuere Version öffnet das Projekt möglicherweise nicht mehr so, wie es war. Trotzdem überschreiben? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. MIDI-Zuweisung für %1: Drücken Sie ein Pad für „%2“ oder drehen Sie einen Regler, um in beide Richtungen zu bewegen. Esc beendet, Entf entfernt die MIDI-Regler des Punkts. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Tastenzuweisung für %1: Drücken Sie eine Taste für „%2“. Esc beendet, Entf entfernt die Tasten des Punkts. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. MIDI-Zuweisung: Bewegen Sie einen Regler oder drücken Sie ein Pad für %1. Entf entfernt den zugewiesenen MIDI-Regler. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. MIDI-Zuweisung: Klicken Sie auf ein blau umrandetes Bedienelement und bewegen Sie dann einen Regler des MIDI-Geräts. Bereits zugewiesene MIDI-Regler bleiben wirksam. - + Learning keys: press a key for %1. Delete removes its key. Tastenzuweisung: Drücken Sie eine Taste für %1. Entf entfernt die zugewiesene Taste. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Tastenzuweisung: Klicken Sie auf ein blau umrandetes Bedienelement und drücken Sie dann eine Taste. Zugewiesene Tasten wirken erst, wenn die Zuweisung beendet ist (Esc). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Bewegen Sie einen MIDI-Regler für %1. Entf entfernt den zugewiesenen MIDI-Regler, Esc beendet die Zuweisung. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. MIDI zuweisen: Klicken Sie auf ein blau umrandetes Bedienelement und bewegen Sie dann einen Regler des MIDI-Geräts. Esc beendet die Zuweisung. - + Press a key for %1. Delete removes its key, Escape stops learning. Drücken Sie eine Taste für %1. Entf entfernt die zugewiesene Taste, Esc beendet die Zuweisung. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Tasten zuweisen: Klicken Sie auf ein blau umrandetes Bedienelement und drücken Sie dann eine Taste. Esc beendet die Zuweisung. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. MIDI-Zuweisung: Bewegen Sie einen Regler des MIDI-Geräts, keine Taste. Tasten weisen Sie mit Bearbeiten > Tasten zuweisen zu. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 steuert %2. Drücken Sie Esc, um die Zuweisung zu beenden: Dann wirkt %1. - + Click a control outlined in blue first, then press %1. Klicken Sie zuerst auf ein blau umrandetes Bedienelement und drücken Sie dann %1. - + %1 is already the shortcut of %2: choose another key. %1 ist bereits das Tastenkürzel für %2: Wählen Sie eine andere Taste. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 MIDI-Regler von %1 entfernt - + Key removed from %1 Taste von %1 entfernt - + Click a control outlined in blue first, then move %1. Klicken Sie zuerst auf ein blau umrandetes Bedienelement und bewegen Sie dann %1. - + Input Editor: %1% Eingabe-Editor: %1% - + Output Editor: %1% Ausgabe-Editor: %1% - + Cues Cues - + Stop Learning Zuweisung beenden - + Stop learning (Escape) Zuweisung beenden (Esc) - - + + Add &Generator &Generator hinzufügen - + Add a generator Generator hinzufügen - + Add &Syphon Source… &Syphon-Quelle hinzufügen… - + Receive live video from another application via Syphon… Live-Video aus einer anderen Anwendung über Syphon empfangen… - + E&xit &Beenden - + Exit the application Die Anwendung beenden - + &Undo &Rückgängig - + &Redo &Wiederholen - + &About MapMap Ü&ber MapMap - + Show the application's About box Informationen über die Anwendung anzeigen - + Duplicate Layer Ebene duplizieren - + Duplicate layer item Ebene duplizieren - + Delete Layer Ebene löschen - + Delete layer item Ebene löschen - + Remove Effect Effekt entfernen - + Remove the selected effect Den ausgewählten Effekt entfernen - + Rename Layer Ebene umbenennen - + Rename layer item Ebene umbenennen - + Lock Layer Ebene sperren - + Lock layer item Ebene sperren - + Hide Layer Ebene ausblenden - + Hide layer item Ebene ausblenden - + Solo Layer Ebene solo schalten - + Solo layer item Ebene solo schalten - + Rotate 90° CW Um 90° im Uhrzeigersinn drehen - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Um 90° im Uhrzeigersinn drehen. In der Eingabeansicht wird das Bild innerhalb der Ebene gedreht. - + Rotate 90° CCW Um 90° gegen den Uhrzeigersinn drehen - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Um 90° gegen den Uhrzeigersinn drehen. In der Eingabeansicht wird das Bild innerhalb der Ebene gedreht. - + Rotate 180° Um 180° drehen - + Rotate 180°. In the input view, rotates the image inside the layer. Um 180° drehen. In der Eingabeansicht wird das Bild innerhalb der Ebene gedreht. - + Flip Horizontally Horizontal spiegeln - + Flip horizontally. In the input view, flips the image inside the layer. Horizontal spiegeln. In der Eingabeansicht wird das Bild innerhalb der Ebene gespiegelt. - + Flip Vertically Vertikal spiegeln - + Flip vertically. In the input view, flips the image inside the layer. Vertikal spiegeln. In der Eingabeansicht wird das Bild innerhalb der Ebene gespiegelt. - - + + Raise Anheben - - + + Lower Absenken - + Raise to Top Ganz nach oben - + Raise to top Ganz nach oben - + Lower to Bottom Ganz nach unten - + Lower to bottom Ganz nach unten - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + New Group - + Add a group without layers, to drag layers into - + Delete Source Quelle löschen - + Delete source item Quelle löschen - + Rename Source Quelle umbenennen - + Rename source item Quelle umbenennen - + Import New Media Neues Medium importieren - + Import new media file if not exists on the list Neue Mediendatei importieren, falls sie nicht in der Liste ist - + &Preferences… &Einstellungen… - + Configure preferences… Einstellungen ändern… - + Add &Mesh Layer &Gitterebene hinzufügen - + Add mesh layer Gitterebene hinzufügen - + Add &Triangle Layer &Dreiecksebene hinzufügen - + Add triangle layer Dreiecksebene hinzufügen - + Add &Ellipse Layer &Ellipsenebene hinzufügen - + Add ellipse layer Ellipsenebene hinzufügen - - + + Play Wiedergabe - - + + Pause Pause - - + + Restart Neu starten - + &Hide Output Ausgabe &ausblenden - + Output in a &Window Ausgabe im &Fenster - + Output &Fills a Screen Ausgabe als &Vollbild - + Output Ausgabe - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. Ausgabe als Vollbild (%1). Der Pfeil wählt, wie und wo die Ausgabe angezeigt wird. - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Editor Editor - + Show the editor and hide the bottom section Editor anzeigen und unteren Bereich ausblenden - + Bottom Section Unterer Bereich - + Show the bottom section, such as the cues, and hide the editor Unteren Bereich, etwa die Cues, anzeigen und Editor ausblenden - + Editor and Bottom Section Editor und unterer Bereich - + Show the editor, and the bottom section under it Editor anzeigen, und darunter den unteren Bereich - + Actual Pixels (1:1) Originalgröße (1:1) - + Show one image pixel per screen pixel Ein Bildpixel pro Bildschirmpixel anzeigen - + Fit To View (100%) In Ansicht einpassen (100%) - + Show the whole image or output frame Das ganze Bild oder den ganzen Ausgaberahmen anzeigen - + Output &Resolution... Ausgabeauf&lösung... - + Choose the size of the output frame Die Größe des Ausgaberahmens wählen - + + &Performance Mode + &Performance-Modus + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Performance-Modus (%1): die Show spielen, mit gesperrten Formen, ohne etwas hinzuzufügen oder zu löschen + + + &Output &Ausgabe - + &Tools - + + Performance Mode + Performance-Modus + + + Cannot read %1: %2 %1 kann nicht gelesen werden: %2 - + Project of a later version Projekt einer neueren Version - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. Dieses Projekt wurde mit einer neueren Version von MapMap im Format %1 gespeichert; diese Version schreibt %2. Was diese Version nicht kennt, bleibt erhalten, funktioniert aber möglicherweise nicht so, wie es die neuere Version vorsieht. - + Project opened with missing entries Projekt mit fehlenden Einträgen geöffnet - + MapMap skipped these project entries: %1 MapMap hat diese Projekteinträge übersprungen: %1 - + Sources this version cannot open Quellen, die diese Version nicht öffnen kann - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. Dieses Projekt enthält Quellen von Typen, die diese Version von MapMap nicht öffnen kann: %1. Sie bleiben mit ihren Ebenen erhalten, die ein „fehlt“-Bild zeigen, und werden unverändert gespeichert. - + + %1 — Performance + %1 — Performance + + + Group %1 - - + + Face %1 - + Auto-Mapping - + %1 - disconnected %1 - getrennt - + Output Fills a Screen Ausgabe als Vollbild - + The output will cover this screen. Press Esc to bring MapMap back. Die Ausgabe wird diesen Bildschirm bedecken. Drücken Sie Esc, um MapMap zurückzuholen. - + Cover the Screen Bildschirm bedecken - + Don't ask again Nicht mehr fragen - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Im Performance-Modus gesperrt: %2 wechselt zurück in den Bearbeitungsmodus. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Performance-Modus: Formen sind gesperrt. %1 wechselt zurück in den Bearbeitungsmodus. + + + + Performance mode: shapes are locked + Performance-Modus: Formen sind gesperrt + + + + Edit mode: shapes can be changed + Bearbeitungsmodus: Formen können geändert werden + + + + Locked in performance mode: %1 goes back to edit mode. + Im Performance-Modus gesperrt: %1 wechselt zurück in den Bearbeitungsmodus. + + + &Display Controls &Bedienelemente anzeigen - + Take the layers out of the group, and remove the group - + Display canvas controls Bedienelemente der Ansichten anzeigen - + &Display Controls of Layers of a Source Bedienelemente der &Ebenen einer Quelle anzeigen - + Display all canvas controls related to current source Alle Bedienelemente anzeigen, die zur aktuellen Quelle gehören - + &Sticky Vertices &Magnetische Eckpunkte - + Enable sticky vertices Magnetische Eckpunkte aktivieren - + &Keyboard Learn &Tasten zuweisen - + Link keys of the keyboard to settings: click a control, then press a key Tasten der Tastatur mit Einstellungen verknüpfen: auf ein Bedienelement klicken, dann eine Taste drücken - + &MIDI Learn M&IDI zuweisen - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Regler und Noten eines MIDI-Geräts mit Einstellungen verknüpfen: auf ein Bedienelement klicken, dann einen MIDI-Regler bewegen - + Learned K&eys Active Zugewiesene Tasten &aktiv - + Turn the learned keys off while typing for something else, and on again Die zugewiesenen Tasten beim Tippen für etwas anderes aus- und danach wieder einschalten - + Show &Test Signal &Testbild anzeigen - + Show Test signal Testbild anzeigen - + &Publish Syphon Output Syphon-Ausgabe &veröffentlichen - + Publish the output composition as a Syphon server other apps can receive Die Ausgabe als Syphon-Server veröffentlichen, den andere Anwendungen empfangen können - + Display &Undo History &Änderungsverlauf anzeigen - + Open Conso&le K&onsole öffnen - + &Links &Verknüpfungen - + List the keys linked to settings Die mit Einstellungen verknüpften Tasten auflisten - + Display &Zoom Toolbar &Zoom-Werkzeugleiste anzeigen - + &Menu Bar &Menüleiste - + Main Layout Hauptlayout - + Switch to the Main layout. Zum Hauptlayout wechseln. - + Input editor Layout Layout des Eingabe-Editors - + Switch to the Input editor Layout. Zum Layout des Eingabe-Editors wechseln. - + Output Editor Layout Layout des Ausgabe-Editors - + Switch to the Output Editors Layout. Zum Layout des Ausgabe-Editors wechseln. - - + + Zoom In Vergrößern - - + + Zoom Out Verkleinern - + Report an issue Ein Problem melden - + Professional services && custom development… Professionelle Dienste && individuelle Entwicklung… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Beauftragen Sie Art Plus Code mit Video-Mapping-Installationen, individuellen Funktionen, Integration und Schulung - + Support the project (donate)… Das Projekt unterstützen (spenden)… - + Help fund MapMap's ongoing development Helfen Sie, die Weiterentwicklung von MapMap zu finanzieren - + Documentation Dokumentation - + Submit feedback via email Feedback per E-Mail senden - + &Keyboard shortcuts &Tastenkürzel - + Welcome to %1… Willkommen bei %1… - + &File &Datei - + Open Recents Projects Zuletzt verwendete Projekte öffnen - + Open Recents Videos Zuletzt verwendete Videos öffnen - + &Edit &Bearbeiten - + &View &Ansicht - + &Window &Fenster - + &Help &Hilfe - + Change Layer Source Quelle der Ebene ändern - + &Toolbar &Werkzeugleiste - + The learned keys act again. Die zugewiesenen Tasten wirken wieder. - + The learned keys are off: they do nothing until turned on again. Die zugewiesenen Tasten sind aus: Sie bewirken nichts, bis sie wieder eingeschaltet werden. - + Learned keys: on Zugewiesene Tasten: an - + Learned keys: off Zugewiesene Tasten: aus - + Edit > Learned Keys Active (%1) turns them on and off. Bearbeiten > Zugewiesene Tasten aktiv (%1) schaltet sie ein und aus. - + The document has been modified. Do you want to save your changes? Das Dokument wurde geändert. Möchten Sie Ihre Änderungen speichern? - - + + Error reading mapping project file Fehler beim Lesen der Projektdatei - - + + Cannot read file %1: %2. Die Datei %1 kann nicht gelesen werden: %2. - + File loaded Datei geladen - - + + File loaded: %n link(s) active Datei geladen: %n Verknüpfung aktiv @@ -4132,7 +4211,7 @@ Möchten Sie Ihre Änderungen speichern? - + , %n kept but not usable here , %n behalten, aber hier nicht verwendbar @@ -4140,157 +4219,158 @@ Möchten Sie Ihre Änderungen speichern? - - + + Error saving mapping project Fehler beim Speichern des Projekts - + Cannot write file %1: %2. Die Datei %1 kann nicht geschrieben werden: %2. - + Cannot rename temporary file to %1. Die temporäre Datei kann nicht in %1 umbenannt werden. - + File saved Datei gespeichert - + + Untitled Unbenannt - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project MapMap-Projekt - - - + + + &%1 %2 &%1 %2 - + Clear List Liste leeren - + No Recents Projects Keine zuletzt verwendeten Projekte - + %1 added %1 hinzugefügt - + Output %1 × %2 Ausgabe %1 × %2 - + Output Editor (%1 × %2) Ausgabe-Editor (%1 × %2) - + Output Resolution Ausgabeauflösung - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Größe des Ausgaberahmens, meist die Auflösung des Projektors. Das Ausgabefenster skaliert ihn, um den Ausgabebildschirm zu füllen. - + Scale the shapes to keep them in place in the frame Formen skalieren, damit sie im Rahmen an ihrem Platz bleiben - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. Der Ausgabebildschirm %1 ist getrennt: Die Ausgabe ist ausgeblendet, bis er wieder verbunden ist. - + The output screen %1 is back. Der Ausgabebildschirm %1 ist wieder da. - + %1 - %2x%3 %1 - %2x%3 - + - Primary - Primär - + File imported Datei importiert - + Warning Warnung - + The following file is not supported: %1 Die folgende Datei wird nicht unterstützt: %1 - + Cannot load movie Film kann nicht geladen werden - + Unable to use file %1. The original file is not found. Please locate. Die Datei %1 kann nicht verwendet werden. Die Originaldatei wurde nicht gefunden. Bitte suchen Sie sie. - - + + Locate file %1 Datei %1 suchen - - + + %1 files (%2) %1-Dateien (%2) - + Undo history Änderungsverlauf @@ -4318,6 +4398,19 @@ Die Originaldatei wurde nicht gefunden. Bitte suchen Sie sie. In Ansicht einpassen (100%): das ganze Bild oder den ganzen Ausgaberahmen anzeigen + + mmp::MappingManager + + + Performance Mode + Performance-Modus + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Ob die Show läuft: Die Formen der Ebenen sind gegen Maus, Tastatur und Controller gesperrt, und nichts kann hinzugefügt oder gelöscht werden. + + mmp::MediaCues @@ -4334,17 +4427,17 @@ Die Originaldatei wurde nicht gefunden. Bitte suchen Sie sie. Spalten - + The number of columns of vertices of the mesh, its two edges included. Die Anzahl der Spalten von Eckpunkten des Gitters, seine beiden Ränder eingeschlossen. - + Rows Zeilen - + The number of rows of vertices of the mesh, its two edges included. Die Anzahl der Zeilen von Eckpunkten des Gitters, seine beiden Ränder eingeschlossen. diff --git a/translations/mapmap_en.ts b/translations/mapmap_en.ts index b17edb69..83097ebd 100644 --- a/translations/mapmap_en.ts +++ b/translations/mapmap_en.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -515,137 +515,137 @@ The project field '%1' must be an array. - + Initiating program... Initiating program... - + Done. Done. - + CC %1 CC %1 - + %1 ch %2 %1 ch %2 - + Keyboard Keyboard - + MIDI MIDI - + Follow the control Follow the control - + Follow the turns Follow the turns - + Move right Move right - + Move down Move down - + Increase Increase - + Move left Move left - + Move up Move up - + Decrease Decrease - + Toggle Toggle - + Turn on Turn on - + Turn off Turn off - + Next option Next option - + Last option Last option - + First option First option - + Minimum or maximum Minimum or maximum - + Set to maximum Set to maximum - + Set to minimum Set to minimum - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1941,13 +1941,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes Create Shapes - + Make a layer of each face found, with a colour of its own Make a layer of each face found, with a colour of its own @@ -1962,37 +1962,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Projector screen: - + No camera is connected. No camera is connected. - + %1 images, about %2 seconds. %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. The scan needs the output over the whole screen of the projector. - + Scanning: do not move. Scanning: do not move. - + Scan cancelled. Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found %n face found @@ -2000,8 +2000,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand %n outline to place by hand @@ -2009,18 +2009,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. %n layer of the previous scan will follow its face: it keeps its source and its effects, only its corners move. @@ -2028,7 +2028,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. %n new face will be added. @@ -2036,7 +2036,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. %n layer of the previous scan was not found again: %1. @@ -2044,22 +2044,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them Update and Remove Them - + Update and Keep Them Update and Keep Them - + Update Update - + %n layer(s) moved %n layer moved @@ -2067,7 +2067,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created %n shape created @@ -2075,7 +2075,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed %n layer removed @@ -2083,17 +2083,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +Locked in performance mode + + + Cancel Cancel - + Close Close @@ -2440,8 +2447,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + + Whether this element is protected from changes made with the mouse. - Whether this element is protected from changes made with the mouse. + Whether this element is protected from changes made with the mouse. @@ -2577,7 +2588,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2585,47 +2596,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Learn Keys to Move It - + Learn MIDI Controls to Move It Learn MIDI Controls to Move It - + Remove the Links That Move It Remove the Links That Move It - + Learn a Key Learn a Key - + Remove the Key Remove the Key - + Learn a MIDI Control Learn a MIDI Control - + Remove the MIDI Control Remove the MIDI Control @@ -2748,74 +2759,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer Solo layer - - + + Lock layer Lock layer - - + + Duplicate layer Duplicate layer - - + + Delete layer Delete layer - + Turn the effect on or off Turn the effect on or off - + Remove the effect Remove the effect - + Available once a layer can have several effects Available once a layer can have several effects - + Show or hide the layers of the group Show or hide the layers of the group - + Solo group: show only its layers Solo group: show only its layers - + Lock the layers of the group Lock the layers of the group - + Delete the group and its layers Delete the group and its layers - + Not available for a group yet Not available for a group yet - + Show or hide the layer Show or hide the layer + + + Locked in performance mode + Locked in performance mode + mmp::LearnMode @@ -2894,22 +2910,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Locked - Whether the vertices of this shape are protected from changes made with the mouse. - Whether the vertices of this shape are protected from changes made with the mouse. + Whether the vertices of this shape are protected from changes made with the mouse. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + + + Points Points - + Point Point - + The position of a control point of the shape, in pixels. The position of a control point of the shape, in pixels. @@ -2917,404 +2937,415 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project Open project - - - - + + + + MapMap files (*.%1) MapMap files (*.%1) - - + + Save project Save project - - + + Import media source file Import media source file - - + + Media files (%1 %2);;All files (*) Media files (%1 %2);;All files (*) - + Camera device Camera device - + Select camera Select camera - - + + No camera available No camera available - - + + You can not use this feature! No camera available in your system You can not use this feature! No camera available in your system - + Syphon source added Syphon source added - - - + + + MapMap MapMap - + &New &New - + Create a new project Create a new project - + &Open… &Open… - + Open an existing project Open an existing project - + &Save &Save - + Save the project Save the project - + Save &As… Save &As… - + Save the project as… Save the project as… - + No Recents Videos No Recents Videos - + &Import Media File… &Import Media File… - + Import a video or image file… Import a video or image file… - + Open &Camera Device… Open &Camera Device… - + Choose your camera device… Choose your camera device… - + E&xit E&xit - + Exit the application Exit the application - + &Undo &Undo - + &Redo &Redo - + &About MapMap &About MapMap - + Show the application's About box Show the application's About box - + Take the layers out of the group, and remove the group Take the layers out of the group, and remove the group - + &Preferences… &Preferences… - + Configure preferences… Configure preferences… - - + + Play Play - - + + Pause Pause - + &Display Controls &Display Controls - + Display canvas controls Display canvas controls - + &Sticky Vertices &Sticky Vertices - + Enable sticky vertices Enable sticky vertices - + Show &Test Signal Show &Test Signal - + Show Test signal Show Test signal - + Display &Undo History Display &Undo History - + Open Conso&le Open Conso&le - + Display &Zoom Toolbar Display &Zoom Toolbar - + &Menu Bar &Menu Bar - + Main Layout Main Layout - + Switch to the Main layout. Switch to the Main layout. - - + + Zoom In Zoom In - - + + Zoom Out Zoom Out - + Report an issue Report an issue - + Submit feedback via email Submit feedback via email - + &View &View - + - Primary - Primary - + Unable to use file %1. The original file is not found. Please locate. Unable to use file %1. The original file is not found. Please locate. - - + + Locate file %1 Locate file %1 - + Documentation Documentation - + &File &File - + Open Recents Projects Open Recents Projects - + Open Recents Videos Open Recents Videos - + &Edit &Edit - + &Output &Output - + &Window &Window - + Remove this source and all its associated layers? Remove this source and all its associated layers? - + Input Editor Input Editor - + Output Editor Output Editor - + Library Library - + Layers Layers - + Cue %1 Cue %1 - + Cue %1 — %2 Cue %1 — %2 - + %1 set at %2 %1 set at %2 - - - + + + Locked in performance mode + Locked in performance mode + + + + Locked with the layer + Locked with the layer + + + + + Group Group - + Group layers Group layers - + Ungroup layers Ungroup layers - + New group New group - + Delete group Delete group - + Delete the group "%1" and its %n layer(s)? Delete the group "%1" and its layer? @@ -3322,828 +3353,876 @@ The original file is not found. Please locate. - + + Move layer Move layer - + Move layers Move layers - + Move group Move group - + Used by %1 layers: changing it changes them all. Used by %1 layers: changing it changes them all. - + Replace effect Replace effect - - + + Replace Effect Replace Effect - - - + + + Add Effect Add Effect - + Save over a project of a later version? Save over a project of a later version? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. - + Learning keys: press a key for %1. Delete removes its key. Learning keys: press a key for %1. Delete removes its key. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. - + Press a key for %1. Delete removes its key, Escape stops learning. Press a key for %1. Delete removes its key, Escape stops learning. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 drives %2. Press Escape to stop learning: %1 then acts. - + Click a control outlined in blue first, then press %1. Click a control outlined in blue first, then press %1. - + %1 is already the shortcut of %2: choose another key. %1 is already the shortcut of %2: choose another key. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 MIDI control removed from %1 - + Key removed from %1 Key removed from %1 - + Click a control outlined in blue first, then move %1. Click a control outlined in blue first, then move %1. - + Input Editor: %1% Input Editor: %1% - + Output Editor: %1% Output Editor: %1% - + Cues Cues - + Stop Learning Stop Learning - + Stop learning (Escape) Stop learning (Escape) - - + + Add &Generator Add &Generator - + Add a generator Add a generator - + Add &Syphon Source… Add &Syphon Source… - + Receive live video from another application via Syphon… Receive live video from another application via Syphon… - + Duplicate Layer Duplicate Layer - + Duplicate layer item Duplicate layer item - + Delete Layer Delete Layer - + Delete layer item Delete layer item - + Remove Effect Remove Effect - + Remove the selected effect Remove the selected effect - + Rename Layer Rename Layer - + Rename layer item Rename layer item - + Lock Layer Lock Layer - + Lock layer item Lock layer item - + Hide Layer Hide Layer - + Hide layer item Hide layer item - + Solo Layer Solo Layer - + Solo layer item Solo layer item - + Rotate 90° CW Rotate 90° CW - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Rotate 90° clockwise. In the input view, rotates the image inside the layer. - + Rotate 90° CCW Rotate 90° CCW - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. - + Rotate 180° Rotate 180° - + Rotate 180°. In the input view, rotates the image inside the layer. Rotate 180°. In the input view, rotates the image inside the layer. - + Flip Horizontally Flip Horizontally - + Flip horizontally. In the input view, flips the image inside the layer. Flip horizontally. In the input view, flips the image inside the layer. - + Flip Vertically Flip Vertically - + Flip vertically. In the input view, flips the image inside the layer. Flip vertically. In the input view, flips the image inside the layer. - - + + Raise Raise - - + + Lower Lower - + Raise to Top Raise to Top - + Raise to top Raise to top - + Lower to Bottom Lower to Bottom - + Lower to bottom Lower to bottom - + Group The command: put the selected layers in a group Group - + Put the selected layers in a new group Put the selected layers in a new group - + Ungroup Ungroup - + New Group New Group - + Add a group without layers, to drag layers into Add a group without layers, to drag layers into - + Delete Source Delete Source - + Delete source item Delete source item - + Rename Source Rename Source - + Rename source item Rename source item - + Import New Media Import New Media - + Import new media file if not exists on the list Import new media file if not exists on the list - + Add &Mesh Layer Add &Mesh Layer - + Add mesh layer Add mesh layer - + Add &Triangle Layer Add &Triangle Layer - + Add triangle layer Add triangle layer - + Add &Ellipse Layer Add &Ellipse Layer - + Add ellipse layer Add ellipse layer - - + + Restart Restart - + &Hide Output &Hide Output - + Output in a &Window Output in a &Window - + Output &Fills a Screen Output &Fills a Screen - + Output Output - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. Output Fills a Screen (%1). The arrow chooses how and where the output is shown. - + &Display Controls of Layers of a Source &Display Controls of Layers of a Source - + Display all canvas controls related to current source Display all canvas controls related to current source - + &Keyboard Learn &Keyboard Learn - + Link keys of the keyboard to settings: click a control, then press a key Link keys of the keyboard to settings: click a control, then press a key - + &MIDI Learn &MIDI Learn - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control - + Learned K&eys Active Learned K&eys Active - + Turn the learned keys off while typing for something else, and on again Turn the learned keys off while typing for something else, and on again - + &Publish Syphon Output &Publish Syphon Output - + Publish the output composition as a Syphon server other apps can receive Publish the output composition as a Syphon server other apps can receive - + &Links &Links - + List the keys linked to settings List the keys linked to settings - + &Auto-Mapping… &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image &Clear Auto-Mapping Image - + Forget the scene seen from the projector Forget the scene seen from the projector - + Input editor Layout Input editor Layout - + Switch to the Input editor Layout. Switch to the Input editor Layout. - + Output Editor Layout Output Editor Layout - + Switch to the Output Editors Layout. Switch to the Output Editors Layout. - + Editor Editor - + Show the editor and hide the bottom section Show the editor and hide the bottom section - + Bottom Section Bottom Section - + Show the bottom section, such as the cues, and hide the editor Show the bottom section, such as the cues, and hide the editor - + Editor and Bottom Section Editor and Bottom Section - + Show the editor, and the bottom section under it Show the editor, and the bottom section under it - + Actual Pixels (1:1) Actual Pixels (1:1) - + Show one image pixel per screen pixel Show one image pixel per screen pixel - + Fit To View (100%) Fit To View (100%) - + Show the whole image or output frame Show the whole image or output frame - + Output &Resolution... Output &Resolution... - + Choose the size of the output frame Choose the size of the output frame - + Professional services && custom development… Professional services && custom development… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Hire Art Plus Code for video mapping installations, custom features, integration and training - + Support the project (donate)… Support the project (donate)… - + Help fund MapMap's ongoing development Help fund MapMap's ongoing development - + &Keyboard shortcuts &Keyboard shortcuts - + Welcome to %1… Welcome to %1… - + + &Performance Mode + &Performance Mode + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + + + &Tools &Tools - + &Help &Help - + Change Layer Source Change Layer Source - + &Toolbar &Toolbar - + + Performance Mode + Performance Mode + + + The learned keys act again. The learned keys act again. - + The learned keys are off: they do nothing until turned on again. The learned keys are off: they do nothing until turned on again. - + Learned keys: on Learned keys: on - + Learned keys: off Learned keys: off - + Edit > Learned Keys Active (%1) turns them on and off. Edit > Learned Keys Active (%1) turns them on and off. - + The document has been modified. Do you want to save your changes? The document has been modified. Do you want to save your changes? - - + + Error reading mapping project file Error reading mapping project file - - + + Cannot read file %1: %2. Cannot read file %1: %2. - + Cannot read %1: %2 Cannot read %1: %2 - + Project of a later version Project of a later version - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. - + Project opened with missing entries Project opened with missing entries - + MapMap skipped these project entries: %1 MapMap skipped these project entries: %1 - + Sources this version cannot open Sources this version cannot open - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. - + + %1 — Performance + %1 — Performance + + + Group %1 Group %1 - - + + Face %1 Face %1 - + Auto-Mapping Auto-Mapping - + %1 - disconnected %1 - disconnected - + Output Fills a Screen Output Fills a Screen - + The output will cover this screen. Press Esc to bring MapMap back. The output will cover this screen. Press Esc to bring MapMap back. - + Cover the Screen Cover the Screen - + Don't ask again Don't ask again - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Locked in performance mode: %2 goes back to edit mode. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Performance mode: shapes are locked. %1 goes back to edit mode. + + + + Performance mode: shapes are locked + Performance mode: shapes are locked + + + + Edit mode: shapes can be changed + Edit mode: shapes can be changed + + + + Locked in performance mode: %1 goes back to edit mode. + Locked in performance mode: %1 goes back to edit mode. + + + File loaded File loaded - - + + File loaded: %n link(s) active File loaded: %n link active @@ -4151,7 +4230,7 @@ They are kept with their layers, which show a "missing" image, and sav - + , %n kept but not usable here , %n kept but not usable here @@ -4159,139 +4238,140 @@ They are kept with their layers, which show a "missing" image, and sav - - + + Error saving mapping project Error saving mapping project - + Cannot write file %1: %2. Cannot write file %1: %2. - + Cannot rename temporary file to %1. Cannot rename temporary file to %1. - + File saved File saved - + + Untitled Untitled - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project MapMap Project - - - + + + &%1 %2 &%1 %2 - + Clear List Clear List - + No Recents Projects No Recents Projects - + %1 added %1 added - + Output %1 × %2 Output %1 × %2 - + Output Editor (%1 × %2) Output Editor (%1 × %2) - + Output Resolution Output Resolution - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. - + Scale the shapes to keep them in place in the frame Scale the shapes to keep them in place in the frame - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. The output screen %1 is disconnected: the output is hidden until it comes back. - + The output screen %1 is back. The output screen %1 is back. - + %1 - %2x%3 %1 - %2x%3 - + File imported File imported - + Warning Warning - + The following file is not supported: %1 The following file is not supported: %1 - + Cannot load movie Cannot load movie - - + + %1 files (%2) %1 files (%2) - + Undo history Undo history @@ -4319,6 +4399,19 @@ They are kept with their layers, which show a "missing" image, and sav Fit to view (100%): show the whole image or output frame + + mmp::MappingManager + + + Performance Mode + Performance Mode + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + + mmp::MediaCues @@ -4335,17 +4428,17 @@ They are kept with their layers, which show a "missing" image, and sav Columns - + The number of columns of vertices of the mesh, its two edges included. The number of columns of vertices of the mesh, its two edges included. - + Rows Rows - + The number of rows of vertices of the mesh, its two edges included. The number of rows of vertices of the mesh, its two edges included. diff --git a/translations/mapmap_es.ts b/translations/mapmap_es.ts index 500f9856..f78a3050 100644 --- a/translations/mapmap_es.ts +++ b/translations/mapmap_es.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... Iniciando el programa... - + Done. Listo. @@ -525,127 +525,127 @@ El campo '%1' del proyecto debe ser una lista. - + CC %1 CC %1 - + %1 ch %2 %1 can. %2 - + Keyboard Teclado - + MIDI MIDI - + Follow the control Seguir el control - + Follow the turns Seguir los giros - + Move right Mover a la derecha - + Move down Mover abajo - + Increase Aumentar - + Move left Mover a la izquierda - + Move up Mover arriba - + Decrease Disminuir - + Toggle Alternar - + Turn on Activar - + Turn off Desactivar - + Next option Opción siguiente - + Last option Última opción - + First option Primera opción - + Minimum or maximum Mínimo o máximo - + Set to maximum Poner al máximo - + Set to minimum Poner al mínimo - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -1999,8 +1999,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2008,18 +2008,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2027,7 +2027,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2035,7 +2035,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2043,22 +2043,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2066,7 +2066,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2074,7 +2074,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2082,17 +2082,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +Bloqueado en modo en vivo + + + Cancel - + Close @@ -2439,8 +2446,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Si este elemento está protegido contra los cambios hechos con el puntero, el teclado y los controladores. + + Whether this element is protected from changes made with the mouse. - Si este elemento está protegido contra los cambios hechos con el puntero. + Si este elemento está protegido contra los cambios hechos con el puntero. @@ -2576,7 +2587,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2584,47 +2595,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Aprender teclas para moverlo - + Learn MIDI Controls to Move It Aprender controles MIDI para moverlo - + Remove the Links That Move It Quitar los vínculos que lo mueven - + Learn a Key Aprender una tecla - + Remove the Key Quitar la tecla - + Learn a MIDI Control Aprender un control MIDI - + Remove the MIDI Control Quitar el control MIDI @@ -2747,74 +2758,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer Capa en solo - - + + Lock layer Bloquear capa - - + + Duplicate layer Duplicar capa - - + + Delete layer Eliminar capa - + Turn the effect on or off Activar o desactivar el efecto - + Remove the effect Quitar el efecto - + Available once a layer can have several effects Disponible cuando una capa pueda tener varios efectos - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer Mostrar u ocultar la capa + + + Locked in performance mode + Bloqueado en modo en vivo + mmp::LearnMode @@ -2893,22 +2909,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Bloqueada - Whether the vertices of this shape are protected from changes made with the mouse. - Si los vértices de esta forma están protegidos contra los cambios hechos con el puntero. + Si los vértices de esta forma están protegidos contra los cambios hechos con el puntero. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Si los vértices de esta forma están protegidos contra los cambios hechos con el puntero, el teclado y los controladores. + + + Points Puntos - + Point Punto - + The position of a control point of the shape, in pixels. La posición de un punto de control de la forma, en píxeles. @@ -2916,488 +2936,499 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project Abrir proyecto - - - - + + + + MapMap files (*.%1) Archivos de MapMap (*.%1) - - + + Save project Guardar proyecto - - + + Import media source file Importar archivo de fuente multimedia - - + + Media files (%1 %2);;All files (*) Archivos multimedia (%1 %2);;Todos los archivos (*) - + Camera device Dispositivo de cámara - + Select camera Seleccionar cámara - - + + No camera available No hay cámara disponible - - + + You can not use this feature! No camera available in your system No puede usar esta función. No hay ninguna cámara disponible en el sistema. - + Syphon source added Fuente Syphon añadida - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. Aprendiendo MIDI para %1: presione un pad para "%2", o gire un control giratorio para moverlo en ambos sentidos. Esc detiene, Supr quita los controles MIDI del punto. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Aprendiendo teclas para %1: presione una tecla para "%2". Esc detiene, Supr quita las teclas del punto. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. Aprendiendo MIDI: mueva un control o presione un pad para %1. Supr quita su control MIDI. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. Aprendiendo MIDI: haga clic en un control con contorno azul y luego mueva un control del dispositivo MIDI. Los controles MIDI ya aprendidos actúan. - + Learning keys: press a key for %1. Delete removes its key. Aprendiendo teclas: presione una tecla para %1. Supr quita su tecla. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Aprendiendo teclas: haga clic en un control con contorno azul y luego presione una tecla. Las teclas aprendidas no actúan hasta que se detiene el aprendizaje (Esc). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Mueva un control MIDI para %1. Supr quita su control MIDI, Esc detiene el aprendizaje. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. Aprendizaje MIDI: haga clic en un control con contorno azul y luego mueva un control del dispositivo MIDI. Esc detiene el aprendizaje. - + Press a key for %1. Delete removes its key, Escape stops learning. Presione una tecla para %1. Supr quita su tecla, Esc detiene el aprendizaje. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Aprendizaje de teclado: haga clic en un control con contorno azul y luego presione una tecla. Esc detiene el aprendizaje. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. Aprendiendo MIDI: mueva un control del dispositivo MIDI, no una tecla. Editar > Aprendizaje de teclado aprende teclas. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 controla %2. Presione Esc para detener el aprendizaje: %1 actuará entonces. - + Click a control outlined in blue first, then press %1. Primero haga clic en un control con contorno azul y luego presione %1. - + %1 is already the shortcut of %2: choose another key. %1 ya es el atajo de %2: elija otra tecla. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 Control MIDI quitado de %1 - + Key removed from %1 Tecla quitada de %1 - + Click a control outlined in blue first, then move %1. Primero haga clic en un control con contorno azul y luego mueva %1. - + Input Editor: %1% Editor de entrada: %1% - + Output Editor: %1% Editor de salida: %1% - - - + + + MapMap MapMap - + Stop Learning Detener aprendizaje - + Stop learning (Escape) Detener el aprendizaje (Esc) - + &New &Nuevo - + Create a new project Crear un nuevo proyecto - + &Open… &Abrir… - + Open an existing project Abrir un proyecto existente - + &Save &Guardar - + Save the project Guardar el proyecto - + Save &As… Guardar &como… - + Save the project as… Guardar el proyecto como… - + No Recents Videos No hay vídeos recientes - + &Import Media File… &Importar archivo multimedia… - + Import a video or image file… Importar un archivo de vídeo o imagen… - + Open &Camera Device… Abrir dispositivo de &cámara… - + Choose your camera device… Elija su dispositivo de cámara… - - + + Add &Generator Añadir gene&rador - + Add a generator Añadir un generador - + E&xit S&alir - + Exit the application Salir de la aplicación - + &Undo &Deshacer - + &Redo &Rehacer - + &About MapMap &Acerca de MapMap - + Show the application's About box Mostrar el cuadro Acerca de de la aplicación - + Remove Effect Quitar efecto - + Remove the selected effect Quitar el efecto seleccionado - + Solo layer item Elemento de capa en solo - + Rotate 90° CW Rotar 90° en sentido horario - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Rotar 90° en sentido horario. En la vista de entrada, rota la imagen dentro de la capa. - + Rotate 90° CCW Rotar 90° en sentido antihorario - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Rotar 90° en sentido antihorario. En la vista de entrada, rota la imagen dentro de la capa. - + Rotate 180° Rotar 180° - + Rotate 180°. In the input view, rotates the image inside the layer. Rotar 180°. En la vista de entrada, rota la imagen dentro de la capa. - + Group The command: put the selected layers in a group - + Take the layers out of the group, and remove the group - + &Preferences… &Preferencias… - + Configure preferences… Configurar preferencias… - - + + Play Reproducir - - + + Pause Pausa - + &Display Controls &Mostrar controles - + Display canvas controls Mostrar los controles del lienzo - + &Sticky Vertices &Vértices magnéticos - + Enable sticky vertices Activar vértices magnéticos - + Show &Test Signal Mostrar señal de &prueba - + Show Test signal Mostrar señal de prueba - + Display &Undo History Mostrar &historial de deshacer - + Open Conso&le Abrir conso&la - + Display &Zoom Toolbar Mostrar barra de &zoom - + &Menu Bar Barra de &menús - + Main Layout Disposición principal - + Switch to the Main layout. Cambiar a la disposición principal. - + Remove this source and all its associated layers? ¿Quitar esta fuente y todas sus capas asociadas? - + Cue %1 Marca %1 - + Cue %1 — %2 Marca %1 — %2 - + %1 set at %2 %1 fijada en %2 - - - + + + Locked in performance mode + Bloqueado en modo en vivo + + + + Locked with the layer + Bloqueado con la capa + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -3405,726 +3436,774 @@ No hay ninguna cámara disponible en el sistema. - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. Usada por %1 capas: cambiarla las cambia todas. - + Replace effect Reemplazar el efecto - - + + Replace Effect Reemplazar efecto - - - + + + Add Effect Añadir efecto - + Save over a project of a later version? ¿Sobrescribir un proyecto de una versión posterior? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 se guardó con una versión posterior de MapMap, en el formato %2. Esta versión conserva lo que no conoce, pero es posible que la versión posterior no abra el proyecto tal como estaba. ¿Sobrescribirlo de todos modos? - + Input Editor Editor de entrada - + Output Editor Editor de salida - + Library Biblioteca - + Layers Capas - + Cues Marcas - + Add &Syphon Source… Añadir fuente &Syphon… - + Receive live video from another application via Syphon… Recibir vídeo en directo de otra aplicación mediante Syphon… - + Duplicate Layer Duplicar capa - + Duplicate layer item Duplicar elemento de capa - + Delete Layer Eliminar capa - + Delete layer item Eliminar elemento de capa - + Rename Layer Renombrar capa - + Rename layer item Renombrar elemento de capa - + Lock Layer Bloquear capa - + Lock layer item Bloquear elemento de capa - + Hide Layer Ocultar capa - + Hide layer item Ocultar elemento de capa - + Solo Layer Capa en solo - + Flip Horizontally Voltear horizontalmente - + Flip horizontally. In the input view, flips the image inside the layer. Voltear horizontalmente. En la vista de entrada, voltea la imagen dentro de la capa. - + Flip Vertically Voltear verticalmente - + Flip vertically. In the input view, flips the image inside the layer. Voltear verticalmente. En la vista de entrada, voltea la imagen dentro de la capa. - - + + Raise Subir - - + + Lower Bajar - + Raise to Top Subir hasta arriba - + Raise to top Subir hasta arriba - + Lower to Bottom Bajar hasta el fondo - + Lower to bottom Bajar hasta el fondo - + Put the selected layers in a new group - + Ungroup - + New Group - + Add a group without layers, to drag layers into - + Delete Source Eliminar fuente - + Delete source item Eliminar elemento de fuente - + Rename Source Renombrar fuente - + Rename source item Renombrar elemento de fuente - + Import New Media Importar nuevo archivo multimedia - + Import new media file if not exists on the list Importar un nuevo archivo multimedia si no está en la lista - + Add &Mesh Layer Añadir capa de &malla - + Add mesh layer Añadir capa de malla - + Add &Triangle Layer Añadir capa de &triángulo - + Add triangle layer Añadir capa de triángulo - + Add &Ellipse Layer Añadir capa de &elipse - + Add ellipse layer Añadir capa de elipse - - + + Restart Reiniciar - + &Hide Output &Ocultar la salida - + Output in a &Window Salida en una &ventana - + Output &Fills a Screen La salida &cubre una pantalla - + Output Salida - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. La salida cubre una pantalla (%1). La flecha elige cómo y dónde se muestra la salida. - + &Display Controls of Layers of a Source &Mostrar controles de las capas de una fuente - + Display all canvas controls related to current source Mostrar todos los controles del lienzo relacionados con la fuente actual - + &Keyboard Learn Aprendizaje de &teclado - + Link keys of the keyboard to settings: click a control, then press a key Vincular teclas del teclado a ajustes: haga clic en un control y luego presione una tecla - + &MIDI Learn Aprendizaje &MIDI - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Vincular controles y notas de un dispositivo MIDI a ajustes: haga clic en un control y luego mueva un control MIDI - + Learned K&eys Active T&eclas aprendidas activas - + Turn the learned keys off while typing for something else, and on again Desactivar las teclas aprendidas mientras escribe otra cosa, y volver a activarlas - + &Publish Syphon Output &Publicar la salida Syphon - + Publish the output composition as a Syphon server other apps can receive Publicar la composición de salida como un servidor Syphon que otras aplicaciones pueden recibir - + &Links &Vínculos - + List the keys linked to settings Listar las teclas vinculadas a ajustes - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Input editor Layout Disposición del editor de entrada - + Switch to the Input editor Layout. Cambiar a la disposición del editor de entrada. - + Output Editor Layout Disposición del editor de salida - + Switch to the Output Editors Layout. Cambiar a la disposición del editor de salida. - + Editor Editor - + Show the editor and hide the bottom section Mostrar el editor y ocultar la sección inferior - + Bottom Section Sección inferior - + Show the bottom section, such as the cues, and hide the editor Mostrar la sección inferior, como las marcas, y ocultar el editor - + Editor and Bottom Section Editor y sección inferior - + Show the editor, and the bottom section under it Mostrar el editor, y la sección inferior debajo - - + + Zoom In Acercar - - + + Zoom Out Alejar - + Actual Pixels (1:1) Píxeles reales (1:1) - + Show one image pixel per screen pixel Mostrar un píxel de la imagen por cada píxel de la pantalla - + Fit To View (100%) Ajustar a la vista (100%) - + Show the whole image or output frame Mostrar toda la imagen o todo el marco de salida - + Output &Resolution... &Resolución de salida... - + Choose the size of the output frame Elegir el tamaño del marco de salida - + + &Performance Mode + Modo en &vivo + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Modo en vivo (%1): presentar el espectáculo, con las formas bloqueadas y sin añadir ni eliminar nada + + + &Output &Salida - + &Tools - + + Performance Mode + Modo en vivo + + + Cannot read %1: %2 No se puede leer %1: %2 - + Project of a later version Proyecto de una versión posterior - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. Este proyecto se guardó con una versión posterior de MapMap, en el formato %1; esta versión escribe %2. Lo que esta versión no conoce se conserva, pero puede no funcionar como lo previó la versión posterior. - + Project opened with missing entries Proyecto abierto con entradas omitidas - + MapMap skipped these project entries: %1 MapMap omitió estas entradas del proyecto: %1 - + Sources this version cannot open Fuentes que esta versión no puede abrir - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. Este proyecto tiene fuentes de tipos que esta versión de MapMap no puede abrir: %1. Se conservan con sus capas, que muestran una imagen de «falta», y se guardan tal como están. - + + %1 — Performance + %1 — En vivo + + + Group %1 - - + + Face %1 - + Auto-Mapping - + %1 - disconnected %1 - desconectada - + Output Fills a Screen La salida cubre una pantalla - + The output will cover this screen. Press Esc to bring MapMap back. La salida cubrirá esta pantalla. Presione Esc para volver a MapMap. - + Cover the Screen Cubrir la pantalla - + Don't ask again No volver a preguntar - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Bloqueado en modo en vivo: %2 vuelve al modo edición. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Modo en vivo: las formas están bloqueadas. %1 vuelve al modo edición. + + + + Performance mode: shapes are locked + Modo en vivo: las formas están bloqueadas + + + + Edit mode: shapes can be changed + Modo edición: las formas se pueden cambiar + + + + Locked in performance mode: %1 goes back to edit mode. + Bloqueado en modo en vivo: %1 vuelve al modo edición. + + + Report an issue Informar de un problema - + Professional services && custom development… Servicios profesionales && desarrollo a medida… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Contrate a Art Plus Code para instalaciones de mapeo de vídeo, funcionalidades a medida, integración y formación - + Support the project (donate)… Apoyar el proyecto (donar)… - + Help fund MapMap's ongoing development Ayude a financiar el desarrollo continuo de MapMap - + Documentation Documentación - + Submit feedback via email Enviar comentarios por correo electrónico - + &Keyboard shortcuts Atajos de &teclado - + Welcome to %1… Te damos la bienvenida a %1… - + &File &Archivo - + Open Recents Projects Abrir proyectos recientes - + Open Recents Videos Abrir vídeos recientes - + &Edit &Editar - + &View &Ver - + &Window Ve&ntana - + &Help A&yuda - + Change Layer Source Cambiar la fuente de la capa - + &Toolbar Barra de &herramientas - + The learned keys act again. Las teclas aprendidas vuelven a actuar. - + The learned keys are off: they do nothing until turned on again. Las teclas aprendidas están desactivadas: no hacen nada hasta que se vuelvan a activar. - + Learned keys: on Teclas aprendidas: activadas - + Learned keys: off Teclas aprendidas: desactivadas - + Edit > Learned Keys Active (%1) turns them on and off. Editar > Teclas aprendidas activas (%1) las activa y desactiva. - + The document has been modified. Do you want to save your changes? El documento ha sido modificado. ¿Desea guardar los cambios? - - + + Error reading mapping project file Error al leer el archivo de proyecto - - + + Cannot read file %1: %2. No se puede leer el archivo %1: %2. - + File loaded Archivo cargado - - + + File loaded: %n link(s) active Archivo cargado: %n vínculo activo @@ -4132,7 +4211,7 @@ Do you want to save your changes? - + , %n kept but not usable here , %n conservado pero no utilizable aquí @@ -4140,157 +4219,158 @@ Do you want to save your changes? - - + + Error saving mapping project Error al guardar el proyecto - + Cannot write file %1: %2. No se puede escribir el archivo %1: %2. - + Cannot rename temporary file to %1. No se puede renombrar el archivo temporal a %1. - + File saved Archivo guardado - + + Untitled Sin título - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project Proyecto de MapMap - - - + + + &%1 %2 &%1 %2 - + Clear List Vaciar lista - + No Recents Projects No hay proyectos recientes - + %1 added Añadido: %1 - + Output %1 × %2 Salida %1 × %2 - + Output Editor (%1 × %2) Editor de salida (%1 × %2) - + Output Resolution Resolución de salida - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Tamaño del marco de salida, normalmente la resolución del proyector. La ventana de salida lo escala para llenar la pantalla de salida. - + Scale the shapes to keep them in place in the frame Escalar las formas para mantenerlas en su sitio en el marco - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. La pantalla de salida %1 está desconectada: la salida se oculta hasta que vuelva. - + The output screen %1 is back. La pantalla de salida %1 ha vuelto. - + %1 - %2x%3 %1 - %2x%3 - + - Primary - Principal - + File imported Archivo importado - + Warning Advertencia - + The following file is not supported: %1 El siguiente archivo no es compatible: %1 - + Cannot load movie No se puede cargar el vídeo - + Unable to use file %1. The original file is not found. Please locate. No se puede usar el archivo %1. No se encuentra el archivo original. Búsquelo. - - + + Locate file %1 Localizar el archivo %1 - - + + %1 files (%2) Archivos %1 (%2) - + Undo history Historial de deshacer @@ -4318,6 +4398,19 @@ No se encuentra el archivo original. Búsquelo. Ajustar a la vista (100%): mostrar toda la imagen o todo el marco de salida + + mmp::MappingManager + + + Performance Mode + Modo en vivo + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Si el espectáculo está en curso: las formas de las capas están bloqueadas contra el puntero, el teclado y los controladores, y no se puede añadir ni eliminar nada. + + mmp::MediaCues @@ -4334,17 +4427,17 @@ No se encuentra el archivo original. Búsquelo. Columnas - + The number of columns of vertices of the mesh, its two edges included. El número de columnas de vértices de la malla, incluidos sus dos bordes. - + Rows Filas - + The number of rows of vertices of the mesh, its two edges included. El número de filas de vértices de la malla, incluidos sus dos bordes. diff --git a/translations/mapmap_fr.ts b/translations/mapmap_fr.ts index faafdb12..76a76735 100644 --- a/translations/mapmap_fr.ts +++ b/translations/mapmap_fr.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... Lancement du logiciel... - + Done. Terminé. @@ -525,127 +525,127 @@ Le champ « %1 » du projet doit être un tableau. - + CC %1 CC %1 - + %1 ch %2 %1 can. %2 - + Keyboard Clavier - + MIDI MIDI - + Follow the control Suivre le contrôle - + Follow the turns Suivre les tours - + Move right Vers la droite - + Move down Vers le bas - + Increase Augmenter - + Move left Vers la gauche - + Move up Vers le haut - + Decrease Diminuer - + Toggle Basculer - + Turn on Activer - + Turn off Désactiver - + Next option Option suivante - + Last option Dernière option - + First option Première option - + Minimum or maximum Minimum ou maximum - + Set to maximum Mettre au maximum - + Set to minimum Mettre au minimum - + %1: %2 %1 : %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1941,13 +1941,13 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + Create Shapes Créer les formes - + Make a layer of each face found, with a colour of its own Faire un calque de chaque face trouvée, chacun de sa couleur @@ -1962,37 +1962,37 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du Écran du projecteur : - + No camera is connected. Aucune caméra n'est branchée. - + %1 images, about %2 seconds. %1 images, environ %2 secondes. - + The scan needs the output over the whole screen of the projector. Le relevé a besoin de la sortie sur tout l'écran du projecteur. - + Scanning: do not move. Relevé en cours : ne bougez pas. - + Scan cancelled. Relevé annulé. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. Terminé : %1, %2. La caméra a vu %3 % de la sortie : la scène vue depuis le projecteur est sous les formes de l'éditeur de sortie ; en rouge, ce que la caméra n'a pas vu. Outils > Montrer l'image du calage la masque, avec les contours. - + %n face(s) found %n face trouvée @@ -2000,8 +2000,8 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - - + + %n outline(s) to place by hand %n contour à caler à la main @@ -2009,18 +2009,18 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - - + + Update Shapes Mettre à jour les formes - + Move the layers of the previous scan onto their faces, and make a layer of each new face Replacer les calques du relevé précédent sur leurs faces, et faire un calque de chaque nouvelle face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. %n calque du relevé précédent suivra sa face : il garde sa source et ses effets, seuls ses coins bougent. @@ -2028,7 +2028,7 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + %n new face(s) will be added. %n nouvelle face sera ajoutée. @@ -2036,7 +2036,7 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + %n layer(s) of the previous scan were not found again: %1. %n calque du relevé précédent n'a pas été retrouvé : %1. @@ -2044,22 +2044,22 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + Update and Remove Them Mettre à jour et les supprimer - + Update and Keep Them Mettre à jour et les garder - + Update Mettre à jour - + %n layer(s) moved %n calque déplacé @@ -2067,7 +2067,7 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + %n shape(s) created %n forme créée @@ -2075,7 +2075,7 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + %n layer(s) removed %n calque supprimé @@ -2083,21 +2083,28 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du - + %1. Edit > Undo takes it all back at once. %1. Édition > Annuler défait tout d'un coup. + + + %1 +Locked in performance mode + %1 +Verrouillé en mode performance + Done: the camera saw %1 % of the output. The scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it, Tools > Clear Auto-Mapping Image forgets it. Terminé : la caméra a vu %1 % de la sortie. La scène vue depuis le projecteur est sous les formes de l'éditeur de sortie ; en rouge, ce que la caméra n'a pas vu. Outils > Montrer l'image du calage la masque, Outils > Effacer l'image du calage l'oublie. - + Cancel Annuler - + Close Fermer @@ -2444,8 +2451,12 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Protège cet élément des modifications faites à la souris, au clavier et avec les contrôleurs. + + Whether this element is protected from changes made with the mouse. - Protège cet élément des modifications faites à la souris. + Protège cet élément des modifications faites à la souris. @@ -2581,7 +2592,7 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du mmp::InspectorPage - + %1 %2 %1 %2 @@ -2589,47 +2600,47 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du mmp::InspectorRow - + %1: %2 %1 : %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Apprendre des touches pour le déplacer - + Learn MIDI Controls to Move It Apprendre des contrôles MIDI pour le déplacer - + Remove the Links That Move It Retirer les liens qui le déplacent - + Learn a Key Apprendre une touche - + Remove the Key Retirer la touche - + Learn a MIDI Control Apprendre un contrôle MIDI - + Remove the MIDI Control Retirer le contrôle MIDI @@ -2752,74 +2763,79 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du mmp::LayerItemDelegate - - + + Solo layer Calque en solo - - + + Lock layer Verrouiller le calque - - + + Duplicate layer Dupliquer le calque - - + + Delete layer Supprimer le calque - + Turn the effect on or off Activer ou désactiver l'effet - + Remove the effect Retirer l'effet - + Available once a layer can have several effects Disponible quand un calque pourra avoir plusieurs effets - + Show or hide the layers of the group Afficher ou cacher les calques du groupe - + Solo group: show only its layers Groupe en solo : n'afficher que ses calques - + Lock the layers of the group Verrouiller les calques du groupe - + Delete the group and its layers Supprimer le groupe et ses calques - + Not available for a group yet Pas encore disponible pour un groupe - + Show or hide the layer Afficher ou cacher le calque + + + Locked in performance mode + Verrouillé en mode performance + mmp::LearnMode @@ -2898,22 +2914,26 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du Verrouillée - Whether the vertices of this shape are protected from changes made with the mouse. - Protège les sommets de cette forme des modifications faites à la souris. + Protège les sommets de cette forme des modifications faites à la souris. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Protège les sommets de cette forme des modifications faites à la souris, au clavier et avec les contrôleurs. + + + Points Points - + Point Point - + The position of a control point of the shape, in pixels. La position d'un point de contrôle de la forme, en pixels. @@ -2921,571 +2941,630 @@ Après le relevé, ne touchez plus au zoom, à la mise au point ni au cadrage du mmp::MainWindow - - + + Open project Ouvrir un projet - - - - + + + + MapMap files (*.%1) Fichiers MapMap (*.%1) - - + + Save project Sauvegarder le projet - - + + Import media source file Importer un média - - + + Media files (%1 %2);;All files (*) Fichiers média (%1-%2);;Tous les fichiers (*) - + Select camera Selectionner une caméra - - + + No camera available Aucune caméra disponible - - + + You can not use this feature! No camera available in your system Vous ne pouvez pas utiliser cette fonctionnalité. Aucune caméra n'est disponible sur ce système. - - - + + + MapMap MapMap - + Cues Repères - + &New &Nouveau - + Create a new project Créer un nouveau projet - + &Open… &Ouvrir… - + Open an existing project Ouvrir un projet existant - + &Save &Sauvegarder - + Save the project Sauvegarder le projet - + Save &As… S&auvegarder sous… - + Save the project as… Sauvegarder le projet sous… - + No Recents Videos Pas de vidéos récentes - + &Import Media File… &Importer un fichier média … - + Import a video or image file… Importer un fichier vidéo ou image … - + Open &Camera Device… Ajouter une source &caméra… - + Choose your camera device… Choisir la caméra… - + E&xit &Quitter - + Exit the application Quitter l'application - + &Undo Ann&uler - + &Redo &Retablir - + &About MapMap &A propos de MapMap - + Show the application's About box Afficher le dialogue "À propos de l'application" - + Put the selected layers in a new group Mettre les calques sélectionnés dans un nouveau groupe - + Ungroup Dégrouper - + New Group Nouveau groupe - + Add a group without layers, to drag layers into Ajouter un groupe vide, où glisser des calques - + &Preferences… &Préférences… - + Configure preferences… Configurer les préférences… - - + + Play Lecture - - + + Pause Pause - + &Display Controls &Afficher les points de contrôle - + Display canvas controls Afficher les points de contrôle du canevas - + &Sticky Vertices &Sommets collants - + Enable sticky vertices Activer les sommets collants - + Show &Test Signal Afficher le signal de &Test - + Show Test signal Afficher le signal de Test - + Display &Undo History &Afficher l'historique des opérations - + Open Conso&le Ouvrir la conso&le - + &Auto-Mapping… &Calage automatique… - + Film stripes projected on the scene, to see it from the projector Filmer des rayures projetées sur la scène, pour la voir depuis le projecteur - + &Show Auto-Mapping Image &Montrer l'image du calage - + Show the scene seen from the projector under the shapes of the output Montrer la scène vue depuis le projecteur sous les formes de la sortie - + &Clear Auto-Mapping Image &Effacer l'image du calage - + Forget the scene seen from the projector Oublier la scène vue depuis le projecteur - + Display &Zoom Toolbar Afficher la barre de contrôle du &Zoom - + &Menu Bar Barre de &Menu - + Main Layout Vue normale - + Switch to the Main layout. Passer à la vue normale. - + Editor Éditeur - + Show the editor and hide the bottom section Montrer l'éditeur et cacher la section du bas - + Bottom Section Section du bas - + Show the bottom section, such as the cues, and hide the editor Montrer la section du bas, comme les repères, et cacher l'éditeur - + Editor and Bottom Section Éditeur et section du bas - + Show the editor, and the bottom section under it Montrer l'éditeur, et la section du bas en dessous - + Documentation Documentation - + + &Performance Mode + Mode &performance + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Mode performance (%1) : jouer le spectacle, formes verrouillées, sans rien ajouter ni supprimer + + + &File &Fichier - + Open Recents Projects Ouvrir les projets récents - + Open Recents Videos Ouvrir les vidéo récentes - + &Edit &Édition - + &Tools &Outils - + &Window &Fenêtre - + &Help &Aide - + &Toolbar &Barre de menu - + + Performance Mode + Mode performance + + + The document has been modified. Do you want to save your changes? Ce document a été modifié. Voulez-vous sauvegarder vos changements? - - + + Error reading mapping project file Erreur de lecture du projet - - + + Cannot read file %1: %2. Impossible de lire le fichier %1: %2. - + File loaded Fichier chargé - - + + Error saving mapping project Erreur en sauvegardant le fichier du projet - + Cannot write file %1: %2. Impossible d'écrire le fichier %1 : %2. - + Cannot rename temporary file to %1. Impossible de renommer le fichier temporaire en %1. - + File saved Fichier sauvegardé - + + Untitled Sans titre - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project Projet MapMap - - - + + %1 — Performance + %1 — Performance + + + + + &%1 %2 &%1 %2 - + Clear List Vider la liste - + No Recents Projects Aucun projet récent - + Group %1 Groupe %1 - - + + Face %1 Face %1 - + Auto-Mapping Calage automatique - + %1 - %2x%3 %1 - %2x%3 - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Verrouillé en mode performance : %2 revient au mode édition. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Mode performance : les formes sont verrouillées. %1 revient au mode édition. + + + + Performance mode: shapes are locked + Mode performance : les formes sont verrouillées + + + + Edit mode: shapes can be changed + Mode édition : les formes peuvent être modifiées + + + + Locked in performance mode: %1 goes back to edit mode. + Verrouillé en mode performance : %1 revient au mode édition. + + + File imported Fichier importé - + Warning Avertissement - + The following file is not supported: %1 Le fichier suivant n'est pas supporté: %1 - + Cannot load movie Impossible de charger le film - - + + %1 files (%2) Fichiers %1 (%2) - + Undo history Historique - + Camera device Dispositif caméra - + Report an issue Rapporter un problème - + Submit feedback via email Soumettre une remarque par courriel - + &View &Apparence - + Unable to use file %1. The original file is not found. Please locate. Impossible d'utiliser le fichier %1. Le fichier original est introuvable. Prière de le localiser. - - + + Locate file %1 Localiser le fichier %1 - + - Primary - Principal - - - + + + Locked in performance mode + Verrouillé en mode performance + + + + Locked with the layer + Verrouillé avec le calque + + + + + Group Groupe - + Group layers Grouper les calques - + Ungroup layers Dégrouper les calques - + New group Nouveau groupe - + Delete group Supprimer le groupe - + Delete the group "%1" and its %n layer(s)? Supprimer le groupe « %1 » et son calque? @@ -3493,718 +3572,719 @@ Le fichier original est introuvable. Prière de le localiser. - + + Move layer Déplacer le calque - + Move layers Déplacer les calques - + Move group Déplacer le groupe - + Used by %1 layers: changing it changes them all. Utilisé par %1 calques : le modifier les modifie tous. - + Replace effect Remplacer l'effet - - + + Replace Effect Remplacer l'effet - - - + + + Add Effect Ajouter un effet - + Save over a project of a later version? Écraser un projet d'une version plus récente? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 a été sauvegardé par une version plus récente de MapMap, au format %2. Cette version garde ce qu'elle ne connaît pas, mais la version plus récente pourrait ne pas ouvrir le projet tel qu'il était. L'écraser quand même? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. Apprentissage MIDI pour %1 : appuyez sur un pad pour « %2 », ou tournez un bouton pour le déplacer dans les deux sens. Échap arrête, Suppr retire les contrôles MIDI du point. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Apprentissage des touches pour %1 : appuyez sur une touche pour « %2 ». Échap arrête, Suppr retire les touches du point. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. Apprentissage MIDI : bougez un contrôle ou appuyez sur un pad pour %1. Suppr retire son contrôle MIDI. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. Apprentissage MIDI : cliquez sur un contrôle entouré de bleu, puis bougez un contrôle de l'appareil MIDI. Les contrôles MIDI déjà appris agissent. - + Learning keys: press a key for %1. Delete removes its key. Apprentissage des touches : appuyez sur une touche pour %1. Suppr retire sa touche. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Apprentissage des touches : cliquez sur un contrôle entouré de bleu, puis appuyez sur une touche. Les touches apprises n'agissent qu'à la fin de l'apprentissage (Échap). - - + + %1: %2 %1 : %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Bougez un contrôle MIDI pour %1. Suppr retire son contrôle MIDI, Échap arrête l'apprentissage. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. Apprentissage MIDI : cliquez sur un contrôle entouré de bleu, puis bougez un contrôle de l'appareil MIDI. Échap arrête l'apprentissage. - + Press a key for %1. Delete removes its key, Escape stops learning. Appuyez sur une touche pour %1. Suppr retire sa touche, Échap arrête l'apprentissage. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Apprentissage clavier : cliquez sur un contrôle entouré de bleu, puis appuyez sur une touche. Échap arrête l'apprentissage. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. Apprentissage MIDI : bougez un contrôle de l'appareil MIDI, pas une touche. Édition > Apprentissage clavier apprend les touches. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 commande %2. Appuyez sur Échap pour arrêter l'apprentissage : %1 agira alors. - + Click a control outlined in blue first, then press %1. Cliquez d'abord sur un contrôle entouré de bleu, puis appuyez sur %1. - + %1 is already the shortcut of %2: choose another key. %1 sert déjà (%2) : choisissez une autre touche. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2 : %3 - + MIDI control removed from %1 Contrôle MIDI retiré de %1 - + Key removed from %1 Touche retirée de %1 - + Click a control outlined in blue first, then move %1. Cliquez d'abord sur un contrôle entouré de bleu, puis bougez %1. - + Input Editor: %1% Éditeur d'entrée : %1 % - + Output Editor: %1% Éditeur de sortie : %1 % - + Stop Learning Arrêter l'apprentissage - + Stop learning (Escape) Arrêter l'apprentissage (Échap) - - + + Add &Generator Ajouter un &générateur - + Add a generator Ajouter un générateur - + Remove Effect Retirer l'effet - + Remove the selected effect Retirer l'effet sélectionné - + Solo layer item Calque en solo - + Rotate 90° CW Pivoter de 90° dans le sens horaire - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Pivoter de 90° dans le sens horaire. Dans la vue d’entrée, fait pivoter l’image à l’intérieur du calque. - + Rotate 90° CCW Pivoter de 90° dans le sens antihoraire - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Pivoter de 90° dans le sens antihoraire. Dans la vue d’entrée, fait pivoter l’image à l’intérieur du calque. - + Rotate 180° Pivoter de 180° - + Rotate 180°. In the input view, rotates the image inside the layer. Pivoter de 180°. Dans la vue d’entrée, fait pivoter l’image à l’intérieur du calque. - + Flip horizontally. In the input view, flips the image inside the layer. Retourner horizontalement. Dans la vue d’entrée, retourne l’image à l’intérieur du calque. - + Flip vertically. In the input view, flips the image inside the layer. Retourner verticalement. Dans la vue d’entrée, retourne l’image à l’intérieur du calque. - - + + Raise Monter - - + + Lower Descendre - + Raise to Top Monter tout en haut - + Raise to top Monter tout en haut - + Lower to Bottom Descendre tout en bas - + Lower to bottom Descendre tout en bas - + Group The command: put the selected layers in a group Grouper - + Take the layers out of the group, and remove the group Sortir les calques du groupe, et retirer le groupe - + &Keyboard Learn Apprentissage &clavier - + Link keys of the keyboard to settings: click a control, then press a key Lier des touches du clavier à des réglages : cliquez sur un contrôle, puis appuyez sur une touche - + &MIDI Learn Apprentissage &MIDI - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Lier des contrôles et des notes d'un appareil MIDI à des réglages : cliquez sur un contrôle, puis bougez un contrôle MIDI - + Learned K&eys Active &Touches apprises actives - + Turn the learned keys off while typing for something else, and on again Désactiver les touches apprises le temps de taper autre chose, puis les réactiver - + &Publish Syphon Output &Publier la sortie Syphon - + Publish the output composition as a Syphon server other apps can receive Publier la composition de sortie comme un serveur Syphon que d'autres applications peuvent recevoir - + &Links Lie&ns - + List the keys linked to settings Lister les touches liées aux réglages - - + + Zoom In Agrandir - - + + Zoom Out Réduire - + Remove this source and all its associated layers? Supprimer cette source et tous les calques associés ? - + Syphon source added Source Syphon ajoutée - + Input Editor Éditeur d'entrée - + Output Editor Éditeur de sortie - + Library Bibliothèque - + Layers Calques - + Add &Syphon Source… Ajouter une source &Syphon… - + Receive live video from another application via Syphon… Recevoir de la vidéo en direct d'une autre application via Syphon… - + Duplicate Layer Dupliquer le calque - + Duplicate layer item Dupliquer un élément du calque - + Delete Layer Supprimer le calque - + Delete layer item Supprimer un élément du calque - + Rename Layer Renommer le calque - + Rename layer item Renommer un élément du calque - + Lock Layer Vérouiller le calque - + Lock layer item Vérouiller un élément du calque - + Hide Layer Cacher le calque - + Hide layer item Cacher un élément du calque - + Solo Layer Calque solo - + Delete Source Supprimer la source - + Delete source item Supprimer un élément de la source - + Rename Source Renommer la source - + Rename source item Renommer un élément de la source - + Add &Mesh Layer Ajouter un calque &maillage - + Add mesh layer Ajouter un calque de maillage - + Add &Triangle Layer Ajouter un calque &triangle - + Add triangle layer Ajouter un calque triangulaire - + Add &Ellipse Layer Ajouter un calque &ellipse - + Add ellipse layer Ajouter un calque elliptique - + &Display Controls of Layers of a Source Commandes d'&affichage des calques d'une source - + Display all canvas controls related to current source Afficher tous les contrôles de la toile liés à la source actuelle - + Input editor Layout Vue de l'éditeur d'entrée - + Switch to the Input editor Layout. Passer à la vue de l'éditeur d'entrée. - + Output Editor Layout Vue de l'éditeur de sortie - + Switch to the Output Editors Layout. Passer à la vue de l'éditeur de sortie. - + Import New Media Importer un nouveau média - + Import new media file if not exists on the list Importer un nouveau média si le fichier n'existe pas sur la liste - - + + Restart Redémarrer - + Actual Pixels (1:1) Taille réelle (1:1) - + Show one image pixel per screen pixel Afficher un pixel de l'image par pixel de l'écran - + Fit To View (100%) Ajuster à la vue (100 %) - + Show the whole image or output frame Afficher toute l'image ou tout le cadre de sortie - + Output &Resolution... &Résolution de sortie... - + Choose the size of the output frame Choisir la taille du cadre de sortie - + Professional services && custom development… Services professionnels && développement sur mesure… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Engagez Art Plus Code pour des installations de mapping vidéo, des fonctionnalités sur mesure, de l'intégration et de la formation - + Support the project (donate)… Soutenir le projet (faire un don)… - + Help fund MapMap's ongoing development Aidez à financer le développement continu de MapMap - + &Keyboard shortcuts &Raccourcis clavier - + Welcome to %1… Bienvenue dans %1… - + Change Layer Source Changer la source du calque - + Flip Horizontally Retourner horizontalement - + Flip Vertically Retourner verticalement - + The output screen %1 is disconnected: the output is hidden until it comes back. L'écran de sortie %1 est débranché : la sortie est cachée jusqu'à son retour. - + The output screen %1 is back. L'écran de sortie %1 est revenu. - + &Hide Output &Cacher la sortie - + Output in a &Window Sortie dans une &fenêtre - + Output &Fills a Screen La sortie &couvre un écran - + Output Sortie - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. La sortie couvre un écran (%1). La flèche choisit comment et où montrer la sortie. - + The learned keys act again. Les touches apprises agissent de nouveau. - + The learned keys are off: they do nothing until turned on again. Les touches apprises sont désactivées : elles ne font rien jusqu'à ce qu'on les réactive. - + Learned keys: on Touches apprises : actives - + Learned keys: off Touches apprises : inactives - + Edit > Learned Keys Active (%1) turns them on and off. Édition > Touches apprises actives (%1) les active et les désactive. - + Cannot read %1: %2 Impossible de lire %1 : %2 - + Project of a later version Projet d'une version plus récente - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. Ce projet a été sauvegardé par une version plus récente de MapMap, au format %1; cette version écrit %2. Ce que cette version ne connaît pas est conservé, mais pourrait ne pas fonctionner comme la version plus récente le prévoyait. - + Project opened with missing entries Projet ouvert avec des entrées manquantes - + MapMap skipped these project entries: %1 MapMap a ignoré ces entrées du projet : %1 - + Sources this version cannot open Sources que cette version ne peut pas ouvrir - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. Ce projet a des sources de types que cette version de MapMap ne peut pas ouvrir : %1. Elles sont conservées avec leurs calques, qui affichent une image « manquante », et sauvegardées telles quelles. - - + + File loaded: %n link(s) active Fichier chargé : %n lien actif @@ -4212,7 +4292,7 @@ Elles sont conservées avec leurs calques, qui affichent une image « manqu - + , %n kept but not usable here , %n conservé mais inutilisable ici @@ -4220,82 +4300,82 @@ Elles sont conservées avec leurs calques, qui affichent une image « manqu - + %1 added Source ajoutée : %1 - + Output %1 × %2 Sortie %1 × %2 - + Output Editor (%1 × %2) Éditeur de sortie (%1 × %2) - + Output Resolution Résolution de sortie - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Taille du cadre de sortie, en général la résolution du projecteur. La fenêtre de sortie le met à l'échelle pour remplir l'écran de sortie. - + Scale the shapes to keep them in place in the frame Mettre les formes à l'échelle pour les garder en place dans le cadre - + %1 %2 × %3 %1 %2 × %3 - + %1 - disconnected %1 - débranché - + Output Fills a Screen La sortie couvre un écran - + The output will cover this screen. Press Esc to bring MapMap back. La sortie va couvrir cet écran. Appuyez sur Échap pour faire revenir MapMap. - + Cover the Screen Couvrir l'écran - + Don't ask again Ne plus demander - + &Output &Sortie - + Cue %1 Repère %1 - + Cue %1 — %2 Repère %1 — %2 - + %1 set at %2 %1 posé à %2 @@ -4323,6 +4403,19 @@ Elles sont conservées avec leurs calques, qui affichent une image « manqu Ajuster à la vue (100 %) : afficher toute l'image ou tout le cadre de sortie + + mmp::MappingManager + + + Performance Mode + Mode performance + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Joue le spectacle : les formes des calques sont protégées de la souris, du clavier et des contrôleurs, et rien ne peut être ajouté ni supprimé. + + mmp::MediaCues @@ -4339,17 +4432,17 @@ Elles sont conservées avec leurs calques, qui affichent une image « manqu Colonnes - + The number of columns of vertices of the mesh, its two edges included. Le nombre de colonnes de sommets du maillage, ses deux bords compris. - + Rows Rangées - + The number of rows of vertices of the mesh, its two edges included. Le nombre de rangées de sommets du maillage, ses deux bords compris. diff --git a/translations/mapmap_hi.ts b/translations/mapmap_hi.ts index 4139da4f..a716dd35 100644 --- a/translations/mapmap_hi.ts +++ b/translations/mapmap_hi.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... प्रोग्राम शुरू हो रहा है... - + Done. हो गया। @@ -495,127 +495,127 @@ '%1' प्रकार की आकृति नहीं बनाई जा सकी। - + CC %1 CC %1 - + %1 ch %2 %1 चैनल %2 - + Keyboard कीबोर्ड - + MIDI MIDI - + Follow the control कंट्रोल का अनुसरण करें - + Follow the turns घुमाव का अनुसरण करें - + Move right दाएँ खिसकाएँ - + Move down नीचे खिसकाएँ - + Increase बढ़ाएँ - + Move left बाएँ खिसकाएँ - + Move up ऊपर खिसकाएँ - + Decrease घटाएँ - + Toggle चालू/बंद करें - + Turn on चालू करें - + Turn off बंद करें - + Next option अगला विकल्प - + Last option अंतिम विकल्प - + First option पहला विकल्प - + Minimum or maximum न्यूनतम या अधिकतम - + Set to maximum अधिकतम पर सेट करें - + Set to minimum न्यूनतम पर सेट करें - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -1999,8 +1999,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2008,18 +2008,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2027,7 +2027,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2035,7 +2035,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2043,22 +2043,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2066,7 +2066,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2074,7 +2074,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2082,17 +2082,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +परफ़ॉर्मेंस मोड में लॉक + + + Cancel - + Close @@ -2439,8 +2446,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + यह एलिमेंट माउस, कीबोर्ड और कंट्रोलर से किए गए बदलावों से सुरक्षित है या नहीं। + + Whether this element is protected from changes made with the mouse. - यह एलिमेंट माउस से किए गए बदलावों से सुरक्षित है या नहीं। + यह एलिमेंट माउस से किए गए बदलावों से सुरक्षित है या नहीं। @@ -2576,7 +2587,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2584,47 +2595,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It इसे खिसकाने के लिए कुंजियाँ लर्न करें - + Learn MIDI Controls to Move It इसे खिसकाने के लिए MIDI कंट्रोल लर्न करें - + Remove the Links That Move It इसे खिसकाने वाले लिंक हटाएँ - + Learn a Key कुंजी लर्न करें - + Remove the Key कुंजी हटाएँ - + Learn a MIDI Control MIDI कंट्रोल लर्न करें - + Remove the MIDI Control MIDI कंट्रोल हटाएँ @@ -2747,74 +2758,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer लेयर सोलो करें - - + + Lock layer लेयर लॉक करें - - + + Duplicate layer लेयर डुप्लिकेट करें - - + + Delete layer लेयर हटाएँ - + Turn the effect on or off इफ़ेक्ट चालू या बंद करें - + Remove the effect इफ़ेक्ट हटाएँ - + Available once a layer can have several effects जब एक लेयर में कई इफ़ेक्ट हो सकेंगे, तब उपलब्ध - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer लेयर दिखाएँ या छिपाएँ + + + Locked in performance mode + परफ़ॉर्मेंस मोड में लॉक + mmp::LearnMode @@ -2893,22 +2909,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector लॉक - Whether the vertices of this shape are protected from changes made with the mouse. - इस आकृति के वर्टेक्स माउस से किए गए बदलावों से सुरक्षित हैं या नहीं। + इस आकृति के वर्टेक्स माउस से किए गए बदलावों से सुरक्षित हैं या नहीं। - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + इस आकृति के वर्टेक्स माउस, कीबोर्ड और कंट्रोलर से किए गए बदलावों से सुरक्षित हैं या नहीं। + + + Points पॉइंट - + Point पॉइंट - + The position of a control point of the shape, in pixels. आकृति के किसी कंट्रोल पॉइंट की स्थिति, पिक्सेल में। @@ -2916,49 +2936,60 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - + Cue %1 क्यू %1 - + Cue %1 — %2 क्यू %1 — %2 - + %1 set at %2 %1 को %2 पर सेट किया गया - - - + + + Locked in performance mode + परफ़ॉर्मेंस मोड में लॉक + + + + Locked with the layer + लेयर के साथ लॉक + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -2966,1124 +2997,1140 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. %1 लेयर इसका उपयोग करती हैं: इसे बदलने से वे सभी बदल जाती हैं। - + Replace effect इफ़ेक्ट बदलें - - + + Replace Effect इफ़ेक्ट बदलें - - - + + + Add Effect इफ़ेक्ट जोड़ें - - + + Open project प्रोजेक्ट खोलें - - - - + + + + MapMap files (*.%1) MapMap फ़ाइलें (*.%1) - + Save over a project of a later version? बाद के संस्करण के प्रोजेक्ट के ऊपर सहेजें? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 को MapMap के बाद के संस्करण ने %2 फ़ॉर्मैट में सहेजा था। यह संस्करण वह रखता है जो यह नहीं जानता, लेकिन हो सकता है बाद का संस्करण प्रोजेक्ट को पहले जैसा न खोले। फिर भी इसके ऊपर सहेजें? - - + + Save project प्रोजेक्ट सहेजें - - + + Import media source file मीडिया सोर्स फ़ाइल आयात करें - - + + Media files (%1 %2);;All files (*) मीडिया फ़ाइलें (%1 %2);;सभी फ़ाइलें (*) - + Camera device कैमरा डिवाइस - + Select camera कैमरा चुनें - - + + No camera available कोई कैमरा उपलब्ध नहीं - - + + You can not use this feature! No camera available in your system आप इस सुविधा का उपयोग नहीं कर सकते! आपके सिस्टम में कोई कैमरा उपलब्ध नहीं है - + Syphon source added Syphon सोर्स जोड़ा गया - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. %1 के लिए MIDI लर्न: "%2" के लिए एक पैड दबाएँ, या इसे दोनों ओर खिसकाने के लिए एक नॉब घुमाएँ। Escape रोकता है, Delete पॉइंट के MIDI कंट्रोल हटाता है। - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. %1 के लिए कुंजी लर्न: "%2" के लिए एक कुंजी दबाएँ। Escape रोकता है, Delete पॉइंट की कुंजियाँ हटाता है। - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. MIDI लर्न: %1 के लिए कोई कंट्रोल हिलाएँ या पैड दबाएँ। Delete इसका MIDI कंट्रोल हटाता है। - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. MIDI लर्न: नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर MIDI डिवाइस का कोई कंट्रोल हिलाएँ। पहले से लर्न किए गए MIDI कंट्रोल काम करते हैं। - + Learning keys: press a key for %1. Delete removes its key. कुंजी लर्न: %1 के लिए एक कुंजी दबाएँ। Delete इसकी कुंजी हटाता है। - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). कुंजी लर्न: नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर एक कुंजी दबाएँ। लर्न की गई कुंजियाँ लर्न करना रुकने (Escape) तक काम नहीं करतीं। - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. %1 के लिए एक MIDI कंट्रोल हिलाएँ। Delete इसका MIDI कंट्रोल हटाता है, Escape लर्न करना रोकता है। - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. MIDI लर्न: नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर MIDI डिवाइस का कोई कंट्रोल हिलाएँ। Escape लर्न करना रोकता है। - + Press a key for %1. Delete removes its key, Escape stops learning. %1 के लिए एक कुंजी दबाएँ। Delete इसकी कुंजी हटाता है, Escape लर्न करना रोकता है। - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. कीबोर्ड लर्न: नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर एक कुंजी दबाएँ। Escape लर्न करना रोकता है। - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. MIDI लर्न: MIDI डिवाइस का कोई कंट्रोल हिलाएँ, कुंजी नहीं। संपादित करें > कीबोर्ड लर्न कुंजियाँ लर्न करता है। - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1, %2 को चलाता है। लर्न करना रोकने के लिए Escape दबाएँ: तब %1 काम करेगा। - + Click a control outlined in blue first, then press %1. पहले नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर %1 दबाएँ। - + %1 is already the shortcut of %2: choose another key. %1 पहले से इस काम का शॉर्टकट है: %2। कोई दूसरी कुंजी चुनें। - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 %1 से MIDI कंट्रोल हटाया गया - + Key removed from %1 %1 से कुंजी हटाई गई - + Click a control outlined in blue first, then move %1. पहले नीले घेरे वाले किसी कंट्रोल पर क्लिक करें, फिर %1 हिलाएँ। - + Input Editor: %1% इनपुट एडिटर: %1% - + Output Editor: %1% आउटपुट एडिटर: %1% - - - + + + MapMap MapMap - + Remove this source and all its associated layers? यह सोर्स और इससे जुड़ी सभी लेयर हटाएँ? - + Input Editor इनपुट एडिटर - + Output Editor आउटपुट एडिटर - + Library लाइब्रेरी - + Layers लेयर - + Cues क्यू - + Stop Learning लर्न करना रोकें - + Stop learning (Escape) लर्न करना रोकें (Escape) - + &New नया(&N) - + Create a new project नया प्रोजेक्ट बनाएँ - + &Open… खोलें(&O)… - + Open an existing project मौजूदा प्रोजेक्ट खोलें - + &Save सहेजें(&S) - + Save the project प्रोजेक्ट सहेजें - + Save &As… इस रूप में सहेजें(&A)… - + Save the project as… प्रोजेक्ट को इस रूप में सहेजें… - + No Recents Videos कोई हालिया वीडियो नहीं - + &Import Media File… मीडिया फ़ाइल आयात करें(&I)… - + Import a video or image file… वीडियो या इमेज फ़ाइल आयात करें… - + Open &Camera Device… कैमरा डिवाइस खोलें(&C)… - + Choose your camera device… अपना कैमरा डिवाइस चुनें… - - + + Add &Generator जनरेटर जोड़ें(&G) - + Add a generator एक जनरेटर जोड़ें - + Add &Syphon Source… Syphon सोर्स जोड़ें(&S)… - + Receive live video from another application via Syphon… Syphon के ज़रिए किसी दूसरे ऐप्लिकेशन से लाइव वीडियो पाएँ… - + E&xit बाहर निकलें(&X) - + Exit the application ऐप्लिकेशन से बाहर निकलें - + &Undo पूर्ववत करें(&U) - + &Redo फिर से करें(&R) - + &About MapMap MapMap के बारे में(&A) - + Show the application's About box ऐप्लिकेशन की जानकारी वाला बॉक्स दिखाएँ - + Duplicate Layer लेयर डुप्लिकेट करें - + Duplicate layer item लेयर आइटम डुप्लिकेट करें - + Delete Layer लेयर हटाएँ - + Delete layer item लेयर आइटम हटाएँ - + Remove Effect इफ़ेक्ट हटाएँ - + Remove the selected effect चुना गया इफ़ेक्ट हटाएँ - + Rename Layer लेयर का नाम बदलें - + Rename layer item लेयर आइटम का नाम बदलें - + Lock Layer लेयर लॉक करें - + Lock layer item लेयर आइटम लॉक करें - + Hide Layer लेयर छिपाएँ - + Hide layer item लेयर आइटम छिपाएँ - + Solo Layer लेयर सोलो करें - + Solo layer item लेयर आइटम सोलो करें - + Rotate 90° CW 90° दक्षिणावर्त घुमाएँ - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. 90° दक्षिणावर्त घुमाएँ। इनपुट व्यू में, लेयर के अंदर इमेज को घुमाता है। - + Rotate 90° CCW 90° वामावर्त घुमाएँ - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. 90° वामावर्त घुमाएँ। इनपुट व्यू में, लेयर के अंदर इमेज को घुमाता है। - + Rotate 180° 180° घुमाएँ - + Rotate 180°. In the input view, rotates the image inside the layer. 180° घुमाएँ। इनपुट व्यू में, लेयर के अंदर इमेज को घुमाता है। - + Flip Horizontally क्षैतिज पलटें - + Flip horizontally. In the input view, flips the image inside the layer. क्षैतिज पलटें। इनपुट व्यू में, लेयर के अंदर इमेज को पलटता है। - + Flip Vertically लंबवत पलटें - + Flip vertically. In the input view, flips the image inside the layer. लंबवत पलटें। इनपुट व्यू में, लेयर के अंदर इमेज को पलटता है। - - + + Raise ऊपर ले जाएँ - - + + Lower नीचे ले जाएँ - + Raise to Top सबसे ऊपर ले जाएँ - + Raise to top सबसे ऊपर ले जाएँ - + Lower to Bottom सबसे नीचे ले जाएँ - + Lower to bottom सबसे नीचे ले जाएँ - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + Take the layers out of the group, and remove the group - + New Group - + Add a group without layers, to drag layers into - + Delete Source सोर्स हटाएँ - + Delete source item सोर्स आइटम हटाएँ - + Rename Source सोर्स का नाम बदलें - + Rename source item सोर्स आइटम का नाम बदलें - + Import New Media नया मीडिया आयात करें - + Import new media file if not exists on the list नई मीडिया फ़ाइल आयात करें, अगर वह सूची में नहीं है - + &Preferences… प्राथमिकताएँ(&P)… - + Configure preferences… प्राथमिकताएँ कॉन्फ़िगर करें… - + Add &Mesh Layer मेश लेयर जोड़ें(&M) - + Add mesh layer मेश लेयर जोड़ें - + Add &Triangle Layer त्रिभुज लेयर जोड़ें(&T) - + Add triangle layer त्रिभुज लेयर जोड़ें - + Add &Ellipse Layer दीर्घवृत्त लेयर जोड़ें(&E) - + Add ellipse layer दीर्घवृत्त लेयर जोड़ें - - + + Play चलाएँ - - + + Pause रोकें - - + + Restart फिर से शुरू करें - + &Hide Output आउटपुट छिपाएँ(&H) - + Output in a &Window विंडो में आउटपुट(&W) - + Output &Fills a Screen आउटपुट पूरी स्क्रीन पर(&F) - + Output आउटपुट - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. आउटपुट पूरी स्क्रीन पर (%1)। तीर से चुनें कि आउटपुट कैसे और कहाँ दिखे। - + &Display Controls कंट्रोल दिखाएँ(&D) - + Display canvas controls कैनवस के कंट्रोल दिखाएँ - + &Display Controls of Layers of a Source एक सोर्स की लेयर के कंट्रोल दिखाएँ(&D) - + Display all canvas controls related to current source मौजूदा सोर्स से जुड़े कैनवस के सभी कंट्रोल दिखाएँ - + &Sticky Vertices चिपकने वाले वर्टेक्स(&S) - + Enable sticky vertices चिपकने वाले वर्टेक्स चालू करें - + &Keyboard Learn कीबोर्ड लर्न(&K) - + Link keys of the keyboard to settings: click a control, then press a key कीबोर्ड की कुंजियों को सेटिंग्स से लिंक करें: किसी कंट्रोल पर क्लिक करें, फिर एक कुंजी दबाएँ - + &MIDI Learn MIDI लर्न(&M) - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control MIDI डिवाइस के कंट्रोल और नोट्स को सेटिंग्स से लिंक करें: किसी कंट्रोल पर क्लिक करें, फिर कोई MIDI कंट्रोल हिलाएँ - + Learned K&eys Active लर्न की गई कुंजियाँ सक्रिय(&E) - + Turn the learned keys off while typing for something else, and on again किसी और चीज़ के लिए टाइप करते समय लर्न की गई कुंजियाँ बंद करें, और फिर से चालू करें - + Show &Test Signal टेस्ट सिग्नल दिखाएँ(&T) - + Show Test signal टेस्ट सिग्नल दिखाएँ - + &Publish Syphon Output Syphon आउटपुट प्रकाशित करें(&P) - + Publish the output composition as a Syphon server other apps can receive आउटपुट कंपोज़िशन को Syphon सर्वर के रूप में प्रकाशित करें, जिसे दूसरे ऐप पा सकें - + Display &Undo History पूर्ववत इतिहास दिखाएँ(&U) - + Open Conso&le कंसोल खोलें(&L) - + &Links लिंक(&L) - + List the keys linked to settings सेटिंग्स से लिंक की गई कुंजियों की सूची - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Display &Zoom Toolbar ज़ूम टूलबार दिखाएँ(&Z) - + &Menu Bar मेनू बार(&M) - + Main Layout मुख्य लेआउट - + Switch to the Main layout. मुख्य लेआउट पर जाएँ। - + Input editor Layout इनपुट एडिटर लेआउट - + Switch to the Input editor Layout. इनपुट एडिटर लेआउट पर जाएँ। - + Output Editor Layout आउटपुट एडिटर लेआउट - + Switch to the Output Editors Layout. आउटपुट एडिटर लेआउट पर जाएँ। - + Editor एडिटर - + Show the editor and hide the bottom section एडिटर दिखाएँ और निचला सेक्शन छिपाएँ - + Bottom Section निचला सेक्शन - + Show the bottom section, such as the cues, and hide the editor निचला सेक्शन, जैसे क्यू, दिखाएँ और एडिटर छिपाएँ - + Editor and Bottom Section एडिटर और निचला सेक्शन - + Show the editor, and the bottom section under it एडिटर दिखाएँ, और उसके नीचे निचला सेक्शन - - + + Zoom In ज़ूम इन - - + + Zoom Out ज़ूम आउट - + Actual Pixels (1:1) असली पिक्सेल (1:1) - + Show one image pixel per screen pixel स्क्रीन के हर पिक्सेल पर इमेज का एक पिक्सेल दिखाएँ - + Fit To View (100%) व्यू में फ़िट करें (100%) - + Show the whole image or output frame पूरी इमेज या आउटपुट फ़्रेम दिखाएँ - + Output &Resolution... आउटपुट रिज़ॉल्यूशन(&R)... - + Choose the size of the output frame आउटपुट फ़्रेम का आकार चुनें - + Report an issue समस्या की रिपोर्ट करें - + Professional services && custom development… पेशेवर सेवाएँ && कस्टम डेवलपमेंट… - + Hire Art Plus Code for video mapping installations, custom features, integration and training वीडियो मैपिंग इंस्टॉलेशन, कस्टम फ़ीचर, इंटीग्रेशन और ट्रेनिंग के लिए Art Plus Code को काम पर रखें - + Support the project (donate)… प्रोजेक्ट का समर्थन करें (दान दें)… - + Help fund MapMap's ongoing development MapMap के लगातार विकास के लिए धन जुटाने में मदद करें - + Documentation दस्तावेज़ - + Submit feedback via email ईमेल से प्रतिक्रिया भेजें - + &Keyboard shortcuts कीबोर्ड शॉर्टकट(&K) - + Welcome to %1… %1 में आपका स्वागत है… - + + &Performance Mode + परफ़ॉर्मेंस मोड(&P) + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + परफ़ॉर्मेंस मोड (%1): शो चलाएँ, आकृतियाँ लॉक रहती हैं और कुछ जोड़ा या हटाया नहीं जा सकता + + + &File फ़ाइल(&F) - + Open Recents Projects हालिया प्रोजेक्ट खोलें - + Open Recents Videos हालिया वीडियो खोलें - + &Edit संपादित करें(&E) - + &View देखें(&V) - + &Output आउटपुट(&O) - + &Tools - + &Window विंडो(&W) - + &Help सहायता(&H) - + Change Layer Source लेयर का सोर्स बदलें - + &Toolbar टूलबार(&T) - + + Performance Mode + परफ़ॉर्मेंस मोड + + + The learned keys act again. लर्न की गई कुंजियाँ फिर से काम करती हैं। - + The learned keys are off: they do nothing until turned on again. लर्न की गई कुंजियाँ बंद हैं: फिर से चालू होने तक वे कुछ नहीं करतीं। - + Learned keys: on लर्न की गई कुंजियाँ: चालू - + Learned keys: off लर्न की गई कुंजियाँ: बंद - + Edit > Learned Keys Active (%1) turns them on and off. संपादित करें > लर्न की गई कुंजियाँ सक्रिय (%1) इन्हें चालू और बंद करता है। - + The document has been modified. Do you want to save your changes? दस्तावेज़ बदल गया है। क्या आप अपने बदलाव सहेजना चाहते हैं? - - + + Error reading mapping project file मैपिंग प्रोजेक्ट फ़ाइल पढ़ने में त्रुटि - - + + Cannot read file %1: %2. फ़ाइल %1 पढ़ी नहीं जा सकती: %2। - + Cannot read %1: %2 %1 पढ़ी नहीं जा सकती: %2 - + Project of a later version बाद के संस्करण का प्रोजेक्ट - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. यह प्रोजेक्ट MapMap के बाद के संस्करण द्वारा %1 फ़ॉर्मैट में सहेजा गया था; यह संस्करण %2 लिखता है। जो यह संस्करण नहीं जानता उसे रखा जाता है, लेकिन हो सकता है वह वैसे काम न करे जैसा बाद के संस्करण में था। - + Project opened with missing entries कुछ प्रविष्टियों के बिना प्रोजेक्ट खुला - + MapMap skipped these project entries: %1 MapMap ने प्रोजेक्ट की ये प्रविष्टियाँ छोड़ दीं: %1 - + Sources this version cannot open सोर्स जिन्हें यह संस्करण नहीं खोल सकता - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. इस प्रोजेक्ट में ऐसे प्रकारों के सोर्स हैं जिन्हें MapMap का यह संस्करण नहीं खोल सकता: %1। वे अपनी लेयर के साथ रखे जाते हैं, जो "गायब" इमेज दिखाती हैं, और जैसे हैं वैसे ही सहेजे जाते हैं। - + File loaded फ़ाइल लोड हुई - - + + File loaded: %n link(s) active फ़ाइल लोड हुई: %n लिंक सक्रिय @@ -4091,7 +4138,7 @@ They are kept with their layers, which show a "missing" image, and sav - + , %n kept but not usable here , %n रखा गया पर यहाँ इस्तेमाल नहीं हो सकता @@ -4099,201 +4146,234 @@ They are kept with their layers, which show a "missing" image, and sav - - + + Error saving mapping project मैपिंग प्रोजेक्ट सहेजने में त्रुटि - + Cannot write file %1: %2. फ़ाइल %1 लिखी नहीं जा सकती: %2। - + Cannot rename temporary file to %1. अस्थायी फ़ाइल का नाम बदलकर %1 नहीं किया जा सका। - + File saved फ़ाइल सहेजी गई - + + Untitled बिना शीर्षक - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project MapMap प्रोजेक्ट - - - + + %1 — Performance + %1 — परफ़ॉर्मेंस + + + + + &%1 %2 &%1 %2 - + Clear List सूची साफ़ करें - + No Recents Projects कोई हालिया प्रोजेक्ट नहीं - + File imported फ़ाइल आयात हुई - + %1 added %1 जोड़ा गया - + Group %1 - + Output %1 × %2 आउटपुट %1 × %2 - + Output Editor (%1 × %2) आउटपुट एडिटर (%1 × %2) - + Output Resolution आउटपुट रिज़ॉल्यूशन - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. आउटपुट फ़्रेम का आकार, आम तौर पर प्रोजेक्टर का रिज़ॉल्यूशन। आउटपुट विंडो इसे आउटपुट स्क्रीन भरने के लिए स्केल करती है। - + Scale the shapes to keep them in place in the frame आकृतियों को फ़्रेम में अपनी जगह पर रखने के लिए स्केल करें - + %1 %2 × %3 %1 %2 × %3 - - + + Face %1 - + Auto-Mapping - + The output screen %1 is disconnected: the output is hidden until it comes back. आउटपुट स्क्रीन %1 डिस्कनेक्ट है: उसके वापस आने तक आउटपुट छिपा रहेगा। - + The output screen %1 is back. आउटपुट स्क्रीन %1 वापस आ गई है। - + %1 - %2x%3 %1 - %2x%3 - + - Primary - प्राथमिक - + %1 - disconnected %1 - डिस्कनेक्ट - + Output Fills a Screen आउटपुट पूरी स्क्रीन पर - + The output will cover this screen. Press Esc to bring MapMap back. आउटपुट इस स्क्रीन को ढक लेगा। MapMap को वापस लाने के लिए Esc दबाएँ। - + Cover the Screen स्क्रीन ढकें - + Don't ask again फिर से न पूछें - + Warning चेतावनी - + The following file is not supported: %1 यह फ़ाइल समर्थित नहीं है: %1 - + Cannot load movie वीडियो लोड नहीं हो सका - + Unable to use file %1. The original file is not found. Please locate. फ़ाइल %1 का उपयोग नहीं हो सका। मूल फ़ाइल नहीं मिली। कृपया उसे ढूँढें। - - + + Locate file %1 फ़ाइल %1 ढूँढें - - + + %1 files (%2) %1 फ़ाइलें (%2) - + Undo history पूर्ववत इतिहास + + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +परफ़ॉर्मेंस मोड में लॉक: %2 से एडिट मोड पर लौटें। + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + परफ़ॉर्मेंस मोड: आकृतियाँ लॉक हैं। %1 से एडिट मोड पर लौटें। + + + + Performance mode: shapes are locked + परफ़ॉर्मेंस मोड: आकृतियाँ लॉक हैं + + + + Edit mode: shapes can be changed + एडिट मोड: आकृतियाँ बदली जा सकती हैं + + + + Locked in performance mode: %1 goes back to edit mode. + परफ़ॉर्मेंस मोड में लॉक: %1 से एडिट मोड पर लौटें। + mmp::MapperGLCanvasToolbar @@ -4318,6 +4398,19 @@ The original file is not found. Please locate. व्यू में फ़िट करें (100%): पूरी इमेज या आउटपुट फ़्रेम दिखाएँ + + mmp::MappingManager + + + Performance Mode + परफ़ॉर्मेंस मोड + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + शो चल रहा है या नहीं: लेयर की आकृतियाँ माउस, कीबोर्ड और कंट्रोलर से लॉक रहती हैं, और कुछ जोड़ा या हटाया नहीं जा सकता। + + mmp::MediaCues @@ -4334,17 +4427,17 @@ The original file is not found. Please locate. कॉलम - + The number of columns of vertices of the mesh, its two edges included. मेश के वर्टेक्स के कॉलम की संख्या, उसके दोनों किनारों सहित। - + Rows पंक्तियाँ - + The number of rows of vertices of the mesh, its two edges included. मेश के वर्टेक्स की पंक्तियों की संख्या, उसके दोनों किनारों सहित। diff --git a/translations/mapmap_pt.ts b/translations/mapmap_pt.ts index 29937e43..f27bda8b 100644 --- a/translations/mapmap_pt.ts +++ b/translations/mapmap_pt.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... Iniciando o programa... - + Done. Pronto. @@ -525,127 +525,127 @@ O campo '%1' do projeto deve ser uma lista. - + CC %1 CC %1 - + %1 ch %2 %1 can %2 - + Keyboard Teclado - + MIDI MIDI - + Follow the control Seguir o controle - + Follow the turns Seguir os giros - + Move right Mover para a direita - + Move down Mover para baixo - + Increase Aumentar - + Move left Mover para a esquerda - + Move up Mover para cima - + Decrease Diminuir - + Toggle Alternar - + Turn on Ligar - + Turn off Desligar - + Next option Próxima opção - + Last option Última opção - + First option Primeira opção - + Minimum or maximum Mínimo ou máximo - + Set to maximum Pôr no máximo - + Set to minimum Pôr no mínimo - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -1999,8 +1999,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2008,18 +2008,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2027,7 +2027,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2035,7 +2035,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2043,22 +2043,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2066,7 +2066,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2074,7 +2074,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2082,17 +2082,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +Bloqueado no modo ao vivo + + + Cancel - + Close @@ -2439,8 +2446,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Se este elemento está protegido contra alterações feitas com o mouse, o teclado e os controles. + + Whether this element is protected from changes made with the mouse. - Se este elemento está protegido contra alterações feitas com o mouse. + Se este elemento está protegido contra alterações feitas com o mouse. @@ -2576,7 +2587,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2584,47 +2595,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Aprender teclas para movê-lo - + Learn MIDI Controls to Move It Aprender controles MIDI para movê-lo - + Remove the Links That Move It Remover os vínculos que o movem - + Learn a Key Aprender uma tecla - + Remove the Key Remover a tecla - + Learn a MIDI Control Aprender um controle MIDI - + Remove the MIDI Control Remover o controle MIDI @@ -2747,74 +2758,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer Camada em solo - - + + Lock layer Bloquear camada - - + + Duplicate layer Duplicar camada - - + + Delete layer Excluir camada - + Turn the effect on or off Ativar ou desativar o efeito - + Remove the effect Remover o efeito - + Available once a layer can have several effects Disponível quando uma camada puder ter vários efeitos - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer Mostrar ou ocultar a camada + + + Locked in performance mode + Bloqueado no modo ao vivo + mmp::LearnMode @@ -2893,22 +2909,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Bloqueada - Whether the vertices of this shape are protected from changes made with the mouse. - Se os vértices desta forma estão protegidos contra alterações feitas com o mouse. + Se os vértices desta forma estão protegidos contra alterações feitas com o mouse. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Se os vértices desta forma estão protegidos contra alterações feitas com o mouse, o teclado e os controles. + + + Points Pontos - + Point Ponto - + The position of a control point of the shape, in pixels. A posição de um ponto de controle da forma, em pixels. @@ -2916,207 +2936,218 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project Abrir projeto - - - - + + + + MapMap files (*.%1) Arquivos do MapMap (*.%1) - - + + Save project Salvar projeto - - + + Import media source file Importar arquivo de mídia - - + + Media files (%1 %2);;All files (*) Arquivos de mídia (%1 %2);;Todos os arquivos (*) - + Camera device Câmera - + Select camera Selecionar câmera - - + + No camera available Nenhuma câmera disponível - - + + You can not use this feature! No camera available in your system Você não pode usar esta função! Nenhuma câmera disponível no seu sistema - + Syphon source added Fonte Syphon adicionada - - - + + + MapMap MapMap - + Remove this source and all its associated layers? Remover esta fonte e todas as camadas associadas? - + Input Editor Editor de entrada - + Output Editor Editor de saída - + Library Biblioteca - + Layers Camadas - + &New &Novo - + Create a new project Criar um novo projeto - + &Open… &Abrir… - + Open an existing project Abrir um projeto existente - + &Save &Salvar - + Save the project Salvar o projeto - + Save &As… Salvar &como… - + Save the project as… Salvar o projeto como… - + No Recents Videos Nenhum vídeo recente - + &Import Media File… &Importar arquivo de mídia… - + Import a video or image file… Importar um arquivo de vídeo ou de imagem… - + Open &Camera Device… Abrir &câmera… - + Choose your camera device… Escolher a câmera… - + Cue %1 Marcador %1 - + Cue %1 — %2 Marcador %1 — %2 - + %1 set at %2 %1 posicionado em %2 - - - + + + Locked in performance mode + Bloqueado no modo ao vivo + + + + Locked with the layer + Bloqueado com a camada + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -3124,1007 +3155,1055 @@ Nenhuma câmera disponível no seu sistema - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. Usada por %1 camadas: alterá-la altera todas elas. - + Replace effect Substituir efeito - - + + Replace Effect Substituir efeito - - - + + + Add Effect Adicionar efeito - + Save over a project of a later version? Salvar sobre um projeto de uma versão mais recente? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 foi salvo por uma versão mais recente do MapMap, no formato %2. Esta versão mantém o que não conhece, mas a versão mais recente pode não abrir o projeto como ele era. Salvar sobre ele mesmo assim? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. Aprendendo MIDI para %1: aperte um pad para "%2" ou gire um knob para movê-lo nos dois sentidos. Esc encerra, Delete remove os controles MIDI do ponto. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Aprendendo teclas para %1: pressione uma tecla para "%2". Esc encerra, Delete remove as teclas do ponto. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. Aprendendo MIDI: mova um controle ou aperte um pad para %1. Delete remove o controle MIDI dele. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. Aprendendo MIDI: clique em um controle contornado em azul e depois mova um controle do dispositivo MIDI. Os controles MIDI já aprendidos funcionam. - + Learning keys: press a key for %1. Delete removes its key. Aprendendo teclas: pressione uma tecla para %1. Delete remove a tecla dele. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Aprendendo teclas: clique em um controle contornado em azul e depois pressione uma tecla. As teclas aprendidas só funcionam quando o aprendizado termina (Esc). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Mova um controle MIDI para %1. Delete remove o controle MIDI dele, Esc encerra o aprendizado. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. Aprender MIDI: clique em um controle contornado em azul e depois mova um controle do dispositivo MIDI. Esc encerra o aprendizado. - + Press a key for %1. Delete removes its key, Escape stops learning. Pressione uma tecla para %1. Delete remove a tecla dele, Esc encerra o aprendizado. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Aprender teclas: clique em um controle contornado em azul e depois pressione uma tecla. Esc encerra o aprendizado. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. Aprendendo MIDI: mova um controle do dispositivo MIDI, não uma tecla. Editar > Aprender teclas aprende teclas. - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 controla %2. Pressione Esc para encerrar o aprendizado: %1 passará a funcionar. - + Click a control outlined in blue first, then press %1. Primeiro clique em um controle contornado em azul e depois pressione %1. - + %1 is already the shortcut of %2: choose another key. %1 já é um atalho (%2): escolha outra tecla. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 Controle MIDI removido de %1 - + Key removed from %1 Tecla removida de %1 - + Click a control outlined in blue first, then move %1. Primeiro clique em um controle contornado em azul e depois mova %1. - + Input Editor: %1% Editor de entrada: %1% - + Output Editor: %1% Editor de saída: %1% - + Cues Marcadores - + Stop Learning Parar de aprender - + Stop learning (Escape) Parar de aprender (Esc) - - + + Add &Generator Adicionar &gerador - + Add a generator Adicionar um gerador - + Add &Syphon Source… Adicionar fonte &Syphon… - + Receive live video from another application via Syphon… Receber vídeo ao vivo de outro aplicativo via Syphon… - + E&xit &Sair - + Exit the application Sair do aplicativo - + &Undo &Desfazer - + &Redo &Refazer - + &About MapMap &Sobre o MapMap - + Show the application's About box Mostrar as informações sobre o aplicativo - + Duplicate Layer Duplicar camada - + Duplicate layer item Duplicar camada - + Delete Layer Excluir camada - + Delete layer item Excluir camada - + Remove Effect Remover efeito - + Remove the selected effect Remover o efeito selecionado - + Rename Layer Renomear camada - + Rename layer item Renomear camada - + Lock Layer Bloquear camada - + Lock layer item Bloquear camada - + Hide Layer Ocultar camada - + Hide layer item Ocultar camada - + Solo Layer Camada em solo - + Solo layer item Camada em solo - + Rotate 90° CW Girar 90° no sentido horário - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Girar 90° no sentido horário. Na vista de entrada, gira a imagem dentro da camada. - + Rotate 90° CCW Girar 90° no sentido anti-horário - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Girar 90° no sentido anti-horário. Na vista de entrada, gira a imagem dentro da camada. - + Rotate 180° Girar 180° - + Rotate 180°. In the input view, rotates the image inside the layer. Girar 180°. Na vista de entrada, gira a imagem dentro da camada. - + Flip Horizontally Virar horizontalmente - + Flip horizontally. In the input view, flips the image inside the layer. Virar horizontalmente. Na vista de entrada, vira a imagem dentro da camada. - + Flip Vertically Virar verticalmente - + Flip vertically. In the input view, flips the image inside the layer. Virar verticalmente. Na vista de entrada, vira a imagem dentro da camada. - - + + Raise Subir - - + + Lower Descer - + Raise to Top Trazer para o topo - + Raise to top Trazer para o topo - + Lower to Bottom Enviar para o fundo - + Lower to bottom Enviar para o fundo - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + New Group - + Add a group without layers, to drag layers into - + Delete Source Excluir fonte - + Delete source item Excluir fonte - + Rename Source Renomear fonte - + Rename source item Renomear fonte - + Import New Media Importar nova mídia - + Import new media file if not exists on the list Importar um novo arquivo de mídia se não estiver na lista - + &Preferences… &Preferências… - + Configure preferences… Configurar as preferências… - + Add &Mesh Layer Adicionar camada de &malha - + Add mesh layer Adicionar camada de malha - + Add &Triangle Layer Adicionar camada de &triângulo - + Add triangle layer Adicionar camada de triângulo - + Add &Ellipse Layer Adicionar camada de &elipse - + Add ellipse layer Adicionar camada de elipse - - + + Play Reproduzir - - + + Pause Pausar - - + + Restart Reiniciar - + &Hide Output &Ocultar saída - + Output in a &Window Saída em &janela - + Output &Fills a Screen Saída em &tela cheia - + Output Saída - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. Saída em tela cheia (%1). A seta escolhe como e onde a saída é mostrada. - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Editor Editor - + Show the editor and hide the bottom section Mostrar o editor e ocultar a seção inferior - + Bottom Section Seção inferior - + Show the bottom section, such as the cues, and hide the editor Mostrar a seção inferior, como os marcadores, e ocultar o editor - + Editor and Bottom Section Editor e seção inferior - + Show the editor, and the bottom section under it Mostrar o editor, e a seção inferior abaixo dele - + Actual Pixels (1:1) Pixels reais (1:1) - + Show one image pixel per screen pixel Mostrar um pixel da imagem por pixel da tela - + Fit To View (100%) Ajustar à vista (100%) - + Show the whole image or output frame Mostrar a imagem inteira ou o quadro de saída - + Output &Resolution... &Resolução da saída... - + Choose the size of the output frame Escolher o tamanho do quadro de saída - + + &Performance Mode + Modo &ao vivo + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Modo ao vivo (%1): apresentar o espetáculo, com as formas bloqueadas e sem adicionar nem excluir nada + + + &Output &Saída - + &Tools - + + Performance Mode + Modo ao vivo + + + Cannot read %1: %2 Não foi possível ler %1: %2 - + Project of a later version Projeto de uma versão mais recente - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. Este projeto foi salvo por uma versão mais recente do MapMap, no formato %1; esta versão grava %2. O que esta versão não conhece é mantido, mas pode não funcionar como a versão mais recente previa. - + Project opened with missing entries Projeto aberto com entradas ignoradas - + MapMap skipped these project entries: %1 O MapMap ignorou estas entradas do projeto: %1 - + Sources this version cannot open Fontes que esta versão não consegue abrir - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. Este projeto tem fontes de tipos que esta versão do MapMap não consegue abrir: %1. Elas são mantidas com suas camadas, que mostram uma imagem "ausente", e salvas como estão. - + + %1 — Performance + %1 — Ao vivo + + + Group %1 - - + + Face %1 - + Auto-Mapping - + %1 - disconnected %1 - desconectada - + Output Fills a Screen Saída em tela cheia - + The output will cover this screen. Press Esc to bring MapMap back. A saída vai cobrir esta tela. Pressione Esc para trazer o MapMap de volta. - + Cover the Screen Cobrir a tela - + Don't ask again Não perguntar novamente - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Bloqueado no modo ao vivo: %2 volta ao modo de edição. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Modo ao vivo: as formas estão bloqueadas. %1 volta ao modo de edição. + + + + Performance mode: shapes are locked + Modo ao vivo: as formas estão bloqueadas + + + + Edit mode: shapes can be changed + Modo de edição: as formas podem ser alteradas + + + + Locked in performance mode: %1 goes back to edit mode. + Bloqueado no modo ao vivo: %1 volta ao modo de edição. + + + &Display Controls &Mostrar controles - + Take the layers out of the group, and remove the group - + Display canvas controls Mostrar os controles nas áreas de edição - + &Display Controls of Layers of a Source &Mostrar controles das camadas de uma fonte - + Display all canvas controls related to current source Mostrar todos os controles ligados à fonte atual - + &Sticky Vertices &Vértices magnéticos - + Enable sticky vertices Ativar vértices magnéticos - + &Keyboard Learn Aprender &teclas - + Link keys of the keyboard to settings: click a control, then press a key Vincular teclas do teclado a parâmetros: clique em um controle e depois pressione uma tecla - + &MIDI Learn Aprender &MIDI - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Vincular controles e notas de um dispositivo MIDI a parâmetros: clique em um controle e depois mova um controle MIDI - + Learned K&eys Active Teclas aprendidas &ativas - + Turn the learned keys off while typing for something else, and on again Desativar as teclas aprendidas enquanto digita outra coisa, e reativá-las depois - + Show &Test Signal Mostrar sinal de &teste - + Show Test signal Mostrar sinal de teste - + &Publish Syphon Output &Publicar saída Syphon - + Publish the output composition as a Syphon server other apps can receive Publicar a composição de saída como um servidor Syphon que outros aplicativos podem receber - + Display &Undo History Mostrar &histórico de ações - + Open Conso&le Abrir conso&le - + &Links &Vínculos - + List the keys linked to settings Listar as teclas vinculadas a parâmetros - + Display &Zoom Toolbar Mostrar barra de &zoom - + &Menu Bar Barra de &menus - + Main Layout Layout principal - + Switch to the Main layout. Mudar para o layout principal. - + Input editor Layout Layout do editor de entrada - + Switch to the Input editor Layout. Mudar para o layout do editor de entrada. - + Output Editor Layout Layout do editor de saída - + Switch to the Output Editors Layout. Mudar para o layout do editor de saída. - - + + Zoom In Aumentar zoom - - + + Zoom Out Diminuir zoom - + Report an issue Relatar um problema - + Professional services && custom development… Serviços profissionais && desenvolvimento sob medida… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Contrate a Art Plus Code para instalações de video mapping, funções sob medida, integração e treinamento - + Support the project (donate)… Apoiar o projeto (doar)… - + Help fund MapMap's ongoing development Ajude a financiar o desenvolvimento contínuo do MapMap - + Documentation Documentação - + Submit feedback via email Enviar comentários por e-mail - + &Keyboard shortcuts &Atalhos de teclado - + Welcome to %1… Boas-vindas ao %1… - + &File &Arquivo - + Open Recents Projects Abrir projetos recentes - + Open Recents Videos Abrir vídeos recentes - + &Edit &Editar - + &View E&xibir - + &Window &Janela - + &Help A&juda - + Change Layer Source Mudar a fonte da camada - + &Toolbar Barra de &ferramentas - + The learned keys act again. As teclas aprendidas voltam a funcionar. - + The learned keys are off: they do nothing until turned on again. As teclas aprendidas estão desativadas: não fazem nada até serem reativadas. - + Learned keys: on Teclas aprendidas: ativas - + Learned keys: off Teclas aprendidas: inativas - + Edit > Learned Keys Active (%1) turns them on and off. Editar > Teclas aprendidas ativas (%1) as ativa e desativa. - + The document has been modified. Do you want to save your changes? O documento foi modificado. Deseja salvar as alterações? - - + + Error reading mapping project file Erro ao ler o arquivo do projeto - - + + Cannot read file %1: %2. Não foi possível ler o arquivo %1: %2. - + File loaded Arquivo carregado - - + + File loaded: %n link(s) active Arquivo carregado: %n vínculo ativo @@ -4132,7 +4211,7 @@ Deseja salvar as alterações? - + , %n kept but not usable here , %n mantido, mas não utilizável aqui @@ -4140,157 +4219,158 @@ Deseja salvar as alterações? - - + + Error saving mapping project Erro ao salvar o projeto - + Cannot write file %1: %2. Não foi possível gravar o arquivo %1: %2. - + Cannot rename temporary file to %1. Não foi possível renomear o arquivo temporário para %1. - + File saved Arquivo salvo - + + Untitled Sem título - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project Projeto do MapMap - - - + + + &%1 %2 &%1 %2 - + Clear List Limpar lista - + No Recents Projects Nenhum projeto recente - + %1 added Adicionado: %1 - + Output %1 × %2 Saída %1 × %2 - + Output Editor (%1 × %2) Editor de saída (%1 × %2) - + Output Resolution Resolução da saída - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Tamanho do quadro de saída, geralmente a resolução do projetor. A janela de saída o redimensiona para preencher a tela de saída. - + Scale the shapes to keep them in place in the frame Redimensionar as formas para mantê-las no lugar dentro do quadro - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. A tela de saída %1 está desconectada: a saída fica oculta até ela voltar. - + The output screen %1 is back. A tela de saída %1 voltou. - + %1 - %2x%3 %1 - %2x%3 - + - Primary - Principal - + File imported Arquivo importado - + Warning Aviso - + The following file is not supported: %1 O seguinte arquivo não é compatível: %1 - + Cannot load movie Não foi possível carregar o vídeo - + Unable to use file %1. The original file is not found. Please locate. Não foi possível usar o arquivo %1. O arquivo original não foi encontrado. Localize-o, por favor. - - + + Locate file %1 Localizar o arquivo %1 - - + + %1 files (%2) Arquivos %1 (%2) - + Undo history Histórico de ações @@ -4318,6 +4398,19 @@ O arquivo original não foi encontrado. Localize-o, por favor. Ajustar à vista (100%): mostrar a imagem inteira ou o quadro de saída + + mmp::MappingManager + + + Performance Mode + Modo ao vivo + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Se o espetáculo está sendo apresentado: as formas das camadas ficam bloqueadas contra o mouse, o teclado e os controles, e nada pode ser adicionado nem excluído. + + mmp::MediaCues @@ -4334,17 +4427,17 @@ O arquivo original não foi encontrado. Localize-o, por favor. Colunas - + The number of columns of vertices of the mesh, its two edges included. O número de colunas de vértices da malha, incluindo as duas bordas. - + Rows Linhas - + The number of rows of vertices of the mesh, its two edges included. O número de linhas de vértices da malha, incluindo as duas bordas. diff --git a/translations/mapmap_ru.ts b/translations/mapmap_ru.ts index 64115e48..d7db3af6 100644 --- a/translations/mapmap_ru.ts +++ b/translations/mapmap_ru.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... Запуск программы... - + Done. Готово. @@ -495,127 +495,127 @@ Не удаётся создать форму типа «%1». - + CC %1 CC %1 - + %1 ch %2 %1 кан. %2 - + Keyboard Клавиатура - + MIDI MIDI - + Follow the control Следовать за регулятором - + Follow the turns Следовать за поворотами - + Move right Сдвинуть вправо - + Move down Сдвинуть вниз - + Increase Увеличить - + Move left Сдвинуть влево - + Move up Сдвинуть вверх - + Decrease Уменьшить - + Toggle Переключить - + Turn on Включить - + Turn off Выключить - + Next option Следующий вариант - + Last option Последний вариант - + First option Первый вариант - + Minimum or maximum Минимум или максимум - + Set to maximum Установить максимум - + Set to minimum Установить минимум - + %1: %2 %1: %2 - + %1 %2 %1 %2 - + %1, x %1, x - + %1, y %1, y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,37 +1961,37 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found @@ -2000,8 +2000,8 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + %n outline(s) to place by hand @@ -2010,18 +2010,18 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. @@ -2030,7 +2030,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n new face(s) will be added. @@ -2039,7 +2039,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) of the previous scan were not found again: %1. @@ -2048,22 +2048,22 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved @@ -2072,7 +2072,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n shape(s) created @@ -2081,7 +2081,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %n layer(s) removed @@ -2090,17 +2090,24 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +Заблокировано в режиме выступления + + + Cancel - + Close @@ -2447,8 +2454,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + Защищён ли этот элемент от изменений мышью, клавиатурой и контроллерами. + + Whether this element is protected from changes made with the mouse. - Защищён ли этот элемент от изменений мышью. + Защищён ли этот элемент от изменений мышью. @@ -2584,7 +2595,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2592,47 +2603,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1: %2 - + %1, %2 %1, %2 - + Learn Keys to Move It Назначить клавиши для перемещения - + Learn MIDI Controls to Move It Назначить MIDI-регуляторы для перемещения - + Remove the Links That Move It Удалить связи перемещения - + Learn a Key Назначить клавишу - + Remove the Key Удалить клавишу - + Learn a MIDI Control Назначить MIDI-регулятор - + Remove the MIDI Control Удалить MIDI-регулятор @@ -2755,74 +2766,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer Соло слоя - - + + Lock layer Заблокировать слой - - + + Duplicate layer Дублировать слой - - + + Delete layer Удалить слой - + Turn the effect on or off Включить или выключить эффект - + Remove the effect Удалить эффект - + Available once a layer can have several effects Будет доступно, когда у слоя может быть несколько эффектов - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer Показать или скрыть слой + + + Locked in performance mode + Заблокировано в режиме выступления + mmp::LearnMode @@ -2902,22 +2918,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector Заблокирована - Whether the vertices of this shape are protected from changes made with the mouse. - Защищены ли вершины этой формы от изменений мышью. + Защищены ли вершины этой формы от изменений мышью. - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + Защищены ли вершины этой формы от изменений мышью, клавиатурой и контроллерами. + + + Points Точки - + Point Точка - + The position of a control point of the shape, in pixels. Положение контрольной точки формы в пикселях. @@ -2925,49 +2945,60 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - + Cue %1 Метка %1 - + Cue %1 — %2 Метка %1 — %2 - + %1 set at %2 %1 поставлена на %2 - - - + + + Locked in performance mode + Заблокировано в режиме выступления + + + + Locked with the layer + Заблокировано вместе со слоем + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? @@ -2976,1124 +3007,1140 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. Используется слоями (%1): изменение затронет их все. - + Replace effect Заменить эффект - - + + Replace Effect Заменить эффект - - - + + + Add Effect Добавить эффект - - + + Open project Открыть проект - - - - + + + + MapMap files (*.%1) Файлы MapMap (*.%1) - + Save over a project of a later version? Перезаписать проект более поздней версии? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 сохранён более поздней версией MapMap в формате %2. Эта версия сохраняет то, чего не знает, но более поздняя версия может открыть проект не таким, каким он был. Всё равно перезаписать? - - + + Save project Сохранить проект - - + + Import media source file Импорт медиафайла - - + + Media files (%1 %2);;All files (*) Медиафайлы (%1 %2);;Все файлы (*) - + Camera device Камера - + Select camera Выберите камеру - - + + No camera available Нет доступных камер - - + + You can not use this feature! No camera available in your system Эта функция недоступна. В системе нет доступных камер - + Syphon source added Источник Syphon добавлен - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. Назначение MIDI для %1: нажмите пэд для «%2» или поверните ручку, чтобы двигать в обе стороны. Escape — остановить, Delete — удалить MIDI-регуляторы точки. - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. Назначение клавиш для %1: нажмите клавишу для «%2». Escape — остановить, Delete — удалить клавиши точки. - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. Назначение MIDI: подвигайте регулятор или нажмите пэд для %1. Delete удаляет назначенный MIDI-регулятор. - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. Назначение MIDI: щёлкните элемент управления, обведённый синим, затем подвигайте регулятор MIDI-устройства. Уже назначенные MIDI-регуляторы работают. - + Learning keys: press a key for %1. Delete removes its key. Назначение клавиш: нажмите клавишу для %1. Delete удаляет назначенную клавишу. - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). Назначение клавиш: щёлкните элемент управления, обведённый синим, затем нажмите клавишу. Назначенные клавиши не работают, пока назначение не завершено (Escape). - - + + %1: %2 %1: %2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. Подвигайте MIDI-регулятор для %1. Delete удаляет назначенный MIDI-регулятор, Escape завершает назначение. - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. Назначение MIDI: щёлкните элемент управления, обведённый синим, затем подвигайте регулятор MIDI-устройства. Escape завершает назначение. - + Press a key for %1. Delete removes its key, Escape stops learning. Нажмите клавишу для %1. Delete удаляет назначенную клавишу, Escape завершает назначение. - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. Назначение клавиш: щёлкните элемент управления, обведённый синим, затем нажмите клавишу. Escape завершает назначение. - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. Назначение MIDI: подвигайте регулятор MIDI-устройства, а не клавишу. Клавиши назначаются через «Правка > Назначение клавиш». - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 управляет: %2. Нажмите Escape, чтобы завершить назначение: тогда %1 заработает. - + Click a control outlined in blue first, then press %1. Сначала щёлкните элемент управления, обведённый синим, затем нажмите %1. - + %1 is already the shortcut of %2: choose another key. %1 уже занята: %2. Выберите другую клавишу. - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2: %3 - + MIDI control removed from %1 MIDI-регулятор удалён: %1 - + Key removed from %1 Клавиша удалена: %1 - + Click a control outlined in blue first, then move %1. Сначала щёлкните элемент управления, обведённый синим, затем подвигайте %1. - + Input Editor: %1% Редактор входа: %1% - + Output Editor: %1% Редактор выхода: %1% - - - + + + MapMap MapMap - + Remove this source and all its associated layers? Удалить этот источник и все связанные с ним слои? - + Input Editor Редактор входа - + Output Editor Редактор выхода - + Library Библиотека - + Layers Слои - + Cues Метки - + Stop Learning Завершить назначение - + Stop learning (Escape) Завершить назначение (Escape) - + &New &Создать - + Create a new project Создать новый проект - + &Open… &Открыть… - + Open an existing project Открыть существующий проект - + &Save Со&хранить - + Save the project Сохранить проект - + Save &As… Сохранить &как… - + Save the project as… Сохранить проект как… - + No Recents Videos Нет недавних видео - + &Import Media File… &Импорт медиафайла… - + Import a video or image file… Импортировать видео или изображение… - + Open &Camera Device… Открыть ка&меру… - + Choose your camera device… Выберите камеру… - - + + Add &Generator Добавить &генератор - + Add a generator Добавить генератор - + Add &Syphon Source… Добавить источник &Syphon… - + Receive live video from another application via Syphon… Принимать живое видео из другого приложения через Syphon… - + E&xit Вы&йти - + Exit the application Выйти из приложения - + &Undo &Отменить - + &Redo &Повторить - + &About MapMap &О программе MapMap - + Show the application's About box Показать окно «О программе» - + Duplicate Layer Дублировать слой - + Duplicate layer item Дублировать выбранный слой - + Delete Layer Удалить слой - + Delete layer item Удалить выбранный слой - + Remove Effect Удалить эффект - + Remove the selected effect Удалить выбранный эффект - + Rename Layer Переименовать слой - + Rename layer item Переименовать выбранный слой - + Lock Layer Заблокировать слой - + Lock layer item Заблокировать выбранный слой - + Hide Layer Скрыть слой - + Hide layer item Скрыть выбранный слой - + Solo Layer Соло слоя - + Solo layer item Включить соло для выбранного слоя - + Rotate 90° CW Повернуть на 90° вправо - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. Повернуть на 90° по часовой стрелке. В редакторе входа поворачивает изображение внутри слоя. - + Rotate 90° CCW Повернуть на 90° влево - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. Повернуть на 90° против часовой стрелки. В редакторе входа поворачивает изображение внутри слоя. - + Rotate 180° Повернуть на 180° - + Rotate 180°. In the input view, rotates the image inside the layer. Повернуть на 180°. В редакторе входа поворачивает изображение внутри слоя. - + Flip Horizontally Отразить по горизонтали - + Flip horizontally. In the input view, flips the image inside the layer. Отразить по горизонтали. В редакторе входа отражает изображение внутри слоя. - + Flip Vertically Отразить по вертикали - + Flip vertically. In the input view, flips the image inside the layer. Отразить по вертикали. В редакторе входа отражает изображение внутри слоя. - - + + Raise Поднять - - + + Lower Опустить - + Raise to Top Поднять наверх - + Raise to top Поднять наверх - + Lower to Bottom Опустить вниз - + Lower to bottom Опустить вниз - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + Take the layers out of the group, and remove the group - + New Group - + Add a group without layers, to drag layers into - + Delete Source Удалить источник - + Delete source item Удалить выбранный источник - + Rename Source Переименовать источник - + Rename source item Переименовать выбранный источник - + Import New Media Импорт нового медиа - + Import new media file if not exists on the list Импортировать новый медиафайл, если его ещё нет в списке - + &Preferences… &Настройки… - + Configure preferences… Изменить настройки… - + Add &Mesh Layer Добавить слой-&сетку - + Add mesh layer Добавить слой-сетку - + Add &Triangle Layer Добавить слой-&треугольник - + Add triangle layer Добавить слой-треугольник - + Add &Ellipse Layer Добавить слой-&эллипс - + Add ellipse layer Добавить слой-эллипс - - + + Play Воспроизвести - - + + Pause Пауза - - + + Restart Перезапустить - + &Hide Output &Скрыть выход - + Output in a &Window Выход в &окне - + Output &Fills a Screen Выход на весь &экран - + Output Выход - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. Выход на весь экран (%1). Стрелка выбирает, как и где показывать выход. - + &Display Controls &Контрольные точки - + Display canvas controls Показать контрольные точки на холсте - + &Display Controls of Layers of a Source Показать точки слоёв &источника - + Display all canvas controls related to current source Показать все контрольные точки холста, относящиеся к текущему источнику - + &Sticky Vertices При&липание вершин - + Enable sticky vertices Включить прилипание вершин - + &Keyboard Learn Назначение &клавиш - + Link keys of the keyboard to settings: click a control, then press a key Связать клавиши клавиатуры с параметрами: щёлкните элемент управления, затем нажмите клавишу - + &MIDI Learn Назначение &MIDI - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control Связать регуляторы и ноты MIDI-устройства с параметрами: щёлкните элемент управления, затем подвигайте MIDI-регулятор - + Learned K&eys Active Назначенные клавиши &активны - + Turn the learned keys off while typing for something else, and on again Отключить назначенные клавиши на время ввода текста и снова включить - + Show &Test Signal Показать &тестовый сигнал - + Show Test signal Показать тестовый сигнал - + &Publish Syphon Output Публиковать выход в &Syphon - + Publish the output composition as a Syphon server other apps can receive Публиковать выходную композицию как сервер Syphon, который могут принимать другие приложения - + Display &Undo History &История действий - + Open Conso&le Открыть &консоль - + &Links &Связи - + List the keys linked to settings Список клавиш, связанных с параметрами - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Display &Zoom Toolbar &Панель масштаба - + &Menu Bar Строка &меню - + Main Layout Основной вид - + Switch to the Main layout. Перейти к основному виду. - + Input editor Layout Вид редактора входа - + Switch to the Input editor Layout. Перейти к виду редактора входа. - + Output Editor Layout Вид редактора выхода - + Switch to the Output Editors Layout. Перейти к виду редактора выхода. - + Editor Редактор - + Show the editor and hide the bottom section Показать редактор и скрыть нижнюю панель - + Bottom Section Нижняя панель - + Show the bottom section, such as the cues, and hide the editor Показать нижнюю панель, например метки, и скрыть редактор - + Editor and Bottom Section Редактор и нижняя панель - + Show the editor, and the bottom section under it Показать редактор и под ним нижнюю панель - - + + Zoom In Увеличить - - + + Zoom Out Уменьшить - + Actual Pixels (1:1) Реальный размер (1:1) - + Show one image pixel per screen pixel Один пиксель изображения на пиксель экрана - + Fit To View (100%) По размеру окна (100%) - + Show the whole image or output frame Показать всё изображение или кадр выхода - + Output &Resolution... &Разрешение выхода... - + Choose the size of the output frame Выбрать размер кадра выхода - + Report an issue Сообщить о проблеме - + Professional services && custom development… Профессиональные услуги && разработка на заказ… - + Hire Art Plus Code for video mapping installations, custom features, integration and training Наймите Art Plus Code для инсталляций видеомаппинга, функций на заказ, интеграции и обучения - + Support the project (donate)… Поддержать проект (пожертвование)… - + Help fund MapMap's ongoing development Помогите финансировать развитие MapMap - + Documentation Документация - + Submit feedback via email Отправить отзыв по почте - + &Keyboard shortcuts &Сочетания клавиш - + Welcome to %1… Добро пожаловать в %1… - + + &Performance Mode + Ре&жим выступления + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + Режим выступления (%1): показ шоу, формы заблокированы, ничего нельзя добавить или удалить + + + &File &Файл - + Open Recents Projects Недавние проекты - + Open Recents Videos Недавние видео - + &Edit &Правка - + &View &Вид - + &Output &Выход - + &Tools - + &Window &Окно - + &Help &Справка - + Change Layer Source Изменить источник слоя - + &Toolbar Панель &инструментов - + + Performance Mode + Режим выступления + + + The learned keys act again. Назначенные клавиши снова работают. - + The learned keys are off: they do nothing until turned on again. Назначенные клавиши отключены: они ничего не делают, пока их снова не включат. - + Learned keys: on Назначенные клавиши: вкл. - + Learned keys: off Назначенные клавиши: выкл. - + Edit > Learned Keys Active (%1) turns them on and off. «Правка > Назначенные клавиши активны» (%1) включает и выключает их. - + The document has been modified. Do you want to save your changes? Документ был изменён. Сохранить изменения? - - + + Error reading mapping project file Ошибка чтения файла проекта - - + + Cannot read file %1: %2. Не удаётся прочитать файл %1: %2. - + Cannot read %1: %2 Не удаётся прочитать %1: %2 - + Project of a later version Проект более поздней версии - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. Этот проект сохранён более поздней версией MapMap в формате %1; эта версия записывает %2. То, чего эта версия не знает, сохраняется, но может работать не так, как задумано в более поздней версии. - + Project opened with missing entries Проект открыт с пропущенными записями - + MapMap skipped these project entries: %1 MapMap пропустила эти записи проекта: %1 - + Sources this version cannot open Источники, которые эта версия не может открыть - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. В этом проекте есть источники типов, которые эта версия MapMap не может открыть: %1. Они сохраняются вместе со своими слоями, которые показывают изображение «отсутствует», и записываются как есть. - + File loaded Файл загружен - - + + File loaded: %n link(s) active Файл загружен: %n связь активна @@ -4102,7 +4149,7 @@ They are kept with their layers, which show a "missing" image, and sav - + , %n kept but not usable here , %n сохранена, но здесь не работает @@ -4111,201 +4158,234 @@ They are kept with their layers, which show a "missing" image, and sav - - + + Error saving mapping project Ошибка сохранения проекта - + Cannot write file %1: %2. Не удаётся записать файл %1: %2. - + Cannot rename temporary file to %1. Не удаётся переименовать временный файл в %1. - + File saved Файл сохранён - + + Untitled Без названия - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project Проект MapMap - - - + + %1 — Performance + %1 — Выступление + + + + + &%1 %2 &%1 %2 - + Clear List Очистить список - + No Recents Projects Нет недавних проектов - + File imported Файл импортирован - + %1 added Добавлено: %1 - + Group %1 - + Output %1 × %2 Выход %1 × %2 - + Output Editor (%1 × %2) Редактор выхода (%1 × %2) - + Output Resolution Разрешение выхода - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. Размер кадра выхода, обычно разрешение проектора. Окно выхода масштабирует его на весь экран выхода. - + Scale the shapes to keep them in place in the frame Масштабировать формы, чтобы они остались на своих местах в кадре - + %1 %2 × %3 %1 %2 × %3 - - + + Face %1 - + Auto-Mapping - + The output screen %1 is disconnected: the output is hidden until it comes back. Экран выхода %1 отключён: выход скрыт, пока экран не вернётся. - + The output screen %1 is back. Экран выхода %1 снова подключён. - + %1 - %2x%3 %1 - %2x%3 - + - Primary - основной - + %1 - disconnected %1 - отключён - + Output Fills a Screen Выход на весь экран - + The output will cover this screen. Press Esc to bring MapMap back. Выход займёт весь этот экран. Нажмите Esc, чтобы вернуть MapMap. - + Cover the Screen Занять экран - + Don't ask again Больше не спрашивать - + Warning Предупреждение - + The following file is not supported: %1 Этот файл не поддерживается: %1 - + Cannot load movie Не удаётся загрузить видео - + Unable to use file %1. The original file is not found. Please locate. Не удаётся использовать файл %1. Исходный файл не найден. Укажите, где он находится. - - + + Locate file %1 Найти файл %1 - - + + %1 files (%2) Файлы %1 (%2) - + Undo history История действий + + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +Заблокировано в режиме выступления: %2 возвращает в режим редактирования. + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + Режим выступления: формы заблокированы. %1 возвращает в режим редактирования. + + + + Performance mode: shapes are locked + Режим выступления: формы заблокированы + + + + Edit mode: shapes can be changed + Режим редактирования: формы можно изменять + + + + Locked in performance mode: %1 goes back to edit mode. + Заблокировано в режиме выступления: %1 возвращает в режим редактирования. + mmp::MapperGLCanvasToolbar @@ -4330,6 +4410,19 @@ The original file is not found. Please locate. По размеру окна (100%): показать всё изображение или кадр выхода + + mmp::MappingManager + + + Performance Mode + Режим выступления + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + Идёт ли шоу: формы слоёв защищены от мыши, клавиатуры и контроллеров, и ничего нельзя добавить или удалить. + + mmp::MediaCues @@ -4346,17 +4439,17 @@ The original file is not found. Please locate. Столбцы - + The number of columns of vertices of the mesh, its two edges included. Число столбцов вершин сетки, включая два её края. - + Rows Строки - + The number of rows of vertices of the mesh, its two edges included. Число строк вершин сетки, включая два её края. diff --git a/translations/mapmap_zh_CN.ts b/translations/mapmap_zh_CN.ts index d2898bc4..2f5b3a7f 100644 --- a/translations/mapmap_zh_CN.ts +++ b/translations/mapmap_zh_CN.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... - + Done. 完成. @@ -525,127 +525,127 @@ 项目字段“%1”必须是数组。 - + CC %1 CC %1 - + %1 ch %2 %1 通道 %2 - + Keyboard 键盘 - + MIDI MIDI - + Follow the control 跟随控件 - + Follow the turns 跟随旋转 - + Move right 右移 - + Move down 下移 - + Increase 增加 - + Move left 左移 - + Move up 上移 - + Decrease 减少 - + Toggle 切换 - + Turn on 开启 - + Turn off 关闭 - + Next option 下一个选项 - + Last option 最后一个选项 - + First option 第一个选项 - + Minimum or maximum 最小值或最大值 - + Set to maximum 设为最大值 - + Set to minimum 设为最小值 - + %1: %2 %1:%2 - + %1 %2 %1 %2 - + %1, x %1,x - + %1, y %1,y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,130 +1961,137 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found - - + + %n outline(s) to place by hand - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. - + %n new face(s) will be added. - + %n layer(s) of the previous scan were not found again: %1. - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved - + %n shape(s) created - + %n layer(s) removed - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +演出模式下已锁定 + + + Cancel - + Close @@ -2431,8 +2438,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + 此元素是否受保护,不会被鼠标、键盘和控制器操作更改。 + + Whether this element is protected from changes made with the mouse. - 此元素是否受保护,不会被鼠标操作更改。 + 此元素是否受保护,不会被鼠标操作更改。 @@ -2568,7 +2579,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2576,47 +2587,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1:%2 - + %1, %2 %1,%2 - + Learn Keys to Move It 学习移动它的按键 - + Learn MIDI Controls to Move It 学习移动它的 MIDI 控件 - + Remove the Links That Move It 移除移动它的关联 - + Learn a Key 学习按键 - + Remove the Key 移除按键 - + Learn a MIDI Control 学习 MIDI 控件 - + Remove the MIDI Control 移除 MIDI 控件 @@ -2739,74 +2750,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer 独显图层 - - + + Lock layer 锁定图层 - - + + Duplicate layer 复制图层 - - + + Delete layer 删除图层 - + Turn the effect on or off 开启或关闭效果 - + Remove the effect 移除效果 - + Available once a layer can have several effects 待图层支持多个效果后可用 - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer 显示或隐藏图层 + + + Locked in performance mode + 演出模式下已锁定 + mmp::LearnMode @@ -2884,22 +2900,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector 锁定 - Whether the vertices of this shape are protected from changes made with the mouse. - 此形状的顶点是否受保护,不会被鼠标操作更改。 + 此形状的顶点是否受保护,不会被鼠标操作更改。 - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + 此形状的顶点是否受保护,不会被鼠标、键盘和控制器操作更改。 + + + Points 点 - + Point 点 - + The position of a control point of the shape, in pixels. 形状控制点的位置,以像素为单位。 @@ -2907,1378 +2927,1438 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project 开放 - - - - + + + + MapMap files (*.%1) MapMap 档案 (* %1) - - + + Save project 储存档案 - - + + Import media source file 汇入档案 - - + + Media files (%1 %2);;All files (*) 媒体文件 (%1 %2);;All files (*) - + Camera device 相机设备 - + Select camera 选择相机 - - + + No camera available 没有可用的相机 - - + + You can not use this feature! No camera available in your system 无法使用此功能! 系统中没有可用的相机 - + Syphon source added 已添加 Syphon 来源 - - - + + + MapMap MapMap - + &New &新档案 - + Create a new project 开新档案 - + &Open… &开放… - + Open an existing project 开现有的方案 - + &Save &储存档案 - + Save the project 储存档案 - + Save &As… &储存至… - + Save the project as… 储存至… - + No Recents Videos 没有最近的影片 - + &Import Media File… &汇入媒体文件… - + Import a video or image file… 导入影片或图像… - + Open &Camera Device… 打开 &相机设备… - + Choose your camera device… 选择相机设备… - + E&xit 退&出 - + Exit the application 退出应用程序 - + &Undo 复原 - + &Redo 重做 - + &About MapMap &关于 MapMap - + Show the application's About box 显示 '关于' 框 - + &Preferences… &偏好… - + Configure preferences… 配置偏好… - - + + Play 播放 - - + + Pause 暂停 - + &Display Controls &显示控制 - + Display canvas controls 显示画布控制 - + &Sticky Vertices &磁性的顶点 - + Enable sticky vertices 启用磁性的顶点 - + Show &Test Signal 显示&测试信号 - + Show Test signal 显示测试信号 - + Display &Undo History 显示&撤消历史 - + Open Conso&le 打开&控制台 - + Display &Zoom Toolbar 显示&缩放工具栏 - + &Menu Bar &选单列 - + Main Layout 基本设计 - + Switch to the Main layout. 切换到基本设计. - + Remove this source and all its associated layers? 移除此来源及其所有相关图层? - + Input Editor 输入编辑器 - + Output Editor 输出编辑器 - + Library 媒体库 - + Layers 图层 - + Cue %1 提示点 %1 - + Cue %1 — %2 提示点 %1 — %2 - + %1 set at %2 %1 设于 %2 - - - + + + Locked in performance mode + 演出模式下已锁定 + + + + Locked with the layer + 随图层锁定 + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. 被 %1 个图层使用:更改它会同时更改所有这些图层。 - + Replace effect 替换效果 - - + + Replace Effect 替换效果 - - - + + + Add Effect 添加效果 - + Save over a project of a later version? 要覆盖更新版本的项目吗? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 由更新版本的 MapMap 以格式 %2 保存。此版本会保留它不认识的内容,但更新的版本可能无法按原样打开该项目。 仍要覆盖保存吗? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. 正在为 %1 学习 MIDI:按一个打击垫用于“%2”,或转动旋钮以双向移动。Escape 键停止,Delete 键移除该点的 MIDI 控件。 - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. 正在为 %1 学习按键:按一个键用于“%2”。Escape 键停止,Delete 键移除该点的按键。 - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. 正在学习 MIDI:为 %1 拨动一个控件或按一个打击垫。Delete 键移除其 MIDI 控件。 - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. 正在学习 MIDI:点击一个蓝框标出的控件,然后拨动 MIDI 设备上的一个控件。已学习的 MIDI 控件仍然有效。 - + Learning keys: press a key for %1. Delete removes its key. 正在学习按键:为 %1 按一个键。Delete 键移除其按键。 - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). 正在学习按键:点击一个蓝框标出的控件,然后按一个键。已学习的按键在停止学习(Escape)之前不起作用。 - - + + %1: %2 %1:%2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. 为 %1 拨动一个 MIDI 控件。Delete 键移除其 MIDI 控件,Escape 键停止学习。 - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. MIDI 学习:点击一个蓝框标出的控件,然后拨动 MIDI 设备上的一个控件。Escape 键停止学习。 - + Press a key for %1. Delete removes its key, Escape stops learning. 为 %1 按一个键。Delete 键移除其按键,Escape 键停止学习。 - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. 键盘学习:点击一个蓝框标出的控件,然后按一个键。Escape 键停止学习。 - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. 正在学习 MIDI:请拨动 MIDI 设备上的控件,而不是按键。学习按键请用“编辑 > 键盘学习”。 - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 控制 %2。按 Escape 键停止学习后,%1 即生效。 - + Click a control outlined in blue first, then press %1. 请先点击一个蓝框标出的控件,再按 %1。 - + %1 is already the shortcut of %2: choose another key. %1 已是“%2”的快捷键:请选择其他按键。 - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2:%3 - + MIDI control removed from %1 已从 %1 移除 MIDI 控件 - + Key removed from %1 已从 %1 移除按键 - + Click a control outlined in blue first, then move %1. 请先点击一个蓝框标出的控件,再拨动 %1。 - + Input Editor: %1% 输入编辑器:%1% - + Output Editor: %1% 输出编辑器:%1% - + Cues 提示点 - + Stop Learning 停止学习 - + Stop learning (Escape) 停止学习(Escape) - - + + Add &Generator 添加生成器(&G) - + Add a generator 添加生成器 - + Add &Syphon Source… 添加 &Syphon 来源… - + Receive live video from another application via Syphon… 通过 Syphon 接收其他应用程序的实时视频… - + Duplicate Layer 复制图层 - + Duplicate layer item 复制图层 - + Delete Layer 删除图层 - + Delete layer item 删除图层 - + Remove Effect 移除效果 - + Remove the selected effect 移除所选效果 - + Rename Layer 重命名图层 - + Rename layer item 重命名图层 - + Lock Layer 锁定图层 - + Lock layer item 锁定图层 - + Hide Layer 隐藏图层 - + Hide layer item 隐藏图层 - + Solo Layer 独显图层 - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. 顺时针旋转 90°。在输入视图中,旋转图层内的图像。 - + Rotate 90° CCW 逆时针旋转 90° - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. 逆时针旋转 90°。在输入视图中,旋转图层内的图像。 - + Rotate 180°. In the input view, rotates the image inside the layer. 旋转 180°。在输入视图中,旋转图层内的图像。 - + Flip Horizontally 水平翻转 - + Flip horizontally. In the input view, flips the image inside the layer. 水平翻转。在输入视图中,翻转图层内的图像。 - + Flip Vertically 垂直翻转 - + Flip vertically. In the input view, flips the image inside the layer. 垂直翻转。在输入视图中,翻转图层内的图像。 - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + New Group - + Add a group without layers, to drag layers into - + Delete Source 删除来源 - + Delete source item 删除来源 - + Rename Source 重命名来源 - + Rename source item 重命名来源 - + Import New Media 导入新媒体 - + Import new media file if not exists on the list 导入列表中没有的新媒体文件 - + Add &Mesh Layer 添加网格图层(&M) - + Add mesh layer 添加网格图层 - + Add &Triangle Layer 添加三角形图层(&T) - + Add triangle layer 添加三角形图层 - + Add &Ellipse Layer 添加椭圆图层(&E) - + Add ellipse layer 添加椭圆图层 - - + + Restart 重新开始 - + &Hide Output 隐藏输出(&H) - + Output in a &Window 在窗口中输出(&W) - + Output &Fills a Screen 输出占满屏幕(&F) - + Output 输出 - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. 输出占满屏幕(%1)。箭头用于选择输出的显示方式和位置。 - + &Display Controls of Layers of a Source 显示同一来源的图层控件(&D) - + Display all canvas controls related to current source 显示与当前来源相关的所有画布控件 - + &Keyboard Learn 键盘学习(&K) - + Link keys of the keyboard to settings: click a control, then press a key 将键盘按键关联到设置项:点击一个控件,然后按一个键 - + &MIDI Learn MIDI 学习(&M) - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control 将 MIDI 设备的控件和音符关联到设置项:点击一个控件,然后拨动一个 MIDI 控件 - + Learned K&eys Active 已学按键生效(&E) - + Turn the learned keys off while typing for something else, and on again 在为其他用途打字时关闭已学习的按键,之后再重新开启 - + &Links 关联(&L) - + List the keys linked to settings 列出关联到设置项的按键 - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Input editor Layout 输入编辑器布局 - + Switch to the Input editor Layout. 切换到输入编辑器布局。 - + Output Editor Layout 输出编辑器布局 - + Switch to the Output Editors Layout. 切换到输出编辑器布局。 - + Editor 编辑器 - + Show the editor and hide the bottom section 显示编辑器并隐藏底部区域 - + Bottom Section 底部区域 - + Show the bottom section, such as the cues, and hide the editor 显示底部区域(如提示点)并隐藏编辑器 - + Editor and Bottom Section 编辑器和底部区域 - + Show the editor, and the bottom section under it 显示编辑器,并在其下方显示底部区域 - - + + Zoom In 放大 - - + + Zoom Out 缩小 - + + &Performance Mode + 演出模式(&P) + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + 演出模式 (%1):演出时形状锁定,不能添加或删除任何内容 + + + &Output 输出(&O) - + &Tools - + + Performance Mode + 演出模式 + + + Cannot read %1: %2 无法读取 %1: %2 - + Project of a later version 更新版本的项目 - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. 此项目由更新版本的 MapMap 以格式 %1 保存;此版本写入的格式为 %2。此版本不认识的内容会被保留,但可能无法按更新版本的预期工作。 - + Project opened with missing entries 项目已打开,但缺少部分条目 - + MapMap skipped these project entries: %1 MapMap 跳过了以下项目条目: %1 - + Sources this version cannot open 此版本无法打开的来源 - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. 此项目包含此版本的 MapMap 无法打开的来源类型:%1。 它们会连同其图层一起保留(图层显示“缺失”图像),并按原样保存。 - + + %1 — Performance + %1 — 演出 + + + Group %1 - - + + Face %1 - + Auto-Mapping - + %1 - disconnected %1 - 已断开 - + Output Fills a Screen 输出占满屏幕 - + The output will cover this screen. Press Esc to bring MapMap back. 输出将覆盖此屏幕。按 Esc 键返回 MapMap。 - + Cover the Screen 覆盖屏幕 - + Don't ask again 不再询问 - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +演出模式下已锁定:%2 返回编辑模式。 + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + 演出模式:形状已锁定。%1 返回编辑模式。 + + + + Performance mode: shapes are locked + 演出模式:形状已锁定 + + + + Edit mode: shapes can be changed + 编辑模式:可以更改形状 + + + + Locked in performance mode: %1 goes back to edit mode. + 演出模式下已锁定:%1 返回编辑模式。 + + + Report an issue 回报问题 - + Solo layer item 独显图层 - + Rotate 90° CW 顺时针旋转 90° - + Rotate 180° 旋转 180° - - + + Raise 上移 - - + + Lower 下移 - + Raise to Top 移到最上层 - + Raise to top 移到最上层 - + Lower to Bottom 移到最下层 - + Lower to bottom 移到最下层 - + Take the layers out of the group, and remove the group - + &Publish Syphon Output 发布 Syphon 输出(&P) - + Publish the output composition as a Syphon server other apps can receive 将输出画面发布为 Syphon 服务器,供其他应用程序接收 - + Actual Pixels (1:1) 实际像素(1:1) - + Show one image pixel per screen pixel 每个屏幕像素显示一个图像像素 - + Fit To View (100%) 适合视图(100%) - + Show the whole image or output frame 显示整幅图像或整个输出画面 - + Output &Resolution... 输出分辨率(&R)... - + Choose the size of the output frame 选择输出画面的尺寸 - + Professional services && custom development… 专业服务与定制开发… - + Hire Art Plus Code for video mapping installations, custom features, integration and training 聘请 Art Plus Code 提供视频映射装置、定制功能、系统集成和培训 - + Support the project (donate)… 支持本项目(捐款)… - + Help fund MapMap's ongoing development 帮助资助 MapMap 的持续开发 - + Documentation 文件 - + Submit feedback via email 电子邮件反馈 - + &Keyboard shortcuts 键盘快捷键(&K) - + Welcome to %1… 欢迎使用 %1… - + &File &档案 - + Open Recents Projects 开最近的方案 - + Open Recents Videos 开最近的影片 - + &Edit &编辑 - + &View &视图 - + &Window &视窗 - + &Help &协助 - + Change Layer Source 更改图层来源 - + &Toolbar &工具列 - + The learned keys act again. 已学习的按键重新生效。 - + The learned keys are off: they do nothing until turned on again. 已学习的按键已关闭:重新开启前它们不起作用。 - + Learned keys: on 已学按键:开 - + Learned keys: off 已学按键:关 - + Edit > Learned Keys Active (%1) turns them on and off. 用“编辑 > 已学按键生效”(%1)开启或关闭它们。 - + The document has been modified. Do you want to save your changes? 文档已被修改。 是否保存更改? - - + + Error reading mapping project file 读取文件错误 - - + + Cannot read file %1: %2. 无法读取文件 %1: %2。 - + File loaded 文件加载 - - + + File loaded: %n link(s) active 文件已加载:%n 个关联生效 - + , %n kept but not usable here ,%n 个已保留但在此无法使用 - - + + Error saving mapping project 无法保存 - + Cannot write file %1: %2. 无法写入文件 %1: %2。 - + Cannot rename temporary file to %1. 无法将临时文件重命名为 %1。 - + File saved 文件已保存 - + + Untitled 无名 - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project MapMap 方案 - - - + + + &%1 %2 &%1 %2 - + Clear List 清除的列表 - + No Recents Projects 没有最近的方案 - + %1 added 已添加 %1 - + Output %1 × %2 输出 %1 × %2 - + Output Editor (%1 × %2) 输出编辑器(%1 × %2) - + Output Resolution 输出分辨率 - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. 输出画面的尺寸,通常为投影机的分辨率。输出窗口会缩放画面以填满输出屏幕。 - + Scale the shapes to keep them in place in the frame 缩放形状,使其在画面中保持原位 - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. 输出屏幕 %1 已断开:在其重新连接之前隐藏输出。 - + The output screen %1 is back. 输出屏幕 %1 已重新连接。 - + %1 - %2x%3 %1 - %2x%3 - + - Primary - Primary - + File imported 文件汇入 - + Warning 警告 - + The following file is not supported: %1 无法打开文件: %1 - + Cannot load movie 无法加载视频 - + Unable to use file %1. The original file is not found. Please locate. 无法使用文件 %1。 找不到原始文件,请指定其位置。 - - + + Locate file %1 定位文件 %1 - - + + %1 files (%2) %1 档案 (%2) - + Undo history 撤消历史 @@ -4306,6 +4386,19 @@ The original file is not found. Please locate. 适合视图(100%):显示整幅图像或整个输出画面 + + mmp::MappingManager + + + Performance Mode + 演出模式 + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + 是否正在演出:图层的形状不会被鼠标、键盘和控制器更改,也不能添加或删除任何内容。 + + mmp::MediaCues @@ -4322,17 +4415,17 @@ The original file is not found. Please locate. 列数 - + The number of columns of vertices of the mesh, its two edges included. 网格顶点的列数,包括两侧边缘。 - + Rows 行数 - + The number of rows of vertices of the mesh, its two edges included. 网格顶点的行数,包括上下边缘。 diff --git a/translations/mapmap_zh_TW.ts b/translations/mapmap_zh_TW.ts index ff64ba51..0629097e 100644 --- a/translations/mapmap_zh_TW.ts +++ b/translations/mapmap_zh_TW.ts @@ -321,7 +321,7 @@ QGuiApplication - + QT_LAYOUT_DIRECTION Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout. LTR @@ -330,12 +330,12 @@ QObject - + Initiating program... 正在啟動程式... - + Done. 完成。 @@ -525,127 +525,127 @@ 專案欄位「%1」必須是陣列。 - + CC %1 CC %1 - + %1 ch %2 %1 ch %2 - + Keyboard 鍵盤 - + MIDI MIDI - + Follow the control 跟隨控制器 - + Follow the turns 跟隨轉動 - + Move right 向右移 - + Move down 向下移 - + Increase 增加 - + Move left 向左移 - + Move up 向上移 - + Decrease 減少 - + Toggle 切換 - + Turn on 開啟 - + Turn off 關閉 - + Next option 下一個選項 - + Last option 最後一個選項 - + First option 第一個選項 - + Minimum or maximum 最小值或最大值 - + Set to maximum 設為最大值 - + Set to minimum 設為最小值 - + %1: %2 %1:%2 - + %1 %2 %1 %2 - + %1, x %1,x - + %1, y %1,y @@ -1940,13 +1940,13 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + Create Shapes - + Make a layer of each face found, with a colour of its own @@ -1961,130 +1961,137 @@ After the scan, do not touch the zoom, the focus or the framing of the projector - + No camera is connected. - + %1 images, about %2 seconds. - + The scan needs the output over the whole screen of the projector. - + Scanning: do not move. - + Scan cancelled. - + Done: %1, %2. The camera saw %3 % of the output: the scene seen from the projector is under the shapes of the output editor; in red, what the camera did not see. Tools > Show Auto-Mapping Image hides it with the outlines. - + %n face(s) found - - + + %n outline(s) to place by hand - - + + Update Shapes - + Move the layers of the previous scan onto their faces, and make a layer of each new face - + %n layer(s) of the previous scan will follow their face: they keep their source and their effects, only their corners move. - + %n new face(s) will be added. - + %n layer(s) of the previous scan were not found again: %1. - + Update and Remove Them - + Update and Keep Them - + Update - + %n layer(s) moved - + %n shape(s) created - + %n layer(s) removed - + %1. Edit > Undo takes it all back at once. - + + %1 +Locked in performance mode + %1 +演出模式下已鎖定 + + + Cancel - + Close @@ -2431,8 +2438,12 @@ After the scan, do not touch the zoom, the focus or the framing of the projector + Whether this element is protected from changes made with the mouse, the keyboard and controllers. + 此元素是否受保護,不會被滑鼠、鍵盤和控制器操作變更。 + + Whether this element is protected from changes made with the mouse. - 此元素是否受保護,不會被滑鼠操作變更。 + 此元素是否受保護,不會被滑鼠操作變更。 @@ -2568,7 +2579,7 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorPage - + %1 %2 %1 %2 @@ -2576,47 +2587,47 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::InspectorRow - + %1: %2 %1:%2 - + %1, %2 %1,%2 - + Learn Keys to Move It 學習移動它的按鍵 - + Learn MIDI Controls to Move It 學習移動它的 MIDI 控制 - + Remove the Links That Move It 移除移動它的連結 - + Learn a Key 學習按鍵 - + Remove the Key 移除按鍵 - + Learn a MIDI Control 學習 MIDI 控制 - + Remove the MIDI Control 移除 MIDI 控制 @@ -2739,74 +2750,79 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::LayerItemDelegate - - + + Solo layer 獨顯圖層 - - + + Lock layer 鎖定圖層 - - + + Duplicate layer 複製圖層 - - + + Delete layer 刪除圖層 - + Turn the effect on or off 開啟或關閉效果 - + Remove the effect 移除效果 - + Available once a layer can have several effects 待圖層支援多個效果後可用 - + Show or hide the layers of the group - + Solo group: show only its layers - + Lock the layers of the group - + Delete the group and its layers - + Not available for a group yet - + Show or hide the layer 顯示或隱藏圖層 + + + Locked in performance mode + 演出模式下已鎖定 + mmp::LearnMode @@ -2884,22 +2900,26 @@ After the scan, do not touch the zoom, the focus or the framing of the projector 鎖定 - Whether the vertices of this shape are protected from changes made with the mouse. - 此形狀的頂點是否受保護,不會被滑鼠操作變更。 + 此形狀的頂點是否受保護,不會被滑鼠操作變更。 - + + Whether the vertices of this shape are protected from changes made with the mouse, the keyboard and controllers. + 此形狀的頂點是否受保護,不會被滑鼠、鍵盤和控制器操作變更。 + + + Points 點 - + Point 點 - + The position of a control point of the shape, in pixels. 形狀控制點的位置,以像素為單位。 @@ -2907,1378 +2927,1438 @@ After the scan, do not touch the zoom, the focus or the framing of the projector mmp::MainWindow - - + + Open project 開啟專案 - - - - + + + + MapMap files (*.%1) MapMap 檔案 (*.%1) - - + + Save project 儲存專案 - - + + Import media source file 匯入媒體來源檔案 - - + + Media files (%1 %2);;All files (*) 媒體檔案 (%1 %2);;所有檔案 (*) - + Camera device 相機裝置 - + Select camera 選擇相機 - - + + No camera available 沒有可用的相機 - - + + You can not use this feature! No camera available in your system 無法使用此功能! 系統中沒有可用的相機 - + Syphon source added 已新增 Syphon 來源 - - - + + + MapMap MapMap - + &New 新增(&N) - + Create a new project 建立新專案 - + &Open… 開啟(&O)… - + Open an existing project 開啟現有專案 - + &Save 儲存(&S) - + Save the project 儲存專案 - + Save &As… 另存新檔(&A)… - + Save the project as… 將專案另存為… - + No Recents Videos 沒有最近的影片 - + &Import Media File… 匯入媒體檔案(&I)… - + Import a video or image file… 匯入影片或影像檔案… - + Open &Camera Device… 開啟相機裝置(&C)… - + Choose your camera device… 選擇相機裝置… - + E&xit 結束(&X) - + Exit the application 結束應用程式 - + &Undo 復原(&U) - + &Redo 重做(&R) - + &About MapMap 關於 MapMap(&A) - + Show the application's About box 顯示應用程式的「關於」對話框 - + &Preferences… 偏好設定(&P)… - + Configure preferences… 調整偏好設定… - - + + Play 播放 - - + + Pause 暫停 - + &Display Controls 顯示控制項(&D) - + Display canvas controls 顯示畫布控制項 - + &Sticky Vertices 磁吸頂點(&S) - + Enable sticky vertices 啟用磁吸頂點 - + Show &Test Signal 顯示測試訊號(&T) - + Show Test signal 顯示測試訊號 - + Display &Undo History 顯示復原記錄(&U) - + Open Conso&le 開啟主控台(&L) - + Display &Zoom Toolbar 顯示縮放工具列(&Z) - + &Menu Bar 選單列(&M) - + Main Layout 主要版面 - + Switch to the Main layout. 切換到主要版面。 - + Remove this source and all its associated layers? 移除此來源及其所有相關圖層? - + Input Editor 輸入編輯器 - + Output Editor 輸出編輯器 - + Library 媒體庫 - + Layers 圖層 - + Cue %1 提示點 %1 - + Cue %1 — %2 提示點 %1 — %2 - + %1 set at %2 %1 設於 %2 - - - + + + Locked in performance mode + 演出模式下已鎖定 + + + + Locked with the layer + 隨圖層鎖定 + + + + + Group - + Group layers - + Ungroup layers - + New group - + Delete group - + Delete the group "%1" and its %n layer(s)? - + + Move layer - + Move layers - + Move group - + Used by %1 layers: changing it changes them all. %1 個圖層使用此項:變更會影響所有圖層。 - + Replace effect 取代效果 - - + + Replace Effect 取代效果 - - - + + + Add Effect 新增效果 - + Save over a project of a later version? 要覆寫較新版本的專案嗎? - + %1 was saved by a later version of MapMap, in the format %2. This version keeps what it does not know, but the later version may not open the project as it was. Save over it anyway? %1 由較新版本的 MapMap 以 %2 格式儲存。此版本會保留它不認得的內容,但較新的版本可能無法照原樣開啟專案。 仍要覆寫嗎? - + Learning MIDI for %1: press a pad for "%2", or turn a knob to move it both ways. Escape stops, Delete removes the MIDI controls of the point. 正在為 %1 學習 MIDI:為「%2」按一個打擊墊,或轉動旋鈕以雙向移動。Esc 停止,Delete 移除此點的 MIDI 控制。 - + Learning keys for %1: press a key for "%2". Escape stops, Delete removes the keys of the point. 正在為 %1 學習按鍵:為「%2」按一個按鍵。Esc 停止,Delete 移除此點的按鍵。 - + Learning MIDI: move a control or press a pad for %1. Delete removes its MIDI control. 正在學習 MIDI:為 %1 移動控制器或按打擊墊。Delete 移除其 MIDI 控制。 - + Learning MIDI: click a control outlined in blue, then move a control of the MIDI device. The MIDI controls already learned act. 正在學習 MIDI:按一下藍框標示的控制項,然後移動 MIDI 裝置上的控制器。已學習的 MIDI 控制仍會作用。 - + Learning keys: press a key for %1. Delete removes its key. 正在學習按鍵:為 %1 按一個按鍵。Delete 移除其按鍵。 - + Learning keys: click a control outlined in blue, then press a key. Learned keys do not act until learning stops (Escape). 正在學習按鍵:按一下藍框標示的控制項,然後按一個按鍵。已學習的按鍵要等學習停止(Esc)後才會作用。 - - + + %1: %2 %1:%2 - + Move a MIDI control for %1. Delete removes its MIDI control, Escape stops learning. 為 %1 移動 MIDI 控制器。Delete 移除其 MIDI 控制,Esc 停止學習。 - + MIDI learn: click a control outlined in blue, then move a control of the MIDI device. Escape stops learning. MIDI 學習:按一下藍框標示的控制項,然後移動 MIDI 裝置上的控制器。Esc 停止學習。 - + Press a key for %1. Delete removes its key, Escape stops learning. 為 %1 按一個按鍵。Delete 移除其按鍵,Esc 停止學習。 - + Keyboard learn: click a control outlined in blue, then press a key. Escape stops learning. 鍵盤學習:按一下藍框標示的控制項,然後按一個按鍵。Esc 停止學習。 - + Learning MIDI: move a control of the MIDI device, not a key. Edit > Keyboard Learn learns keys. 正在學習 MIDI:請移動 MIDI 裝置上的控制器,而非按鍵。「編輯 > 鍵盤學習」用於學習按鍵。 - + %1 drives %2. Press Escape to stop learning: %1 then acts. %1 控制 %2。按 Esc 停止學習後,%1 才會作用。 - + Click a control outlined in blue first, then press %1. 請先按一下藍框標示的控制項,再按 %1。 - + %1 is already the shortcut of %2: choose another key. %1 已是「%2」的快速鍵:請選擇其他按鍵。 - - + + %1 → %2 %1 → %2 - + %1 → %2: %3 %1 → %2:%3 - + MIDI control removed from %1 已從 %1 移除 MIDI 控制 - + Key removed from %1 已從 %1 移除按鍵 - + Click a control outlined in blue first, then move %1. 請先按一下藍框標示的控制項,再移動 %1。 - + Input Editor: %1% 輸入編輯器:%1% - + Output Editor: %1% 輸出編輯器:%1% - + Cues 提示點 - + Stop Learning 停止學習 - + Stop learning (Escape) 停止學習(Esc) - - + + Add &Generator 新增產生器(&G) - + Add a generator 新增產生器 - + Add &Syphon Source… 新增 Syphon 來源(&S)… - + Receive live video from another application via Syphon… 透過 Syphon 接收其他應用程式的即時視訊… - + Duplicate Layer 複製圖層 - + Duplicate layer item 複製圖層 - + Delete Layer 刪除圖層 - + Delete layer item 刪除圖層 - + Remove Effect 移除效果 - + Remove the selected effect 移除選取的效果 - + Rename Layer 重新命名圖層 - + Rename layer item 重新命名圖層 - + Lock Layer 鎖定圖層 - + Lock layer item 鎖定圖層 - + Hide Layer 隱藏圖層 - + Hide layer item 隱藏圖層 - + Solo Layer 獨顯圖層 - + Rotate 90° clockwise. In the input view, rotates the image inside the layer. 順時針旋轉 90°。在輸入檢視中,旋轉圖層內的影像。 - + Rotate 90° CCW 逆時針旋轉 90° - + Rotate 90° counterclockwise. In the input view, rotates the image inside the layer. 逆時針旋轉 90°。在輸入檢視中,旋轉圖層內的影像。 - + Rotate 180°. In the input view, rotates the image inside the layer. 旋轉 180°。在輸入檢視中,旋轉圖層內的影像。 - + Flip Horizontally 水平翻轉 - + Flip horizontally. In the input view, flips the image inside the layer. 水平翻轉。在輸入檢視中,翻轉圖層內的影像。 - + Flip Vertically 垂直翻轉 - + Flip vertically. In the input view, flips the image inside the layer. 垂直翻轉。在輸入檢視中,翻轉圖層內的影像。 - + Group The command: put the selected layers in a group - + Put the selected layers in a new group - + Ungroup - + New Group - + Add a group without layers, to drag layers into - + Delete Source 刪除來源 - + Delete source item 刪除來源 - + Rename Source 重新命名來源 - + Rename source item 重新命名來源 - + Import New Media 匯入新媒體 - + Import new media file if not exists on the list 匯入清單中沒有的新媒體檔案 - + Add &Mesh Layer 新增網格圖層(&M) - + Add mesh layer 新增網格圖層 - + Add &Triangle Layer 新增三角形圖層(&T) - + Add triangle layer 新增三角形圖層 - + Add &Ellipse Layer 新增橢圓圖層(&E) - + Add ellipse layer 新增橢圓圖層 - - + + Restart 重新開始 - + &Hide Output 隱藏輸出(&H) - + Output in a &Window 在視窗中輸出(&W) - + Output &Fills a Screen 輸出填滿螢幕(&F) - + Output 輸出 - + Output Fills a Screen (%1). The arrow chooses how and where the output is shown. 輸出填滿螢幕(%1)。箭頭用於選擇輸出的顯示方式與位置。 - + &Display Controls of Layers of a Source 顯示同一來源的圖層控制項(&D) - + Display all canvas controls related to current source 顯示與目前來源相關的所有畫布控制項 - + &Keyboard Learn 鍵盤學習(&K) - + Link keys of the keyboard to settings: click a control, then press a key 將鍵盤按鍵連結到設定:按一下控制項,然後按一個按鍵 - + &MIDI Learn MIDI 學習(&M) - + Link controls and notes of a MIDI device to settings: click a control, then move a MIDI control 將 MIDI 裝置的控制器和音符連結到設定:按一下控制項,然後移動 MIDI 控制器 - + Learned K&eys Active 啟用已學習的按鍵(&E) - + Turn the learned keys off while typing for something else, and on again 在為其他用途打字時關閉已學習的按鍵,之後再開啟 - + &Links 連結(&L) - + List the keys linked to settings 列出連結到設定的按鍵 - + &Auto-Mapping… - + Film stripes projected on the scene, to see it from the projector - + &Show Auto-Mapping Image - + Show the scene seen from the projector under the shapes of the output - + &Clear Auto-Mapping Image - + Forget the scene seen from the projector - + Input editor Layout 輸入編輯器版面 - + Switch to the Input editor Layout. 切換到輸入編輯器版面。 - + Output Editor Layout 輸出編輯器版面 - + Switch to the Output Editors Layout. 切換到輸出編輯器版面。 - + Editor 編輯器 - + Show the editor and hide the bottom section 顯示編輯器並隱藏底部區域 - + Bottom Section 底部區域 - + Show the bottom section, such as the cues, and hide the editor 顯示底部區域(如提示點)並隱藏編輯器 - + Editor and Bottom Section 編輯器與底部區域 - + Show the editor, and the bottom section under it 顯示編輯器,並在其下方顯示底部區域 - - + + Zoom In 放大 - - + + Zoom Out 縮小 - + + &Performance Mode + 演出模式(&P) + + + + Performance Mode (%1): play the show, with the shapes locked and nothing to add or delete + 演出模式 (%1):演出時形狀鎖定,不能新增或刪除任何內容 + + + &Output 輸出(&O) - + &Tools - + + Performance Mode + 演出模式 + + + Cannot read %1: %2 無法讀取 %1: %2 - + Project of a later version 較新版本的專案 - + This project was saved by a later version of MapMap, in the format %1; this version writes %2. What this version does not know is kept, but may not work as the later version intended. 此專案由較新版本的 MapMap 以 %1 格式儲存;此版本寫入的是 %2。此版本不認得的內容會保留,但可能無法如較新版本預期般運作。 - + Project opened with missing entries 已開啟專案,但有項目遺失 - + MapMap skipped these project entries: %1 MapMap 略過了下列專案項目: %1 - + Sources this version cannot open 此版本無法開啟的來源 - + This project has sources of types this version of MapMap cannot open: %1. They are kept with their layers, which show a "missing" image, and saved as they are. 此專案含有此版本 MapMap 無法開啟的來源類型:%1。 這些來源會連同其圖層一併保留,圖層會顯示「遺失」影像,並照原樣儲存。 - + + %1 — Performance + %1 — 演出 + + + Group %1 - - + + Face %1 - + Auto-Mapping - + %1 - disconnected %1 - 已中斷連線 - + Output Fills a Screen 輸出填滿螢幕 - + The output will cover this screen. Press Esc to bring MapMap back. 輸出將覆蓋此螢幕。按 Esc 可回到 MapMap。 - + Cover the Screen 覆蓋螢幕 - + Don't ask again 不再詢問 - + + %1 +Locked in performance mode: %2 goes back to edit mode. + %1 +演出模式下已鎖定:%2 返回編輯模式。 + + + + Performance mode: shapes are locked. %1 goes back to edit mode. + 演出模式:形狀已鎖定。%1 返回編輯模式。 + + + + Performance mode: shapes are locked + 演出模式:形狀已鎖定 + + + + Edit mode: shapes can be changed + 編輯模式:可以變更形狀 + + + + Locked in performance mode: %1 goes back to edit mode. + 演出模式下已鎖定:%1 返回編輯模式。 + + + Report an issue 回報問題 - + Solo layer item 獨顯圖層 - + Rotate 90° CW 順時針旋轉 90° - + Rotate 180° 旋轉 180° - - + + Raise 上移 - - + + Lower 下移 - + Raise to Top 移到最上層 - + Raise to top 移到最上層 - + Lower to Bottom 移到最下層 - + Lower to bottom 移到最下層 - + Take the layers out of the group, and remove the group - + &Publish Syphon Output 發布 Syphon 輸出(&P) - + Publish the output composition as a Syphon server other apps can receive 將輸出畫面發布為 Syphon 伺服器,供其他應用程式接收 - + Actual Pixels (1:1) 實際像素(1:1) - + Show one image pixel per screen pixel 一個影像像素對應一個螢幕像素 - + Fit To View (100%) 符合視窗(100%) - + Show the whole image or output frame 顯示整個影像或輸出畫面 - + Output &Resolution... 輸出解析度(&R)... - + Choose the size of the output frame 選擇輸出畫面的尺寸 - + Professional services && custom development… 專業服務與客製開發… - + Hire Art Plus Code for video mapping installations, custom features, integration and training 聘請 Art Plus Code 提供光雕投影裝置、客製功能、系統整合與培訓 - + Support the project (donate)… 支持本專案(捐款)… - + Help fund MapMap's ongoing development 協助資助 MapMap 的持續開發 - + Documentation 文件 - + Submit feedback via email 透過電子郵件提供意見回饋 - + &Keyboard shortcuts 鍵盤快速鍵(&K) - + Welcome to %1… 歡迎使用 %1… - + &File 檔案(&F) - + Open Recents Projects 開啟最近的專案 - + Open Recents Videos 開啟最近的影片 - + &Edit 編輯(&E) - + &View 檢視(&V) - + &Window 視窗(&W) - + &Help 說明(&H) - + Change Layer Source 變更圖層來源 - + &Toolbar 工具列(&T) - + The learned keys act again. 已學習的按鍵再度作用。 - + The learned keys are off: they do nothing until turned on again. 已學習的按鍵已關閉:重新開啟前不會有作用。 - + Learned keys: on 已學習的按鍵:開 - + Learned keys: off 已學習的按鍵:關 - + Edit > Learned Keys Active (%1) turns them on and off. 「編輯 > 啟用已學習的按鍵」(%1)可開啟或關閉這些按鍵。 - + The document has been modified. Do you want to save your changes? 文件已被修改。 是否儲存變更? - - + + Error reading mapping project file 讀取專案檔案時發生錯誤 - - + + Cannot read file %1: %2. 無法讀取檔案 %1: %2。 - + File loaded 已載入檔案 - - + + File loaded: %n link(s) active 已載入檔案:%n 個連結作用中 - + , %n kept but not usable here ,%n 個已保留但在此無法使用 - - + + Error saving mapping project 儲存專案時發生錯誤 - + Cannot write file %1: %2. 無法寫入檔案 %1: %2。 - + Cannot rename temporary file to %1. 無法將暫存檔重新命名為 %1。 - + File saved 已儲存檔案 - + + Untitled 未命名 - + %1[*] - %2 %1[*] - %2 - - + + MapMap Project MapMap 專案 - - - + + + &%1 %2 &%1 %2 - + Clear List 清除清單 - + No Recents Projects 沒有最近的專案 - + %1 added 已新增 %1 - + Output %1 × %2 輸出 %1 × %2 - + Output Editor (%1 × %2) 輸出編輯器(%1 × %2) - + Output Resolution 輸出解析度 - + Size of the output frame, usually the resolution of the projector. The output window scales it to fill the output screen. 輸出畫面的尺寸,通常是投影機的解析度。輸出視窗會縮放畫面以填滿輸出螢幕。 - + Scale the shapes to keep them in place in the frame 縮放形狀,使其在畫面中維持原位 - + %1 %2 × %3 %1 %2 × %3 - + The output screen %1 is disconnected: the output is hidden until it comes back. 輸出螢幕 %1 已中斷連線:在重新連接前會隱藏輸出。 - + The output screen %1 is back. 輸出螢幕 %1 已重新連接。 - + %1 - %2x%3 %1 - %2x%3 - + - Primary - 主要 - + File imported 已匯入檔案 - + Warning 警告 - + The following file is not supported: %1 不支援下列檔案:%1 - + Cannot load movie 無法載入影片 - + Unable to use file %1. The original file is not found. Please locate. 無法使用檔案 %1。 找不到原始檔案,請指定其位置。 - - + + Locate file %1 尋找檔案 %1 - - + + %1 files (%2) %1 檔案 (%2) - + Undo history 復原記錄 @@ -4306,6 +4386,19 @@ The original file is not found. Please locate. 符合視窗(100%):顯示整個影像或輸出畫面 + + mmp::MappingManager + + + Performance Mode + 演出模式 + + + + Whether the show is played: the shapes of the layers are locked against the mouse, the keyboard and controllers, and nothing can be added or deleted. + 是否正在演出:圖層的形狀不會被滑鼠、鍵盤和控制器變更,也不能新增或刪除任何內容。 + + mmp::MediaCues @@ -4322,17 +4415,17 @@ The original file is not found. Please locate. 欄數 - + The number of columns of vertices of the mesh, its two edges included. 網格的頂點欄數,包含兩側邊緣。 - + Rows 列數 - + The number of rows of vertices of the mesh, its two edges included. 網格的頂點列數,包含兩側邊緣。