[vlmc-devel] Commands::Effect : Implement retranslate()
Yikai Lu
git at videolan.org
Thu Jun 30 16:33:11 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Thu Jun 30 17:56:36 2016 +0900| [0ec6f68a610e1f56691151e180fe05df0cd60043] | committer: Yikai Lu
Commands::Effect : Implement retranslate()
> https://code.videolan.org/videolan/vlmc/commit/0ec6f68a610e1f56691151e180fe05df0cd60043
---
src/Commands/Commands.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/Commands/Commands.cpp b/src/Commands/Commands.cpp
index 4e37e91..1228843 100644
--- a/src/Commands/Commands.cpp
+++ b/src/Commands/Commands.cpp
@@ -281,7 +281,7 @@ Commands::Effect::Add::Add( std::shared_ptr<EffectHelper> const& helper, Backend
void
Commands::Effect::Add::retranslate()
{
- // setText( tr( "Adding effect %1" ).arg( m_helper->effectInstance()->effect()->name() ) );
+ setText( tr( "Adding effect %1" ).arg( QString::fromStdString( m_helper->filterInfo()->name() ) ) );
}
void
@@ -312,7 +312,7 @@ Commands::Effect::Move::Move( std::shared_ptr<EffectHelper> const& helper, std::
void
Commands::Effect::Move::retranslate()
{
- // setText( tr( "Moving effect %1" ).arg( m_helper->effectInstance()->effect()->name() ) );
+ setText( tr( "Moving effect %1" ).arg( QString::fromStdString( m_helper->filterInfo()->name() ) ) );
}
void
@@ -355,7 +355,7 @@ Commands::Effect::Resize::Resize( std::shared_ptr<EffectHelper> const& helper, q
void
Commands::Effect::Resize::retranslate()
{
- // setText( tr( "Resizing effect %1" ).arg( m_helper->effectInstance()->effect()->name() ) );
+ setText( tr( "Resizing effect %1" ).arg( QString::fromStdString( m_helper->filterInfo()->name() ) ) );
}
void
@@ -380,7 +380,7 @@ Commands::Effect::Remove::Remove( std::shared_ptr<EffectHelper> const& helper )
void
Commands::Effect::Remove::retranslate()
{
- // setText( tr( "Deleting effect %1" ).arg( m_helper->effectInstance()->effect()->name() ) );
+ setText( tr( "Deleting effect %1" ).arg( QString::fromStdString( m_helper->filterInfo()->name() ) ) );
}
void
More information about the Vlmc-devel
mailing list