Commit 5bdf4e18 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: various string fixes and consistencies in the ui

parent 0571ef72
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifndef _CONTROLLER_H_ #ifndef QVLC_CONTROLLER_H_
#define _CONTROLLER_H_ #define QVLC_CONTROLLER_H_
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
...@@ -33,14 +33,13 @@ ...@@ -33,14 +33,13 @@
#include <QFrame> #include <QFrame>
#include <QString> #include <QString>
#define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a medium")
#define MAIN_TB1_DEFAULT "64;39;64;38;65" #define MAIN_TB1_DEFAULT "64;39;64;38;65"
#define MAIN_TB2_DEFAULT "0-2;64;3;1;4;64;7;10;9;64-4;37;65;35-4" #define MAIN_TB2_DEFAULT "0-2;64;3;1;4;64;7;10;9;64-4;37;65;35-4"
#define ADV_TB_DEFAULT "12;11;13;14" #define ADV_TB_DEFAULT "12;11;13;14"
#define INPT_TB_DEFAULT "5-1;15-1;33;6-1" #define INPT_TB_DEFAULT "5-1;15-1;33;6-1"
#define FSC_TB_DEFAULT "0-2;64;3;1;4;64;37;64;38;64;8;65;35-4;34" #define FSC_TB_DEFAULT "0-2;64;3;1;4;64;37;64;38;64;8;65;35-4;34"
#define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a medium")
class QPixmap; class QPixmap;
class QLabel; class QLabel;
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#endif #endif
#include "controller_widget.hpp" #include "controller_widget.hpp"
#include "controller.hpp"
#include "input_manager.hpp" /* Get notification of Volume Change */ #include "input_manager.hpp" /* Get notification of Volume Change */
#include "util/input_slider.hpp" /* SoundSlider */ #include "util/input_slider.hpp" /* SoundSlider */
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include <QFrame> #include <QFrame>
#include <QToolButton> #include <QToolButton>
#define I_PLAY_TOOLTIP N_("Play\nIf the playlist is empty, open a media")
class QLabel; class QLabel;
class QSpinBox; class QSpinBox;
class QAbstractSlider; class QAbstractSlider;
......
...@@ -996,8 +996,8 @@ void CaptureOpenPanel::initialize() ...@@ -996,8 +996,8 @@ void CaptureOpenPanel::initialize()
* Screen * * Screen *
**********/ **********/
addModuleAndLayouts( SCREEN_DEVICE, screen, "Desktop" ); addModuleAndLayouts( SCREEN_DEVICE, screen, "Desktop" );
QLabel *screenLabel = new QLabel( "This option will open your own " QLabel *screenLabel = new QLabel( "Your display will will be "
"desktop in order to save or stream it."); "opened and played in order to stream or save it." );
screenLabel->setWordWrap( true ); screenLabel->setWordWrap( true );
screenDevLayout->addWidget( screenLabel, 0, 0 ); screenDevLayout->addWidget( screenLabel, 0, 0 );
......
...@@ -54,7 +54,7 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf, ...@@ -54,7 +54,7 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
QGroupBox *destBox = new QGroupBox( qtr( "Destination" ) ); QGroupBox *destBox = new QGroupBox( qtr( "Destination" ) );
QGridLayout *destLayout = new QGridLayout( destBox ); QGridLayout *destLayout = new QGridLayout( destBox );
QLabel *destLabel = new QLabel( qtr( "Target file:" ) ); QLabel *destLabel = new QLabel( qtr( "Destination file:" ) );
destLayout->addWidget( destLabel, 0, 0); destLayout->addWidget( destLabel, 0, 0);
fileLine = new QLineEdit; fileLine = new QLineEdit;
......
...@@ -305,7 +305,7 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent ) ...@@ -305,7 +305,7 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
":/folder-grey", SLOT( PLOpenDir() ), "Ctrl+F" ); ":/folder-grey", SLOT( PLOpenDir() ), "Ctrl+F" );
addDPStaticEntry( menu, qtr( "Open &Disc..." ), addDPStaticEntry( menu, qtr( "Open &Disc..." ),
":/disc", SLOT( openDiscDialog() ), "Ctrl+D" ); ":/disc", SLOT( openDiscDialog() ), "Ctrl+D" );
addDPStaticEntry( menu, qtr( "Open &Network..." ), addDPStaticEntry( menu, qtr( "Open &Network Stream..." ),
":/network", SLOT( openNetDialog() ), "Ctrl+N" ); ":/network", SLOT( openNetDialog() ), "Ctrl+N" );
addDPStaticEntry( menu, qtr( "Open &Capture Device..." ), addDPStaticEntry( menu, qtr( "Open &Capture Device..." ),
":/capture-card", SLOT( openCaptureDialog() ), ":/capture-card", SLOT( openCaptureDialog() ),
......
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<author>Jean-Baptiste Kempf</author> <author>Jean-Baptiste Kempf</author>
<class>OpenCapture</class> <class>OpenCapture</class>
<widget class="QWidget" name="OpenCapture" > <widget class="QWidget" name="OpenCapture">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
...@@ -10,57 +11,57 @@ ...@@ -10,57 +11,57 @@
<height>134</height> <height>134</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="0" column="0" > <item row="0" column="0">
<widget class="QLabel" name="label" > <widget class="QLabel" name="label">
<property name="text" > <property name="text">
<string>_("Capture mode")</string> <string>_(&quot;Capture mode&quot;)</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" colspan="2" > <item row="0" column="2" colspan="2">
<widget class="QComboBox" name="deviceCombo" > <widget class="QComboBox" name="deviceCombo">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" > <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>_("Select the capture device type")</string> <string>_(&quot;Select the capture device type&quot;)</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" colspan="4" > <item row="1" column="0" colspan="4">
<widget class="Line" name="line" > <widget class="Line" name="line">
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" colspan="4" > <item row="2" column="0" colspan="4">
<widget class="QGroupBox" name="cardBox" > <widget class="QGroupBox" name="cardBox">
<property name="title" > <property name="title">
<string>_("Card Selection")</string> <string>_(&quot;Device Selection&quot;)</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" colspan="4" > <item row="3" column="0" colspan="4">
<widget class="QGroupBox" name="optionsBox" > <widget class="QGroupBox" name="optionsBox">
<property name="title" > <property name="title">
<string>_("Options")</string> <string>_(&quot;Options&quot;)</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="0" colspan="4" > <item row="5" column="0" colspan="4">
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<property name="sizeType" > <property name="sizeType">
<enum>QSizePolicy::MinimumExpanding</enum> <enum>QSizePolicy::MinimumExpanding</enum>
</property> </property>
<property name="sizeHint" stdset="0" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>0</height> <height>0</height>
...@@ -68,13 +69,13 @@ ...@@ -68,13 +69,13 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="4" column="3" > <item row="4" column="3">
<widget class="QPushButton" name="advancedButton" > <widget class="QPushButton" name="advancedButton">
<property name="toolTip" > <property name="toolTip">
<string>_("Access advanced options to tweak the device")</string> <string>_(&quot;Access advanced options to tweak the device&quot;)</string>
</property> </property>
<property name="text" > <property name="text">
<string>_("Advanced options...")</string> <string>_(&quot;Advanced options...&quot;)</string>
</property> </property>
</widget> </widget>
</item> </item>
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment