ScxmlEditor: Convert to using Tr::tr

Change-Id: Ia8ab06d4b8a16bb144d6887624c478fb911f29ea
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alessandro Portale
2022-08-23 13:05:04 +02:00
parent 94d7e2efac
commit dc3eae230f
41 changed files with 226 additions and 1445 deletions

View File

@@ -35950,21 +35950,11 @@ Derudover testes enhedens forbindelse.</translation>
</message> </message>
</context> </context>
<context> <context>
<name>SXCMLTag::UnknownAttributeName</name> <name>ScxmlEditor</name>
<message> <message>
<source>Unknown</source> <source>Unknown</source>
<translation>Ukendt</translation> <translation>Ukendt</translation>
</message> </message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message>
<source>Unknown</source>
<translation>Ukendt</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::ColorPicker</name>
<message> <message>
<source>Frame</source> <source>Frame</source>
<translation>Ramme</translation> <translation>Ramme</translation>
@@ -35977,9 +35967,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Last used colors</source> <source>Last used colors</source>
<translation>Sidste brugte farver</translation> <translation>Sidste brugte farver</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorSettings</name>
<message> <message>
<source>+</source> <source>+</source>
<translation>+</translation> <translation>+</translation>
@@ -36012,9 +35999,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Are you sure you want to delete color theme %1?</source> <source>Are you sure you want to delete color theme %1?</source>
<translation>Er du sikker , at du vil slette farvetema %1?</translation> <translation>Er du sikker , at du vil slette farvetema %1?</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation>Dialog</translation> <translation>Dialog</translation>
@@ -36031,16 +36015,10 @@ Derudover testes enhedens forbindelse.</translation>
<source>Apply</source> <source>Apply</source>
<translation>Anvend</translation> <translation>Anvend</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation>Vælg farve</translation> <translation>Vælg farve</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemes</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>Rediger farvetemaer...</translation> <translation>Rediger farvetemaer...</translation>
@@ -36061,9 +36039,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>Farver fra SCXML-dokument</translation> <translation>Farver fra SCXML-dokument</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation>Automatisk farve</translation> <translation>Automatisk farve</translation>
@@ -36072,9 +36047,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>More Colors...</source> <source>More Colors...</source>
<translation>Flere farver...</translation> <translation>Flere farver...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation>SCXML-generering mislykkedes</translation> <translation>SCXML-generering mislykkedes</translation>
@@ -36083,9 +36055,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Loading document...</source> <source>Loading document...</source>
<translation>Indlæser dokument...</translation> <translation>Indlæser dokument...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation>Tilstandsfarve</translation> <translation>Tilstandsfarve</translation>
@@ -36142,31 +36111,10 @@ Derudover testes enhedens forbindelse.</translation>
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation>Kunne ikke gemme skærmbilledet.</translation> <translation>Kunne ikke gemme skærmbilledet.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation>Navigator</translation> <translation>Navigator</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>Frame</source>
<translation>Ramme</translation>
</message>
<message>
<source>-</source>
<translation>-</translation>
</message>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message> <message>
<source>Enter search term</source> <source>Enter search term</source>
<translation>Indtast søgeterm</translation> <translation>Indtast søgeterm</translation>
@@ -36175,9 +36123,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Search</source> <source>Search</source>
<translation>Søgning</translation> <translation>Søgning</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation>Type</translation> <translation>Type</translation>
@@ -36186,16 +36131,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Name</source> <source>Name</source>
<translation>Navn</translation> <translation>Navn</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ShapesToolbox</name>
<message>
<source>Frame</source>
<translation>Ramme</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation>Attributter</translation> <translation>Attributter</translation>
@@ -36204,16 +36139,10 @@ Derudover testes enhedens forbindelse.</translation>
<source>Content</source> <source>Content</source>
<translation>Indhold</translation> <translation>Indhold</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message> <message>
<source>Back</source> <source>Back</source>
<translation>Tilbage</translation> <translation>Tilbage</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message> <message>
<source>Time</source> <source>Time</source>
<translation>Tid</translation> <translation>Tid</translation>
@@ -36234,24 +36163,10 @@ Derudover testes enhedens forbindelse.</translation>
<source>yyyy/MM/dd hh:mm:ss</source> <source>yyyy/MM/dd hh:mm:ss</source>
<translation>åååå/MM/dd tt:mm:ss</translation> <translation>åååå/MM/dd tt:mm:ss</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
<message> <message>
<source>Document Statistics</source> <source>Document Statistics</source>
<translation>Dokumentstatistik</translation> <translation>Dokumentstatistik</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation>Tag</translation> <translation>Tag</translation>
@@ -36260,9 +36175,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Count</source> <source>Count</source>
<translation>Antal</translation> <translation>Antal</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation>Almene tilstande</translation> <translation>Almene tilstande</translation>
@@ -36299,16 +36211,10 @@ Derudover testes enhedens forbindelse.</translation>
<source>Add child</source> <source>Add child</source>
<translation>Tilføj barn</translation> <translation>Tilføj barn</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation>Skift forælder</translation> <translation>Skift forælder</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>Fortryd (Ctrl + Z)</translation> <translation>Fortryd (Ctrl + Z)</translation>
@@ -36325,9 +36231,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Switch Mode</source> <source>Switch Mode</source>
<translation>Skift tilstand</translation> <translation>Skift tilstand</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation>Fejl(%1)/Advarsler(%2)/Info(%3)</translation> <translation>Fejl(%1)/Advarsler(%2)/Info(%3)</translation>
@@ -36340,25 +36243,14 @@ Derudover testes enhedens forbindelse.</translation>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>CSV-filer (*.csv)</translation> <translation>CSV-filer (*.csv)</translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation>Eksport mislykkedes</translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation>Kan ikke åbne filen %1.</translation> <translation>Kan ikke åbne filen %1.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation>Alvor</translation> <translation>Alvor</translation>
</message> </message>
<message>
<source>Type</source>
<translation>Type</translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation>Årsag</translation> <translation>Årsag</translation>
@@ -36379,10 +36271,6 @@ Derudover testes enhedens forbindelse.</translation>
<source>Info</source> <source>Info</source>
<translation>Info</translation> <translation>Info</translation>
</message> </message>
<message>
<source>Unknown</source>
<translation>Ukendt</translation>
</message>
<message> <message>
<source>Severity: %1 <source>Severity: %1
Type: %2 Type: %2
@@ -36393,9 +36281,6 @@ Type: %2
Årsag: %3 Årsag: %3
Beskrivelse: %4</translation> Beskrivelse: %4</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation>Zoom ind</translation> <translation>Zoom ind</translation>
@@ -36436,10 +36321,6 @@ Beskrivelse: %4</translation>
<source>Magnifier Tool (Alt)</source> <source>Magnifier Tool (Alt)</source>
<translation>Forstørrelsesglas-værktøj (Alt)</translation> <translation>Forstørrelsesglas-værktøj (Alt)</translation>
</message> </message>
<message>
<source>Navigator</source>
<translation>Navigator</translation>
</message>
<message> <message>
<source>Navigator (Ctrl+E)</source> <source>Navigator (Ctrl+E)</source>
<translation>Navigator (Ctrl+E)</translation> <translation>Navigator (Ctrl+E)</translation>
@@ -36484,10 +36365,6 @@ Beskrivelse: %4</translation>
<source>Toggle Full Namespace</source> <source>Toggle Full Namespace</source>
<translation>Fuld navnerum til/fra</translation> <translation>Fuld navnerum til/fra</translation>
</message> </message>
<message>
<source>Align Left</source>
<translation>Juster til venstre</translation>
</message>
<message> <message>
<source>Align Left (Ctrl+L,1)</source> <source>Align Left (Ctrl+L,1)</source>
<translation>Juster til venstre (Ctrl+L,1)</translation> <translation>Juster til venstre (Ctrl+L,1)</translation>
@@ -36532,10 +36409,6 @@ Beskrivelse: %4</translation>
<source>Align Vertical (Ctrl+L,6)</source> <source>Align Vertical (Ctrl+L,6)</source>
<translation>Juster lodret (Ctrl+L,6)</translation> <translation>Juster lodret (Ctrl+L,6)</translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation>Juster bredde</translation>
</message>
<message> <message>
<source>Adjust Width (Ctrl+L,7)</source> <source>Adjust Width (Ctrl+L,7)</source>
<translation>Juster bredde (Ctrl+L,7)</translation> <translation>Juster bredde (Ctrl+L,7)</translation>
@@ -36564,16 +36437,6 @@ Beskrivelse: %4</translation>
<source>Show Statistics</source> <source>Show Statistics</source>
<translation>Vis statistik</translation> <translation>Vis statistik</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation>Tilføj barn</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation>Tilføj ny tilstand</translation> <translation>Tilføj ny tilstand</translation>
@@ -36582,9 +36445,6 @@ Beskrivelse: %4</translation>
<source>Move State</source> <source>Move State</source>
<translation>Flyt tilstand</translation> <translation>Flyt tilstand</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation>Juster tilstande</translation> <translation>Juster tilstande</translation>
@@ -36593,25 +36453,10 @@ Beskrivelse: %4</translation>
<source>Adjust states</source> <source>Adjust states</source>
<translation>Juster tilstande</translation> <translation>Juster tilstande</translation>
</message> </message>
<message>
<source>Cut</source>
<translation>Klip</translation>
</message>
<message>
<source>Remove items</source>
<translation>Fjern poster</translation>
</message>
<message> <message>
<source>Re-layout</source> <source>Re-layout</source>
<translation>Genlayout</translation> <translation>Genlayout</translation>
</message> </message>
<message>
<source>Add new state</source>
<translation>Tilføj ny tilstand</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation>Tilstand</translation> <translation>Tilstand</translation>
@@ -36628,9 +36473,6 @@ Beskrivelse: %4</translation>
<source>Duplicate ID (%1).</source> <source>Duplicate ID (%1).</source>
<translation>Dupliker ID (%1).</translation> <translation>Dupliker ID (%1).</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation>Indledende</translation> <translation>Indledende</translation>
@@ -36643,20 +36485,10 @@ Beskrivelse: %4</translation>
<source>Too many initial states at the same level.</source> <source>Too many initial states at the same level.</source>
<translation>For mange indledende tilstande ved det samme niveau.</translation> <translation>For mange indledende tilstande ved det samme niveau.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translation>H</translation> <translation>H</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation>Navn</translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation>Værdi</translation> <translation>Værdi</translation>
@@ -36669,25 +36501,14 @@ Beskrivelse: %4</translation>
<source> - value -</source> <source> - value -</source>
<translation> - værdi -</translation> <translation> - værdi -</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation>Almene tilstande</translation> <translation>Almene tilstande</translation>
</message> </message>
<message>
<source>Initial</source>
<translation>Indledende</translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation>Endelige</translation> <translation>Endelige</translation>
</message> </message>
<message>
<source>State</source>
<translation>Tilstand</translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation>Parallel</translation> <translation>Parallel</translation>
@@ -36696,9 +36517,6 @@ Beskrivelse: %4</translation>
<source>History</source> <source>History</source>
<translation>Historik</translation> <translation>Historik</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Unexpected element.</source> <source>Unexpected element.</source>
<translation>Uventet element.</translation> <translation>Uventet element.</translation>
@@ -36745,10 +36563,6 @@ Række: %4, Kolonne: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation>Kan ikke gemme XML til filen %1.</translation> <translation>Kan ikke gemme XML til filen %1.</translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation>Kan ikke åbne filen %1.</translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation>Tilføj tag</translation> <translation>Tilføj tag</translation>
@@ -36757,9 +36571,6 @@ Række: %4, Kolonne: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation>Fjern tag</translation> <translation>Fjern tag</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>Fejl ved læsning af XML </translation> <translation>Fejl ved læsning af XML </translation>
@@ -36772,17 +36583,10 @@ Række: %4, Kolonne: %5
<source>Item</source> <source>Item</source>
<translation>Post</translation> <translation>Post</translation>
</message> </message>
<message>
<source>Metadata</source>
<translation>Metadata</translation>
</message>
<message> <message>
<source>Remove</source> <source>Remove</source>
<translation>Fjern</translation> <translation>Fjern</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation>Oprettede redigeringsinstans.</translation> <translation>Oprettede redigeringsinstans.</translation>
@@ -36791,9 +36595,6 @@ Række: %4, Kolonne: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation>Redigeringsinstans er ikke af typen ISCEditor.</translation> <translation>Redigeringsinstans er ikke af typen ISCEditor.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation>Sæt som indledende</translation> <translation>Sæt som indledende</translation>
@@ -36810,13 +36611,6 @@ Række: %4, Kolonne: %5
<source>Change initial state</source> <source>Change initial state</source>
<translation>Skift indledende tilstand</translation> <translation>Skift indledende tilstand</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation>Tilstand</translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation>Tegn nogle overgange til tilstand.</translation> <translation>Tegn nogle overgange til tilstand.</translation>
@@ -36845,16 +36639,10 @@ Række: %4, Kolonne: %5
<source>Draw some transitions from state.</source> <source>Draw some transitions from state.</source>
<translation>Tegn nogle overgange fra tilstand.</translation> <translation>Tegn nogle overgange fra tilstand.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation>Fjern punkt</translation> <translation>Fjern punkt</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation>Overgang</translation> <translation>Overgang</translation>

View File

