Compare commits

..

61 Commits

Author SHA1 Message Date
Toad114514 47631cadac Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (114 of 114 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/
3 weeks ago
Heimen Stoffels 26a5c77ac9 Translated using Weblate (Dutch)
Currently translated at 100.0% (114 of 114 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/nl/
4 months ago
TDE Weblate 24128f051f Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/
4 months ago
TDE Gitea add017f8d7 Update translation template. 4 months ago
mio d9afd6ce2b Add mute checkbox to volume slider
Part of https://mirror.git.trinitydesktop.org/gitea/TDE/codeine/issues/5
Signed-off-by: mio <stigma@disroot.org>
4 months ago
Toad114514 6a71a1b414 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (113 of 113 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/
5 months ago
TDE Weblate 37df0c3b3c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/
5 months ago
Heimen Stoffels c95752783f Translated using Weblate (Dutch)
Currently translated at 100.0% (113 of 113 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/nl/
5 months ago
Heimen Stoffels 1dfa2eceb8 Added translation using Weblate (Dutch) 6 months ago
Temuri Doghonadze f42a5e6b63 Translated using Weblate (Georgian)
Currently translated at 100.0% (113 of 113 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/ka/
6 months ago
TDE Weblate 9795d15ce0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/
7 months ago
TDE Gitea 88ec977bd3 Update translation template. 7 months ago
mio 430d1bae9d Add context menu to audioView
Allows people to toggle the analyzer visibility.

Signed-off-by: mio <stigma@disroot.org>
7 months ago
mio 5e57ab35af Add context menu to status bar
It adds an item which toggles the visibility of the Analyzer when
watching videos.

Signed-off-by: mio <stigma@disroot.org>
7 months ago
Toad114514 adb9e2e081 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (112 of 112 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/
7 months ago
Toad114514 f69f7a9c90 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.3% (109 of 112 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/
7 months ago
Michele Calgaro a130452020
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Toad114514 fc0e591805 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (5 of 5 strings)

Translation: applications/codeine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine-desktop-files/zh_Hans/
8 months ago
Toad114514 59fb0ad08a Translated using Weblate (Chinese (Simplified))
Currently translated at 96.4% (108 of 112 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/
8 months ago
Toad114514 9e176a25db Added translation using Weblate (Chinese (Simplified)) 8 months ago
TDE Weblate 0703015aed Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/
8 months ago
Juan M Ayala 2b775a1e86 Translated using Weblate (Spanish)
Currently translated at 100.0% (5 of 5 strings)

Translation: applications/codeine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine-desktop-files/es/
8 months ago
TDE Gitea d576f98f1d Update translation template. 8 months ago
mio 5cfecec409 Create a AudioView widget for audio-only streams
Currently Codeine will show a blank area when playing an audio-only
file, such as music.  This patch adds a new widget that contains an
instance of the Analyzer::Block class, so instead of a blank area it
contains a "visualizer" of sorts.

Signed-off-by: mio <stigma@disroot.org>
8 months ago
Temuri Doghonadze e023e2eafb Translated using Weblate (Georgian)
Currently translated at 100.0% (112 of 112 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/ka/
9 months ago
TDE Weblate 684ee3e282 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/
10 months ago
TDE Gitea 711611feb3 Update translation template. 10 months ago
mio 14b52b5a46 Fix mouse events not changing volume
Using the scroll wheel over the volume slider would not change the
volume, neither would dragging the slider (until released) or clicking
on the slider.

This patch fixes the above.

See: TDE/codeine#5
Signed-off-by: mio <stigma@disroot.org>
10 months ago
Temuri Doghonadze cdea6d11c3 Translated using Weblate (Georgian)
Currently translated at 100.0% (112 of 112 strings)

Translation: applications/codeine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine/ka/
10 months ago
Temuri Doghonadze 488e5c81fe Added translation using Weblate (Georgian) 10 months ago
TDE Gitea 4eacc38917 Update translation template. 11 months ago
mio 462472610d Allow seeking in FLAC
Xine has supported seeking in FLAC files since 1.1.16.

Signed-off-by: mio <stigma@disroot.org>
11 months ago
Temuri Doghonadze 32704bb7fa Translated using Weblate (Georgian)
Currently translated at 100.0% (5 of 5 strings)

Translation: applications/codeine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine-desktop-files/ka/
11 months ago
Temuri Doghonadze e1bc4ff086 Added translation using Weblate (Georgian) 11 months ago
TDE Gitea 1ca971bd72 Update translation template. 11 months ago
mio ff2a5768dd Update the xineScope to remove global variables.
This patch updates xineScope.c to better align with Amarok's code. As a
result, the analyzer is more accurate.  For instance, when playing an
audio file and there is a silent spot, the blocks will correctly "drop"
to the bottom, leaving an empty analyzer.  The previous behaviour would
leave some blocks "stuck" in their position

See: TDE/codeine#23
Signed-off-by: mio <stigma@disroot.org>
11 months ago
mio a3ea0ee70f Fix the audio analyzer
Most of the code was already borrowed from Amarok, but wasn't properly
finished. This just updates the code to more closely match what is
currently in TDE's Amarok.

The Analyzer still sits in the statusBar(), which is cool, but can have
some delays when watching a video (the video itself is unaffected).

See: TDE/codeine#23
Signed-off-by: mio <stigma@disroot.org>
11 months ago
TDE Gitea 6eb38b0280 Update translation template. 12 months ago
mio f460840a5e Fix channel selection menus disappearing
When adding/removing an action to/from the toolbar, the aspect ratio,
audio channel, and subtitle channel menus would disappear from the
parent settings menu.

My understanding is that this happened because nothing was keeping those
menus present (plugged?) when other actions were plugged/unplugged.

This changes it so "Aspect Ratio", "Subtitles", and "Audio Channels"
each are a TDESelectAction that is dynamically filled with items. This
way, each popup menu is still present after other actions being
plugged/unplugged.

Resolves: TDE/codeine#24
Signed-off-by: mio <stigma@disroot.org>
12 months ago
TDE Gitea cc8974895a Update translation template. 12 months ago
mio 9ef39acd5d Address -Wall warnings
VideoWindow::ExposeEvent wasn't being used correctly; it should be a
TQCustomEvent (although, the 3000 type is already being used for
forwarding XINE_PROGRESS_EVENT).

While the pts_per_smpls part never seemed to be encountered, it would
have resulted in a floating point exception as it's always 0.  Commented
out to leave a hint as to what the code should be doing.

Resolves: TDE/codeine#2
Signed-off-by: mio <stigma@disroot.org>
12 months ago
mio c0311bdfc3 Fix filter list when opening a file
Signed-off-by: mio <stigma@disroot.org>
1 year ago
TDE Gitea f6d6e20609 Update translation template. 1 year ago
mio 11c0638baf Improve the layout of XineConfigDialog
Properly display the description of each of the settings.  Also,
reorganize the layout so that it uses layouts rather than VBox/HBox.

The TabWidget class has been removed in favour of the standard
TQTabWidget class, as the different behaviour doesn't make a notable
visual difference.

Signed-off-by: mio <stigma@disroot.org>
1 year ago
mio b62e6bc2b9 Fix crash when showing context menu in DVDs
Signed-off-by: mio <stigma@disroot.org>
1 year ago
TDE Gitea 36a0b3510b Update translation template. 1 year ago
mio ed55bf0726 Use nullptr instead of NULL/0 pointer in C++ files
See: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/73
Signed-off-by: mio <stigma@disroot.org>
1 year ago
mio 5e965846d1 Use safer xine_get_current_frame_s
xine_get_current_frame was deprecated back in 2019 because it is
"unsafe by design"[0].  The '_s' version was introduced in xine-lib
1.1.11, which was released in 2008, so there are no version checks.

[0]:
c1a154c1a8/

Signed-off-by: mio <stigma@disroot.org>
1 year ago
TDE Gitea 54d1a665f8 Update translation template. 1 year ago
mio 000a65ca62 Scale capture preview if it exceeds screen bounds
Signed-off-by: mio <stigma@disroot.org>
1 year ago
Michele Calgaro 173770f0f1
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro e097d43a06
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 00a73f1dea
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 1ca6231ff7
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 6208d03e3d
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
TDE Gitea 033f32ab43 Update translation template. 2 years ago
Michele Calgaro b5977d5e67
xine engine: make volume control logarithmic for versions of xine < 1.2.13. For xine versions >= 1.2.13, libxine already makes the volume logarithmic. This relates to TDE/tdemultimedia#40.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
TDE Gitea 28a3b75fba Update translation template. 2 years ago
Michele Calgaro 1884d0e5a2
Fix volume slider functionality and visualization
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
TDE Weblate 9f39f05e56 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/codeine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/codeine-desktop-files/
2 years ago
Michele Calgaro ea718087e4
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago

@ -348,7 +348,7 @@ distribution. -->
<title>Credits and License</title>
<sect1 id="kapp">
<sect1 id="tdeApp">
<title>&codeine;</title>
<para>Program copyright 2004 Max B. Howell <email>max.howell@methylblue.com</email></para>

@ -6,7 +6,11 @@
#include <tqlayout.h>
#include <tdepopupmenu.h>
#include <tdelocale.h>
#include "analyzer.h"
#include "codeineConfig.h"
namespace Codeine
{
@ -26,6 +30,32 @@ AudioView::AudioView(TQWidget *parent, const char *name)
36 * (Analyzer::Block::HEIGHT + 1) - 1);
layout->addWidget(m_analyzer);
m_analyzer->setShown(config("AudioView")->readBoolEntry("showAudioAnalyzer", true));
}
AudioView::~AudioView()
{
config("AudioView")->writeEntry("showAudioAnalyzer", m_analyzer->isVisible());
config("AudioView")->sync();
}
void AudioView::contextMenuEvent(TQContextMenuEvent *e)
{
TDEPopupMenu popup;
popup.setCheckable(true);
int id = popup.insertItem(i18n("Show Analyzer"), this, TQ_SLOT(slotToggleVisibility()));
popup.setItemChecked(id, m_analyzer->isVisible());
popup.exec(e->globalPos());
}
void AudioView::slotToggleVisibility()
{
m_analyzer->setShown(!m_analyzer->isVisible());
}
}
#include "audioView.moc"

@ -12,8 +12,17 @@ namespace Codeine
class AudioView : public TQFrame
{
TQ_OBJECT
public:
AudioView(TQWidget *parent, const char *name = nullptr);
~AudioView();
protected:
void contextMenuEvent(TQContextMenuEvent *e) override;
protected slots:
void slotToggleVisibility();
private:
TQWidget *m_analyzer;

@ -11,6 +11,7 @@
#include <kcursor.h>
#include <tdefiledialog.h> //::open()
#include <tdeglobalsettings.h> //::timerEvent()
#include <tdepopupmenu.h>
#include <tdeio/netaccess.h>
#include <ksqueezedtextlabel.h>
#include <kstatusbar.h>
@ -57,7 +58,7 @@ namespace Codeine {
/// @see codeine.h
TQWidget *mainWindow() { return kapp->mainWidget(); }
TQWidget *mainWindow() { return tdeApp->mainWidget(); }
MainWindow::MainWindow()
@ -70,7 +71,7 @@ MainWindow::MainWindow()
clearWFlags( WDestructiveClose ); //we are allocated on the stack
kapp->setMainWidget( this );
tdeApp->setMainWidget( this );
m_widgetStack = new TQWidgetStack(this, "m_widgetStack");
@ -108,6 +109,9 @@ MainWindow::MainWindow()
setStandardToolBarMenuEnabled( false ); //bah to setupGUI()!
toolBar()->show(); //it's possible it would be hidden, but we don't want that as no UI way to show it!
m_showAnalyzer = config("MainWindow")->readBoolEntry("showAnalyzer", true);
m_analyzer->setShown(m_showAnalyzer);
// only show dvd button when playing a dvd
{
struct KdeIsTehSuck : public TQObject
@ -169,7 +173,7 @@ MainWindow::MainWindow()
KXMLGUIClient::stateChanged( "empty" );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if( args->count() || args->isSet( "play-dvd" ) || kapp->isRestored() )
if( args->count() || args->isSet( "play-dvd" ) || tdeApp->isRestored() )
//we need to resize the window, so we can't show the window yet
init();
else {
@ -208,7 +212,7 @@ MainWindow::init()
TQApplication::restoreOverrideCursor();
if( !kapp->isRestored() ) {
if( !tdeApp->isRestored() ) {
TDECmdLineArgs &args = *TDECmdLineArgs::parsedArgs();
if (args.isSet( "play-dvd" ))
open( "dvd:/" );
@ -241,6 +245,9 @@ MainWindow::~MainWindow()
bool
MainWindow::queryExit()
{
config("MainWindow")->writeEntry("showAnalyzer", m_showAnalyzer);
config("MainWindow")->sync();
if( toggleAction( "fullscreen" )->isChecked() ) {
// there seems to be no other way to stop TDEMainWindow
// saving the window state without any controls
@ -266,7 +273,7 @@ MainWindow::setupActions()
TDEActionCollection * const ac = actionCollection();
KStdAction::quit( kapp, TQ_SLOT(quit()), ac );
KStdAction::quit( tdeApp, TQ_SLOT(quit()), ac );
KStdAction::open( this, TQ_SLOT(playMedia()), ac, "play_media" )->setText( i18n("Play &Media...") );
connect( new FullScreenAction( this, ac ), TQ_SIGNAL(toggled( bool )), TQ_SLOT(fullScreenToggled( bool )) );
@ -311,6 +318,24 @@ MainWindow::readProperties( TDEConfig *config )
engine()->play( config->readNumEntry( "time" ) );
}
void
MainWindow::contextMenuEvent(TQContextMenuEvent *ev)
{
TQRect statusBarRect(mapTo(this, statusBar()->pos()), statusBar()->size());
if (statusBarRect.contains(ev->pos()) && TheStream::hasVideo())
{
ev->accept();
TDEPopupMenu menu;
menu.setCheckable(true);
int id = menu.insertItem(i18n("Show Analyzer"), this, TQ_SLOT(toggleAnalyzer()));
menu.setItemChecked(id, m_analyzer->isVisible());
menu.exec(ev->globalPos());
}
}
void
MainWindow::timerEvent( TQTimerEvent* )
{
@ -360,6 +385,13 @@ MainWindow::showTime( int pos )
m_timeLabel->setText( time );
}
void
MainWindow::toggleAnalyzer()
{
m_showAnalyzer = !m_showAnalyzer;
m_analyzer->setShown(m_showAnalyzer);
}
void
MainWindow::engineMessage( const TQString &message )
{
@ -713,7 +745,7 @@ MainWindow::menu( const TQString& name )
TDEActionCollection*
actionCollection()
{
return static_cast<MainWindow*>(kapp->mainWidget())->actionCollection();
return static_cast<MainWindow*>(tdeApp->mainWidget())->actionCollection();
}
/// Convenience class for other classes that need access to the actions
@ -726,7 +758,7 @@ action( const char *name )
TDEActionCollection *actionCollection = nullptr;
TDEAction *action = nullptr;
mainWindow = dynamic_cast<MainWindow *>(kapp->mainWidget());
mainWindow = dynamic_cast<MainWindow *>(tdeApp->mainWidget());
if (mainWindow)
{
actionCollection = mainWindow->actionCollection();

@ -46,6 +46,7 @@ namespace Codeine
void fullScreenToggled( bool );
void setAudioChannels(const TQStringList&) const;
void setSubtitleChannels(const TQStringList&) const;
void toggleAnalyzer();
private:
void setupActions();
@ -55,6 +56,7 @@ namespace Codeine
TQPopupMenu *menu(const TQString&);
void contextMenuEvent(TQContextMenuEvent *event) override;
virtual void timerEvent( TQTimerEvent* );
virtual void dragEnterEvent( TQDragEnterEvent* );
virtual void dropEvent( TQDropEvent* );
@ -73,6 +75,10 @@ namespace Codeine
TQWidgetStack *m_widgetStack;
VolumeAction *m_volumeAction;
// Keep track of Analyzer visibility separately so swapping between
// Video & Audio correctly restores the state without re-reading the config.
bool m_showAnalyzer;
//undefined
MainWindow( const MainWindow& );
MainWindow &operator=( const MainWindow& );

@ -25,7 +25,7 @@ namespace Codeine {
PlayDialog::PlayDialog( TQWidget *parent, bool be_welcome_dialog )
: TQDialog( parent )
{
setCaption( kapp->makeStdCaption( i18n("Play Media") ) );
setCaption( tdeApp->makeStdCaption( i18n("Play Media") ) );
TQSignalMapper *mapper = new TQSignalMapper( this );
TQWidget *o, *closeButton = new KPushButton( KStdGuiItem::close(), this );
@ -59,7 +59,7 @@ PlayDialog::PlayDialog( TQWidget *parent, bool be_welcome_dialog )
if( be_welcome_dialog ) {
TQWidget *w = new KPushButton( KStdGuiItem::quit(), this );
hbox->addWidget( w );
connect( w, TQ_SIGNAL(clicked()), kapp, TQ_SLOT(quit()) );
connect( w, TQ_SIGNAL(clicked()), tdeApp, TQ_SLOT(quit()) );
}
hbox->addWidget( closeButton );

@ -66,6 +66,7 @@ MainWindow::engineStateChanged( Engine::State state )
//FIXME bad design to do this way
m_volumeAction->setVolume(engine()->volume());
m_volumeAction->setMuted(engine()->isMuted());
}
@ -106,7 +107,7 @@ MainWindow::engineStateChanged( Engine::State state )
/// update statusBar
{
using namespace Engine;
m_analyzer->setShown(state & (Playing | Paused) && (TheStream::hasVideo() && TheStream::hasAudio()));
m_analyzer->setShown(m_showAnalyzer && (TheStream::hasVideo() && TheStream::hasAudio()));
m_timeLabel->setShown(state & (Playing | Paused));
}

@ -1,12 +1,15 @@
// (C) 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdetoolbar.h>
#include <tqevent.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqslider.h>
#include <tqtoolbutton.h>
#include <tqtooltip.h>
#include "../debug.h"
#include "volumeAction.h"
@ -23,9 +26,15 @@ public:
slider = new TQSlider(TQt::Vertical, this, "volume");
label = new TQLabel(this);
mute = new TQToolButton(this, "volume_slider_mute");
mute->setAutoRaise(true);
mute->setToggleButton(true);
TQToolTip::add(mute, i18n("Toggle Mute"));
TQBoxLayout *lay = new TQVBoxLayout(this);
lay->addWidget(slider, 0, TQt::AlignHCenter);
lay->addWidget(label, 0, TQt::AlignHCenter);
lay->addWidget(mute, 0, TQt::AlignHCenter);
lay->setMargin(4);
slider->setRange( 0, 100 );
@ -33,6 +42,26 @@ public:
setFrameStyle( TQFrame::Plain | TQFrame::Box );
setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred );
// Test for icon support
const char* mutedIcons[] = { "audio-volume-muted", "player_mute", "mute" };
bool iconFound = false;
for (size_t i = 0; i < (sizeof(mutedIcons) / sizeof(*mutedIcons)); ++i)
{
if (!TDEGlobal::iconLoader()->iconPath(mutedIcons[i], TDEIcon::Toolbar, true).isNull())
{
mute->setIconSet(TDEGlobal::iconLoader()->loadIconSet(mutedIcons[i], TDEIcon::Toolbar));
iconFound = true;
break;
}
}
if (!iconFound)
{
mute->setAutoRaise(false);
mute->setText(i18n("Mute"));
}
// Calculate width required for max label size
label->setText( "100%" );
adjustSize();
@ -41,9 +70,16 @@ public:
hide();
}
TQToolButton *mute;
TQLabel *label;
TQSlider *slider;
int requiredWidth;
void setMuted(bool muted)
{
// Behave correctly when VolumeAction's "setMuted" slot is invoked.
mute->setDown(muted);
}
};
@ -54,6 +90,8 @@ VolumeAction::VolumeAction( TDEToolBar *bar, TDEActionCollection *ac )
m_widget = new VolumeSlider( bar->topLevelWidget() );
connect(this, TQ_SIGNAL(toggled(bool)), TQ_SLOT(toggled(bool)));
connect(m_widget->mute, TQ_SIGNAL(toggled(bool)), Codeine::engine(), TQ_SLOT(setMuted(bool)));
connect(m_widget->mute, TQ_SIGNAL(toggled(bool)), TQ_SLOT(setMuted(bool)));
connect(m_widget->slider, TQ_SIGNAL(valueChanged(int)), Codeine::engine(), TQ_SLOT(setStreamParameter(int)));
connect(m_widget->slider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(sliderMoved(int)));
}
@ -90,10 +128,14 @@ VolumeAction::sliderMoved(int v)
}
void
VolumeAction::setVolume(int volume)
VolumeAction::setMuted(bool mute)
{
TQString vol = TQString("%1%").arg(volume);
m_widget->setMuted(mute);
}
void
VolumeAction::setVolume(int volume)
{
// TQt sliders are the wrong way round when vertical.
m_widget->slider->setValue(100 - volume);
}

@ -18,6 +18,7 @@ class VolumeAction : public TDEToggleAction
virtual int plug( TQWidget*, int );
public slots:
void setMuted(bool mute);
// Update Slider and Label to \a volume
void setVolume(int volume);

@ -59,7 +59,7 @@ XineConfigDialog::XineConfigDialog( xine_t *xine, TQWidget *parent )
{
TQHBoxLayout *infoLayout = new TQHBoxLayout(topLayout, spacingHint());
TQPixmap info = kapp->iconLoader()->loadIcon("messagebox_info", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, nullptr, true);
TQPixmap info = tdeApp->iconLoader()->loadIcon("messagebox_info", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, nullptr, true);
TQLabel *label = new TQLabel(page);
label->setPixmap(info);
label->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Maximum);

@ -455,6 +455,12 @@ VideoWindow::posTimeLength( PosTimeLength type ) const
return 0; //--warning
}
bool
VideoWindow::isMuted() const
{
return xine_get_param(m_stream, XINE_PARAM_AUDIO_AMP_MUTE);
}
uint
VideoWindow::volume() const
{
@ -595,6 +601,12 @@ VideoWindow::setStreamParameter( int value )
xine_set_param( m_stream, parameter, value );
}
void
VideoWindow::setMuted(bool mute)
{
xine_set_param(m_stream, XINE_PARAM_AUDIO_AMP_MUTE, mute);
}
const Engine::Scope&
VideoWindow::scope()
{

@ -62,6 +62,7 @@ namespace Codeine
uint time() const { return posTimeLength( Time ); }
uint length() const { return posTimeLength( Length ); }
bool isMuted() const;
uint volume() const;
const Engine::Scope &scope();
@ -78,6 +79,7 @@ namespace Codeine
///special slot, see implementation to facilitate understanding
void setStreamParameter( int );
void setMuted(bool);
signals:
void stateChanged( Engine::State );

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-01-20 20:14+0000\n"
"POT-Creation-Date: 2025-05-11 18:19+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -44,6 +44,10 @@ msgstr ""
msgid "<b>Adjust video scale?"
msgstr ""
#: app/audioView.cpp:48 app/mainWindow.cpp:332
msgid "Show Analyzer"
msgstr ""
#: app/captureFrame.cpp:92
#, c-format
msgid "Capture - %1"
@ -132,83 +136,83 @@ msgstr ""
msgid "Patches, advice and moral support"
msgstr ""
#: app/mainWindow.cpp:139
#: app/mainWindow.cpp:143
msgid "Aspect Ratio"
msgstr ""
#: app/mainWindow.cpp:145
#: app/mainWindow.cpp:149
msgid "Audio Channels"
msgstr ""
#: app/mainWindow.cpp:151
#: app/mainWindow.cpp:155
msgid "Subtitles"
msgstr ""
#: app/mainWindow.cpp:270
#: app/mainWindow.cpp:277
msgid "Play &Media..."
msgstr ""
#: app/mainWindow.cpp:276
#: app/mainWindow.cpp:283
msgid "Record"
msgstr ""
#: app/mainWindow.cpp:278
#: app/mainWindow.cpp:285
msgid "Reset Video Scale"
msgstr ""
#: app/mainWindow.cpp:279 app/mainWindow.cpp:618
#: app/mainWindow.cpp:286 app/mainWindow.cpp:650
msgid "Media Information"
msgstr ""
#: app/mainWindow.cpp:280
#: app/mainWindow.cpp:287
msgid "Menu Toggle"
msgstr ""
#: app/mainWindow.cpp:281
#: app/mainWindow.cpp:288
msgid "&Capture Frame"
msgstr ""
#: app/mainWindow.cpp:283
#: app/mainWindow.cpp:290
msgid "Video Settings..."
msgstr ""
#: app/mainWindow.cpp:284
#: app/mainWindow.cpp:291
msgid "Configure xine..."
msgstr ""
#: app/mainWindow.cpp:286
#: app/mainWindow.cpp:293
msgid "Position Slider"
msgstr ""
#: app/mainWindow.cpp:288
#: app/mainWindow.cpp:295
msgid "A&udio Channels"
msgstr ""
#: app/mainWindow.cpp:291
#: app/mainWindow.cpp:298
msgid "&Subtitles"
msgstr ""
#: app/mainWindow.cpp:294
#: app/mainWindow.cpp:301
msgid "Aspect &Ratio"
msgstr ""
#: app/mainWindow.cpp:393
#: app/mainWindow.cpp:425
msgid "Codeine was asked to open an empty URL; it cannot."
msgstr ""
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "Supported Media Formats"
msgstr ""
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "All Files"
msgstr ""
#: app/mainWindow.cpp:456
#: app/mainWindow.cpp:488
msgid "Select A File To Play"
msgstr ""
#: app/mainWindow.cpp:682
#: app/mainWindow.cpp:714
msgid "Sorry, no media was found in the drop"
msgstr ""
@ -255,19 +259,19 @@ msgstr ""
msgid "Codeine could not open the file: %1"
msgstr ""
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Pause"
msgstr ""
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Play"
msgstr ""
#: app/stateChange.cpp:170
#: app/stateChange.cpp:171
msgid "No media loaded"
msgstr ""
#: app/stateChange.cpp:173
#: app/stateChange.cpp:174
msgid "Paused"
msgstr ""
@ -351,11 +355,19 @@ msgstr ""
msgid "Pause"
msgstr ""
#: app/volumeAction.cpp:51
#: app/volumeAction.cpp:32
msgid "Toggle Mute"
msgstr ""
#: app/volumeAction.cpp:62 part/part.cpp:39
msgid "Mute"
msgstr ""
#: app/volumeAction.cpp:87
msgid "Volume"
msgstr ""
#: app/volumeAction.cpp:89
#: app/volumeAction.cpp:127
#, c-format
msgid "Volume %1"
msgstr ""
@ -416,59 +428,55 @@ msgstr ""
msgid "Internal error while attempting to play %1."
msgstr ""
#: app/xineEngine.cpp:736 app/xineEngine.cpp:744
#: app/xineEngine.cpp:748 app/xineEngine.cpp:756
#, c-format
msgid "Channel %1"
msgstr ""
#: app/xineEngine.cpp:843 part/xineEngine.cpp:289
#: app/xineEngine.cpp:855 part/xineEngine.cpp:289
msgid "The source is encrypted and can not be decrypted."
msgstr ""
#: app/xineEngine.cpp:845 part/xineEngine.cpp:291
#: app/xineEngine.cpp:857 part/xineEngine.cpp:291
msgid "The host is unknown for the URL: <i>%1</i>"
msgstr ""
#: app/xineEngine.cpp:847 part/xineEngine.cpp:293
#: app/xineEngine.cpp:859 part/xineEngine.cpp:293
msgid "The device name you specified seems invalid."
msgstr ""
#: app/xineEngine.cpp:849 part/xineEngine.cpp:295
#: app/xineEngine.cpp:861 part/xineEngine.cpp:295
msgid "The network appears unreachable."
msgstr ""
#: app/xineEngine.cpp:851 part/xineEngine.cpp:297
#: app/xineEngine.cpp:863 part/xineEngine.cpp:297
msgid "Audio output unavailable; the device is busy."
msgstr ""
#: app/xineEngine.cpp:853 part/xineEngine.cpp:299
#: app/xineEngine.cpp:865 part/xineEngine.cpp:299
msgid "The connection was refused for the URL: <i>%1</i>"
msgstr ""
#: app/xineEngine.cpp:855 part/xineEngine.cpp:301
#: app/xineEngine.cpp:867 part/xineEngine.cpp:301
msgid "xine could not find the URL: <i>%1</i>"
msgstr ""
#: app/xineEngine.cpp:857 part/xineEngine.cpp:303
#: app/xineEngine.cpp:869 part/xineEngine.cpp:303
msgid "Access was denied for the URL: <i>%1</i>"
msgstr ""
#: app/xineEngine.cpp:859 part/xineEngine.cpp:305
#: app/xineEngine.cpp:871 part/xineEngine.cpp:305
msgid "The source cannot be read for the URL: <i>%1</i>"
msgstr ""
#: app/xineEngine.cpp:861 part/xineEngine.cpp:307
#: app/xineEngine.cpp:873 part/xineEngine.cpp:307
msgid "A problem occurred while loading a library or decoder."
msgstr ""
#: app/xineEngine.cpp:888 part/xineEngine.cpp:334
#: app/xineEngine.cpp:900 part/xineEngine.cpp:334
msgid "Sorry, no additional information is available."
msgstr ""
#: part/part.cpp:39
msgid "Mute"
msgstr ""
#: part/xineEngine.cpp:166
msgid "The Codeine video player could not find an input plugin for '%1'."
msgstr ""

@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-01-20 20:14+0000\n"
"POT-Creation-Date: 2025-05-11 18:19+0000\n"
"PO-Revision-Date: 2025-03-26 06:44+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
@ -44,6 +44,10 @@ msgstr "100%-მდე გადიდება"
msgid "<b>Adjust video scale?"
msgstr "<b>გავასწორო ვიდეოს მასშტაბი?"
#: app/audioView.cpp:48 app/mainWindow.cpp:332
msgid "Show Analyzer"
msgstr "ანალიზატორის ჩვენება"
#: app/captureFrame.cpp:92
#, c-format
msgid "Capture - %1"
@ -134,83 +138,83 @@ msgstr "Codeine-ის მიმდინარე ხატულა"
msgid "Patches, advice and moral support"
msgstr "პაჩები, რჩევები და მორალური მხარდაჭერა"
#: app/mainWindow.cpp:139
#: app/mainWindow.cpp:143
msgid "Aspect Ratio"
msgstr "თანაფარდობა"
#: app/mainWindow.cpp:145
#: app/mainWindow.cpp:149
msgid "Audio Channels"
msgstr "აუდიო არხები"
#: app/mainWindow.cpp:151
#: app/mainWindow.cpp:155
msgid "Subtitles"
msgstr "სუბტიტრები"
#: app/mainWindow.cpp:270
#: app/mainWindow.cpp:277
msgid "Play &Media..."
msgstr "მედიის &დაკვრა..."
#: app/mainWindow.cpp:276
#: app/mainWindow.cpp:283
msgid "Record"
msgstr "ჩაწერა"
#: app/mainWindow.cpp:278
#: app/mainWindow.cpp:285
msgid "Reset Video Scale"
msgstr "ვიდეოს მასშტაბის ჩამოყრა"
#: app/mainWindow.cpp:279 app/mainWindow.cpp:618
#: app/mainWindow.cpp:286 app/mainWindow.cpp:650
msgid "Media Information"
msgstr "მედიის ინფორმაცია"
#: app/mainWindow.cpp:280
#: app/mainWindow.cpp:287
msgid "Menu Toggle"
msgstr "მენიუს გადართვა"
#: app/mainWindow.cpp:281
#: app/mainWindow.cpp:288
msgid "&Capture Frame"
msgstr "&კადრის ჩაწერა"
#: app/mainWindow.cpp:283
#: app/mainWindow.cpp:290
msgid "Video Settings..."
msgstr "ვიდეოს მორგება..."
#: app/mainWindow.cpp:284
#: app/mainWindow.cpp:291
msgid "Configure xine..."
msgstr "Xine-ის მორგება..."
#: app/mainWindow.cpp:286
#: app/mainWindow.cpp:293
msgid "Position Slider"
msgstr "მდებარეობის ცოცია"
#: app/mainWindow.cpp:288
#: app/mainWindow.cpp:295
msgid "A&udio Channels"
msgstr "ა&უდიო არხები"
#: app/mainWindow.cpp:291
#: app/mainWindow.cpp:298
msgid "&Subtitles"
msgstr "&სუბტიტრები"
#: app/mainWindow.cpp:294
#: app/mainWindow.cpp:301
msgid "Aspect &Ratio"
msgstr "ასპექტის &ფარდობა"
#: app/mainWindow.cpp:393
#: app/mainWindow.cpp:425
msgid "Codeine was asked to open an empty URL; it cannot."
msgstr "Codeine-ს სთხოვეს, ცარიელი URL გაეხსნა. მას ეს არ შეუძლია."
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "Supported Media Formats"
msgstr "მხარდაჭერილი მედია ფორმატები"
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "All Files"
msgstr "ყველა ფაილი"
#: app/mainWindow.cpp:456
#: app/mainWindow.cpp:488
msgid "Select A File To Play"
msgstr "აირჩიეთ დასაკრავი ფაილი"
#: app/mainWindow.cpp:682
#: app/mainWindow.cpp:714
msgid "Sorry, no media was found in the drop"
msgstr "რაც დააგდეთ, მასში მედიაფაილი ვერ ვიპოვე"
@ -258,19 +262,19 @@ msgstr ""
msgid "Codeine could not open the file: %1"
msgstr "Codeine-მა ვერ გახსნა ფაილი: %1"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Pause"
msgstr "&შეჩერება"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Play"
msgstr "&დაკვრა"
#: app/stateChange.cpp:170
#: app/stateChange.cpp:171
msgid "No media loaded"
msgstr "მედია ჩატვირთული არაა"
#: app/stateChange.cpp:173
#: app/stateChange.cpp:174
msgid "Paused"
msgstr "შეჩერებულია"
@ -354,11 +358,19 @@ msgstr "ვიდეოს პარამეტრები"
msgid "Pause"
msgstr "შეჩერება"
#: app/volumeAction.cpp:51
#: app/volumeAction.cpp:32
msgid "Toggle Mute"
msgstr ""
#: app/volumeAction.cpp:62 part/part.cpp:39
msgid "Mute"
msgstr "დადუმება"
#: app/volumeAction.cpp:87
msgid "Volume"
msgstr "ხმა"
#: app/volumeAction.cpp:89
#: app/volumeAction.cpp:127
#, c-format
msgid "Volume %1"
msgstr "ხმა %1"
@ -421,59 +433,55 @@ msgstr "Demux ჩავარდა ფაილისთვის %1."
msgid "Internal error while attempting to play %1."
msgstr "შიდა შეცდომა %1-ის დაკვრის მცდელობისას."
#: app/xineEngine.cpp:736 app/xineEngine.cpp:744
#: app/xineEngine.cpp:748 app/xineEngine.cpp:756
#, c-format
msgid "Channel %1"
msgstr "არხი %1"
#: app/xineEngine.cpp:843 part/xineEngine.cpp:289
#: app/xineEngine.cpp:855 part/xineEngine.cpp:289
msgid "The source is encrypted and can not be decrypted."
msgstr "წყარო დაშიფრულია და მისი გაშიფვრა შეუძლებელია."
#: app/xineEngine.cpp:845 part/xineEngine.cpp:291
#: app/xineEngine.cpp:857 part/xineEngine.cpp:291
msgid "The host is unknown for the URL: <i>%1</i>"
msgstr "ჰოსტის სახელი უცნობია URL-სთვის <i>%1</i>"
#: app/xineEngine.cpp:847 part/xineEngine.cpp:293
#: app/xineEngine.cpp:859 part/xineEngine.cpp:293
msgid "The device name you specified seems invalid."
msgstr "თქვენს მიერ მითითებული მოწყობილობის სახელი არასწორია."
#: app/xineEngine.cpp:849 part/xineEngine.cpp:295
#: app/xineEngine.cpp:861 part/xineEngine.cpp:295
msgid "The network appears unreachable."
msgstr "როგორც ჩანს, ქსელი ხელმიუწვდომელია."
#: app/xineEngine.cpp:851 part/xineEngine.cpp:297
#: app/xineEngine.cpp:863 part/xineEngine.cpp:297
msgid "Audio output unavailable; the device is busy."
msgstr "აუდიოს გამოტანა ხელმიუწვდომელია, რადგან მოწყობილობა დაკავებულია."
#: app/xineEngine.cpp:853 part/xineEngine.cpp:299
#: app/xineEngine.cpp:865 part/xineEngine.cpp:299
msgid "The connection was refused for the URL: <i>%1</i>"
msgstr "მიერთება უარყოფილია URL-სთვის: <i>%1</i>"
#: app/xineEngine.cpp:855 part/xineEngine.cpp:301
#: app/xineEngine.cpp:867 part/xineEngine.cpp:301
msgid "xine could not find the URL: <i>%1</i>"
msgstr "xine-მა ვერ იპოვა URL: <i>%1</i>"
#: app/xineEngine.cpp:857 part/xineEngine.cpp:303
#: app/xineEngine.cpp:869 part/xineEngine.cpp:303
msgid "Access was denied for the URL: <i>%1</i>"
msgstr "წვდომა მისამართზე აკრძალულია: <i>%1</i>"
#: app/xineEngine.cpp:859 part/xineEngine.cpp:305
#: app/xineEngine.cpp:871 part/xineEngine.cpp:305
msgid "The source cannot be read for the URL: <i>%1</i>"
msgstr "წყარო URL-თვის ვერ იქნა წაკითხული: <i>%1</i>"
#: app/xineEngine.cpp:861 part/xineEngine.cpp:307
#: app/xineEngine.cpp:873 part/xineEngine.cpp:307
msgid "A problem occurred while loading a library or decoder."
msgstr "პრობლემა ბიბლიოთეკის ან დეკოდერის ჩატვირთვისას."
#: app/xineEngine.cpp:888 part/xineEngine.cpp:334
#: app/xineEngine.cpp:900 part/xineEngine.cpp:334
msgid "Sorry, no additional information is available."
msgstr "ბოდიში, დამატებითი ინფორმაცია არაა ხელმისაწვდომი."
#: part/part.cpp:39
msgid "Mute"
msgstr "დადუმება"
#: part/xineEngine.cpp:166
msgid "The Codeine video player could not find an input plugin for '%1'."
msgstr "ვიდეოდამკვრელმა Codeine ვერ იპოვა შეყვანის დამატება ფაილისთვის '%1'."
@ -496,9 +504,3 @@ msgid ""
"installation."
msgstr ""
"ვიდეოდამკვრელმა Codeine შიდა შეცდომა დააბრუნა. შეამოწმეთ xine-ის ფაილები."
#~ msgid "Show Analyzer"
#~ msgstr "ანალიზატორის ჩვენება"
#~ msgid "Volume: %1"
#~ msgstr "ხმა: %1"

@ -3,8 +3,8 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-01-20 20:14+0000\n"
"PO-Revision-Date: 2025-04-08 17:44+0000\n"
"POT-Creation-Date: 2025-05-11 18:19+0000\n"
"PO-Revision-Date: 2025-05-12 18:44+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
"applications/codeine/nl/>\n"
@ -44,6 +44,10 @@ msgstr "100%"
msgid "<b>Adjust video scale?"
msgstr "<b>Wilt u de videogrootte aanpassen?"
#: app/audioView.cpp:48 app/mainWindow.cpp:332
msgid "Show Analyzer"
msgstr "Analyse tonen"
#: app/captureFrame.cpp:92
#, c-format
msgid "Capture - %1"
@ -135,83 +139,83 @@ msgstr "Het huidige Codeine-pictogram"
msgid "Patches, advice and moral support"
msgstr "Patches, advies en morele ondersteuning"
#: app/mainWindow.cpp:139
#: app/mainWindow.cpp:143
msgid "Aspect Ratio"
msgstr "Beeldverhouding"
#: app/mainWindow.cpp:145
#: app/mainWindow.cpp:149
msgid "Audio Channels"
msgstr "Aantal audiokanalen"
#: app/mainWindow.cpp:151
#: app/mainWindow.cpp:155
msgid "Subtitles"
msgstr "Ondertiteling"
#: app/mainWindow.cpp:270
#: app/mainWindow.cpp:277
msgid "Play &Media..."
msgstr "&Media afspelen…"
#: app/mainWindow.cpp:276
#: app/mainWindow.cpp:283
msgid "Record"
msgstr "Opnemen"
#: app/mainWindow.cpp:278
#: app/mainWindow.cpp:285
msgid "Reset Video Scale"
msgstr "Standaard videogrootte"
#: app/mainWindow.cpp:279 app/mainWindow.cpp:618
#: app/mainWindow.cpp:286 app/mainWindow.cpp:650
msgid "Media Information"
msgstr "Media-informatie"
#: app/mainWindow.cpp:280
#: app/mainWindow.cpp:287
msgid "Menu Toggle"
msgstr "Menu tonen/verbergen"
#: app/mainWindow.cpp:281
#: app/mainWindow.cpp:288
msgid "&Capture Frame"
msgstr "Frame &vastleggen"
#: app/mainWindow.cpp:283
#: app/mainWindow.cpp:290
msgid "Video Settings..."
msgstr "Video-instellingen…"
#: app/mainWindow.cpp:284
#: app/mainWindow.cpp:291
msgid "Configure xine..."
msgstr "Xine instellen…"
#: app/mainWindow.cpp:286
#: app/mainWindow.cpp:293
msgid "Position Slider"
msgstr "Positieschuif"
#: app/mainWindow.cpp:288
#: app/mainWindow.cpp:295
msgid "A&udio Channels"
msgstr "A&udiokanalen"
#: app/mainWindow.cpp:291
#: app/mainWindow.cpp:298
msgid "&Subtitles"
msgstr "Onder&titeling"
#: app/mainWindow.cpp:294
#: app/mainWindow.cpp:301
msgid "Aspect &Ratio"
msgstr "Beeldve&rhouding"
#: app/mainWindow.cpp:393
#: app/mainWindow.cpp:425
msgid "Codeine was asked to open an empty URL; it cannot."
msgstr "Codeine kan geen inhoudsloze url's openen."
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "Supported Media Formats"
msgstr "Ondersteunde mediaformaten"
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "All Files"
msgstr "Alle bestanden"
#: app/mainWindow.cpp:456
#: app/mainWindow.cpp:488
msgid "Select A File To Play"
msgstr "Kies een af te spelen bestand"
#: app/mainWindow.cpp:682
#: app/mainWindow.cpp:714
msgid "Sorry, no media was found in the drop"
msgstr "Er is geen media aangetroffen in het bestand"
@ -259,19 +263,19 @@ msgstr ""
msgid "Codeine could not open the file: %1"
msgstr "Het bestand kan niet worden geopend: %1"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Pause"
msgstr "&Pauzeren"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Play"
msgstr "Afs&pelen"
#: app/stateChange.cpp:170
#: app/stateChange.cpp:171
msgid "No media loaded"
msgstr "Er is geen media geladen"
#: app/stateChange.cpp:173
#: app/stateChange.cpp:174
msgid "Paused"
msgstr "Gepauzeerd"
@ -355,11 +359,19 @@ msgstr "Video-instellingen"
msgid "Pause"
msgstr "Pauzeren"
#: app/volumeAction.cpp:51
#: app/volumeAction.cpp:32
msgid "Toggle Mute"
msgstr "Dempen aan/uit"
#: app/volumeAction.cpp:62 part/part.cpp:39
msgid "Mute"
msgstr "Dempen"
#: app/volumeAction.cpp:87
msgid "Volume"
msgstr "Volumeniveau"
#: app/volumeAction.cpp:89
#: app/volumeAction.cpp:127
#, c-format
msgid "Volume %1"
msgstr "Volumeniveau: %"
@ -423,61 +435,57 @@ msgstr "Het demuxen van %1 is mislukt."
msgid "Internal error while attempting to play %1."
msgstr "Er is een interne fout opgetreden tijdens het starten van %1."
#: app/xineEngine.cpp:736 app/xineEngine.cpp:744
#: app/xineEngine.cpp:748 app/xineEngine.cpp:756
#, c-format
msgid "Channel %1"
msgstr "Kanaal %1"
#: app/xineEngine.cpp:843 part/xineEngine.cpp:289
#: app/xineEngine.cpp:855 part/xineEngine.cpp:289
msgid "The source is encrypted and can not be decrypted."
msgstr "De bron is beveiligd en kan niet worden ontsleuteld."
#: app/xineEngine.cpp:845 part/xineEngine.cpp:291
#: app/xineEngine.cpp:857 part/xineEngine.cpp:291
msgid "The host is unknown for the URL: <i>%1</i>"
msgstr "Er is geen host bekend van de url: <i>%1</i>"
#: app/xineEngine.cpp:847 part/xineEngine.cpp:293
#: app/xineEngine.cpp:859 part/xineEngine.cpp:293
msgid "The device name you specified seems invalid."
msgstr "De apparaatnaam lijkt ongeldig te zijn."
#: app/xineEngine.cpp:849 part/xineEngine.cpp:295
#: app/xineEngine.cpp:861 part/xineEngine.cpp:295
msgid "The network appears unreachable."
msgstr "Er lijkt geen internetverbinding te zijn."
#: app/xineEngine.cpp:851 part/xineEngine.cpp:297
#: app/xineEngine.cpp:863 part/xineEngine.cpp:297
msgid "Audio output unavailable; the device is busy."
msgstr "De audio-uitvoer is niet beschikbaar, omdat het apparaat bezig is."
#: app/xineEngine.cpp:853 part/xineEngine.cpp:299
#: app/xineEngine.cpp:865 part/xineEngine.cpp:299
msgid "The connection was refused for the URL: <i>%1</i>"
msgstr "De verbinding met <i>%1</i> is geweigerd."
#: app/xineEngine.cpp:855 part/xineEngine.cpp:301
#: app/xineEngine.cpp:867 part/xineEngine.cpp:301
msgid "xine could not find the URL: <i>%1</i>"
msgstr "Xine kan deze url niet openen: <i>%1</i>"
#: app/xineEngine.cpp:857 part/xineEngine.cpp:303
#: app/xineEngine.cpp:869 part/xineEngine.cpp:303
msgid "Access was denied for the URL: <i>%1</i>"
msgstr "De toegang tot <i>%1</i> is geweigerd."
#: app/xineEngine.cpp:859 part/xineEngine.cpp:305
#: app/xineEngine.cpp:871 part/xineEngine.cpp:305
msgid "The source cannot be read for the URL: <i>%1</i>"
msgstr "De bron van <i>%1</i> kan niet worden uitgelezen."
#: app/xineEngine.cpp:861 part/xineEngine.cpp:307
#: app/xineEngine.cpp:873 part/xineEngine.cpp:307
msgid "A problem occurred while loading a library or decoder."
msgstr ""
"Er is een probleem opgetreden tijdens het laden van een bibliotheek of "
"decodeerplug-in."
#: app/xineEngine.cpp:888 part/xineEngine.cpp:334
#: app/xineEngine.cpp:900 part/xineEngine.cpp:334
msgid "Sorry, no additional information is available."
msgstr "Er is geen aanvullende informatie beschikbaar."
#: part/part.cpp:39
msgid "Mute"
msgstr "Dempen"
#: part/xineEngine.cpp:166
msgid "The Codeine video player could not find an input plugin for '%1'."
msgstr "Er is geen invoerplug-in gevonden voor %1."
@ -497,6 +505,3 @@ msgid ""
"The Codeine video player reports an internal error; please check your xine "
"installation."
msgstr "Er is een interne fout opgetreden - controleer uw Xine-installatie."
#~ msgid "Show Analyzer"
#~ msgstr "Analyse tonen"

@ -3,17 +3,17 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-01-20 20:14+0000\n"
"PO-Revision-Date: 2025-04-21 05:15+0000\n"
"POT-Creation-Date: 2025-05-11 18:19+0000\n"
"PO-Revision-Date: 2025-08-29 14:16+0000\n"
"Last-Translator: Toad114514 <xiaolan2332021@163.com>\n"
"Language-Team: Chinese (Simplified) <https://mirror.git.trinitydesktop.org/"
"weblate/projects/applications/codeine/zh_Hans/>\n"
"Language-Team: Chinese (Simplified Han script) <https://mirror.git."
"trinitydesktop.org/weblate/projects/applications/codeine/zh_Hans/>\n"
"Language: zh_Hans\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.17\n"
"X-Generator: Weblate 4.18.2\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
@ -44,6 +44,10 @@ msgstr "100% 比例"
msgid "<b>Adjust video scale?"
msgstr "<b>调整视频比例?"
#: app/audioView.cpp:48 app/mainWindow.cpp:332
msgid "Show Analyzer"
msgstr "显示音频分析器"
#: app/captureFrame.cpp:92
#, c-format
msgid "Capture - %1"
@ -108,7 +112,7 @@ msgstr "版权所有 2006, Max Howell"
#: app/main.cpp:20
msgid "Play 'URL'"
msgstr "播放 '链接'"
msgstr "播放 'URL'"
#: app/main.cpp:21
msgid "Play DVD Video"
@ -124,7 +128,7 @@ msgstr "很好的参考代码"
#: app/main.cpp:33
msgid "The video for \"Call on Me\" encouraged plenty of debugging! ;)"
msgstr "这些视频在“叫我”要大量调试 ;)"
msgstr "这些视频在“提醒我”要修这些神人bug ;)"
#: app/main.cpp:34
msgid "The current Codeine icon"
@ -134,85 +138,85 @@ msgstr "当前的 Codeine 图标"
msgid "Patches, advice and moral support"
msgstr "bug 修补, 想法提供和支持"
#: app/mainWindow.cpp:139
#: app/mainWindow.cpp:143
msgid "Aspect Ratio"
msgstr "纵横比"
#: app/mainWindow.cpp:145
#: app/mainWindow.cpp:149
msgid "Audio Channels"
msgstr "音频轨道"
#: app/mainWindow.cpp:151
#: app/mainWindow.cpp:155
msgid "Subtitles"
msgstr "字幕"
#: app/mainWindow.cpp:270
#: app/mainWindow.cpp:277
msgid "Play &Media..."
msgstr "播放媒体(&M) ..."
#: app/mainWindow.cpp:276
#: app/mainWindow.cpp:283
msgid "Record"
msgstr "录制"
#: app/mainWindow.cpp:278
#: app/mainWindow.cpp:285
msgid "Reset Video Scale"
msgstr "重置视频比例"
#: app/mainWindow.cpp:279 app/mainWindow.cpp:618
#: app/mainWindow.cpp:286 app/mainWindow.cpp:650
msgid "Media Information"
msgstr "媒体信息"
#: app/mainWindow.cpp:280
#: app/mainWindow.cpp:287
msgid "Menu Toggle"
msgstr "切换菜单"
#: app/mainWindow.cpp:281
#: app/mainWindow.cpp:288
msgid "&Capture Frame"
msgstr "截图帧(&C)"
msgstr "截图帧(&C)"
#: app/mainWindow.cpp:283
#: app/mainWindow.cpp:290
msgid "Video Settings..."
msgstr "视频设置 ..."
#: app/mainWindow.cpp:284
#: app/mainWindow.cpp:291
msgid "Configure xine..."
msgstr "xine 引擎配置 ..."
#: app/mainWindow.cpp:286
#: app/mainWindow.cpp:293
msgid "Position Slider"
msgstr "滑块位置"
#: app/mainWindow.cpp:288
#: app/mainWindow.cpp:295
msgid "A&udio Channels"
msgstr "音频轨道(&u)"
#: app/mainWindow.cpp:291
#: app/mainWindow.cpp:298
msgid "&Subtitles"
msgstr "字幕(&S)"
#: app/mainWindow.cpp:294
#: app/mainWindow.cpp:301
msgid "Aspect &Ratio"
msgstr "宽高比(&R)"
#: app/mainWindow.cpp:393
#: app/mainWindow.cpp:425
msgid "Codeine was asked to open an empty URL; it cannot."
msgstr "Codeine 被要求打开一个空的 URL但实际上它做不到。"
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "Supported Media Formats"
msgstr "支持的媒体格式"
#: app/mainWindow.cpp:455
#: app/mainWindow.cpp:487
msgid "All Files"
msgstr "所有文件"
#: app/mainWindow.cpp:456
#: app/mainWindow.cpp:488
msgid "Select A File To Play"
msgstr "选择一个文件以播放"
#: app/mainWindow.cpp:682
#: app/mainWindow.cpp:714
msgid "Sorry, no media was found in the drop"
msgstr "抱歉,拖到窗口的媒体疑似不是媒体"
msgstr "抱歉,拖到窗口的媒体疑似不是媒体"
#: app/playDialog.cpp:28
msgid "Play Media"
@ -224,7 +228,7 @@ msgstr "你想要播放什么媒体?"
#: app/playDialog.cpp:39
msgid "Play File..."
msgstr "一些文件..."
msgstr "播放文件..."
#: app/playDialog.cpp:43
msgid "Play VCD"
@ -257,19 +261,19 @@ msgstr "<qt>播放列表 <i>'%1'</i> 无法解析。也许它是空的?"
msgid "Codeine could not open the file: %1"
msgstr "Codeine 无法打开该文件: %1"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Pause"
msgstr "暂停(&P)"
#: app/stateChange.cpp:91
#: app/stateChange.cpp:92
msgid "&Play"
msgstr "播放(&P)"
#: app/stateChange.cpp:170
#: app/stateChange.cpp:171
msgid "No media loaded"
msgstr "没有加载媒体文件"
#: app/stateChange.cpp:173
#: app/stateChange.cpp:174
msgid "Paused"
msgstr "已暂停"
@ -353,24 +357,33 @@ msgstr "视频设置"
msgid "Pause"
msgstr "暂停"
#: app/volumeAction.cpp:51
#: app/volumeAction.cpp:32
msgid "Toggle Mute"
msgstr "切换静音"
#: app/volumeAction.cpp:62 part/part.cpp:39
msgid "Mute"
msgstr "静音"
#: app/volumeAction.cpp:87
msgid "Volume"
msgstr "音量"
#: app/volumeAction.cpp:89
#: app/volumeAction.cpp:127
#, c-format
msgid "Volume %1"
msgstr "音量 %1"
#: app/xineConfig.cpp:46
msgid "Configure xine"
msgstr "xine 引擎设置"
msgstr "xine 置"
#: app/xineConfig.cpp:68
msgid ""
"Xine's defaults are usually sensible and should not require modification. "
"However, full configurability is provided for your pleasure ;-)"
msgstr "Xine 的默认配置通常是合理的。但我们还是给你提供配置的可能性 ;-)"
msgstr "Xine 默认配置通常都是合理的。但我们还是得给你提供配置的可能性 "
";-)(被感动哭力)"
#: app/xineEngine.cpp:147 part/xineEngine.cpp:50
msgid "xine was unable to initialize any video-drivers."
@ -418,59 +431,55 @@ msgstr "解复用失败: %1。"
msgid "Internal error while attempting to play %1."
msgstr "尝试播放时发生内部错误 %1。"
#: app/xineEngine.cpp:736 app/xineEngine.cpp:744
#: app/xineEngine.cpp:748 app/xineEngine.cpp:756
#, c-format
msgid "Channel %1"
msgstr "轨道 %1"
#: app/xineEngine.cpp:843 part/xineEngine.cpp:289
#: app/xineEngine.cpp:855 part/xineEngine.cpp:289
msgid "The source is encrypted and can not be decrypted."
msgstr "播放原已经被加密且无法解密。"
#: app/xineEngine.cpp:845 part/xineEngine.cpp:291
#: app/xineEngine.cpp:857 part/xineEngine.cpp:291
msgid "The host is unknown for the URL: <i>%1</i>"
msgstr "未知的 URL 主机:<i>%1</i>"
#: app/xineEngine.cpp:847 part/xineEngine.cpp:293
#: app/xineEngine.cpp:859 part/xineEngine.cpp:293
msgid "The device name you specified seems invalid."
msgstr "您指定的设备名称无效。"
#: app/xineEngine.cpp:849 part/xineEngine.cpp:295
#: app/xineEngine.cpp:861 part/xineEngine.cpp:295
msgid "The network appears unreachable."
msgstr "网络似乎无法访问。"
#: app/xineEngine.cpp:851 part/xineEngine.cpp:297
#: app/xineEngine.cpp:863 part/xineEngine.cpp:297
msgid "Audio output unavailable; the device is busy."
msgstr "音频输出不可用; 设备正在忙碌中。"
msgstr "音频输出不可用; 设备正处于忙碌状态。"
#: app/xineEngine.cpp:853 part/xineEngine.cpp:299
#: app/xineEngine.cpp:865 part/xineEngine.cpp:299
msgid "The connection was refused for the URL: <i>%1</i>"
msgstr "URL 连接被重置: <i>%1</i>"
#: app/xineEngine.cpp:855 part/xineEngine.cpp:301
#: app/xineEngine.cpp:867 part/xineEngine.cpp:301
msgid "xine could not find the URL: <i>%1</i>"
msgstr "xine 无法找到该 URL: <i>%1</i>"
#: app/xineEngine.cpp:857 part/xineEngine.cpp:303
#: app/xineEngine.cpp:869 part/xineEngine.cpp:303
msgid "Access was denied for the URL: <i>%1</i>"
msgstr "URL 访问被拒绝: <i>%1</i>"
#: app/xineEngine.cpp:859 part/xineEngine.cpp:305
#: app/xineEngine.cpp:871 part/xineEngine.cpp:305
msgid "The source cannot be read for the URL: <i>%1</i>"
msgstr "URL 对应源无法读取: <i>%1</i>"
#: app/xineEngine.cpp:861 part/xineEngine.cpp:307
#: app/xineEngine.cpp:873 part/xineEngine.cpp:307
msgid "A problem occurred while loading a library or decoder."
msgstr "加载库或解码器时出现问题。"
#: app/xineEngine.cpp:888 part/xineEngine.cpp:334
#: app/xineEngine.cpp:900 part/xineEngine.cpp:334
msgid "Sorry, no additional information is available."
msgstr "抱歉,没有信息可用。"
#: part/part.cpp:39
msgid "Mute"
msgstr "静音"
#: part/xineEngine.cpp:166
msgid "The Codeine video player could not find an input plugin for '%1'."
msgstr "Codeine 视频播放器找不到 '%1' 对应的输入插件。"
@ -490,6 +499,3 @@ msgid ""
"The Codeine video player reports an internal error; please check your xine "
"installation."
msgstr "Codeine 视频播放器出现了内部错误; 请检查 xine 安装。"
#~ msgid "Show Analyzer"
#~ msgstr "显示音频分析器"

Loading…
Cancel
Save