Fix typo; Refresh translation; Update zh-CN translation (#267)
* Fix typos found by codespell * redotool: Mark description string as translatable * Refresh translation; Update zh_CN translation again
This commit is contained in:
@@ -136,7 +136,7 @@ void UIcolorEditor::initButtons() {
|
||||
this, &UIcolorEditor::changeLastButton);
|
||||
connect(m_buttonContrast, &CaptureButton::pressedButton,
|
||||
this, &UIcolorEditor::changeLastButton);
|
||||
// clicking the labels chages the button too
|
||||
// clicking the labels changes the button too
|
||||
connect(m_labelMain, &ClickableLabel::clicked,
|
||||
this, [this]{ changeLastButton(m_buttonMainColor); });
|
||||
connect(m_labelContrast, &ClickableLabel::clicked,
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
|
||||
// revert changes
|
||||
virtual void undo(QPixmap &pixmap) = 0;
|
||||
// Called everytime the tool has to draw
|
||||
// Called every time the tool has to draw
|
||||
// recordUndo indicates when the tool should save the information
|
||||
// for the undo(), if the value is false calling undo() after
|
||||
// that process should not modify revert the changes.
|
||||
|
||||
@@ -39,7 +39,7 @@ QString RedoTool::nameID() {
|
||||
}
|
||||
|
||||
QString RedoTool::description() const {
|
||||
return "Redo the next modification";
|
||||
return tr("Redo the next modification");
|
||||
}
|
||||
|
||||
CaptureTool* RedoTool::copy(QObject *parent) {
|
||||
|
||||
@@ -112,7 +112,7 @@ void ButtonHandler::updatePosition(const QRect &selection) {
|
||||
elemsAtCorners -= elemCornersTop;
|
||||
int elemCornersBotton = qBound(0, elemsAtCorners, maxExtra);
|
||||
|
||||
// Add buttons at the botton of the seletion
|
||||
// Add buttons at the button of the seletion
|
||||
if (!m_blockedBotton) {
|
||||
int addCounter = buttonsPerRow + elemCornersBotton;
|
||||
// Don't add more than we have
|
||||
|
||||
Reference in New Issue
Block a user