named the clip/block parameters added a few commits ago

This commit is contained in:
itsmattkc
2019-12-15 02:34:13 +11:00
parent be3ff4bcea
commit 5b85303b2b
4 changed files with 19 additions and 0 deletions
+8
View File
@@ -218,3 +218,11 @@ bool Block::IsBlock() const
return true;
}
void Block::Retranslate()
{
Node::Retranslate();
length_input_->set_name(tr("Length"));
media_in_input_->set_name(tr("Media In"));
}
+2
View File
@@ -79,6 +79,8 @@ public:
virtual bool IsBlock() const override;
virtual void Retranslate() override;
public slots:
signals:
+7
View File
@@ -100,3 +100,10 @@ NodeValueTable ClipBlock::Value(const NodeValueDatabase &value) const
return table;
}
void ClipBlock::Retranslate()
{
Block::Retranslate();
texture_input_->set_name(tr("Buffer"));
}
+2
View File
@@ -48,6 +48,8 @@ public:
virtual NodeValueTable Value(const NodeValueDatabase& value) const override;
virtual void Retranslate() override;
private:
NodeInput* texture_input_;