Fix missed strings for UI consistency
Fix ellipsis rendering
This commit is contained in:
committed by
Chris Hennes
parent
2eeff96e99
commit
1850c5dc0f
@@ -306,7 +306,7 @@ private:
|
||||
Mesh::Feature* pcFeature = pcDoc->addObject<Mesh::Feature>(name);
|
||||
Mesh::MeshObject* mo = pMesh->getMeshObjectPtr();
|
||||
if (!mo) {
|
||||
throw Py::Exception(PyExc_ReferenceError, "object doesn't reference a valid mesh");
|
||||
throw Py::Exception(PyExc_ReferenceError, "object does not reference a valid mesh");
|
||||
}
|
||||
// copy the data
|
||||
pcFeature->Mesh.setValue(*mo);
|
||||
|
||||
@@ -345,7 +345,7 @@ void CmdMeshImport::activated(int)
|
||||
|
||||
// Allow multi selection
|
||||
QStringList fn = Gui::FileDialog::getOpenFileNames(Gui::getMainWindow(),
|
||||
QObject::tr("Import mesh"),
|
||||
QObject::tr("Import Mesh"),
|
||||
QString(),
|
||||
filter.join(QLatin1String(";;")));
|
||||
for (const auto& it : fn) {
|
||||
@@ -420,7 +420,7 @@ void CmdMeshExport::activated(int)
|
||||
|
||||
QString format;
|
||||
QString fn = Gui::FileDialog::getSaveFileName(Gui::getMainWindow(),
|
||||
QObject::tr("Export mesh"),
|
||||
QObject::tr("Export Mesh"),
|
||||
dir,
|
||||
filter.join(QLatin1String(";;")),
|
||||
&format);
|
||||
@@ -456,7 +456,7 @@ CmdMeshFromGeometry::CmdMeshFromGeometry()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Mesh From Geometry…");
|
||||
sMenuText = QT_TR_NOOP("Mesh From Geometry");
|
||||
sToolTipText = QT_TR_NOOP("Creates a mesh from the selected geometry");
|
||||
sWhatsThis = "Mesh_FromGeometry";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -527,7 +527,7 @@ CmdMeshFromPartShape::CmdMeshFromPartShape()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Mesh From Shape…");
|
||||
sMenuText = QT_TR_NOOP("Mesh From Shape");
|
||||
sToolTipText = QT_TR_NOOP("Tessellates the selected shape to a mesh");
|
||||
sWhatsThis = "Mesh_FromPartShape";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -952,7 +952,7 @@ CmdMeshCrossSections::CmdMeshCrossSections()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Cross-Sections…");
|
||||
sMenuText = QT_TR_NOOP("Cross-Sections");
|
||||
sToolTipText = QT_TR_NOOP("Creates cross-sections of the mesh");
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Mesh_CrossSections";
|
||||
@@ -1039,7 +1039,7 @@ CmdMeshEvaluation::CmdMeshEvaluation()
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
// needs two ampersands to display one
|
||||
sMenuText = QT_TR_NOOP("Evaluate and Repair…");
|
||||
sMenuText = QT_TR_NOOP("Evaluate and Repair");
|
||||
sToolTipText = QT_TR_NOOP("Opens a dialog to analyze and repair a mesh");
|
||||
sWhatsThis = "Mesh_Evaluation";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1129,7 +1129,7 @@ CmdMeshRemoveComponents::CmdMeshRemoveComponents()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Remove Components…");
|
||||
sMenuText = QT_TR_NOOP("Remove Components");
|
||||
sToolTipText = QT_TR_NOOP("Removes topologically independent components from the mesh");
|
||||
sWhatsThis = "Mesh_RemoveComponents";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1177,7 +1177,7 @@ CmdMeshRemeshGmsh::CmdMeshRemeshGmsh()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Refinement…");
|
||||
sMenuText = QT_TR_NOOP("Refinement");
|
||||
sToolTipText = QT_TR_NOOP("Refines an existing mesh");
|
||||
sStatusTip = sToolTipText;
|
||||
sWhatsThis = "Mesh_RemeshGmsh";
|
||||
@@ -1211,7 +1211,7 @@ CmdMeshRemoveCompByHand::CmdMeshRemoveCompByHand()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Remove Components Manually…");
|
||||
sMenuText = QT_TR_NOOP("Remove Components Manually");
|
||||
sToolTipText = QT_TR_NOOP("Marks a component to remove it from the mesh");
|
||||
sWhatsThis = "Mesh_RemoveCompByHand";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1299,7 +1299,7 @@ CmdMeshSmoothing::CmdMeshSmoothing()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Smooth…");
|
||||
sMenuText = QT_TR_NOOP("Smooth");
|
||||
sToolTipText = QT_TR_NOOP("Smoothes the selected meshes");
|
||||
sWhatsThis = "Mesh_Smoothing";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1328,7 +1328,7 @@ CmdMeshDecimating::CmdMeshDecimating()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Decimate…");
|
||||
sMenuText = QT_TR_NOOP("Decimate");
|
||||
sToolTipText = QT_TR_NOOP("Decimates a mesh");
|
||||
sWhatsThis = "Mesh_Decimating";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1432,7 +1432,7 @@ CmdMeshBoundingBox::CmdMeshBoundingBox()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Boundings Info…");
|
||||
sMenuText = QT_TR_NOOP("Boundings Info");
|
||||
sToolTipText = QT_TR_NOOP("Shows the boundings of the selected mesh");
|
||||
sWhatsThis = "Mesh_BoundingBox";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1484,7 +1484,7 @@ CmdMeshBuildRegularSolid::CmdMeshBuildRegularSolid()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Regular Solid…");
|
||||
sMenuText = QT_TR_NOOP("Regular Solid");
|
||||
sToolTipText = QT_TR_NOOP("Builds a regular solid");
|
||||
sWhatsThis = "Mesh_BuildRegularSolid";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1516,7 +1516,7 @@ CmdMeshFillupHoles::CmdMeshFillupHoles()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Fill Holes…");
|
||||
sMenuText = QT_TR_NOOP("Fill Holes");
|
||||
sToolTipText = QT_TR_NOOP("Fills holes in the mesh");
|
||||
sWhatsThis = "Mesh_FillupHoles";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1614,7 +1614,7 @@ CmdMeshSegmentation::CmdMeshSegmentation()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Segmentation…");
|
||||
sMenuText = QT_TR_NOOP("Segmentation");
|
||||
sToolTipText = QT_TR_NOOP("Creates new mesh segments from the mesh");
|
||||
sWhatsThis = "Mesh_Segmentation";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1650,7 +1650,7 @@ CmdMeshSegmentationBestFit::CmdMeshSegmentationBestFit()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Segmentation From Best-Fit Surfaces…");
|
||||
sMenuText = QT_TR_NOOP("Segmentation From Best-Fit Surfaces");
|
||||
sToolTipText = QT_TR_NOOP("Creates new mesh segments from the best-fit surfaces");
|
||||
sWhatsThis = "Mesh_SegmentationBestFit";
|
||||
sStatusTip = sToolTipText;
|
||||
@@ -1779,7 +1779,7 @@ CmdMeshScale::CmdMeshScale()
|
||||
{
|
||||
sAppModule = "Mesh";
|
||||
sGroup = QT_TR_NOOP("Mesh");
|
||||
sMenuText = QT_TR_NOOP("Scale…");
|
||||
sMenuText = QT_TR_NOOP("Scale");
|
||||
sToolTipText = QT_TR_NOOP("Scales the selected mesh objects");
|
||||
sWhatsThis = "Mesh_Scale";
|
||||
sStatusTip = sToolTipText;
|
||||
|
||||
@@ -138,7 +138,7 @@ DlgEvaluateMeshImp::DlgEvaluateMeshImp(QWidget* parent, Qt::WindowFlags fl)
|
||||
d->showFoldsFunction(d->enableFoldsCheck);
|
||||
|
||||
QPushButton* button = d->ui.buttonBox->button(QDialogButtonBox::Open);
|
||||
button->setText(tr("Settings…"));
|
||||
button->setText(tr("Settings"));
|
||||
|
||||
// try to attach to the active document
|
||||
this->onRefreshButtonClicked();
|
||||
@@ -1176,7 +1176,7 @@ void DlgEvaluateMeshImp::onRepairAllTogetherClicked()
|
||||
const char* docName = App::GetApplication().getDocumentName(d->meshFeature->getDocument());
|
||||
const char* objName = d->meshFeature->getNameInDocument();
|
||||
Gui::Document* doc = Gui::Application::Instance->getDocument(docName);
|
||||
doc->openCommand(QT_TRANSLATE_NOOP("Command", "Repair mesh"));
|
||||
doc->openCommand(QT_TRANSLATE_NOOP("Command", "Repair Mesh"));
|
||||
|
||||
bool run = false;
|
||||
bool self = true;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="planeParameters">
|
||||
<property name="text">
|
||||
<string>Parameters…</string>
|
||||
<string>Parameters</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -79,7 +79,7 @@
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="cylinderParameters">
|
||||
<property name="text">
|
||||
<string>Parameters…</string>
|
||||
<string>Parameters</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -132,7 +132,7 @@
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="sphereParameters">
|
||||
<property name="text">
|
||||
<string>Parameters…</string>
|
||||
<string>Parameters</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user