@@ -37538,7 +37538,7 @@ Fehler: %5</translation>
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorPicker</name> <name>ScxmlEditor</name>
<message> <message>
<source>Frame</source> <source>Frame</source>
<translation>Rahmen</translation> <translation>Rahmen</translation>
@@ -37551,9 +37551,6 @@ Fehler: %5</translation>
<source>Last used colors</source> <source>Last used colors</source>
<translation>Zuletzt benutzte Farben</translation> <translation>Zuletzt benutzte Farben</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorSettings</name>
<message> <message>
<source>+</source> <source>+</source>
<translation>+</translation> <translation>+</translation>
@@ -37586,9 +37583,6 @@ Fehler: %5</translation>
<source>Are you sure you want to delete color theme %1?</source> <source>Are you sure you want to delete color theme %1?</source>
<translation>Sind Sie sicher, dass Sie das Farbschema %1 entfernen wollen?</translation> <translation>Sind Sie sicher, dass Sie das Farbschema %1 entfernen wollen?</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation>Dialog</translation> <translation>Dialog</translation>
@@ -37605,24 +37599,6 @@ Fehler: %5</translation>
<source>Apply</source> <source>Apply</source>
<translation>Anwenden</translation> <translation>Anwenden</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>Frame</source>
<translation>Rahmen</translation>
</message>
<message>
<source>-</source>
<translation>-</translation>
</message>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message> <message>
<source>Enter search term</source> <source>Enter search term</source>
<translation>Suchbegriff eingeben</translation> <translation>Suchbegriff eingeben</translation>
@@ -37631,23 +37607,10 @@ Fehler: %5</translation>
<source>Search</source> <source>Search</source>
<translation>Suche</translation> <translation>Suche</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ShapesToolbox</name>
<message>
<source>Frame</source>
<translation>Rahmen</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message> <message>
<source>Back</source> <source>Back</source>
<translation>Zurück</translation> <translation>Zurück</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message> <message>
<source>Time</source> <source>Time</source>
<translation>Zeit</translation> <translation>Zeit</translation>
@@ -37668,17 +37631,6 @@ Fehler: %5</translation>
<source>yyyy/MM/dd hh:mm:ss</source> <source>yyyy/MM/dd hh:mm:ss</source>
<translation>dd.MM.yyyy hh:mm:ss</translation> <translation>dd.MM.yyyy hh:mm:ss</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
<message> <message>
<source>Document Statistics</source> <source>Document Statistics</source>
<translation>Dokumentenstatistik</translation> <translation>Dokumentenstatistik</translation>
@@ -39331,7 +39283,7 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorThemes</name> <name>ScxmlEditor</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>Farbschemata anpassen...</translation> <translation>Farbschemata anpassen...</translation>
@@ -39352,16 +39304,10 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>Farben aus SCXML-Dokument</translation> <translation>Farben aus SCXML-Dokument</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation>Farbe auswählen</translation> <translation>Farbe auswählen</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation>Automatische Farbe</translation> <translation>Automatische Farbe</translation>
@@ -39370,9 +39316,6 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>More Colors...</source> <source>More Colors...</source>
<translation>Mehr Farben...</translation> <translation>Mehr Farben...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation>SCXML-Erzeugung gescheitert</translation> <translation>SCXML-Erzeugung gescheitert</translation>
@@ -39381,9 +39324,6 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Loading document...</source> <source>Loading document...</source>
<translation>Lade Dokument...</translation> <translation>Lade Dokument...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation>Zustandsfarbe</translation> <translation>Zustandsfarbe</translation>
@@ -39440,16 +39380,10 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation>Screenshot konnte nicht gespeichert werden.</translation> <translation>Screenshot konnte nicht gespeichert werden.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation>Navigator</translation> <translation>Navigator</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation>Typ</translation> <translation>Typ</translation>
@@ -39458,9 +39392,6 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Name</source> <source>Name</source>
<translation>Name</translation> <translation>Name</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation>Attribute</translation> <translation>Attribute</translation>
@@ -39469,9 +39400,6 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Content</source> <source>Content</source>
<translation>Inhalt</translation> <translation>Inhalt</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation>Tag</translation> <translation>Tag</translation>
@@ -39480,9 +39408,6 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Count</source> <source>Count</source>
<translation>Anzahl</translation> <translation>Anzahl</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation>Allgemeine Zustände</translation> <translation>Allgemeine Zustände</translation>
@@ -39519,16 +39444,10 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>Add child</source> <source>Add child</source>
<translation>Kindelement hinzufügen</translation> <translation>Kindelement hinzufügen</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation>Elternelement ändern</translation> <translation>Elternelement ändern</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation>Fehler(%1) / Warnungen(%2) / Info(%3)</translation> <translation>Fehler(%1) / Warnungen(%2) / Info(%3)</translation>
@@ -39541,25 +39460,14 @@ Bitte aktualisieren Sie Ihr Kit (%3) oder wählen Sie eine mkspec für qmake, di
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>CSV-Dateien (*.csv)</translation> <translation>CSV-Dateien (*.csv)</translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation>Export gescheitert</translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation>Die Datei %1 kann nicht geöffnet werden.</translation> <translation>Die Datei %1 kann nicht geöffnet werden.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation>Schwere</translation> <translation>Schwere</translation>
</message> </message>
<message>
<source>Type</source>
<translation>Typ</translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation>Grund</translation> <translation>Grund</translation>
@@ -39594,9 +39502,6 @@ Typ: %2
Grund: %3 Grund: %3
Beschreibung: %4</translation> Beschreibung: %4</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation>Vergrößern</translation> <translation>Vergrößern</translation>
@@ -39637,10 +39542,6 @@ Beschreibung: %4</translation>
<source>Magnifier Tool (Alt)</source> <source>Magnifier Tool (Alt)</source>
<translation>Vergrößerungswerkzeug (Alt)</translation> <translation>Vergrößerungswerkzeug (Alt)</translation>
</message> </message>
<message>
<source>Navigator</source>
<translation>Navigator</translation>
</message>
<message> <message>
<source>Navigator (Ctrl+E)</source> <source>Navigator (Ctrl+E)</source>
<translation>Navigator (Strg+E)</translation> <translation>Navigator (Strg+E)</translation>
@@ -39685,10 +39586,6 @@ Beschreibung: %4</translation>
<source>Toggle Full Namespace</source> <source>Toggle Full Namespace</source>
<translation>Vollständigen Namensraum umschalten</translation> <translation>Vollständigen Namensraum umschalten</translation>
</message> </message>
<message>
<source>Align Left</source>
<translation>Links ausrichten</translation>
</message>
<message> <message>
<source>Align Left (Ctrl+L,1)</source> <source>Align Left (Ctrl+L,1)</source>
<translation>Links ausrichten (Strg+L,1)</translation> <translation>Links ausrichten (Strg+L,1)</translation>
@@ -39733,10 +39630,6 @@ Beschreibung: %4</translation>
<source>Align Vertical (Ctrl+L,6)</source> <source>Align Vertical (Ctrl+L,6)</source>
<translation>Vertikal ausrichten (Strg+L,6)</translation> <translation>Vertikal ausrichten (Strg+L,6)</translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation>Breite anpassen</translation>
</message>
<message> <message>
<source>Adjust Width (Ctrl+L,7)</source> <source>Adjust Width (Ctrl+L,7)</source>
<translation>Breite anpassen (Strg+L,7)</translation> <translation>Breite anpassen (Strg+L,7)</translation>
@@ -39765,16 +39658,6 @@ Beschreibung: %4</translation>
<source>Show Statistics</source> <source>Show Statistics</source>
<translation>Statistiken anzeigen</translation> <translation>Statistiken anzeigen</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation>Kindelement hinzufügen</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation>Einen neuen Zustand hinzufügen</translation> <translation>Einen neuen Zustand hinzufügen</translation>
@@ -39783,9 +39666,6 @@ Beschreibung: %4</translation>
<source>Move State</source> <source>Move State</source>
<translation>Zustand verschieben</translation> <translation>Zustand verschieben</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation>Zustände ausrichten</translation> <translation>Zustände ausrichten</translation>
@@ -39794,25 +39674,10 @@ Beschreibung: %4</translation>
<source>Adjust states</source> <source>Adjust states</source>
<translation>Zustände anpassen</translation> <translation>Zustände anpassen</translation>
</message> </message>
<message>
<source>Cut</source>
<translation>Ausschneiden</translation>
</message>
<message>
<source>Remove items</source>
<translation>Elemente entfernen</translation>
</message>
<message> <message>
<source>Re-layout</source> <source>Re-layout</source>
<translation>Neu anordnen</translation> <translation>Neu anordnen</translation>
</message> </message>
<message>
<source>Add new state</source>
<translation>Einen neuen Zustand hinzufügen</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation>Zustand</translation> <translation>Zustand</translation>
@@ -39829,9 +39694,6 @@ Beschreibung: %4</translation>
<source>Duplicate ID (%1).</source> <source>Duplicate ID (%1).</source>
<translation>Doppelte ID (%1).</translation> <translation>Doppelte ID (%1).</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation>Ausgangszustand</translation> <translation>Ausgangszustand</translation>
@@ -39844,20 +39706,10 @@ Beschreibung: %4</translation>
<source>Too many initial states at the same level.</source> <source>Too many initial states at the same level.</source>
<translation>Zu viele Ausgangszustände auf der gleichen Ebene.</translation> <translation>Zu viele Ausgangszustände auf der gleichen Ebene.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translation>H</translation> <translation>H</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation>Name</translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation>Wert</translation> <translation>Wert</translation>
@@ -39870,25 +39722,14 @@ Beschreibung: %4</translation>
<source> - value -</source> <source> - value -</source>
<translation> - Wert -</translation> <translation> - Wert -</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation>Allgemeine Zustände</translation> <translation>Allgemeine Zustände</translation>
</message> </message>
<message>
<source>Initial</source>
<translation>Ausgangszustand</translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation>Endzustand</translation> <translation>Endzustand</translation>
</message> </message>
<message>
<source>State</source>
<translation>Zustand</translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation>Parallel</translation> <translation>Parallel</translation>
@@ -39897,9 +39738,6 @@ Beschreibung: %4</translation>
<source>History</source> <source>History</source>
<translation>Verlauf</translation> <translation>Verlauf</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Unexpected element.</source> <source>Unexpected element.</source>
<translation>Unerwartetes Element.</translation> <translation>Unerwartetes Element.</translation>
@@ -39946,10 +39784,6 @@ Zeile: %4, Spalte: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation>In die Datei %1 kann kein XML geschrieben werden.</translation> <translation>In die Datei %1 kann kein XML geschrieben werden.</translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation>Die Datei %1 kann nicht geöffnet werden.</translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation>Tag hinzufügen</translation> <translation>Tag hinzufügen</translation>
@@ -39958,23 +39792,6 @@ Zeile: %4, Spalte: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation>Tag entfernen</translation> <translation>Tag entfernen</translation>
</message> </message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message>
<source>Unknown</source>
<translation>Unbekannt</translation>
</message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeName</name>
<message>
<source>Unknown</source>
<translation>Unbekannt</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>Fehler beim Lesen von XML </translation> <translation>Fehler beim Lesen von XML </translation>
@@ -39987,17 +39804,10 @@ Zeile: %4, Spalte: %5
<source>Item</source> <source>Item</source>
<translation>Element</translation> <translation>Element</translation>
</message> </message>
<message>
<source>Metadata</source>
<translation>Metadaten</translation>
</message>
<message> <message>
<source>Remove</source> <source>Remove</source>
<translation>Entfernen</translation> <translation>Entfernen</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation>Editorinstanz erzeugt.</translation> <translation>Editorinstanz erzeugt.</translation>
@@ -40006,9 +39816,6 @@ Zeile: %4, Spalte: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation>Die Editorinstanz ist nicht vom Typ ISCEditor.</translation> <translation>Die Editorinstanz ist nicht vom Typ ISCEditor.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation>Als Ausgangszustand festlegen</translation> <translation>Als Ausgangszustand festlegen</translation>
@@ -40025,13 +39832,6 @@ Zeile: %4, Spalte: %5
<source>Change initial state</source> <source>Change initial state</source>
<translation>Ausgangszustand ändern</translation> <translation>Ausgangszustand ändern</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation>Zustand</translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation>Einige Übergänge zum Zustand zeichnen.</translation> <translation>Einige Übergänge zum Zustand zeichnen.</translation>
@@ -40060,16 +39860,10 @@ Zeile: %4, Spalte: %5
<source>Draw some transitions from state.</source> <source>Draw some transitions from state.</source>
<translation>Einige Übergänge vom Zustand zeichnen.</translation> <translation>Einige Übergänge vom Zustand zeichnen.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation>Punkt entfernen</translation> <translation>Punkt entfernen</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation>Übergang</translation> <translation>Übergang</translation>
@@ -40082,9 +39876,6 @@ Zeile: %4, Spalte: %5
<source>Not connected (%1).</source> <source>Not connected (%1).</source>
<translation>Nicht verbunden (%1).</translation> <translation>Nicht verbunden (%1).</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>Rückgängig machen (Strg + Z)</translation> <translation>Rückgängig machen (Strg + Z)</translation>

View File

@@ -8172,7 +8172,7 @@ Sigurno želiš nastaviti?</translation>
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorPicker</name> <name>ScxmlEditor</name>
<message> <message>
<source>Frame</source> <source>Frame</source>
<translation>Okvir</translation> <translation>Okvir</translation>
@@ -8185,9 +8185,6 @@ Sigurno želiš nastaviti?</translation>
<source>Last used colors</source> <source>Last used colors</source>
<translation>Posljednja korištena boja</translation> <translation>Posljednja korištena boja</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorSettings</name>
<message> <message>
<source>+</source> <source>+</source>
<translation>+</translation> <translation>+</translation>
@@ -8220,9 +8217,6 @@ Sigurno želiš nastaviti?</translation>
<source>Are you sure you want to delete color theme %1?</source> <source>Are you sure you want to delete color theme %1?</source>
<translation>Sigurno želiš ukloniti temu boje %1?</translation> <translation>Sigurno želiš ukloniti temu boje %1?</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation>Dijalog</translation> <translation>Dijalog</translation>
@@ -8239,24 +8233,6 @@ Sigurno želiš nastaviti?</translation>
<source>Apply</source> <source>Apply</source>
<translation>Primijeni</translation> <translation>Primijeni</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>Frame</source>
<translation>Okvir</translation>
</message>
<message>
<source>-</source>
<translation></translation>
</message>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message> <message>
<source>Enter search term</source> <source>Enter search term</source>
<translation>Upiši izraz za pretraživanje</translation> <translation>Upiši izraz za pretraživanje</translation>
@@ -8265,23 +8241,10 @@ Sigurno želiš nastaviti?</translation>
<source>Search</source> <source>Search</source>
<translation>Traži</translation> <translation>Traži</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ShapesToolbox</name>
<message>
<source>Frame</source>
<translation>Okvir</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message> <message>
<source>Back</source> <source>Back</source>
<translation>Natrag</translation> <translation>Natrag</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message> <message>
<source>Time</source> <source>Time</source>
<translation>Vrijeme</translation> <translation>Vrijeme</translation>
@@ -8302,17 +8265,6 @@ Sigurno želiš nastaviti?</translation>
<source>yyyy/MM/dd hh:mm:ss</source> <source>yyyy/MM/dd hh:mm:ss</source>
<translation>dd. MM. yyyy. hh:mm:ss</translation> <translation>dd. MM. yyyy. hh:mm:ss</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation>Dijalog</translation>
</message>
<message>
<source>OK</source>
<translation>U redu</translation>
</message>
<message> <message>
<source>Document Statistics</source> <source>Document Statistics</source>
<translation>Statistike dokumenta</translation> <translation>Statistike dokumenta</translation>
@@ -37568,7 +37520,7 @@ Saving failed.</source>
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorThemes</name> <name>ScxmlEditor</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>Promijeni teme boja </translation> <translation>Promijeni teme boja </translation>
@@ -37589,16 +37541,10 @@ Saving failed.</source>
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>Boje iz SCXML dokumenta</translation> <translation>Boje iz SCXML dokumenta</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37607,9 +37553,6 @@ Saving failed.</source>
<source>More Colors...</source> <source>More Colors...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37618,9 +37561,6 @@ Saving failed.</source>
<source>Loading document...</source> <source>Loading document...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37677,16 +37617,10 @@ Saving failed.</source>
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation>Vrsta</translation> <translation>Vrsta</translation>
@@ -37695,9 +37629,6 @@ Saving failed.</source>
<source>Name</source> <source>Name</source>
<translation>Naziv</translation> <translation>Naziv</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation>Svojstva</translation> <translation>Svojstva</translation>
@@ -37706,9 +37637,6 @@ Saving failed.</source>
<source>Content</source> <source>Content</source>
<translation>Sadržaj</translation> <translation>Sadržaj</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation>Oznaka</translation> <translation>Oznaka</translation>
@@ -37717,17 +37645,10 @@ Saving failed.</source>
<source>Count</source> <source>Count</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Metadata</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Other tags</source> <source>Other tags</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37756,16 +37677,10 @@ Saving failed.</source>
<source>Add child</source> <source>Add child</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37778,25 +37693,14 @@ Saving failed.</source>
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Type</source>
<translation>Vrsta</translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37828,9 +37732,6 @@ Reason: %3
Description: %4</source> Description: %4</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation>Uvećaj</translation> <translation>Uvećaj</translation>
@@ -37871,10 +37772,6 @@ Description: %4</source>
<source>Magnifier Tool (Alt)</source> <source>Magnifier Tool (Alt)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Navigator</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Navigator (Ctrl+E)</source> <source>Navigator (Ctrl+E)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37919,10 +37816,6 @@ Description: %4</source>
<source>Toggle Full Namespace</source> <source>Toggle Full Namespace</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Align Left</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Align Left (Ctrl+L,1)</source> <source>Align Left (Ctrl+L,1)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37967,10 +37860,6 @@ Description: %4</source>
<source>Align Vertical (Ctrl+L,6)</source> <source>Align Vertical (Ctrl+L,6)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Adjust Width (Ctrl+L,7)</source> <source>Adjust Width (Ctrl+L,7)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -37999,16 +37888,6 @@ Description: %4</source>
<source>Show Statistics</source> <source>Show Statistics</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38017,9 +37896,6 @@ Description: %4</source>
<source>Move State</source> <source>Move State</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38028,25 +37904,10 @@ Description: %4</source>
<source>Adjust states</source> <source>Adjust states</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Cut</source>
<translation>Izreži</translation>
</message>
<message>
<source>Remove items</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Re-layout</source> <source>Re-layout</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Add new state</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation>Stanje</translation> <translation>Stanje</translation>
@@ -38063,9 +37924,6 @@ Description: %4</source>
<source>Duplicate ID (%1).</source> <source>Duplicate ID (%1).</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38078,20 +37936,10 @@ Description: %4</source>
<source>Too many initial states at the same level.</source> <source>Too many initial states at the same level.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translation type="unfinished">H</translation> <translation type="unfinished">H</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation>Naziv</translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation>Vrijednost</translation> <translation>Vrijednost</translation>
@@ -38104,25 +37952,14 @@ Description: %4</source>
<source> - value -</source> <source> - value -</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Initial</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>State</source>
<translation>Stanje</translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38131,9 +37968,6 @@ Description: %4</source>
<source>History</source> <source>History</source>
<translation type="unfinished">Povijest</translation> <translation type="unfinished">Povijest</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Unexpected element.</source> <source>Unexpected element.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38175,10 +38009,6 @@ Row: %4, Column: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38187,23 +38017,6 @@ Row: %4, Column: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message>
<source>Unknown</source>
<translation>Nepoznato</translation>
</message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeName</name>
<message>
<source>Unknown</source>
<translation>Nepoznato</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>Greška u čitanju XML-a </translation> <translation>Greška u čitanju XML-a </translation>
@@ -38224,9 +38037,6 @@ Row: %4, Column: %5
<source>Remove</source> <source>Remove</source>
<translation>Ukloni</translation> <translation>Ukloni</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38235,9 +38045,6 @@ Row: %4, Column: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation>Postavi kao izvorno</translation> <translation>Postavi kao izvorno</translation>
@@ -38254,13 +38061,6 @@ Row: %4, Column: %5
<source>Change initial state</source> <source>Change initial state</source>
<translation>Promijeni izvorno stanje</translation> <translation>Promijeni izvorno stanje</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation>Stanje</translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@@ -38289,16 +38089,10 @@ Row: %4, Column: %5
<source>No input connections (%1).</source> <source>No input connections (%1).</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation>Ukloni točku</translation> <translation>Ukloni točku</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation>Tranzicija</translation> <translation>Tranzicija</translation>
@@ -38311,9 +38105,6 @@ Row: %4, Column: %5
<source>Not connected (%1).</source> <source>Not connected (%1).</source>
<translation>Ne spojeno (%1).</translation> <translation>Ne spojeno (%1).</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>Poništi (Ctrl + Z)</translation> <translation>Poništi (Ctrl + Z)</translation>

View File

