[vlc-devel] commit: i18n: Fix (Christophe Mutricy )
git version control
git at videolan.org
Wed Feb 4 00:07:35 CET 2009
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Tue Feb 3 22:32:02 2009 +0000| [4eb5aa9f62b500f41dc7ac131f6d1202ee50029f] | committer: Christophe Mutricy
i18n: Fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4eb5aa9f62b500f41dc7ac131f6d1202ee50029f
---
modules/gui/qt4/dialogs_provider.cpp | 2 +-
modules/gui/qt4/menus.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index e314df6..c4485d5 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -573,7 +573,7 @@ void DialogsProvider::streamingDialog( QWidget *parent, QString mrl,
const char *psz_option = qtu( s->getMrl() );
msg_Dbg( p_intf, "Sout mrl %s", psz_option );
- playlist_AddExt( THEPL, qtu( mrl ), "Streaming",
+ playlist_AddExt( THEPL, qtu( mrl ), _("Streaming"),
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END,
-1, 1, &psz_option, VLC_INPUT_OPTION_TRUSTED, true, pl_Unlocked );
RecentsMRL::getInstance( p_intf )->addRecent( mrl );
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 0d16434..5630f16 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1329,7 +1329,7 @@ void QVLCMenu::updateRecents( intf_thread_t *p_intf )
recentsMenu->clear();
if( !l.size() )
{
- action = recentsMenu->addAction( " - Empty - " );
+ action = recentsMenu->addAction( qtr(" - Empty - ") );
action->setEnabled( false );
}
else
@@ -1344,7 +1344,7 @@ void QVLCMenu::updateRecents( intf_thread_t *p_intf )
}
recentsMenu->addSeparator();
- recentsMenu->addAction( "&Clear", rmrl, SLOT( clear() ) );
+ recentsMenu->addAction( qtr("&Clear"), rmrl, SLOT( clear() ) );
}
}
}
More information about the vlc-devel
mailing list