Crowdin: remove obsolete translation manually [skip ci]
For some reason updatets.py is not successfully removing obsolete translations. This is a long standing issue. The workaround is to manually remove them from the .ts file. ref: https://forum.freecadweb.org/viewtopic.php?f=21&t=51825&p=483474#p482519 crowdin: https://crowdin.com/translate/freecad/7254/en-pl?filter=basic&value=0#6572886
This commit is contained in:
@@ -149,7 +149,7 @@ QString checkStatusToString(const int &index)
|
||||
}
|
||||
if (index > 33 || index < 0)
|
||||
{
|
||||
QString message(QObject::tr("Out Of Enum Range:") + " ");
|
||||
QString message(QObject::tr("Out Of Enum Range:") + QString::fromLatin1(" "));
|
||||
QString number;
|
||||
number.setNum(index);
|
||||
message += number;
|
||||
|
||||
@@ -6545,34 +6545,30 @@ void ViewProviderSketch::UpdateSolverInformation()
|
||||
else if (dofs < 0) { // over-constrained sketch
|
||||
std::string msg;
|
||||
SketchObject::appendConflictMsg(getSketchObject()->getLastConflicting(), msg);
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1<a href=\"#conflicting\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1 <a href=\"#conflicting\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
.arg(tr("Over-constrained sketch"))
|
||||
.arg(" ")
|
||||
.arg(tr("(click to select)"))
|
||||
.arg(QString::fromStdString(msg)));
|
||||
signalSolved(QString());
|
||||
}
|
||||
else if (hasMalformed) { // malformed constraints
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1<a href=\"#malformed\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1 <a href=\"#malformed\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
.arg(tr("Sketch contains malformed constraints"))
|
||||
.arg(" ")
|
||||
.arg(tr("(click to select)"))
|
||||
.arg(appendMalformedMsg(getSketchObject()->getLastMalformedConstraints())));
|
||||
signalSolved(QString());
|
||||
}
|
||||
else if (hasConflicts) { // conflicting constraints
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1<a href=\"#conflicting\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
signalSetUp(QString::fromLatin1("<font color='red'>%1 <a href=\"#conflicting\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
.arg(tr("Sketch contains conflicting constraints"))
|
||||
.arg(" ")
|
||||
.arg(tr("(click to select)"))
|
||||
.arg(appendConflictMsg(getSketchObject()->getLastConflicting())));
|
||||
signalSolved(QString());
|
||||
}
|
||||
else {
|
||||
if (hasRedundancies) { // redundant constraints
|
||||
signalSetUp(QString::fromLatin1("<font color='orangered'>%1<a href=\"#redundant\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
signalSetUp(QString::fromLatin1("<font color='orangered'>%1 <a href=\"#redundant\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</font><br/>")
|
||||
.arg(tr("Sketch contains redundant constraints"))
|
||||
.arg(" ")
|
||||
.arg(tr("(click to select)"))
|
||||
.arg(appendRedundantMsg(getSketchObject()->getLastRedundant())));
|
||||
}
|
||||
@@ -6580,9 +6576,8 @@ void ViewProviderSketch::UpdateSolverInformation()
|
||||
QString partiallyRedundantString;
|
||||
|
||||
if(hasPartiallyRedundant) {
|
||||
partiallyRedundantString = QString::fromLatin1("<br/><font color='royalblue'><span style=\"background-color: #ececec;\">%1<a href=\"#partiallyredundant\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</span></font><br/>")
|
||||
partiallyRedundantString = QString::fromLatin1("<br/><font color='royalblue'><span style=\"background-color: #ececec;\">%1 <a href=\"#partiallyredundant\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%2</span></a><br/>%3</span></font><br/>")
|
||||
.arg(tr("Sketch contains partially redundant constraints"))
|
||||
.arg(" ")
|
||||
.arg(tr("(click to select)"))
|
||||
.arg(appendPartiallyRedundantMsg(getSketchObject()->getLastPartiallyRedundant()));
|
||||
}
|
||||
|
||||
@@ -343,11 +343,6 @@
|
||||
<source>An optional image to display as background</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgStartPreferences.ui" line="289"/>
|
||||
<source>If this is checked, if a style sheet is specified in General preferences, it will be used and override the colors below</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../DlgStartPreferences.ui" line="308"/>
|
||||
<source>Page background color</source>
|
||||
|
||||
Reference in New Issue
Block a user