@@ -48040,14 +48040,11 @@ Output:
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorSettings</name> <name>ScxmlEditor</name>
<message> <message>
<source>+</source> <source>+</source>
<translation>+</translation> <translation>+</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation></translation> <translation></translation>
@@ -48064,30 +48061,14 @@ Output:
<source>Apply</source> <source>Apply</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message> <message>
<source>Search</source> <source>Search</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message> <message>
<source>Back</source> <source>Back</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message> <message>
<source>Time</source> <source>Time</source>
<translation></translation> <translation></translation>
@@ -48101,17 +48082,6 @@ Output:
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation></translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
</context>
<context> <context>
<name>main</name> <name>main</name>
<message> <message>
@@ -55748,7 +55718,7 @@ Stepping into the module or setting breakpoints by file and line is expected to
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorThemes</name> <name>ScxmlEditor</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>...</translation> <translation>...</translation>
@@ -55769,16 +55739,10 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>SCXML </translation> <translation>SCXML </translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation></translation> <translation></translation>
@@ -55787,9 +55751,6 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>More Colors...</source> <source>More Colors...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation>SCXML </translation> <translation>SCXML </translation>
@@ -55798,9 +55759,6 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Loading document...</source> <source>Loading document...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation></translation> <translation></translation>
@@ -55857,16 +55815,10 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation></translation> <translation></translation>
@@ -55875,9 +55827,6 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Name</source> <source>Name</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation></translation> <translation></translation>
@@ -55886,9 +55835,6 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Content</source> <source>Content</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation></translation> <translation></translation>
@@ -55897,9 +55843,6 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Count</source> <source>Count</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation></translation> <translation></translation>
@@ -55936,16 +55879,10 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>Add child</source> <source>Add child</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation>(%1) / (%2) / (%3)</translation> <translation>(%1) / (%2) / (%3)</translation>
@@ -55958,25 +55895,14 @@ Stepping into the module or setting breakpoints by file and line is expected to
<source>CSV files (*.csv)</source> <source>CSV files (*.csv)</source>
<translation>CSV (*.csv)</translation> <translation>CSV (*.csv)</translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation></translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation> %1 </translation> <translation> %1 </translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Type</source>
<translation></translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation></translation> <translation></translation>
@@ -56011,9 +55937,6 @@ Description: %4</source>
: %3 : %3
: %4</translation> : %4</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation></translation> <translation></translation>
@@ -56022,10 +55945,6 @@ Description: %4</source>
<source>Zoom Out</source> <source>Zoom Out</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Navigator</source>
<translation></translation>
</message>
<message> <message>
<source>Copy</source> <source>Copy</source>
<translation></translation> <translation></translation>
@@ -56038,10 +55957,6 @@ Description: %4</source>
<source>Paste</source> <source>Paste</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Align Left</source>
<translation></translation>
</message>
<message> <message>
<source>Align Right</source> <source>Align Right</source>
<translation></translation> <translation></translation>
@@ -56054,20 +55969,6 @@ Description: %4</source>
<source>Align Bottom</source> <source>Align Bottom</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation type="unfinished">調</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation></translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation></translation> <translation></translation>
@@ -56076,9 +55977,6 @@ Description: %4</source>
<source>Move State</source> <source>Move State</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation></translation> <translation></translation>
@@ -56087,25 +55985,10 @@ Description: %4</source>
<source>Adjust states</source> <source>Adjust states</source>
<translation>調</translation> <translation>調</translation>
</message> </message>
<message>
<source>Cut</source>
<translation></translation>
</message>
<message>
<source>Remove items</source>
<translation></translation>
</message>
<message> <message>
<source>Re-layout</source> <source>Re-layout</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Add new state</source>
<translation></translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation></translation> <translation></translation>
@@ -56122,9 +56005,6 @@ Description: %4</source>
<source>Duplicate ID (%1).</source> <source>Duplicate ID (%1).</source>
<translation>ID (%1)</translation> <translation>ID (%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation></translation> <translation></translation>
@@ -56137,20 +56017,10 @@ Description: %4</source>
<source>Too many initial states at the same level.</source> <source>Too many initial states at the same level.</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translation>H</translation> <translation>H</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation></translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation></translation> <translation></translation>
@@ -56163,25 +56033,14 @@ Description: %4</source>
<source> - value -</source> <source> - value -</source>
<translation> - -</translation> <translation> - -</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Initial</source>
<translation></translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>State</source>
<translation></translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation></translation> <translation></translation>
@@ -56190,9 +56049,6 @@ Description: %4</source>
<source>History</source> <source>History</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Unexpected element.</source> <source>Unexpected element.</source>
<translation></translation> <translation></translation>
@@ -56239,10 +56095,6 @@ Row: %4, Column: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation>XML %1 </translation> <translation>XML %1 </translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation> %1. .</translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation></translation> <translation></translation>
@@ -56251,23 +56103,6 @@ Row: %4, Column: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message>
<source>Unknown</source>
<translation></translation>
</message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeName</name>
<message>
<source>Unknown</source>
<translation></translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>XML </translation> <translation>XML </translation>
@@ -56280,17 +56115,10 @@ Row: %4, Column: %5
<source>Item</source> <source>Item</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>Metadata</source>
<translation></translation>
</message>
<message> <message>
<source>Remove</source> <source>Remove</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation></translation> <translation></translation>
@@ -56299,9 +56127,6 @@ Row: %4, Column: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation> ISCEditor </translation> <translation> ISCEditor </translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation></translation> <translation></translation>
@@ -56318,13 +56143,6 @@ Row: %4, Column: %5
<source>Change initial state</source> <source>Change initial state</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation></translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation></translation> <translation></translation>
@@ -56353,16 +56171,10 @@ Row: %4, Column: %5
<source>No input connections (%1).</source> <source>No input connections (%1).</source>
<translation> (%1)</translation> <translation> (%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation></translation> <translation></translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation></translation> <translation></translation>
@@ -56375,9 +56187,6 @@ Row: %4, Column: %5
<source>Not connected (%1).</source> <source>Not connected (%1).</source>
<translation>(%1)</translation> <translation>(%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>(Ctrl + Z)</translation> <translation>(Ctrl + Z)</translation>

View File

@@ -40519,7 +40519,7 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorPicker</name> <name>ScxmlEditor</name>
<message> <message>
<source>Frame</source> <source>Frame</source>
<translation>Ramka</translation> <translation>Ramka</translation>
@@ -40532,9 +40532,6 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
<source>Last used colors</source> <source>Last used colors</source>
<translation>Ostatnio używane kolory</translation> <translation>Ostatnio używane kolory</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorSettings</name>
<message> <message>
<source>Form</source> <source>Form</source>
<translation>Formularz</translation> <translation>Formularz</translation>
@@ -40571,9 +40568,6 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
<source>Are you sure you want to delete color theme %1?</source> <source>Are you sure you want to delete color theme %1?</source>
<translation>Czy usunąć motyw kolorów %1?</translation> <translation>Czy usunąć motyw kolorów %1?</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation>Dialog</translation> <translation>Dialog</translation>
@@ -40590,35 +40584,6 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
<source>Apply</source> <source>Apply</source>
<translation>Zastosuj</translation> <translation>Zastosuj</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Magnifier</name>
<message>
<source>Form</source>
<translation>Formularz</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>Frame</source>
<translation>Ramka</translation>
</message>
<message>
<source>-</source>
<translation>-</translation>
</message>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message>
<source>Form</source>
<translation>Formularz</translation>
</message>
<message> <message>
<source>Enter search term</source> <source>Enter search term</source>
<translation>Wprowadź tekst do wyszukania</translation> <translation>Wprowadź tekst do wyszukania</translation>
@@ -40627,31 +40592,10 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
<source>Search</source> <source>Search</source>
<translation>Wyszukaj</translation> <translation>Wyszukaj</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ShapesToolbox</name>
<message>
<source>Frame</source>
<translation>Ramka</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message>
<source>Form</source>
<translation>Formularz</translation>
</message>
<message> <message>
<source>Back</source> <source>Back</source>
<translation>Wstecz</translation> <translation>Wstecz</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message>
<source>Form</source>
<translation>Formularz</translation>
</message>
<message> <message>
<source>Time</source> <source>Time</source>
<translation>Czas</translation> <translation>Czas</translation>
@@ -40672,17 +40616,6 @@ Uwaga: podczas używania zwykłego formatu tekstowego może brakować niektóryc
<source>yyyy/MM/dd hh:mm:ss</source> <source>yyyy/MM/dd hh:mm:ss</source>
<translation>yyyy/MM/dd hh:mm:ss</translation> <translation>yyyy/MM/dd hh:mm:ss</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
<message> <message>
<source>Document Statistics</source> <source>Document Statistics</source>
<translation>Statystyka dokumentu</translation> <translation>Statystyka dokumentu</translation>
@@ -41313,7 +41246,7 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorThemes</name> <name>ScxmlEditor</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>Modyfikuj motywy kolorów...</translation> <translation>Modyfikuj motywy kolorów...</translation>
@@ -41334,16 +41267,10 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>Kolory z dokumentu SCXML</translation> <translation>Kolory z dokumentu SCXML</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation>Wybierz kolor</translation> <translation>Wybierz kolor</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation>Kolor automatyczny</translation> <translation>Kolor automatyczny</translation>
@@ -41352,9 +41279,6 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>More Colors...</source> <source>More Colors...</source>
<translation>Więcej kolorów...</translation> <translation>Więcej kolorów...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation>Błąd generowania SCXML</translation> <translation>Błąd generowania SCXML</translation>
@@ -41363,9 +41287,6 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Loading document...</source> <source>Loading document...</source>
<translation>Ładowanie dokumentu...</translation> <translation>Ładowanie dokumentu...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation>Kolor stanu</translation> <translation>Kolor stanu</translation>
@@ -41422,16 +41343,10 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation>Nie można zachować zrzutu ekranu.</translation> <translation>Nie można zachować zrzutu ekranu.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation>Nawigator</translation> <translation>Nawigator</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation>Typ</translation> <translation>Typ</translation>
@@ -41440,9 +41355,6 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Name</source> <source>Name</source>
<translation>Nazwa</translation> <translation>Nazwa</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation>Atrybuty</translation> <translation>Atrybuty</translation>
@@ -41451,9 +41363,6 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Content</source> <source>Content</source>
<translation>Zawartość</translation> <translation>Zawartość</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation>Tag</translation> <translation>Tag</translation>
@@ -41462,9 +41371,6 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Count</source> <source>Count</source>
<translation>Ilość</translation> <translation>Ilość</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation>Wspólne stany</translation> <translation>Wspólne stany</translation>
@@ -41501,16 +41407,10 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Add child</source> <source>Add child</source>
<translation>Dodaj dziecko</translation> <translation>Dodaj dziecko</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation>Zmień rodzica</translation> <translation>Zmień rodzica</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation>Błędy (%1) / Ostrzeżenia (%2) / Informacje (%3)</translation> <translation>Błędy (%1) / Ostrzeżenia (%2) / Informacje (%3)</translation>
@@ -41523,25 +41423,14 @@ Zmień konfigurację zestawu narzędzi lub wybierz mkspec qmake&apos;a pasujący
<source>Export to File</source> <source>Export to File</source>
<translation>Wyeksportuj do pliku</translation> <translation>Wyeksportuj do pliku</translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation>Błąd eksportowania</translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation>Nie można otworzyć pliku %1.</translation> <translation>Nie można otworzyć pliku %1.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation>Ciężkość</translation> <translation>Ciężkość</translation>
</message> </message>
<message>
<source>Type</source>
<translation>Typ</translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation>Przyczyna</translation> <translation>Przyczyna</translation>
@@ -41576,16 +41465,6 @@ Typ: %2
Przyczyna: %3 Przyczyna: %3
Opis: %4</translation> Opis: %4</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation>Dodaj dziecko</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation>Dodaj nowy stan</translation> <translation>Dodaj nowy stan</translation>
@@ -41594,9 +41473,6 @@ Opis: %4</translation>
<source>Move State</source> <source>Move State</source>
<translation>Przenieś stan</translation> <translation>Przenieś stan</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation>Wyrównaj stany</translation> <translation>Wyrównaj stany</translation>
@@ -41617,13 +41493,6 @@ Opis: %4</translation>
<source>Relayout</source> <source>Relayout</source>
<translation>Rozmieść ponownie</translation> <translation>Rozmieść ponownie</translation>
</message> </message>
<message>
<source>Add new state</source>
<translation>Dodaj nowy stan</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation>Stan</translation> <translation>Stan</translation>
@@ -41640,9 +41509,6 @@ Opis: %4</translation>
<source>Duplicate ID (%1)</source> <source>Duplicate ID (%1)</source>
<translation>Powielony identyfikator (%1)</translation> <translation>Powielony identyfikator (%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation>Stan początkowy</translation> <translation>Stan początkowy</translation>
@@ -41655,20 +41521,10 @@ Opis: %4</translation>
<source>Too many initial states at the same level</source> <source>Too many initial states at the same level</source>
<translation>Zbyt wiele stanów początkowych na tym samym poziomie</translation> <translation>Zbyt wiele stanów początkowych na tym samym poziomie</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translation>H</translation> <translation>H</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation>Nazwa</translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation>Wartość</translation> <translation>Wartość</translation>
@@ -41681,25 +41537,14 @@ Opis: %4</translation>
<source> - value -</source> <source> - value -</source>
<translation> - wartość -</translation> <translation> - wartość -</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation>Wspólne stany</translation> <translation>Wspólne stany</translation>
</message> </message>
<message>
<source>Initial</source>
<translation>Stan początkowy</translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation>Stan finalny</translation> <translation>Stan finalny</translation>
</message> </message>
<message>
<source>State</source>
<translation>Stan</translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation>Stan równoległy</translation> <translation>Stan równoległy</translation>
@@ -41708,9 +41553,6 @@ Opis: %4</translation>
<source>History</source> <source>History</source>
<translation>Stan historyczny</translation> <translation>Stan historyczny</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Error in reading XML. <source>Error in reading XML.
Type: %1 (%2) Type: %1 (%2)
@@ -41757,10 +41599,6 @@ Wiersz: %4, kolumna: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation>Nie można zachować pliku XML %1.</translation> <translation>Nie można zachować pliku XML %1.</translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation>Nie można otworzyć pliku %1.</translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation>Dodaj tag</translation> <translation>Dodaj tag</translation>
@@ -41769,23 +41607,6 @@ Wiersz: %4, kolumna: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation>Usuń tag</translation> <translation>Usuń tag</translation>
</message> </message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message>
<source>Unknown</source>
<translation>Nieznany</translation>
</message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeName</name>
<message>
<source>Unknown</source>
<translation>Nieznany</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>Błąd odczytu XML </translation> <translation>Błąd odczytu XML </translation>
@@ -41798,17 +41619,10 @@ Wiersz: %4, kolumna: %5
<source>Item</source> <source>Item</source>
<translation>Element</translation> <translation>Element</translation>
</message> </message>
<message>
<source>Metadata</source>
<translation>Metadane</translation>
</message>
<message> <message>
<source>Remove</source> <source>Remove</source>
<translation>Usuń</translation> <translation>Usuń</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation>Utworzono instancję edytora.</translation> <translation>Utworzono instancję edytora.</translation>
@@ -41817,9 +41631,6 @@ Wiersz: %4, kolumna: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation>Instancja edytora nie jest typu ISCEditor.</translation> <translation>Instancja edytora nie jest typu ISCEditor.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation>Ustaw jako początkowy</translation> <translation>Ustaw jako początkowy</translation>
@@ -41832,21 +41643,10 @@ Wiersz: %4, kolumna: %5
<source>Re-Layout</source> <source>Re-Layout</source>
<translation>Rozmieść ponownie</translation> <translation>Rozmieść ponownie</translation>
</message> </message>
<message>
<source>Relayout</source>
<translation>Rozmieść ponownie</translation>
</message>
<message> <message>
<source>Change initial state</source> <source>Change initial state</source>
<translation>Zmień stan początkowy</translation> <translation>Zmień stan początkowy</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation>Stan</translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation>Narysuj przejścia do stanu.</translation> <translation>Narysuj przejścia do stanu.</translation>
@@ -41875,16 +41675,10 @@ Wiersz: %4, kolumna: %5
<source>No input connections (%1)</source> <source>No input connections (%1)</source>
<translation>Brak połączeń wejściowych (%1)</translation> <translation>Brak połączeń wejściowych (%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation>Usuń punkt</translation> <translation>Usuń punkt</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation>Przejście</translation> <translation>Przejście</translation>
@@ -41897,9 +41691,6 @@ Wiersz: %4, kolumna: %5
<source>Not Connected (%1)</source> <source>Not Connected (%1)</source>
<translation>Niepołączone (%1)</translation> <translation>Niepołączone (%1)</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>Cofnij (Ctrl+Z)</translation> <translation>Cofnij (Ctrl+Z)</translation>
@@ -41937,7 +41728,7 @@ Wiersz: %4, kolumna: %5
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name> <name>ScxmlEditor</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation>Powiększ</translation> <translation>Powiększ</translation>
@@ -41978,10 +41769,6 @@ Wiersz: %4, kolumna: %5
<source>Magnifier Tool (Alt)</source> <source>Magnifier Tool (Alt)</source>
<translation>Lupa (Alt)</translation> <translation>Lupa (Alt)</translation>
</message> </message>
<message>
<source>Navigator</source>
<translation>Nawigator</translation>
</message>
<message> <message>
<source>Navigator (Ctrl+E)</source> <source>Navigator (Ctrl+E)</source>
<translation>Nawigator (Ctrl+E)</translation> <translation>Nawigator (Ctrl+E)</translation>
@@ -41994,10 +41781,6 @@ Wiersz: %4, kolumna: %5
<source>Copy (Ctrl + C)</source> <source>Copy (Ctrl + C)</source>
<translation>Skopiuj (Ctrl+C)</translation> <translation>Skopiuj (Ctrl+C)</translation>
</message> </message>
<message>
<source>Cut</source>
<translation>Wytnij</translation>
</message>
<message> <message>
<source>Cut (Ctrl + X)</source> <source>Cut (Ctrl + X)</source>
<translation>Wytnij (Ctrl+X)</translation> <translation>Wytnij (Ctrl+X)</translation>
@@ -42026,10 +41809,6 @@ Wiersz: %4, kolumna: %5
<source>Toggle Full Namespace</source> <source>Toggle Full Namespace</source>
<translation>Przełącz pokazywanie pełnych przestrzeni nazw</translation> <translation>Przełącz pokazywanie pełnych przestrzeni nazw</translation>
</message> </message>
<message>
<source>Align Left</source>
<translation>Wyrównaj do lewej</translation>
</message>
<message> <message>
<source>Align Left (Ctrl+L,1)</source> <source>Align Left (Ctrl+L,1)</source>
<translation>Wyrównaj do lewej (Ctrl+L,1)</translation> <translation>Wyrównaj do lewej (Ctrl+L,1)</translation>
@@ -42074,10 +41853,6 @@ Wiersz: %4, kolumna: %5
<source>Align Vertical (Ctrl+L,6)</source> <source>Align Vertical (Ctrl+L,6)</source>
<translation>Wyrównaj w pionie (Ctrl+L,6)</translation> <translation>Wyrównaj w pionie (Ctrl+L,6)</translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation>Dopasuj szerokość</translation>
</message>
<message> <message>
<source>Adjust Width (Ctrl+L,7)</source> <source>Adjust Width (Ctrl+L,7)</source>
<translation>Dopasuj szerokość (Ctrl+L,7)</translation> <translation>Dopasuj szerokość (Ctrl+L,7)</translation>

View File

@@ -45926,14 +45926,7 @@ If you do not have a private key yet, you can also create one here.</source>
</message> </message>
</context> </context>
<context> <context>
<name>SXCMLTag::UnknownAttributeName</name> <name>ScxmlEditor</name>
<message>
<source>Unknown</source>
<translation></translation>
</message>
</context>
<context>
<name>SXCMLTag::UnknownAttributeValue</name>
<message> <message>
<source>Unknown</source> <source>Unknown</source>
<translation>Неизвестное</translation> <translation>Неизвестное</translation>
@@ -45947,7 +45940,7 @@ If you do not have a private key yet, you can also create one here.</source>
</message> </message>
</context> </context>
<context> <context>
<name>ScxmlEditor::Common::ColorPicker</name> <name>ScxmlEditor</name>
<message> <message>
<source>Frame</source> <source>Frame</source>
<translation>Рамка</translation> <translation>Рамка</translation>
@@ -45960,9 +45953,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Last used colors</source> <source>Last used colors</source>
<translation>Недавние использованные цвета</translation> <translation>Недавние использованные цвета</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorSettings</name>
<message> <message>
<source>+</source> <source>+</source>
<translation>+</translation> <translation>+</translation>
@@ -45995,9 +45985,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Are you sure you want to delete color theme %1?</source> <source>Are you sure you want to delete color theme %1?</source>
<translation>Удалить цветовую тему %1?</translation> <translation>Удалить цветовую тему %1?</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeDialog</name>
<message> <message>
<source>Dialog</source> <source>Dialog</source>
<translation></translation> <translation></translation>
@@ -46014,16 +46001,10 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Apply</source> <source>Apply</source>
<translation>Применить</translation> <translation>Применить</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemeItem</name>
<message> <message>
<source>Pick Color</source> <source>Pick Color</source>
<translation>Захватить цвет</translation> <translation>Захватить цвет</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorThemes</name>
<message> <message>
<source>Modify Color Themes...</source> <source>Modify Color Themes...</source>
<translation>Изменить цветовые схемы...</translation> <translation>Изменить цветовые схемы...</translation>
@@ -46044,9 +46025,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Colors from SCXML Document</source> <source>Colors from SCXML Document</source>
<translation>Цвета из документа SCXML</translation> <translation>Цвета из документа SCXML</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ColorToolButton</name>
<message> <message>
<source>Automatic Color</source> <source>Automatic Color</source>
<translation>Автоматический цвет</translation> <translation>Автоматический цвет</translation>
@@ -46055,9 +46033,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>More Colors...</source> <source>More Colors...</source>
<translation>Больше цветов...</translation> <translation>Больше цветов...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::GraphicsView</name>
<message> <message>
<source>SCXML Generation Failed</source> <source>SCXML Generation Failed</source>
<translation>Не удалось создать SCXML</translation> <translation>Не удалось создать SCXML</translation>
@@ -46066,9 +46041,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Loading document...</source> <source>Loading document...</source>
<translation>Загрузка документа...</translation> <translation>Загрузка документа...</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::MainWidget</name>
<message> <message>
<source>State Color</source> <source>State Color</source>
<translation>Цвет состояния</translation> <translation>Цвет состояния</translation>
@@ -46125,31 +46097,10 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Could not save the screenshot.</source> <source>Could not save the screenshot.</source>
<translation>Не удалось сохранить снимок экрана.</translation> <translation>Не удалось сохранить снимок экрана.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Navigator</name>
<message> <message>
<source>Navigator</source> <source>Navigator</source>
<translation>Навигатор</translation> <translation>Навигатор</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::NavigatorSlider</name>
<message>
<source>Frame</source>
<translation></translation>
</message>
<message>
<source>-</source>
<translation>-</translation>
</message>
<message>
<source>+</source>
<translation>+</translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::Search</name>
<message> <message>
<source>Enter search term</source> <source>Enter search term</source>
<translation>Введите термин для поиска</translation> <translation>Введите термин для поиска</translation>
@@ -46158,9 +46109,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Search</source> <source>Search</source>
<translation>Поиск</translation> <translation>Поиск</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::SearchModel</name>
<message> <message>
<source>Type</source> <source>Type</source>
<translation>Тип</translation> <translation>Тип</translation>
@@ -46169,16 +46117,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Name</source> <source>Name</source>
<translation>Имя</translation> <translation>Имя</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::ShapesToolbox</name>
<message>
<source>Frame</source>
<translation></translation>
</message>
</context>
<context>
<name>ScxmlEditor::Common::StateProperties</name>
<message> <message>
<source>Attributes</source> <source>Attributes</source>
<translation>Атрибуты</translation> <translation>Атрибуты</translation>
@@ -46187,16 +46125,10 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Content</source> <source>Content</source>
<translation>Содержимое</translation> <translation>Содержимое</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StateView</name>
<message> <message>
<source>Back</source> <source>Back</source>
<translation>Назад</translation> <translation>Назад</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Statistics</name>
<message> <message>
<source>Time</source> <source>Time</source>
<translation>Время</translation> <translation>Время</translation>
@@ -46217,24 +46149,10 @@ If you do not have a private key yet, you can also create one here.</source>
<source>yyyy/MM/dd hh:mm:ss</source> <source>yyyy/MM/dd hh:mm:ss</source>
<translation>yyyy/MM/dd hh:mm:ss</translation> <translation>yyyy/MM/dd hh:mm:ss</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsDialog</name>
<message>
<source>Dialog</source>
<translation></translation>
</message>
<message>
<source>OK</source>
<translation>OK</translation>
</message>
<message> <message>
<source>Document Statistics</source> <source>Document Statistics</source>
<translation>Статистика документа</translation> <translation>Статистика документа</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StatisticsModel</name>
<message> <message>
<source>Tag</source> <source>Tag</source>
<translation>Тег</translation> <translation>Тег</translation>
@@ -46243,9 +46161,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Count</source> <source>Count</source>
<translation>Число</translation> <translation>Число</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::Structure</name>
<message> <message>
<source>Common states</source> <source>Common states</source>
<translation>Общие состояния</translation> <translation>Общие состояния</translation>
@@ -46282,16 +46197,10 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Add child</source> <source>Add child</source>
<translation>Добавить потомка</translation> <translation>Добавить потомка</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Common::StructureModel</name>
<message> <message>
<source>Change parent</source> <source>Change parent</source>
<translation>Сменить родителя</translation> <translation>Сменить родителя</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::Internal::ScxmlEditorData</name>
<message> <message>
<source>Undo (Ctrl + Z)</source> <source>Undo (Ctrl + Z)</source>
<translation>Отменить (Ctrl+Z)</translation> <translation>Отменить (Ctrl+Z)</translation>
@@ -46308,9 +46217,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Switch Mode</source> <source>Switch Mode</source>
<translation>Переключить режим</translation> <translation>Переключить режим</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::ErrorWidget</name>
<message> <message>
<source>Errors(%1) / Warnings(%2) / Info(%3)</source> <source>Errors(%1) / Warnings(%2) / Info(%3)</source>
<translation>Ошибки(%1) / Предупреждения(%2) / Информация(%3)</translation> <translation>Ошибки(%1) / Предупреждения(%2) / Информация(%3)</translation>
@@ -46323,25 +46229,14 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Export to File</source> <source>Export to File</source>
<translation>Экспорт в файл</translation> <translation>Экспорт в файл</translation>
</message> </message>
<message>
<source>Export Failed</source>
<translation>Ошибка экспорта</translation>
</message>
<message> <message>
<source>Cannot open file %1.</source> <source>Cannot open file %1.</source>
<translation>Невозможно открыть файл %1.</translation> <translation>Невозможно открыть файл %1.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::OutputPane::WarningModel</name>
<message> <message>
<source>Severity</source> <source>Severity</source>
<translation>Строгость</translation> <translation>Строгость</translation>
</message> </message>
<message>
<source>Type</source>
<translation>Тип</translation>
</message>
<message> <message>
<source>Reason</source> <source>Reason</source>
<translation>Причина</translation> <translation>Причина</translation>
@@ -46362,10 +46257,6 @@ If you do not have a private key yet, you can also create one here.</source>
<source>Info</source> <source>Info</source>
<translation>Информация</translation> <translation>Информация</translation>
</message> </message>
<message>
<source>Unknown</source>
<translation>Неизвестно</translation>
</message>
<message> <message>
<source>Severity: %1 <source>Severity: %1
Type: %2 Type: %2
@@ -46376,9 +46267,6 @@ Description: %4</source>
Причина: %3 Причина: %3
Описание: %4</translation> Описание: %4</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ActionHandler</name>
<message> <message>
<source>Zoom In</source> <source>Zoom In</source>
<translation>Увеличить</translation> <translation>Увеличить</translation>
@@ -46419,10 +46307,6 @@ Description: %4</source>
<source>Magnifier Tool (Alt)</source> <source>Magnifier Tool (Alt)</source>
<translation>Лупа (Alt)</translation> <translation>Лупа (Alt)</translation>
</message> </message>
<message>
<source>Navigator</source>
<translation>Навигатор</translation>
</message>
<message> <message>
<source>Navigator (Ctrl+E)</source> <source>Navigator (Ctrl+E)</source>
<translation>Навигатор (Ctrl+E)</translation> <translation>Навигатор (Ctrl+E)</translation>
@@ -46467,10 +46351,6 @@ Description: %4</source>
<source>Toggle Full Namespace</source> <source>Toggle Full Namespace</source>
<translation>Переключить пространство имён</translation> <translation>Переключить пространство имён</translation>
</message> </message>
<message>
<source>Align Left</source>
<translation>По левому краю</translation>
</message>
<message> <message>
<source>Align Left (Ctrl+L,1)</source> <source>Align Left (Ctrl+L,1)</source>
<translation>По левому краю (Ctrl + L,1)</translation> <translation>По левому краю (Ctrl + L,1)</translation>
@@ -46515,10 +46395,6 @@ Description: %4</source>
<source>Align Vertical (Ctrl+L,6)</source> <source>Align Vertical (Ctrl+L,6)</source>
<translation>Выровнить горизонтально (Ctrl+L,6)</translation> <translation>Выровнить горизонтально (Ctrl+L,6)</translation>
</message> </message>
<message>
<source>Adjust Width</source>
<translation>Подогнать ширину</translation>
</message>
<message> <message>
<source>Adjust Width (Ctrl+L,7)</source> <source>Adjust Width (Ctrl+L,7)</source>
<translation>Подогнать ширину (Ctrl+L,7)</translation> <translation>Подогнать ширину (Ctrl+L,7)</translation>
@@ -46547,16 +46423,6 @@ Description: %4</source>
<source>Show Statistics</source> <source>Show Statistics</source>
<translation>Показать статистику</translation> <translation>Показать статистику</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::BaseItem</name>
<message>
<source>Add child</source>
<translation>Добавить потомка</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ConnectableItem</name>
<message> <message>
<source>Add new state</source> <source>Add new state</source>
<translation>Добавление нового состояния</translation> <translation>Добавление нового состояния</translation>
@@ -46565,9 +46431,6 @@ Description: %4</source>
<source>Move State</source> <source>Move State</source>
<translation>Переместить состояние</translation> <translation>Переместить состояние</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::GraphicsScene</name>
<message> <message>
<source>Align states</source> <source>Align states</source>
<translation>Выровнить состояния</translation> <translation>Выровнить состояния</translation>
@@ -46576,25 +46439,10 @@ Description: %4</source>
<source>Adjust states</source> <source>Adjust states</source>
<translation>Подогнать состояния</translation> <translation>Подогнать состояния</translation>
</message> </message>
<message>
<source>Cut</source>
<translation>Вырезать</translation>
</message>
<message>
<source>Remove items</source>
<translation>Удаление элементов</translation>
</message>
<message> <message>
<source>Re-layout</source> <source>Re-layout</source>
<translation>Перекомпоновка</translation> <translation>Перекомпоновка</translation>
</message> </message>
<message>
<source>Add new state</source>
<translation>Добавление нового состояния</translation>
</message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::IdWarningItem</name>
<message> <message>
<source>State</source> <source>State</source>
<translation>Состояние</translation> <translation>Состояние</translation>
@@ -46611,9 +46459,6 @@ Description: %4</source>
<source>Duplicate ID (%1).</source> <source>Duplicate ID (%1).</source>
<translation>Повторный ID (%1).</translation> <translation>Повторный ID (%1).</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::InitialWarningItem</name>
<message> <message>
<source>Initial</source> <source>Initial</source>
<translation>Начало</translation> <translation>Начало</translation>
@@ -46626,21 +46471,11 @@ Description: %4</source>
<source>Too many initial states at the same level.</source> <source>Too many initial states at the same level.</source>
<translation>Слишком много начальных состояний на одном уровне.</translation> <translation>Слишком много начальных состояний на одном уровне.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::QuickTransitionItem</name>
<message> <message>
<source>H</source> <source>H</source>
<translatorcomment>История</translatorcomment> <translatorcomment>История</translatorcomment>
<translation>И</translation> <translation>И</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCAttributeItemModel</name>
<message>
<source>Name</source>
<translation>Имя</translation>
</message>
<message> <message>
<source>Value</source> <source>Value</source>
<translation>Значение</translation> <translation>Значение</translation>
@@ -46653,25 +46488,14 @@ Description: %4</source>
<source> - value -</source> <source> - value -</source>
<translation> - значение -</translation> <translation> - значение -</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::SCShapeProvider</name>
<message> <message>
<source>Common States</source> <source>Common States</source>
<translation>Общие состояния</translation> <translation>Общие состояния</translation>
</message> </message>
<message>
<source>Initial</source>
<translation>Начало</translation>
</message>
<message> <message>
<source>Final</source> <source>Final</source>
<translation>Конец</translation> <translation>Конец</translation>
</message> </message>
<message>
<source>State</source>
<translation>Состояние</translation>
</message>
<message> <message>
<source>Parallel</source> <source>Parallel</source>
<translation>Параллельное</translation> <translation>Параллельное</translation>
@@ -46680,9 +46504,6 @@ Description: %4</source>
<source>History</source> <source>History</source>
<translation>История</translation> <translation>История</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlDocument</name>
<message> <message>
<source>Error in reading XML. <source>Error in reading XML.
Type: %1 (%2) Type: %1 (%2)
@@ -46729,10 +46550,6 @@ Row: %4, Column: %5
<source>Cannot save XML to the file %1.</source> <source>Cannot save XML to the file %1.</source>
<translation>Невозможно сохранить XML в файл %1.</translation> <translation>Невозможно сохранить XML в файл %1.</translation>
</message> </message>
<message>
<source>Cannot open file %1.</source>
<translation>Невозможно открыть файл %1.</translation>
</message>
<message> <message>
<source>Add Tag</source> <source>Add Tag</source>
<translation>Добавить тег</translation> <translation>Добавить тег</translation>
@@ -46741,9 +46558,6 @@ Row: %4, Column: %5
<source>Remove Tag</source> <source>Remove Tag</source>
<translation>Удалить тег</translation> <translation>Удалить тег</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlTag</name>
<message> <message>
<source>Error in reading XML </source> <source>Error in reading XML </source>
<translation>Ошибка чтения XML </translation> <translation>Ошибка чтения XML </translation>
@@ -46756,17 +46570,10 @@ Row: %4, Column: %5
<source>Item</source> <source>Item</source>
<translation>Элемент</translation> <translation>Элемент</translation>
</message> </message>
<message>
<source>Metadata</source>
<translation>Метаданные</translation>
</message>
<message> <message>
<source>Remove</source> <source>Remove</source>
<translation>Удалить</translation> <translation>Удалить</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::ScxmlUiFactory</name>
<message> <message>
<source>Created editor-instance.</source> <source>Created editor-instance.</source>
<translation>Создан экземпляр редактора.</translation> <translation>Создан экземпляр редактора.</translation>
@@ -46775,9 +46582,6 @@ Row: %4, Column: %5
<source>Editor-instance is not of the type ISCEditor.</source> <source>Editor-instance is not of the type ISCEditor.</source>
<translation>Экземпляр редактора не типа ISCEditor.</translation> <translation>Экземпляр редактора не типа ISCEditor.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateItem</name>
<message> <message>
<source>Set as Initial</source> <source>Set as Initial</source>
<translation>Сделать началом</translation> <translation>Сделать началом</translation>
@@ -46794,13 +46598,6 @@ Row: %4, Column: %5
<source>Change initial state</source> <source>Change initial state</source>
<translation>Сменить начальное состояние</translation> <translation>Сменить начальное состояние</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::StateWarningItem</name>
<message>
<source>State</source>
<translation>Состояние</translation>
</message>
<message> <message>
<source>Draw some transitions to state.</source> <source>Draw some transitions to state.</source>
<translation>Нарисуйте переходы в состояние.</translation> <translation>Нарисуйте переходы в состояние.</translation>
@@ -46829,16 +46626,10 @@ Row: %4, Column: %5
<source>Draw some transitions from state.</source> <source>Draw some transitions from state.</source>
<translation>Нарисуйте переходы из состояния.</translation> <translation>Нарисуйте переходы из состояния.</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionItem</name>
<message> <message>
<source>Remove Point</source> <source>Remove Point</source>
<translation>Удалить узел</translation> <translation>Удалить узел</translation>
</message> </message>
</context>
<context>
<name>ScxmlEditor::PluginInterface::TransitionWarningItem</name>
<message> <message>
<source>Transition</source> <source>Transition</source>
<translation>Переход</translation> <translation>Переход</translation>

View File

@@ -3,6 +3,7 @@
#include "colorpicker.h" #include "colorpicker.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include <utils/layoutbuilder.h> #include <utils/layoutbuilder.h>
@@ -47,9 +48,9 @@ ColorPicker::ColorPicker(const QString &key, QWidget *parent)
} }
colorGrid.attachTo(basicColorContentFrame, WithoutMargins); colorGrid.attachTo(basicColorContentFrame, WithoutMargins);
Column { Column {
tr("Basic Colors"), Tr::tr("Basic Colors"),
basicColorContentFrame, basicColorContentFrame,
tr("Last used colors"), Tr::tr("Last used colors"),
lastUsedColorContainer, lastUsedColorContainer,
}.attachTo(this); }.attachTo(this);

View File

@@ -4,6 +4,7 @@
#include "colorsettings.h" #include "colorsettings.h"
#include "colorthemeview.h" #include "colorthemeview.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include <QComboBox> #include <QComboBox>
#include <QInputDialog> #include <QInputDialog>
@@ -81,10 +82,10 @@ void ColorSettings::selectTheme(int index)
void ColorSettings::createTheme() void ColorSettings::createTheme()
{ {
QString name = QInputDialog::getText(this, tr("Create New Color Theme"), tr("Theme ID")); QString name = QInputDialog::getText(this, Tr::tr("Create New Color Theme"), Tr::tr("Theme ID"));
if (!name.isEmpty()) { if (!name.isEmpty()) {
if (m_colorThemes.contains(name)) { if (m_colorThemes.contains(name)) {
QMessageBox::warning(this, tr("Cannot Create Theme"), tr("Theme %1 is already available.").arg(name)); QMessageBox::warning(this, Tr::tr("Cannot Create Theme"), Tr::tr("Theme %1 is already available.").arg(name));
} else { } else {
m_colorThemeView->reset(); m_colorThemeView->reset();
m_colorThemes[name] = QVariantMap(); m_colorThemes[name] = QVariantMap();
@@ -97,8 +98,8 @@ void ColorSettings::createTheme()
void ColorSettings::removeTheme() void ColorSettings::removeTheme()
{ {
const QString name = m_comboColorThemes->currentText(); const QString name = m_comboColorThemes->currentText();
const QMessageBox::StandardButton result = QMessageBox::question(this, tr("Remove Color Theme"), const QMessageBox::StandardButton result = QMessageBox::question(this, Tr::tr("Remove Color Theme"),
tr("Are you sure you want to delete color theme %1?").arg(name), Tr::tr("Are you sure you want to delete color theme %1?").arg(name),
QMessageBox::Yes | QMessageBox::No, QMessageBox::No); QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
if (result == QMessageBox::Yes) { if (result == QMessageBox::Yes) {
m_comboColorThemes->removeItem(m_comboColorThemes->currentIndex()); m_comboColorThemes->removeItem(m_comboColorThemes->currentIndex());

View File

@@ -1,11 +1,12 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "colorthemes.h"
#include "colorthemedialog.h" #include "colorthemedialog.h"
#include "colorthemes.h"
#include "colorthemeview.h" #include "colorthemeview.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltag.h" #include "scxmltag.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
@@ -19,12 +20,12 @@ using namespace ScxmlEditor::Common;
ColorThemes::ColorThemes(QObject *parent) ColorThemes::ColorThemes(QObject *parent)
: QObject(parent) : QObject(parent)
{ {
m_modifyAction = new QAction(QIcon(":/scxmleditor/images/colorthemes.png"), tr("Modify Color Themes..."), this); m_modifyAction = new QAction(QIcon(":/scxmleditor/images/colorthemes.png"), Tr::tr("Modify Color Themes..."), this);
m_modifyAction->setToolTip(tr("Modify Color Theme")); m_modifyAction->setToolTip(Tr::tr("Modify Color Theme"));
m_toolButton = new QToolButton; m_toolButton = new QToolButton;
m_toolButton->setIcon(QIcon(":/scxmleditor/images/colorthemes.png")); m_toolButton->setIcon(QIcon(":/scxmleditor/images/colorthemes.png"));
m_toolButton->setToolTip(tr("Select Color Theme")); m_toolButton->setToolTip(Tr::tr("Select Color Theme"));
m_toolButton->setPopupMode(QToolButton::InstantPopup); m_toolButton->setPopupMode(QToolButton::InstantPopup);
m_menu = new QMenu; m_menu = new QMenu;
@@ -78,8 +79,8 @@ void ColorThemes::updateColorThemeMenu()
for (const QString &key: keys) { for (const QString &key: keys) {
const QString actionText = key == Constants::C_COLOR_SCHEME_DEFAULT const QString actionText = key == Constants::C_COLOR_SCHEME_DEFAULT
? tr("Factory Default") : key == Constants::C_COLOR_SCHEME_SCXMLDOCUMENT ? Tr::tr("Factory Default") : key == Constants::C_COLOR_SCHEME_SCXMLDOCUMENT
? tr("Colors from SCXML Document") ? Tr::tr("Colors from SCXML Document")
: key; : key;
QAction *action = m_menu->addAction(actionText, this, [this, key]() { QAction *action = m_menu->addAction(actionText, this, [this, key]() {
selectColorTheme(key); selectColorTheme(key);

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "colorthemeview.h" #include "colorthemeview.h"
#include "scxmleditortr.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>
@@ -39,7 +40,7 @@ void ColorThemeItem::openColorDialog()
QColor oldColor = m_color; QColor oldColor = m_color;
QColorDialog dialog(oldColor, Core::ICore::dialogParent()); QColorDialog dialog(oldColor, Core::ICore::dialogParent());
dialog.setWindowTitle(tr("Pick Color")); dialog.setWindowTitle(Tr::tr("Pick Color"));
connect(&dialog, &QColorDialog::currentColorChanged, this, &ColorThemeItem::setColor); connect(&dialog, &QColorDialog::currentColorChanged, this, &ColorThemeItem::setColor);
QPoint topRight = parentWidget()->mapToGlobal(parentWidget()->rect().topRight()); QPoint topRight = parentWidget()->mapToGlobal(parentWidget()->rect().topRight());
dialog.move(topRight.x(), topRight.y()); dialog.move(topRight.x(), topRight.y());

View File

@@ -3,6 +3,8 @@
#include "colortoolbutton.h" #include "colortoolbutton.h"
#include "colorpicker.h" #include "colorpicker.h"
#include "scxmleditortr.h"
#include <QColorDialog> #include <QColorDialog>
#include <QPainter> #include <QPainter>
@@ -42,11 +44,11 @@ ColorToolButton::ColorToolButton(const QString &key, const QString &iconName, co
connect(this, &ColorToolButton::colorSelected, m_colorPickerAction, &ColorPickerAction::lastUsedColor); connect(this, &ColorToolButton::colorSelected, m_colorPickerAction, &ColorPickerAction::lastUsedColor);
m_menu = new QMenu(this); m_menu = new QMenu(this);
m_menu->addAction(QIcon(p), tr("Automatic Color"), this, &ColorToolButton::autoColorSelected); m_menu->addAction(QIcon(p), Tr::tr("Automatic Color"), this, &ColorToolButton::autoColorSelected);
m_menu->addSeparator(); m_menu->addSeparator();
m_menu->addAction(m_colorPickerAction); m_menu->addAction(m_colorPickerAction);
m_menu->addSeparator(); m_menu->addSeparator();
m_menu->addAction(QIcon(QPixmap(":/scxmleditor/images/more_colors.png")), tr("More Colors..."), this, &ColorToolButton::showColorDialog); m_menu->addAction(QIcon(QPixmap(":/scxmleditor/images/more_colors.png")), Tr::tr("More Colors..."), this, &ColorToolButton::showColorDialog);
setMenu(m_menu); setMenu(m_menu);
} }

View File

@@ -1,11 +1,13 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "graphicsview.h"
#include "baseitem.h" #include "baseitem.h"
#include "connectableitem.h" #include "connectableitem.h"
#include "graphicsscene.h" #include "graphicsscene.h"
#include "graphicsview.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditortr.h"
#include "scxmleditortr.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "shapeprovider.h" #include "shapeprovider.h"
@@ -225,7 +227,7 @@ void GraphicsView::dropEvent(QDropEvent *event)
m_document->setCurrentTag(targetTag); m_document->setCurrentTag(targetTag);
QByteArray scxmlData = m_shapeProvider->scxmlCode(groupIndex, shapeIndex, targetTag); QByteArray scxmlData = m_shapeProvider->scxmlCode(groupIndex, shapeIndex, targetTag);
if (!scxmlData.isEmpty() && !m_document->pasteData(scxmlData, targetPos, targetPos)) if (!scxmlData.isEmpty() && !m_document->pasteData(scxmlData, targetPos, targetPos))
QMessageBox::warning(Core::ICore::dialogParent(), tr("SCXML Generation Failed"), QMessageBox::warning(Core::ICore::dialogParent(), Tr::tr("SCXML Generation Failed"),
m_document->lastError()); m_document->lastError());
} }
} else { } else {
@@ -240,7 +242,7 @@ void GraphicsView::paintEvent(QPaintEvent *event)
} else { } else {
QPainter painter(viewport()); QPainter painter(viewport());
painter.save(); painter.save();
painter.drawText(rect(), Qt::AlignCenter, tr("Loading document...")); painter.drawText(rect(), Qt::AlignCenter, Tr::tr("Loading document..."));
painter.restore(); painter.restore();
} }
} }

View File

@@ -13,6 +13,7 @@
#include "navigator.h" #include "navigator.h"
#include "outputtabwidget.h" #include "outputtabwidget.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "search.h" #include "search.h"
@@ -326,10 +327,10 @@ void MainWidget::init()
}); });
// Init ToolButtons // Init ToolButtons
auto stateColorButton = new ColorToolButton("StateColor", ":/scxmleditor/images/state_color.png", tr("State Color")); auto stateColorButton = new ColorToolButton("StateColor", ":/scxmleditor/images/state_color.png", Tr::tr("State Color"));
auto fontColorButton = new ColorToolButton("FontColor", ":/scxmleditor/images/font_color.png", tr("Font Color")); auto fontColorButton = new ColorToolButton("FontColor", ":/scxmleditor/images/font_color.png", Tr::tr("Font Color"));
QToolButton *alignToolButton = createToolButton(toolButtonIcon(ActionAlignLeft), tr("Align Left"), QToolButton::MenuButtonPopup); QToolButton *alignToolButton = createToolButton(toolButtonIcon(ActionAlignLeft), Tr::tr("Align Left"), QToolButton::MenuButtonPopup);
QToolButton *adjustToolButton = createToolButton(toolButtonIcon(ActionAdjustWidth), tr("Adjust Width"), QToolButton::MenuButtonPopup); QToolButton *adjustToolButton = createToolButton(toolButtonIcon(ActionAdjustWidth), Tr::tr("Adjust Width"), QToolButton::MenuButtonPopup);
// Connect state color change // Connect state color change
connect(stateColorButton, &ColorToolButton::colorSelected, [this](const QString &color) { connect(stateColorButton, &ColorToolButton::colorSelected, [this](const QString &color) {
@@ -361,12 +362,12 @@ void MainWidget::init()
view->scene()->adjustStates(adjustToolButton->property("currentAdjustment").toInt()); view->scene()->adjustStates(adjustToolButton->property("currentAdjustment").toInt());
}); });
auto alignmentMenu = new QMenu(tr("Alignment"), this); auto alignmentMenu = new QMenu(Tr::tr("Alignment"), this);
for (int i = ActionAlignLeft; i <= ActionAlignVertical; ++i) for (int i = ActionAlignLeft; i <= ActionAlignVertical; ++i)
alignmentMenu->addAction(m_actionHandler->action(ActionType(i))); alignmentMenu->addAction(m_actionHandler->action(ActionType(i)));
alignToolButton->setMenu(alignmentMenu); alignToolButton->setMenu(alignmentMenu);
auto adjustmentMenu = new QMenu(tr("Adjustment"), this); auto adjustmentMenu = new QMenu(Tr::tr("Adjustment"), this);
for (int i = ActionAdjustWidth; i <= ActionAdjustSize; ++i) for (int i = ActionAdjustWidth; i <= ActionAdjustSize; ++i)
adjustmentMenu->addAction(m_actionHandler->action(ActionType(i))); adjustmentMenu->addAction(m_actionHandler->action(ActionType(i)));
adjustToolButton->setMenu(adjustmentMenu); adjustToolButton->setMenu(adjustmentMenu);
@@ -400,7 +401,7 @@ QString saveImageFileFilter()
const auto imageFormats = QImageWriter::supportedImageFormats(); const auto imageFormats = QImageWriter::supportedImageFormats();
const QByteArrayList supportedFormats = Utils::transform(imageFormats, [](const QByteArray &in) const QByteArrayList supportedFormats = Utils::transform(imageFormats, [](const QByteArray &in)
{ return QByteArray{"*." + in}; }); { return QByteArray{"*." + in}; });
return MainWidget::tr("Images (%1)").arg(QString::fromUtf8(supportedFormats.join(' '))); return ScxmlEditor::Tr::tr("Images (%1)").arg(QString::fromUtf8(supportedFormats.join(' ')));
} }
void MainWidget::exportToImage() void MainWidget::exportToImage()
@@ -411,7 +412,7 @@ void MainWidget::exportToImage()
QString suggestedFileName = QFileInfo(m_document->fileName()).baseName(); QString suggestedFileName = QFileInfo(m_document->fileName()).baseName();
if (suggestedFileName.isEmpty()) if (suggestedFileName.isEmpty())
suggestedFileName = tr("Untitled"); suggestedFileName = Tr::tr("Untitled");
QSettings *s = Core::ICore::settings(); QSettings *s = Core::ICore::settings();
const QString documentsLocation = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation); const QString documentsLocation = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
@@ -422,7 +423,7 @@ void MainWidget::exportToImage()
.arg(suggestedFileName) .arg(suggestedFileName)
.arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmss")); .arg(QDateTime::currentDateTime().toString("yyyyMMddhhmmss"));
const FilePath filePath = FileUtils::getSaveFilePath(this, const FilePath filePath = FileUtils::getSaveFilePath(this,
tr("Export Canvas to Image"), Tr::tr("Export Canvas to Image"),
FilePath::fromString(suggestedFileName), FilePath::fromString(suggestedFileName),
saveImageFileFilter()); saveImageFileFilter());
if (!filePath.isEmpty()) { if (!filePath.isEmpty()) {
@@ -436,7 +437,7 @@ void MainWidget::exportToImage()
if (image.save(filePath.toString())) { if (image.save(filePath.toString())) {
s->setValue(Constants::C_SETTINGS_LASTEXPORTFOLDER, filePath.parentDir().toString()); s->setValue(Constants::C_SETTINGS_LASTEXPORTFOLDER, filePath.parentDir().toString());
} else { } else {
QMessageBox::warning(this, tr("Export Failed"), tr("Could not export to image.")); QMessageBox::warning(this, Tr::tr("Export Failed"), Tr::tr("Could not export to image."));
} }
} }
} }
@@ -452,7 +453,7 @@ void MainWidget::saveScreenShot()
const FilePath lastFolder = FilePath::fromVariant( const FilePath lastFolder = FilePath::fromVariant(
s->value(Constants::C_SETTINGS_LASTSAVESCREENSHOTFOLDER, documentsLocation)); s->value(Constants::C_SETTINGS_LASTSAVESCREENSHOTFOLDER, documentsLocation));
const FilePath filePath = FileUtils::getSaveFilePath(this, const FilePath filePath = FileUtils::getSaveFilePath(this,
tr("Save Screenshot"), Tr::tr("Save Screenshot"),
lastFolder / "scxml_screenshot.png", lastFolder / "scxml_screenshot.png",
saveImageFileFilter()); saveImageFileFilter());
if (!filePath.isEmpty()) { if (!filePath.isEmpty()) {
@@ -461,7 +462,7 @@ void MainWidget::saveScreenShot()
if (image.save(filePath.toString())) { if (image.save(filePath.toString())) {
s->setValue(Constants::C_SETTINGS_LASTSAVESCREENSHOTFOLDER, filePath.parentDir().toVariant()); s->setValue(Constants::C_SETTINGS_LASTSAVESCREENSHOTFOLDER, filePath.parentDir().toVariant());
} else { } else {
QMessageBox::warning(this, tr("Saving Failed"), tr("Could not save the screenshot.")); QMessageBox::warning(this, Tr::tr("Saving Failed"), Tr::tr("Could not save the screenshot."));
} }
} }
} }

View File

@@ -1,11 +1,12 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "navigator.h"
#include "graphicsscene.h" #include "graphicsscene.h"
#include "graphicsview.h" #include "graphicsview.h"
#include "navigator.h"
#include "navigatorgraphicsview.h" #include "navigatorgraphicsview.h"
#include "navigatorslider.h" #include "navigatorslider.h"
#include "scxmleditortr.h"
#include "sizegrip.h" #include "sizegrip.h"
#include <utils/utilsicons.h> #include <utils/utilsicons.h>
@@ -60,7 +61,7 @@ void Navigator::resizeEvent(QResizeEvent *e)
void Navigator::createUi() void Navigator::createUi()
{ {
auto titleLabel = new QLabel(tr("Navigator")); auto titleLabel = new QLabel(Tr::tr("Navigator"));
titleLabel->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); titleLabel->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
m_closeButton = new QToolButton; m_closeButton = new QToolButton;

View File

@@ -4,6 +4,7 @@
#pragma once #pragma once
#include "outputpane.h" #include "outputpane.h"
#include "scxmleditortr.h"
#include <utils/utilsicons.h> #include <utils/utilsicons.h>
@@ -39,7 +40,7 @@ public:
QString title() const override QString title() const override
{ {
return tr("Search"); return Tr::tr("Search");
} }
QIcon icon() const override QIcon icon() const override

View File

@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "searchmodel.h" #include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "searchmodel.h"
using namespace ScxmlEditor::PluginInterface; using namespace ScxmlEditor::PluginInterface;
using namespace ScxmlEditor::Common; using namespace ScxmlEditor::Common;
@@ -15,7 +16,7 @@ SearchModel::SearchModel(QObject *parent)
QVariant SearchModel::headerData(int section, Qt::Orientation orientation, int role) const QVariant SearchModel::headerData(int section, Qt::Orientation orientation, int role) const
{ {
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
return section == 0 ? tr("Type") : tr("Name"); return section == 0 ? Tr::tr("Type") : Tr::tr("Name");
return QVariant(); return QVariant();
} }

View File

@@ -1,11 +1,12 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "stateproperties.h"
#include "attributeitemdelegate.h" #include "attributeitemdelegate.h"
#include "attributeitemmodel.h" #include "attributeitemmodel.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "stateproperties.h"
#include <coreplugin/minisplitter.h> #include <coreplugin/minisplitter.h>
@@ -99,7 +100,7 @@ void StateProperties::setUIFactory(ScxmlUiFactory *factory)
void StateProperties::createUi() void StateProperties::createUi()
{ {
auto titleLabel = new QLabel(tr("Attributes")); auto titleLabel = new QLabel(Tr::tr("Attributes"));
titleLabel->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred); titleLabel->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
m_currentTagName = new QLabel; m_currentTagName = new QLabel;
@@ -123,7 +124,7 @@ void StateProperties::createUi()
m_contentFrame = new QWidget; m_contentFrame = new QWidget;
m_contentFrame->setLayout(new QVBoxLayout); m_contentFrame->setLayout(new QVBoxLayout);
m_contentFrame->layout()->addWidget(new QLabel(tr("Content"))); m_contentFrame->layout()->addWidget(new QLabel(Tr::tr("Content")));
m_contentFrame->layout()->addWidget(m_contentEdit); m_contentFrame->layout()->addWidget(m_contentEdit);
auto splitter = new Core::MiniSplitter; auto splitter = new Core::MiniSplitter;

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditortr.h"
#include "scxmltag.h" #include "scxmltag.h"
#include "statistics.h" #include "statistics.h"
#include "warningmodel.h" #include "warningmodel.h"
@@ -82,9 +83,9 @@ QVariant StatisticsModel::headerData(int section, Qt::Orientation orientation, i
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) { if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
switch (section) { switch (section) {
case 0: case 0:
return tr("Tag"); return Tr::tr("Tag");
case 1: case 1:
return tr("Count"); return Tr::tr("Count");
default: default:
break; break;
} }
@@ -123,7 +124,7 @@ Statistics::Statistics(QWidget *parent)
m_levels = new QLabel; m_levels = new QLabel;
m_timeLabel = new QLabel; m_timeLabel = new QLabel;
m_timeLabel->setText(QDateTime::currentDateTime().toString(tr("yyyy/MM/dd hh:mm:ss"))); m_timeLabel->setText(QDateTime::currentDateTime().toString(Tr::tr("yyyy/MM/dd hh:mm:ss")));
m_proxyModel = new QSortFilterProxyModel(this); m_proxyModel = new QSortFilterProxyModel(this);
m_proxyModel->setFilterKeyColumn(-1); m_proxyModel->setFilterKeyColumn(-1);
@@ -136,9 +137,9 @@ Statistics::Statistics(QWidget *parent)
using namespace Utils::Layouting; using namespace Utils::Layouting;
Grid { Grid {
tr("File"), m_fileNameLabel, br, Tr::tr("File"), m_fileNameLabel, br,
tr("Time"), m_timeLabel, br, Tr::tr("Time"), m_timeLabel, br,
tr("Max. levels"), m_levels, br, Tr::tr("Max. levels"), m_levels, br,
Span(2, m_statisticsView), br Span(2, m_statisticsView), br
}.attachTo(this, WithoutMargins); }.attachTo(this, WithoutMargins);
} }

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditortr.h"
#include "statistics.h" #include "statistics.h"
#include "statisticsdialog.h" #include "statisticsdialog.h"
@@ -15,7 +16,7 @@ StatisticsDialog::StatisticsDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
resize(400, 300); resize(400, 300);
setWindowTitle(tr("Document Statistics")); setWindowTitle(Tr::tr("Document Statistics"));
m_statistics = new Statistics; m_statistics = new Statistics;
auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok); auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok);

View File

@@ -1,16 +1,17 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "structure.h"
#include "actionhandler.h" #include "actionhandler.h"
#include "actionprovider.h" #include "actionprovider.h"
#include "graphicsscene.h" #include "graphicsscene.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditorconstants.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmlnamespace.h" #include "scxmlnamespace.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "structure.h"
#include "structuremodel.h" #include "structuremodel.h"
#include "treeview.h" #include "treeview.h"
@@ -86,10 +87,10 @@ Structure::Structure(QWidget *parent)
{ {
createUi(); createUi();
addCheckbox(tr("Common states"), State); addCheckbox(Tr::tr("Common states"), State);
addCheckbox(tr("Metadata"), Metadata); addCheckbox(Tr::tr("Metadata"), Metadata);
addCheckbox(tr("Other tags"), OnEntry); addCheckbox(Tr::tr("Other tags"), OnEntry);
addCheckbox(tr("Unknown tags"), UnknownTag); addCheckbox(Tr::tr("Unknown tags"), UnknownTag);
m_tagVisibilityFrame->setVisible(false); m_tagVisibilityFrame->setVisible(false);
connect(m_checkboxButton, &QToolButton::toggled, m_tagVisibilityFrame, &QFrame::setVisible); connect(m_checkboxButton, &QToolButton::toggled, m_tagVisibilityFrame, &QFrame::setVisible);
@@ -220,7 +221,7 @@ void Structure::keyPressEvent(QKeyEvent *e)
QModelIndex ind = m_proxyModel->mapToSource(m_structureView->currentIndex()); QModelIndex ind = m_proxyModel->mapToSource(m_structureView->currentIndex());
auto tag = static_cast<ScxmlTag*>(ind.internalPointer()); auto tag = static_cast<ScxmlTag*>(ind.internalPointer());
if (tag && m_currentDocument) { if (tag && m_currentDocument) {
m_currentDocument->undoStack()->beginMacro(tr("Remove items")); m_currentDocument->undoStack()->beginMacro(Tr::tr("Remove items"));
m_currentDocument->removeTag(tag); m_currentDocument->removeTag(tag);
m_currentDocument->undoStack()->endMacro(); m_currentDocument->undoStack()->endMacro();
} }
@@ -230,7 +231,7 @@ void Structure::keyPressEvent(QKeyEvent *e)
void Structure::createUi() void Structure::createUi()
{ {
auto titleLabel = new QLabel(tr("Structure")); auto titleLabel = new QLabel(Tr::tr("Structure"));
titleLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum); titleLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Maximum);
m_checkboxButton = new QToolButton; m_checkboxButton = new QToolButton;
@@ -278,8 +279,8 @@ void Structure::showMenu(const QModelIndex &index, const QPoint &globalPos)
auto tag = static_cast<ScxmlTag*>(ind.internalPointer()); auto tag = static_cast<ScxmlTag*>(ind.internalPointer());
if (tag) { if (tag) {
auto menu = new QMenu; auto menu = new QMenu;
menu->addAction(tr("Expand All"), m_structureView, &TreeView::expandAll); menu->addAction(Tr::tr("Expand All"), m_structureView, &TreeView::expandAll);
menu->addAction(tr("Collapse All"), m_structureView, &TreeView::collapseAll); menu->addAction(Tr::tr("Collapse All"), m_structureView, &TreeView::collapseAll);
menu->addSeparator(); menu->addSeparator();
menu->addAction(m_scene->actionHandler()->action(ActionCopy)); menu->addAction(m_scene->actionHandler()->action(ActionCopy));
menu->addAction(m_scene->actionHandler()->action(ActionPaste)); menu->addAction(m_scene->actionHandler()->action(ActionPaste));
@@ -299,13 +300,13 @@ void Structure::showMenu(const QModelIndex &index, const QPoint &globalPos)
QVariantMap data = selectedAction->data().toMap(); QVariantMap data = selectedAction->data().toMap();
int actionType = data.value(Constants::C_SCXMLTAG_ACTIONTYPE, -1).toInt(); int actionType = data.value(Constants::C_SCXMLTAG_ACTIONTYPE, -1).toInt();
if (actionType == TagUtils::Remove) { if (actionType == TagUtils::Remove) {
m_currentDocument->undoStack()->beginMacro(tr("Remove items")); m_currentDocument->undoStack()->beginMacro(Tr::tr("Remove items"));
m_currentDocument->setCurrentTag(tag); m_currentDocument->setCurrentTag(tag);
m_currentDocument->removeTag(tag); m_currentDocument->removeTag(tag);
m_currentDocument->setCurrentTag(nullptr); m_currentDocument->setCurrentTag(nullptr);
m_currentDocument->undoStack()->endMacro(); m_currentDocument->undoStack()->endMacro();
} else if (actionType == TagUtils::AddChild) { } else if (actionType == TagUtils::AddChild) {
tag->document()->undoStack()->beginMacro(tr("Add child")); tag->document()->undoStack()->beginMacro(Tr::tr("Add child"));
ScxmlTag *childTag = (tag->tagType() == TagType::Else ScxmlTag *childTag = (tag->tagType() == TagType::Else
|| tag->tagType() == TagType::ElseIf) || tag->tagType() == TagType::ElseIf)
? SceneUtils::addSibling(tag, data, m_scene) ? SceneUtils::addSibling(tag, data, m_scene)

View File

@@ -1,9 +1,10 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "structuremodel.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditortr.h"
#include "scxmltag.h" #include "scxmltag.h"
#include "structuremodel.h"
#include <QMimeData> #include <QMimeData>
#include <QUndoStack> #include <QUndoStack>
@@ -200,7 +201,7 @@ bool StructureModel::dropMimeData(const QMimeData *data, Qt::DropAction action,
ScxmlTag *tag = getItem(p); ScxmlTag *tag = getItem(p);
if (tag && m_dragTag && tag != m_dragTag && (tag->tagType() == State || tag->tagType() == Parallel || tag->tagType() == Scxml)) { if (tag && m_dragTag && tag != m_dragTag && (tag->tagType() == State || tag->tagType() == Parallel || tag->tagType() == Scxml)) {
m_document->undoStack()->beginMacro(tr("Change parent")); m_document->undoStack()->beginMacro(Tr::tr("Change parent"));
m_document->changeParent(m_dragTag, tag); m_document->changeParent(m_dragTag, tag);
m_document->undoStack()->endMacro(); m_document->undoStack()->endMacro();
m_dragTag = nullptr; m_dragTag = nullptr;

View File

@@ -2,8 +2,9 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "errorwidget.h" #include "errorwidget.h"
#include "tableview.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "tableview.h"
#include <QLayout> #include <QLayout>
#include <QFile> #include <QFile>
@@ -142,7 +143,7 @@ void ErrorWidget::updateWarnings()
int warningCount = m_warningModel->count(Warning::WarningType); int warningCount = m_warningModel->count(Warning::WarningType);
int infoCount = m_warningModel->count(Warning::InfoType); int infoCount = m_warningModel->count(Warning::InfoType);
m_title = tr("Errors(%1) / Warnings(%2) / Info(%3)").arg(errorCount).arg(warningCount).arg(infoCount); m_title = Tr::tr("Errors(%1) / Warnings(%2) / Info(%3)").arg(errorCount).arg(warningCount).arg(infoCount);
if (errorCount > 0) if (errorCount > 0)
m_icon = m_showErrors->icon(); m_icon = m_showErrors->icon();
else if (warningCount > 0) else if (warningCount > 0)
@@ -184,13 +185,13 @@ QString ErrorWidget::modifyExportedValue(const QString &val)
void ErrorWidget::exportWarnings() void ErrorWidget::exportWarnings()
{ {
FilePath fileName = FileUtils::getSaveFilePath(this, tr("Export to File"), {}, tr("CSV files (*.csv)")); FilePath fileName = FileUtils::getSaveFilePath(this, Tr::tr("Export to File"), {}, Tr::tr("CSV files (*.csv)"));
if (fileName.isEmpty()) if (fileName.isEmpty())
return; return;
QFile file(fileName.toString()); QFile file(fileName.toString());
if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) { if (!file.open(QIODevice::WriteOnly | QIODevice::Text)) {
QMessageBox::warning(this, tr("Export Failed"), tr("Cannot open file %1.").arg(fileName.toUserOutput())); QMessageBox::warning(this, Tr::tr("Export Failed"), Tr::tr("Cannot open file %1.").arg(fileName.toUserOutput()));
file.close(); file.close();
return; return;
} }

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "warningmodel.h" #include "warningmodel.h"
#include <utils/algorithm.h> #include <utils/algorithm.h>
@@ -77,13 +78,13 @@ QVariant WarningModel::headerData(int section, Qt::Orientation orientation, int
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) { if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
switch (section) { switch (section) {
case 0: case 0:
return tr("Severity"); return Tr::tr("Severity");
case 1: case 1:
return tr("Type"); return Tr::tr("Type");
case 2: case 2:
return tr("Reason"); return Tr::tr("Reason");
case 3: case 3:
return tr("Description"); return Tr::tr("Description");
default: default:
break; break;
} }
@@ -96,13 +97,13 @@ QString WarningModel::severityName(Warning::Severity severity) const
{ {
switch (severity) { switch (severity) {
case Warning::ErrorType: case Warning::ErrorType:
return tr("Error"); return Tr::tr("Error");
case Warning::WarningType: case Warning::WarningType:
return tr("Warning"); return Tr::tr("Warning");
case Warning::InfoType: case Warning::InfoType:
return tr("Info"); return Tr::tr("Info");
default: default:
return tr("Unknown"); return Tr::tr("Unknown");
} }
} }
@@ -144,7 +145,7 @@ QVariant WarningModel::data(const QModelIndex &index, int role) const
break; break;
} }
case Qt::ToolTipRole: { case Qt::ToolTipRole: {
return tr("Severity:\t%1\nType: \t%2\nReason: \t%3\nDescription:\t%4") return Tr::tr("Severity:\t%1\nType: \t%2\nReason: \t%3\nDescription:\t%4")
.arg(severityName(it->severity())) .arg(severityName(it->severity()))
.arg(it->typeName()) .arg(it->typeName())
.arg(it->reason()) .arg(it->reason())

View File

@@ -2,8 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "actionhandler.h" #include "actionhandler.h"
#include "mytypes.h" #include "mytypes.h"
#include "scxmleditortr.h"
#include <utils/utilsicons.h> #include <utils/utilsicons.h>
@@ -21,32 +21,32 @@ ActionHandler::ActionHandler(QObject *parent)
const char *keyseq; const char *keyseq;
bool checkable; bool checkable;
} actionInfos[] = { } actionInfos[] = {
{Utils::Icons::ZOOMIN_TOOLBAR, tr("Zoom In"), tr("Zoom In (Ctrl + + / Ctrl + Wheel)"), "Ctrl++", false}, {Utils::Icons::ZOOMIN_TOOLBAR, Tr::tr("Zoom In"), Tr::tr("Zoom In (Ctrl + + / Ctrl + Wheel)"), "Ctrl++", false},
{Utils::Icons::ZOOMOUT_TOOLBAR, tr("Zoom Out"), tr("Zoom Out (Ctrl + - / Ctrl + Wheel)"), "Ctrl+-", false}, {Utils::Icons::ZOOMOUT_TOOLBAR, Tr::tr("Zoom Out"), Tr::tr("Zoom Out (Ctrl + - / Ctrl + Wheel)"), "Ctrl+-", false},
{Utils::Icons::FITTOVIEW_TOOLBAR, tr("Fit to View"), tr("Fit to View (F11)"), "F11", false}, {Utils::Icons::FITTOVIEW_TOOLBAR, Tr::tr("Fit to View"), Tr::tr("Fit to View (F11)"), "F11", false},
{Utils::Icons::PAN_TOOLBAR, tr("Panning"), tr("Panning (Shift)"), "Shift", true}, {Utils::Icons::PAN_TOOLBAR, Tr::tr("Panning"), Tr::tr("Panning (Shift)"), "Shift", true},
{Utils::Icons::ZOOM_TOOLBAR, tr("Magnifier"), tr("Magnifier Tool"), "", true}, {Utils::Icons::ZOOM_TOOLBAR, Tr::tr("Magnifier"), Tr::tr("Magnifier Tool"), "", true},
{Utils::Icon(":/scxmleditor/images/navigator.png"), tr("Navigator"), tr("Navigator (Ctrl+E)"), "Ctrl+E", true}, {Utils::Icon(":/scxmleditor/images/navigator.png"), Tr::tr("Navigator"), Tr::tr("Navigator (Ctrl+E)"), "Ctrl+E", true},
{Utils::Icons::COPY_TOOLBAR, tr("Copy"), tr("Copy (Ctrl + C)"), "Ctrl+C", false}, {Utils::Icons::COPY_TOOLBAR, Tr::tr("Copy"), Tr::tr("Copy (Ctrl + C)"), "Ctrl+C", false},
{Utils::Icons::CUT_TOOLBAR, tr("Cut"), tr("Cut (Ctrl + X)"), "Ctrl+X", false}, {Utils::Icons::CUT_TOOLBAR, Tr::tr("Cut"), Tr::tr("Cut (Ctrl + X)"), "Ctrl+X", false},
{Utils::Icons::PASTE_TOOLBAR, tr("Paste"), tr("Paste (Ctrl + V)"), "Ctrl+V", false}, {Utils::Icons::PASTE_TOOLBAR, Tr::tr("Paste"), Tr::tr("Paste (Ctrl + V)"), "Ctrl+V", false},
{Utils::Icons::SNAPSHOT_TOOLBAR, tr("Screenshot"), tr("Screenshot (Ctrl + Shift + C)"), "Ctrl+Shift+C", false}, {Utils::Icons::SNAPSHOT_TOOLBAR, Tr::tr("Screenshot"), Tr::tr("Screenshot (Ctrl + Shift + C)"), "Ctrl+Shift+C", false},
{Utils::Icon({{":/scxmleditor/images/icon-export-canvas.png", Utils::Theme::IconsBaseColor}}), tr("Export to Image"), tr("Export to Image"), "Ctrl+Shift+E", false}, {Utils::Icon({{":/scxmleditor/images/icon-export-canvas.png", Utils::Theme::IconsBaseColor}}), Tr::tr("Export to Image"), Tr::tr("Export to Image"), "Ctrl+Shift+E", false},
{Utils::Icon({{":/utils/images/namespace.png", Utils::Theme::IconsBaseColor}}), tr("Toggle Full Namespace"), tr("Toggle Full Namespace"), "Ctrl+Shift+N", true}, {Utils::Icon({{":/utils/images/namespace.png", Utils::Theme::IconsBaseColor}}), Tr::tr("Toggle Full Namespace"), Tr::tr("Toggle Full Namespace"), "Ctrl+Shift+N", true},
{Utils::Icon({{":/scxmleditor/images/align_left.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Left"), tr("Align Left (Ctrl+L,1)"), "Ctrl+L,1", false}, {Utils::Icon({{":/scxmleditor/images/align_left.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Left"), Tr::tr("Align Left (Ctrl+L,1)"), "Ctrl+L,1", false},
{Utils::Icon({{":/scxmleditor/images/align_right.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Right"), tr("Align Right (Ctrl+L,2)"), "Ctrl+L,2", false}, {Utils::Icon({{":/scxmleditor/images/align_right.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Right"), Tr::tr("Align Right (Ctrl+L,2)"), "Ctrl+L,2", false},
{Utils::Icon({{":/scxmleditor/images/align_top.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Top"), tr("Align Top (Ctrl+L,3)"), "Ctrl+L,3", false}, {Utils::Icon({{":/scxmleditor/images/align_top.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Top"), Tr::tr("Align Top (Ctrl+L,3)"), "Ctrl+L,3", false},
{Utils::Icon({{":/scxmleditor/images/align_bottom.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Bottom"), tr("Align Bottom (Ctrl+L,4)"), "Ctrl+L,4", false}, {Utils::Icon({{":/scxmleditor/images/align_bottom.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Bottom"), Tr::tr("Align Bottom (Ctrl+L,4)"), "Ctrl+L,4", false},
{Utils::Icon({{":/scxmleditor/images/align_horizontal.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Horizontal"), tr("Align Horizontal (Ctrl+L,5)"), "Ctrl+L,5", false}, {Utils::Icon({{":/scxmleditor/images/align_horizontal.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Horizontal"), Tr::tr("Align Horizontal (Ctrl+L,5)"), "Ctrl+L,5", false},
{Utils::Icon({{":/scxmleditor/images/align_vertical.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Align Vertical"), tr("Align Vertical (Ctrl+L,6)"), "Ctrl+L,6", false}, {Utils::Icon({{":/scxmleditor/images/align_vertical.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Align Vertical"), Tr::tr("Align Vertical (Ctrl+L,6)"), "Ctrl+L,6", false},
{Utils::Icon({{":/scxmleditor/images/adjust_width.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Adjust Width"), tr("Adjust Width (Ctrl+L,7)"), "Ctrl+L,7", false}, {Utils::Icon({{":/scxmleditor/images/adjust_width.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Adjust Width"), Tr::tr("Adjust Width (Ctrl+L,7)"), "Ctrl+L,7", false},
{Utils::Icon({{":/scxmleditor/images/adjust_height.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Adjust Height"), tr("Adjust Height (Ctrl+L,8)"), "Ctrl+L,8", false}, {Utils::Icon({{":/scxmleditor/images/adjust_height.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Adjust Height"), Tr::tr("Adjust Height (Ctrl+L,8)"), "Ctrl+L,8", false},
{Utils::Icon({{":/scxmleditor/images/adjust_size.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), tr("Adjust Size"), tr("Adjust Size (Ctrl+L,9)"), "Ctrl+L,9", false}, {Utils::Icon({{":/scxmleditor/images/adjust_size.png", Utils::Theme::PanelTextColorMid}}, Utils::Icon::Tint), Tr::tr("Adjust Size"), Tr::tr("Adjust Size (Ctrl+L,9)"), "Ctrl+L,9", false},
{Utils::Icon(":/scxmleditor/images/statistics.png"), tr("Show Statistics..."), tr("Show Statistics"), "", false} {Utils::Icon(":/scxmleditor/images/statistics.png"), Tr::tr("Show Statistics..."), Tr::tr("Show Statistics"), "", false}
}; };
// Init actions // Init actions

View File

@@ -1,13 +1,14 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "baseitem.h"
#include "actionhandler.h" #include "actionhandler.h"
#include "actionprovider.h" #include "actionprovider.h"
#include "baseitem.h"
#include "graphicsscene.h" #include "graphicsscene.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "stateitem.h" #include "stateitem.h"
@@ -185,7 +186,7 @@ void BaseItem::selectedMenuAction(const QAction *action)
case TagUtils::AddChild: { case TagUtils::AddChild: {
const ScxmlDocument *document = tag->document(); const ScxmlDocument *document = tag->document();
if (m_scene && document) { if (m_scene && document) {
document->undoStack()->beginMacro(tr("Add child")); document->undoStack()->beginMacro(Tr::tr("Add child"));
SceneUtils::addChild(tag, data, m_scene); SceneUtils::addChild(tag, data, m_scene);
document->undoStack()->endMacro(); document->undoStack()->endMacro();
} }

View File

@@ -8,6 +8,7 @@
#include "quicktransitionitem.h" #include "quicktransitionitem.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "serializer.h" #include "serializer.h"
#include "stateitem.h" #include "stateitem.h"
@@ -198,7 +199,7 @@ bool ConnectableItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event)
if (event->type() == QEvent::GraphicsSceneMousePress) { if (event->type() == QEvent::GraphicsSceneMousePress) {
m_newTransitionStartedPoint = mouseEvent->pos(); m_newTransitionStartedPoint = mouseEvent->pos();
tag()->document()->undoStack()->beginMacro(tr("Add new state")); tag()->document()->undoStack()->beginMacro(Tr::tr("Add new state"));
m_newTransition = new TransitionItem; m_newTransition = new TransitionItem;
scene()->addItem(m_newTransition); scene()->addItem(m_newTransition);
@@ -370,7 +371,7 @@ void ConnectableItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
if (!m_moveMacroStarted) { if (!m_moveMacroStarted) {
m_moveMacroStarted = true; m_moveMacroStarted = true;
tag()->document()->undoStack()->beginMacro(tr("Move State")); tag()->document()->undoStack()->beginMacro(Tr::tr("Move State"));
} }
//Restore old behavior if ctrl & alt modifiers are present //Restore old behavior if ctrl & alt modifiers are present

View File

@@ -1,14 +1,15 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "graphicsscene.h"
#include "actionhandler.h" #include "actionhandler.h"
#include "actionprovider.h" #include "actionprovider.h"
#include "finalstateitem.h" #include "finalstateitem.h"
#include "graphicsscene.h"
#include "initialstateitem.h" #include "initialstateitem.h"
#include "parallelitem.h" #include "parallelitem.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "snapline.h" #include "snapline.h"
@@ -96,7 +97,7 @@ qreal GraphicsScene::selectedMaxHeight() const
void GraphicsScene::alignStates(int alignType) void GraphicsScene::alignStates(int alignType)
{ {
if (alignType >= ActionAlignLeft && alignType <= ActionAlignVertical) { if (alignType >= ActionAlignLeft && alignType <= ActionAlignVertical) {
m_document->undoStack()->beginMacro(tr("Align states")); m_document->undoStack()->beginMacro(Tr::tr("Align states"));
QRectF r = selectedBoundingRect(); QRectF r = selectedBoundingRect();
if (r.isValid()) { if (r.isValid()) {
@@ -149,7 +150,7 @@ void GraphicsScene::alignStates(int alignType)
void GraphicsScene::adjustStates(int adjustType) void GraphicsScene::adjustStates(int adjustType)
{ {
if (adjustType >= ActionAdjustWidth && adjustType <= ActionAdjustSize) { if (adjustType >= ActionAdjustWidth && adjustType <= ActionAdjustSize) {
m_document->undoStack()->beginMacro(tr("Adjust states")); m_document->undoStack()->beginMacro(Tr::tr("Adjust states"));
qreal maxw = selectedMaxWidth(); qreal maxw = selectedMaxWidth();
qreal maxh = selectedMaxHeight(); qreal maxh = selectedMaxHeight();
@@ -170,7 +171,7 @@ void GraphicsScene::adjustStates(int adjustType)
} }
void GraphicsScene::cut() void GraphicsScene::cut()
{ {
m_document->undoStack()->beginMacro(tr("Cut")); m_document->undoStack()->beginMacro(Tr::tr("Cut"));
copy(); copy();
removeSelectedItems(); removeSelectedItems();
m_document->undoStack()->endMacro(); m_document->undoStack()->endMacro();
@@ -180,7 +181,7 @@ void GraphicsScene::removeSelectedItems()
{ {
QVector<ScxmlTag*> tags = SceneUtils::findRemovedTags(m_baseItems); QVector<ScxmlTag*> tags = SceneUtils::findRemovedTags(m_baseItems);
if (!tags.isEmpty()) { if (!tags.isEmpty()) {
m_document->undoStack()->beginMacro(tr("Remove items")); m_document->undoStack()->beginMacro(Tr::tr("Remove items"));
// Then remove found tags // Then remove found tags
for (int i = tags.count(); i--;) { for (int i = tags.count(); i--;) {
@@ -346,7 +347,7 @@ void GraphicsScene::init()
void GraphicsScene::runLayoutToSelectedStates() void GraphicsScene::runLayoutToSelectedStates()
{ {
m_document->undoStack()->beginMacro(tr("Re-layout")); m_document->undoStack()->beginMacro(Tr::tr("Re-layout"));
QVector<BaseItem*> selectedItems; QVector<BaseItem*> selectedItems;
for (BaseItem *node : qAsConst(m_baseItems)) { for (BaseItem *node : qAsConst(m_baseItems)) {
@@ -625,7 +626,7 @@ ScxmlUiFactory *GraphicsScene::uiFactory() const
void GraphicsScene::addConnectableItem(ItemType type, const QPointF &pos, BaseItem *parentItem) void GraphicsScene::addConnectableItem(ItemType type, const QPointF &pos, BaseItem *parentItem)
{ {
m_document->undoStack()->beginMacro(tr("Add new state")); m_document->undoStack()->beginMacro(Tr::tr("Add new state"));
ConnectableItem *newItem = SceneUtils::createItem(type, pos); ConnectableItem *newItem = SceneUtils::createItem(type, pos);
if (newItem) { if (newItem) {

View File

@@ -2,6 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "idwarningitem.h" #include "idwarningitem.h"
#include "scxmleditortr.h"
#include <QGraphicsScene> #include <QGraphicsScene>
using namespace ScxmlEditor::PluginInterface; using namespace ScxmlEditor::PluginInterface;
@@ -10,9 +12,9 @@ IdWarningItem::IdWarningItem(QGraphicsItem *parent)
: WarningItem(parent) : WarningItem(parent)
{ {
setSeverity(OutputPane::Warning::ErrorType); setSeverity(OutputPane::Warning::ErrorType);
setTypeName(tr("State")); setTypeName(Tr::tr("State"));
setDescription(tr("Each state must have a unique ID.")); setDescription(Tr::tr("Each state must have a unique ID."));
setReason(tr("Missing ID.")); setReason(Tr::tr("Missing ID."));
setX(-boundingRect().width()); setX(-boundingRect().width());
} }
@@ -32,7 +34,7 @@ void IdWarningItem::setId(const QString &text)
// Check new id // Check new id
if (m_id.isEmpty()) { if (m_id.isEmpty()) {
setReason(tr("Missing ID.")); setReason(Tr::tr("Missing ID."));
setWarningActive(true); setWarningActive(true);
} else } else
checkDuplicates(m_id); checkDuplicates(m_id);
@@ -56,7 +58,7 @@ void IdWarningItem::checkDuplicates(const QString &id)
foundItems[0]->setWarningActive(false); foundItems[0]->setWarningActive(false);
} else { } else {
for (int i = 0; i < foundItems.count(); ++i) { for (int i = 0; i < foundItems.count(); ++i) {
foundItems[i]->setReason(tr("Duplicate ID (%1).").arg(id)); foundItems[i]->setReason(Tr::tr("Duplicate ID (%1).").arg(id));
foundItems[i]->setWarningActive(true); foundItems[i]->setWarningActive(true);
} }
} }

View File

@@ -1,9 +1,10 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "initialwarningitem.h"
#include "initialstateitem.h" #include "initialstateitem.h"
#include "initialwarningitem.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditortr.h"
using namespace ScxmlEditor::PluginInterface; using namespace ScxmlEditor::PluginInterface;
@@ -12,9 +13,9 @@ InitialWarningItem::InitialWarningItem(InitialStateItem *parent)
, m_parentItem(parent) , m_parentItem(parent)
{ {
setSeverity(OutputPane::Warning::ErrorType); setSeverity(OutputPane::Warning::ErrorType);
setTypeName(tr("Initial")); setTypeName(Tr::tr("Initial"));
setDescription(tr("One level can contain only one initial state.")); setDescription(Tr::tr("One level can contain only one initial state."));
setReason(tr("Too many initial states at the same level.")); setReason(Tr::tr("Too many initial states at the same level."));
} }
void InitialWarningItem::updatePos() void InitialWarningItem::updatePos()

View File

@@ -2,6 +2,8 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "quicktransitionitem.h" #include "quicktransitionitem.h"
#include "scxmleditortr.h"
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>
#include <QPainter> #include <QPainter>
@@ -100,7 +102,7 @@ void QuickTransitionItem::paint(QPainter *painter, const QStyleOptionGraphicsIte
painter->setPen(m_pen); painter->setPen(m_pen);
painter->setBrush(Qt::white); painter->setBrush(Qt::white);
painter->drawEllipse(m_stateRect.center(), 7, 7); painter->drawEllipse(m_stateRect.center(), 7, 7);
painter->drawText(m_stateRect, Qt::AlignCenter, tr("H")); painter->drawText(m_stateRect, Qt::AlignCenter, Tr::tr("H"));
break; break;
default: default:
break; break;

View File

@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scattributeitemmodel.h"
#include "mytypes.h" #include "mytypes.h"
#include "scattributeitemmodel.h"
#include "scxmleditortr.h"
#include <QBrush> #include <QBrush>
@@ -16,7 +17,7 @@ SCAttributeItemModel::SCAttributeItemModel(QObject *parent)
QVariant SCAttributeItemModel::headerData(int section, Qt::Orientation orientation, int role) const QVariant SCAttributeItemModel::headerData(int section, Qt::Orientation orientation, int role) const
{ {
if (orientation == Qt::Horizontal && role == Qt::DisplayRole) if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
return section == 0 ? tr("Name") : tr("Value"); return section == 0 ? Tr::tr("Name") : Tr::tr("Value");
return QVariant(); return QVariant();
} }
@@ -68,7 +69,7 @@ QVariant SCAttributeItemModel::data(const QModelIndex &index, int role) const
switch (role) { switch (role) {
case Qt::DisplayRole: case Qt::DisplayRole:
if (bExtraRow) if (bExtraRow)
return index.column() == 0 ? tr("- name -") : tr(" - value -"); return index.column() == 0 ? Tr::tr("- name -") : Tr::tr(" - value -");
Q_FALLTHROUGH(); Q_FALLTHROUGH();
case Qt::EditRole: { case Qt::EditRole: {
if (index.column() == 0) { if (index.column() == 0) {

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scshapeprovider.h" #include "scshapeprovider.h"
#include "scxmleditortr.h"
#include "scxmltag.h" #include "scxmltag.h"
#include <QDebug> #include <QDebug>
@@ -32,24 +33,24 @@ void SCShapeProvider::initGroups()
void SCShapeProvider::init() void SCShapeProvider::init()
{ {
ShapeGroup *group = addGroup(tr("Common States")); ShapeGroup *group = addGroup(Tr::tr("Common States"));
group->addShape(createShape(tr("Initial"), QIcon(":/scxmleditor/images/initial.png"), QStringList() << "scxml" group->addShape(createShape(Tr::tr("Initial"), QIcon(":/scxmleditor/images/initial.png"), QStringList() << "scxml"
<< "state" << "state"
<< "parallel", << "parallel",
"<initial/>")); "<initial/>"));
group->addShape(createShape(tr("Final"), QIcon(":/scxmleditor/images/final.png"), QStringList() << "scxml" group->addShape(createShape(Tr::tr("Final"), QIcon(":/scxmleditor/images/final.png"), QStringList() << "scxml"
<< "state" << "state"
<< "parallel", << "parallel",
"<final/>")); "<final/>"));
group->addShape(createShape(tr("State"), QIcon(":/scxmleditor/images/state.png"), QStringList() << "scxml" group->addShape(createShape(Tr::tr("State"), QIcon(":/scxmleditor/images/state.png"), QStringList() << "scxml"
<< "state" << "state"
<< "parallel", << "parallel",
"<state/>")); "<state/>"));
group->addShape(createShape(tr("Parallel"), QIcon(":/scxmleditor/images/parallel.png"), QStringList() << "scxml" group->addShape(createShape(Tr::tr("Parallel"), QIcon(":/scxmleditor/images/parallel.png"), QStringList() << "scxml"
<< "state" << "state"
<< "parallel", << "parallel",
"<parallel/>")); "<parallel/>"));
group->addShape(createShape(tr("History"), QIcon(":/scxmleditor/images/history.png"), QStringList() << "state" group->addShape(createShape(Tr::tr("History"), QIcon(":/scxmleditor/images/history.png"), QStringList() << "state"
<< "parallel", << "parallel",
"<history/>")); "<history/>"));
} }

View File

@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditortr.h"
#include "scxmlnamespace.h" #include "scxmlnamespace.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "undocommands.h" #include "undocommands.h"
@@ -236,16 +237,16 @@ void ScxmlDocument::initErrorMessage(const QXmlStreamReader &xml, QIODevice *io)
QString errorString; QString errorString;
switch (xml.error()) { switch (xml.error()) {
case QXmlStreamReader::Error::UnexpectedElementError: case QXmlStreamReader::Error::UnexpectedElementError:
errorString = tr("Unexpected element."); errorString = Tr::tr("Unexpected element.");
break; break;
case QXmlStreamReader::Error::NotWellFormedError: case QXmlStreamReader::Error::NotWellFormedError:
errorString = tr("Not well formed."); errorString = Tr::tr("Not well formed.");
break; break;
case QXmlStreamReader::Error::PrematureEndOfDocumentError: case QXmlStreamReader::Error::PrematureEndOfDocumentError:
errorString = tr("Premature end of document."); errorString = Tr::tr("Premature end of document.");
break; break;
case QXmlStreamReader::Error::CustomError: case QXmlStreamReader::Error::CustomError:
errorString = tr("Custom error."); errorString = Tr::tr("Custom error.");
break; break;
default: default:
break; break;
@@ -257,7 +258,7 @@ void ScxmlDocument::initErrorMessage(const QXmlStreamReader &xml, QIODevice *io)
io->readLine(); io->readLine();
lineString = QLatin1String(io->readLine()); lineString = QLatin1String(io->readLine());
m_lastError = tr("Error in reading XML.\nType: %1 (%2)\nDescription: %3\n\nRow: %4, Column: %5\n%6") m_lastError = Tr::tr("Error in reading XML.\nType: %1 (%2)\nDescription: %3\n\nRow: %4, Column: %5\n%6")
.arg(xml.error()) .arg(xml.error())
.arg(errorString) .arg(errorString)
.arg(xml.errorString()) .arg(xml.errorString())
@@ -273,18 +274,18 @@ bool ScxmlDocument::pasteData(const QByteArray &data, const QPointF &minPos, con
if (!m_currentTag) { if (!m_currentTag) {
m_hasError = true; m_hasError = true;
m_lastError = tr("Current tag is not selected."); m_lastError = Tr::tr("Current tag is not selected.");
return false; return false;
} }
if (data.trimmed().isEmpty()) { if (data.trimmed().isEmpty()) {
m_hasError = true; m_hasError = true;
m_lastError = tr("Pasted data is empty."); m_lastError = Tr::tr("Pasted data is empty.");
return false; return false;
} }
bool ok = true; bool ok = true;
m_undoStack->beginMacro(tr("Paste items")); m_undoStack->beginMacro(Tr::tr("Paste items"));
QByteArray d(data); QByteArray d(data);
QBuffer buffer(&d); QBuffer buffer(&d);
@@ -432,10 +433,10 @@ bool ScxmlDocument::save(const QString &fileName)
} }
file.close(); file.close();
if (!ok) if (!ok)
m_lastError = tr("Cannot save XML to the file %1.").arg(fileName); m_lastError = Tr::tr("Cannot save XML to the file %1.").arg(fileName);
} else { } else {
ok = false; ok = false;
m_lastError = tr("Cannot open file %1.").arg(fileName); m_lastError = Tr::tr("Cannot open file %1.").arg(fileName);
} }
return ok; return ok;
@@ -518,7 +519,7 @@ void ScxmlDocument::addTag(ScxmlTag *parent, ScxmlTag *child)
parent = rootTag(); parent = rootTag();
if (parent && child) { if (parent && child) {
m_undoStack->beginMacro(tr("Add Tag")); m_undoStack->beginMacro(Tr::tr("Add Tag"));
addTagRecursive(parent, child); addTagRecursive(parent, child);
m_undoStack->endMacro(); m_undoStack->endMacro();
} }
@@ -528,7 +529,7 @@ void ScxmlDocument::removeTag(ScxmlTag *tag)
{ {
if (tag && !m_undoRedoRunning) { if (tag && !m_undoRedoRunning) {
// Create undo/redo -macro, because state can includes lot of child-states // Create undo/redo -macro, because state can includes lot of child-states
m_undoStack->beginMacro(tr("Remove Tag")); m_undoStack->beginMacro(Tr::tr("Remove Tag"));
removeTagRecursive(tag); removeTagRecursive(tag);
m_undoStack->endMacro(); m_undoStack->endMacro();
} }

View File

@@ -1,9 +1,10 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmltag.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltag.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include <QCoreApplication> #include <QCoreApplication>
@@ -348,8 +349,7 @@ void ScxmlTag::setAttributeName(int ind, const QString &name)
m_attributeNames[ind] = name; m_attributeNames[ind] = name;
} else { } else {
m_attributeNames << name; m_attributeNames << name;
m_attributeValues << QCoreApplication::translate( m_attributeValues << Tr::tr("Unknown");
"SXCMLTag::UnknownAttributeValue", "Unknown");
} }
} }
@@ -358,8 +358,7 @@ void ScxmlTag::setAttribute(int ind, const QString &value)
if (ind >= 0 && ind < m_attributeNames.count()) if (ind >= 0 && ind < m_attributeNames.count())
setAttribute(m_attributeNames[ind], value); setAttribute(m_attributeNames[ind], value);
else { else {
m_attributeNames << QCoreApplication::translate( m_attributeNames << Tr::tr("Unknown");
"SXCMLTag::UnknownAttributeName", "Unknown");
m_attributeValues << value; m_attributeValues << value;
} }
} }
@@ -641,7 +640,7 @@ void ScxmlTag::readXml(QXmlStreamReader &xml, bool checkCopyId)
childTag->readXml(xml, checkCopyId); childTag->readXml(xml, checkCopyId);
} }
} else if (token == QXmlStreamReader::Invalid) { } else if (token == QXmlStreamReader::Invalid) {
qDebug() << ScxmlTag::tr("Error in reading XML ") << xml.error() << ":" qDebug() << Tr::tr("Error in reading XML ") << xml.error() << ":"
<< xml.errorString(); << xml.errorString();
break; break;
} }

View File

@@ -1,9 +1,10 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmltagutils.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h"
#include "serializer.h" #include "serializer.h"
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
@@ -55,20 +56,20 @@ void createChildMenu(const ScxmlTag *tag, QMenu *menu, bool addRemove)
if (tag->tagType() == UnknownTag) { if (tag->tagType() == UnknownTag) {
data[Constants::C_SCXMLTAG_TAGTYPE] = UnknownTag; data[Constants::C_SCXMLTAG_TAGTYPE] = UnknownTag;
menu->addAction(ScxmlTag::tr("New Tag"))->setData(data); menu->addAction(Tr::tr("New Tag"))->setData(data);
} else if (tag->tagType() == Metadata) { } else if (tag->tagType() == Metadata) {
data[Constants::C_SCXMLTAG_TAGTYPE] = MetadataItem; data[Constants::C_SCXMLTAG_TAGTYPE] = MetadataItem;
menu->addAction(ScxmlTag::tr("Item"))->setData(data); menu->addAction(Tr::tr("Item"))->setData(data);
} else { } else {
data[Constants::C_SCXMLTAG_PARENTTAG] = Metadata; data[Constants::C_SCXMLTAG_PARENTTAG] = Metadata;
data[Constants::C_SCXMLTAG_TAGTYPE] = MetadataItem; data[Constants::C_SCXMLTAG_TAGTYPE] = MetadataItem;
menu->addAction(ScxmlTag::tr("Metadata"))->setData(data); menu->addAction(Tr::tr("Metadata"))->setData(data);
} }
if (addRemove) { if (addRemove) {
menu->addSeparator(); menu->addSeparator();
data[Constants::C_SCXMLTAG_ACTIONTYPE] = Remove; data[Constants::C_SCXMLTAG_ACTIONTYPE] = Remove;
QAction *act = menu->addAction(ScxmlTag::tr("Remove")); QAction *act = menu->addAction(Tr::tr("Remove"));
act->setData(data); act->setData(data);
act->setEnabled(!tag->isRootTag()); act->setEnabled(!tag->isRootTag());
} }

View File

@@ -1,9 +1,10 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmluifactory.h"
#include "genericscxmlplugin.h" #include "genericscxmlplugin.h"
#include "isceditor.h" #include "isceditor.h"
#include "scxmleditortr.h"
#include "scxmluifactory.h"
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>
@@ -90,10 +91,10 @@ void ScxmlUiFactory::initPlugins()
if (instance) { if (instance) {
auto scEditorInstance = qobject_cast<ISCEditor*>(instance); auto scEditorInstance = qobject_cast<ISCEditor*>(instance);
if (scEditorInstance) { if (scEditorInstance) {
qDebug() << tr("Created editor-instance."); qDebug() << Tr::tr("Created editor-instance.");
m_plugins << scEditorInstance; m_plugins << scEditorInstance;
} else { } else {
qWarning() << tr("Editor-instance is not of the type ISCEditor."); qWarning() << Tr::tr("Editor-instance is not of the type ISCEditor.");
loader.unload(); loader.unload();
} }
} }

View File

@@ -1,7 +1,6 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "stateitem.h"
#include "finalstateitem.h" #include "finalstateitem.h"
#include "graphicsitemprovider.h" #include "graphicsitemprovider.h"
#include "graphicsscene.h" #include "graphicsscene.h"
@@ -11,8 +10,10 @@
#include "parallelitem.h" #include "parallelitem.h"
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "stateitem.h"
#include "statewarningitem.h" #include "statewarningitem.h"
#include "textitem.h" #include "textitem.h"
#include "transitionitem.h" #include "transitionitem.h"
@@ -279,15 +280,15 @@ void StateItem::createContextMenu(QMenu *menu)
QVariantMap data; QVariantMap data;
if (!m_parallelState) { if (!m_parallelState) {
data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::SetAsInitial; data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::SetAsInitial;
menu->addAction(tr("Set as Initial"))->setData(data); menu->addAction(Tr::tr("Set as Initial"))->setData(data);
} }
data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::ZoomToState; data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::ZoomToState;
menu->addAction(tr("Zoom to State"))->setData(data); menu->addAction(Tr::tr("Zoom to State"))->setData(data);
if (type() == ParallelType) { if (type() == ParallelType) {
data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::Relayout; data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::Relayout;
menu->addAction(tr("Re-Layout"))->setData(data); menu->addAction(Tr::tr("Re-Layout"))->setData(data);
} }
menu->addSeparator(); menu->addSeparator();
@@ -310,7 +311,7 @@ void StateItem::selectedMenuAction(const QAction *action)
case TagUtils::SetAsInitial: { case TagUtils::SetAsInitial: {
ScxmlTag *parentTag = tag->parentTag(); ScxmlTag *parentTag = tag->parentTag();
if (parentTag) { if (parentTag) {
document->undoStack()->beginMacro(tr("Change initial state")); document->undoStack()->beginMacro(Tr::tr("Change initial state"));
ScxmlTag *initialTag = parentTag->child("initial"); ScxmlTag *initialTag = parentTag->child("initial");
if (initialTag) { if (initialTag) {
@@ -331,7 +332,7 @@ void StateItem::selectedMenuAction(const QAction *action)
break; break;
} }
case TagUtils::Relayout: { case TagUtils::Relayout: {
document->undoStack()->beginMacro(tr("Re-Layout")); document->undoStack()->beginMacro(Tr::tr("Re-Layout"));
doLayout(depth()); doLayout(depth());
document->undoStack()->endMacro(); document->undoStack()->endMacro();
break; break;

View File

@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "statewarningitem.h"
#include "idwarningitem.h" #include "idwarningitem.h"
#include "scxmleditortr.h"
#include "statewarningitem.h"
#include <utils/utilsicons.h> #include <utils/utilsicons.h>
@@ -12,11 +13,11 @@ StateWarningItem::StateWarningItem(StateItem *parent)
: WarningItem(parent) : WarningItem(parent)
{ {
setSeverity(OutputPane::Warning::InfoType); setSeverity(OutputPane::Warning::InfoType);
setTypeName(tr("State")); setTypeName(Tr::tr("State"));
setDescription(tr("Draw some transitions to state.")); setDescription(Tr::tr("Draw some transitions to state."));
setPixmap(Utils::Icons::WARNING.pixmap()); setPixmap(Utils::Icons::WARNING.pixmap());
setReason(tr("No input connection.")); setReason(Tr::tr("No input connection."));
} }
void StateWarningItem::setIdWarning(IdWarningItem *idwarning) void StateWarningItem::setIdWarning(IdWarningItem *idwarning)
@@ -34,16 +35,16 @@ void StateWarningItem::check()
bool inputProblem = !m_parentItem->isInitial() && !m_parentItem->hasInputTransitions(m_parentItem, true); bool inputProblem = !m_parentItem->isInitial() && !m_parentItem->hasInputTransitions(m_parentItem, true);
if (outputProblem && inputProblem) { if (outputProblem && inputProblem) {
setReason(tr("No input or output connections (%1).").arg(m_parentItem->itemId())); setReason(Tr::tr("No input or output connections (%1).").arg(m_parentItem->itemId()));
setDescription(tr("Draw some transitions to or from state.")); setDescription(Tr::tr("Draw some transitions to or from state."));
setWarningActive(true); setWarningActive(true);
} else if (outputProblem) { } else if (outputProblem) {
setReason(tr("No output connections (%1).").arg(m_parentItem->itemId())); setReason(Tr::tr("No output connections (%1).").arg(m_parentItem->itemId()));
setDescription(tr("Draw some transitions from state.")); setDescription(Tr::tr("Draw some transitions from state."));
setWarningActive(true); setWarningActive(true);
} else if (inputProblem) { } else if (inputProblem) {
setReason(tr("No input connections (%1).").arg(m_parentItem->itemId())); setReason(Tr::tr("No input connections (%1).").arg(m_parentItem->itemId()));
setDescription(tr("Draw some transitions to state.")); setDescription(Tr::tr("Draw some transitions to state."));
setWarningActive(true); setWarningActive(true);
} else } else
setWarningActive(false); setWarningActive(false);

View File

@@ -1,7 +1,6 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "transitionitem.h"
#include "connectableitem.h" #include "connectableitem.h"
#include "cornergrabberitem.h" #include "cornergrabberitem.h"
#include "finalstateitem.h" #include "finalstateitem.h"
@@ -11,11 +10,13 @@
#include "sceneutils.h" #include "sceneutils.h"
#include "scxmldocument.h" #include "scxmldocument.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditortr.h"
#include "scxmltagutils.h" #include "scxmltagutils.h"
#include "scxmluifactory.h" #include "scxmluifactory.h"
#include "serializer.h" #include "serializer.h"
#include "stateitem.h" #include "stateitem.h"
#include "tagtextitem.h" #include "tagtextitem.h"
#include "transitionitem.h"
#include <QBrush> #include <QBrush>
#include <QDebug> #include <QDebug>
@@ -395,7 +396,7 @@ void TransitionItem::createContextMenu(QMenu *menu)
if (m_selectedGrabberIndex > 0) { if (m_selectedGrabberIndex > 0) {
data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::RemovePoint; data[Constants::C_SCXMLTAG_ACTIONTYPE] = TagUtils::RemovePoint;
data["cornerIndex"] = m_selectedGrabberIndex; data["cornerIndex"] = m_selectedGrabberIndex;
menu->addAction(tr("Remove Point"))->setData(data); menu->addAction(Tr::tr("Remove Point"))->setData(data);
} }
menu->addSeparator(); menu->addSeparator();

View File

@@ -1,8 +1,9 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "transitionwarningitem.h" #include "scxmleditortr.h"
#include "transitionitem.h" #include "transitionitem.h"
#include "transitionwarningitem.h"
#include <utils/utilsicons.h> #include <utils/utilsicons.h>
@@ -13,8 +14,8 @@ TransitionWarningItem::TransitionWarningItem(TransitionItem *parent)
, m_parentItem(parent) , m_parentItem(parent)
{ {
setSeverity(OutputPane::Warning::WarningType); setSeverity(OutputPane::Warning::WarningType);
setTypeName(tr("Transition")); setTypeName(Tr::tr("Transition"));
setDescription(tr("Transitions should be connected.")); setDescription(Tr::tr("Transitions should be connected."));
setPixmap(Utils::Icons::WARNING.pixmap()); setPixmap(Utils::Icons::WARNING.pixmap());
} }
@@ -23,7 +24,7 @@ void TransitionWarningItem::check()
{ {
if (m_parentItem) { if (m_parentItem) {
if (m_parentItem->targetType() == TransitionItem::ExternalNoTarget) { if (m_parentItem->targetType() == TransitionItem::ExternalNoTarget) {
setReason(tr("Not connected (%1).").arg(m_parentItem->tagValue("event"))); setReason(Tr::tr("Not connected (%1).").arg(m_parentItem->tagValue("event")));
setWarningActive(true); setWarningActive(true);
} else } else
setWarningActive(false); setWarningActive(false);

View File

@@ -1,11 +1,12 @@
// Copyright (C) 2016 The Qt Company Ltd. // Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#include "scxmleditordata.h"
#include "mainwidget.h" #include "mainwidget.h"
#include "scxmleditorconstants.h" #include "scxmleditorconstants.h"
#include "scxmleditordata.h"
#include "scxmleditordocument.h" #include "scxmleditordocument.h"
#include "scxmleditorstack.h" #include "scxmleditorstack.h"
#include "scxmleditortr.h"
#include "scxmltexteditor.h" #include "scxmltexteditor.h"
#include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actionmanager.h>
@@ -110,11 +111,11 @@ void ScxmlEditorData::fullInit()
m_undoGroup = new QUndoGroup(m_widgetToolBar); m_undoGroup = new QUndoGroup(m_widgetToolBar);
m_undoAction = m_undoGroup->createUndoAction(m_widgetToolBar); m_undoAction = m_undoGroup->createUndoAction(m_widgetToolBar);
m_undoAction->setIcon(Utils::Icons::UNDO_TOOLBAR.icon()); m_undoAction->setIcon(Utils::Icons::UNDO_TOOLBAR.icon());
m_undoAction->setToolTip(tr("Undo (Ctrl + Z)")); m_undoAction->setToolTip(Tr::tr("Undo (Ctrl + Z)"));
m_redoAction = m_undoGroup->createRedoAction(m_widgetToolBar); m_redoAction = m_undoGroup->createRedoAction(m_widgetToolBar);
m_redoAction->setIcon(Utils::Icons::REDO_TOOLBAR.icon()); m_redoAction->setIcon(Utils::Icons::REDO_TOOLBAR.icon());
m_redoAction->setToolTip(tr("Redo (Ctrl + Y)")); m_redoAction->setToolTip(Tr::tr("Redo (Ctrl + Y)"));
ActionManager::registerAction(m_undoAction, Core::Constants::UNDO, m_contexts); ActionManager::registerAction(m_undoAction, Core::Constants::UNDO, m_contexts);
ActionManager::registerAction(m_redoAction, Core::Constants::REDO, m_contexts); ActionManager::registerAction(m_redoAction, Core::Constants::REDO, m_contexts);
@@ -140,8 +141,8 @@ IEditor *ScxmlEditorData::createEditor()
if (xmlEditor) { if (xmlEditor) {
Utils::InfoBarEntry info(Id(Constants::INFO_READ_ONLY), Utils::InfoBarEntry info(Id(Constants::INFO_READ_ONLY),
tr("This file can only be edited in <b>Design</b> mode.")); Tr::tr("This file can only be edited in <b>Design</b> mode."));
info.addCustomButton(tr("Switch Mode"), []() { ModeManager::activateMode(Core::Constants::MODE_DESIGN); }); info.addCustomButton(Tr::tr("Switch Mode"), []() { ModeManager::activateMode(Core::Constants::MODE_DESIGN); });
xmlEditor->document()->infoBar()->addInfo(info); xmlEditor->document()->infoBar()->addInfo(info);
} }