From ab36ba8db65875638ffcbe478fcfa673c4d97f3c Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 15 Jun 2020 11:05:21 +0300 Subject: [PATCH] Fix the error message text due to the issue #19209 : General problem of dumping a 9.4.0 study --- src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py | 2 +- src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py index 30be5591d..d75dd6a52 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py @@ -83,7 +83,7 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature): aPartRes = ModelAPI.modelAPI_ResultPart(ModelAPI.modelAPI_Result(aPartObject)) aPartDoc = aPartRes.partDoc() if aPartDoc is None and aPartObject is not None: - EventsAPI.Events_InfoMessage("PublishToStudy", "For publish to SHAPER-STUDY some Part is not activated", self).send() + EventsAPI.Events_InfoMessage("PublishToStudy", "To publish to SHAPER-STUDY, activate Parts in SHAPER", self).send() break aPartFeatureId = aPartSet.feature(aPartRes).data().featureId() # Collects all features of exported results to find results of the same features and extend id. diff --git a/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts b/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts index 5182d5134..f063a15b6 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts +++ b/src/ConnectorPlugin/ConnectorPlugin_msg_fr.ts @@ -23,8 +23,8 @@ Toutes les pièces de l'assemblage ne sont pas à jour, rien n'est publié. Veuillez mettre la dernière fonctionnalité à jour. - For publish to SHAPER-STUDY some Part is not activated - Pour la publication sur SHAPER-STUDY, une pièce n'est pas activée + To publish to SHAPER-STUDY, activate Parts in SHAPER + Pour publier dans SHAPER-STUDY, activez les pièces dans SHAPER -- 2.39.2