Commit 84d50fad authored by Scott Wheeler's avatar Scott Wheeler
Browse files

Style guide fixes from Stefan Binner

svn path=/trunk/kdemultimedia/juk/; revision=208108
parent 6fa40a24
......@@ -159,7 +159,7 @@
<cstring>genreNameLabel</cstring>
</property>
<property name="text">
<string>Name</string>
<string>Name:</string>
</property>
</widget>
<widget class="KLineEdit">
......@@ -172,7 +172,7 @@
<cstring>ID3v1Label</cstring>
</property>
<property name="text">
<string>ID3v1 Genre Mapping</string>
<string>ID3v1 genre mapping:</string>
</property>
</widget>
<widget class="KComboBox">
......@@ -247,7 +247,7 @@
<cstring>okButton</cstring>
</property>
<property name="text">
<string>OK</string>
<string>&amp;OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
......@@ -261,7 +261,7 @@
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>Cancel</string>
<string>&amp;Cancel</string>
</property>
</widget>
</hbox>
......
......@@ -482,7 +482,7 @@ void Playlist::setup()
_columnVisibleAction = new KActionMenu(i18n("Show Columns"), this, "showColumns");
headerMenu = _columnVisibleAction->popupMenu();
headerMenu->insertTitle(i18n("Show..."));
headerMenu->insertTitle(i18n("Show"));
headerMenu->setCheckable(true);
for(int i =0; i < header()->count(); ++i) {
......@@ -507,7 +507,7 @@ void Playlist::setup()
rmbMenu->insertSeparator();
rmbMenu->insertItem(SmallIcon("editdelete"), i18n("Remove from disk"), this, SLOT(removeSelectedItems()));
rmbMenu->insertItem(SmallIcon("editdelete"), i18n("Remove From Disk"), this, SLOT(removeSelectedItems()));
rmbMenu->insertSeparator();
......
......@@ -191,7 +191,7 @@ void PlaylistBox::rename(Item *item)
bool ok;
QString name = QInputDialog::getText(i18n("Rename..."), i18n("Please enter a name for this playlist:"),
QString name = QInputDialog::getText(i18n("Rename"), i18n("Please enter a name for this playlist:"),
QLineEdit::Normal, item->text(), &ok);
if(ok) {
item->setText(name);
......@@ -215,7 +215,7 @@ void PlaylistBox::duplicate(Item *item)
// If this text is changed, please also change it in PlaylistSplitter::createPlaylist().
QString name = QInputDialog::getText(i18n("New Playlist..."), i18n("Please enter a name for the new playlist:"),
QString name = QInputDialog::getText(i18n("New Playlist"), i18n("Please enter a name for the new playlist:"),
QLineEdit::Normal, splitter->uniquePlaylistName(item->text(), true), &ok);
if(ok) {
Playlist *p = splitter->createPlaylist(name);
......
......@@ -122,7 +122,7 @@ QWidget *SliderAction::createWidget(QWidget *parent) // virtual -- used by base
trackPositionSlider = new TrackPositionSlider(base, "trackPositionSlider");
trackPositionSlider->setMaxValue(1000);
QToolTip::add(trackPositionSlider, i18n("Track Position"));
QToolTip::add(trackPositionSlider, i18n("Track position"));
layout->addWidget(trackPositionSlider);
volumeSlider = new QSlider(base, "volumeSlider" );
......
......@@ -315,17 +315,17 @@ void TagEditor::setupLayout()
{ // just for organization
artistNameBox = new KComboBox(true, this, "artistNameBox");
artistNameBox->setCompletionMode(KGlobalSettings::CompletionAuto);
addItem(i18n("Artist Name"), artistNameBox, leftColumnLayout);
addItem(i18n("Artist name:"), artistNameBox, leftColumnLayout);
trackNameBox = new KLineEdit(this, "trackNameBox");
addItem(i18n("Track Name"), trackNameBox, leftColumnLayout);
addItem(i18n("Track name:"), trackNameBox, leftColumnLayout);
albumNameBox = new KComboBox(true, this, "albumNameBox");
albumNameBox->setCompletionMode(KGlobalSettings::CompletionAuto);
addItem(i18n("Album Name"), albumNameBox, leftColumnLayout);
addItem(i18n("Album name:"), albumNameBox, leftColumnLayout);
genreBox = new KComboBox(true, this, "genreBox");
addItem(i18n("Genre"), genreBox, leftColumnLayout);
addItem(i18n("Genre:"), genreBox, leftColumnLayout);
// this fills the space at the bottem of the left column
leftColumnLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding));
......@@ -334,7 +334,7 @@ void TagEditor::setupLayout()
// put stuff in the right column
//////////////////////////////////////////////////////////////////////////////
{ // just for organization
rightColumnLayout->addWidget(new QLabel(i18n("File Name"), this));
rightColumnLayout->addWidget(new QLabel(i18n("File name:"), this));
fileNameBox = new KLineEdit(this, "fileNameBox");
rightColumnLayout->addWidget(fileNameBox);
......@@ -343,16 +343,16 @@ void TagEditor::setupLayout()
QHBoxLayout *trackRowLayout = new QHBoxLayout(rightColumnLayout, horizontalSpacing);
trackSpin = new KIntSpinBox(0, 255, 1, 0, 10, this, "trackSpin");
addItem("Track", trackSpin, trackRowLayout);
addItem(i18n("Track:"), trackSpin, trackRowLayout);
trackRowLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum));
yearSpin = new KIntSpinBox(0, 9999, 1, 0, 10, this, "yearSpin");
addItem(i18n("Year"), yearSpin, trackRowLayout);
addItem(i18n("Year:"), yearSpin, trackRowLayout);
trackRowLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum));
trackRowLayout->addWidget(new QLabel(i18n("Length"), this));
trackRowLayout->addWidget(new QLabel(i18n("Length:"), this));
lengthBox = new KLineEdit(this, "lengthBox");
lengthBox->setMaximumWidth(50);
lengthBox->setReadOnly(true);
......@@ -360,7 +360,7 @@ void TagEditor::setupLayout()
trackRowLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Minimum));
trackRowLayout->addWidget(new QLabel(i18n("Bitrate"), this));
trackRowLayout->addWidget(new QLabel(i18n("Bitrate:"), this));
bitrateBox = new KLineEdit(this, "bitrateBox");
bitrateBox->setMaximumWidth(50);
bitrateBox->setReadOnly(true);
......@@ -369,7 +369,7 @@ void TagEditor::setupLayout()
commentBox = new KEdit(this, "commentBox");
commentBox->setTextFormat(Qt::PlainText);
addItem(i18n("Comment"), commentBox, rightColumnLayout);
addItem(i18n("Comment:"), commentBox, rightColumnLayout);
}
connect(artistNameBox, SIGNAL(textChanged(const QString&)), this, SIGNAL(changed()));
......@@ -463,7 +463,7 @@ void TagEditor::save(const PlaylistItemList &list)
if(!errorFiles.isEmpty())
KMessageBox::detailedSorry(this,
i18n("Could not save to specified file(s)."),
i18n("Could not write to:\n") + errorFiles.join("\n"));
i18n("Could Not Write to:\n") + errorFiles.join("\n"));
dataChanged = false;
KApplication::restoreOverrideCursor();
......
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