i18n style guide fixes

svn path=/trunk/KDE/kdebase/apps/; revision=650575
This commit is contained in:
Stephan Binner 2007-04-04 21:11:21 +00:00
parent 9ded114ceb
commit c209c33cdd
8 changed files with 20 additions and 20 deletions

View file

@ -160,10 +160,10 @@ void DolphinContextMenu::openItemContextMenu()
popup->addSeparator();
// insert 'Bookmark this folder' entry if exactly one item is selected
// insert 'Bookmark This Folder' entry if exactly one item is selected
QAction* bookmarkAction = 0;
if (m_fileInfo->isDir() && (m_selectedUrls.count() == 1)) {
bookmarkAction = popup->addAction(KIcon("bookmark-folder"), i18n("Bookmark folder"));
bookmarkAction = popup->addAction(KIcon("bookmark-folder"), i18n("Bookmark Folder..."));
}
// Insert 'Open With...' sub menu
@ -183,7 +183,7 @@ void DolphinContextMenu::openItemContextMenu()
if ((bookmarkAction!= 0) && (activatedAction == bookmarkAction)) {
const KUrl selectedUrl(m_fileInfo->url());
KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add folder as bookmark"),
KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add Folder as Bookmark"),
selectedUrl.fileName(),
selectedUrl,
"bookmark");
@ -247,10 +247,10 @@ void DolphinContextMenu::openViewportContextMenu()
popup->addMenu(viewModeMenu);
popup->addSeparator();
QAction* bookmarkAction = popup->addAction(KIcon("bookmark-folder"), i18n("Bookmark this folder"));
QAction* bookmarkAction = popup->addAction(KIcon("bookmark-folder"), i18n("Bookmark This Folder..."));
popup->addSeparator();
QAction* propertiesAction = popup->addAction(i18n("Properties..."));
QAction* propertiesAction = popup->addAction(i18n("Properties"));
QAction* activatedAction = popup->exec(QCursor::pos());
if (activatedAction == propertiesAction) {
@ -258,7 +258,7 @@ void DolphinContextMenu::openViewportContextMenu()
}
else if (activatedAction == bookmarkAction) {
const KUrl& url = m_mainWindow->activeView()->url();
KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add folder as bookmark"),
KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add Folder as Bookmark"),
url.fileName(),
url,
"bookmark");

View file

@ -1061,7 +1061,7 @@ void DolphinMainWindow::setupActions()
// setup 'File' menu
m_newMenu = new DolphinNewMenu(this);
KMenu* menu = m_newMenu->menu();
menu->setTitle(i18n("Create New..."));
menu->setTitle(i18n("Create New"));
menu->setIcon(KIcon("document-new"));
connect(menu, SIGNAL(aboutToShow()),
this, SLOT(updateNewMenu()));
@ -1073,7 +1073,7 @@ void DolphinMainWindow::setupActions()
connect(newWindow, SIGNAL(triggered()), this, SLOT(openNewMainWindow()));
QAction* rename = actionCollection()->addAction("rename");
rename->setText(i18n("Rename"));
rename->setText(i18n("Rename..."));
rename->setShortcut(Qt::Key_F2);
connect(rename, SIGNAL(triggered()), this, SLOT(rename()));

View file

@ -54,7 +54,7 @@ GeneralSettingsPage::GeneralSettingsPage(DolphinMainWindow* mainWin,QWidget* par
vBox->setSpacing(spacing);
// create 'Home URL' editor
QGroupBox* homeBox = new QGroupBox(i18n("Home folder"), vBox);
QGroupBox* homeBox = new QGroupBox(i18n("Home Folder"), vBox);
KHBox* homeUrlBox = new KHBox(homeBox);
homeUrlBox->setSpacing(spacing);
@ -69,10 +69,10 @@ GeneralSettingsPage::GeneralSettingsPage(DolphinMainWindow* mainWin,QWidget* par
KHBox* buttonBox = new KHBox(homeBox);
buttonBox->setSpacing(spacing);
QPushButton* useCurrentButton = new QPushButton(i18n("Use current location"), buttonBox);
QPushButton* useCurrentButton = new QPushButton(i18n("Use Current Location"), buttonBox);
connect(useCurrentButton, SIGNAL(clicked()),
this, SLOT(useCurrentLocation()));
QPushButton* useDefaultButton = new QPushButton(i18n("Use default location"), buttonBox);
QPushButton* useDefaultButton = new QPushButton(i18n("Use Default Location"), buttonBox);
connect(useDefaultButton, SIGNAL(clicked()),
this, SLOT(useDefaultLocation()));

View file

@ -56,8 +56,8 @@ GeneralViewSettingsPage::GeneralViewSettingsPage(DolphinMainWindow* mainWindow,
QGroupBox* propsBox = new QGroupBox(i18n("View Properties"), this);
m_localProps = new QRadioButton(i18n("Remember view properties for each folder."), propsBox);
m_globalProps = new QRadioButton(i18n("Use common view properties for all folders."), propsBox);
m_localProps = new QRadioButton(i18n("Remember view properties for each folder"), propsBox);
m_globalProps = new QRadioButton(i18n("Use common view properties for all folders"), propsBox);
if (settings->globalViewProps()) {
m_globalProps->setChecked(true);
}

View file

@ -50,7 +50,7 @@ IconSizeDialog::IconSizeDialog(QWidget* parent) :
const int spacing = KDialog::spacingHint();
setCaption(i18n("Change Icon and Preview Size"));
setCaption(i18n("Change Icon & Preview Size"));
setButtons(Ok|Cancel);
setDefaultButton(Ok);

View file

@ -64,7 +64,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinMainWindow* mainWindow,
m_iconSize = settings->iconSize();
m_previewSize = settings->previewSize();
m_iconSizeButton = new QPushButton(i18n("Change icon and preview size..."), this);
m_iconSizeButton = new QPushButton(i18n("Change Icon && Preview Size..."), this);
connect(m_iconSizeButton, SIGNAL(clicked()),
this, SLOT(openIconSizeDialog()));
@ -120,8 +120,8 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinMainWindow* mainWindow,
QLabel* arrangementLabel = new QLabel(i18n("Arrangement:"), gridGroup);
m_arrangementBox = new QComboBox(gridGroup);
m_arrangementBox->addItem(i18n("Left to right"));
m_arrangementBox->addItem(i18n("Top to bottom"));
m_arrangementBox->addItem(i18n("Left to Right"));
m_arrangementBox->addItem(i18n("Top to Bottom"));
m_arrangementBox->setCurrentIndex(leftToRightArrangement ? 0 : 1);
QLabel* gridSpacingLabel = new QLabel(i18n("Grid spacing:"), gridGroup);

View file

@ -69,7 +69,7 @@ void TreeViewContextMenu::open()
popup->addSeparator();
// insert 'Rename'
QAction* renameAction = new QAction(i18n("Rename"), this);
QAction* renameAction = new QAction(i18n("Rename..."), this);
connect(renameAction, SIGNAL(triggered()), this, SLOT(rename()));
popup->addAction(renameAction);

View file

@ -156,8 +156,8 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) :
// Only show the following settings if the view properties are remembered
// for each directory:
if (!useGlobalViewProps) {
// create 'Apply view properties to:' group
QGroupBox* applyBox = new QGroupBox(i18n("Apply view properties to:"), main);
// create 'Apply View Properties To' group
QGroupBox* applyBox = new QGroupBox(i18n("Apply View Properties To"), main);
m_applyToCurrentFolder = new QRadioButton(i18n("Current folder"), applyBox);
m_applyToCurrentFolder->setChecked(true);