From c7debcd41a8f9ee13233a564bb2b2e16ea7bb713 Mon Sep 17 00:00:00 2001 From: Stephan Binner Date: Tue, 8 May 2007 13:19:53 +0000 Subject: [PATCH] i18n style guide fixes svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662510 --- src/ColorSchemeEditor.ui | 2 +- src/EditProfileDialog.ui | 22 +++++++++++----------- src/HistorySizeDialog.cpp | 6 +++--- src/IncrementalSearchBar.cpp | 6 +++--- src/MainWindow.cpp | 2 +- src/SessionController.cpp | 8 ++++---- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/ColorSchemeEditor.ui b/src/ColorSchemeEditor.ui index 0a91b0bba..12a13abef 100644 --- a/src/ColorSchemeEditor.ui +++ b/src/ColorSchemeEditor.ui @@ -38,7 +38,7 @@ - Background Transparency: + Background transparency: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/src/EditProfileDialog.ui b/src/EditProfileDialog.ui index 150753730..1d19b3232 100644 --- a/src/EditProfileDialog.ui +++ b/src/EditProfileDialog.ui @@ -41,7 +41,7 @@ - Profile Name: + Profile name: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -75,7 +75,7 @@ - Initial Directory: + Initial directory: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -168,7 +168,7 @@ - Tab Title Format: + Tab title format: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -195,7 +195,7 @@ - Remote Tab Title Format: + Remote tab title format: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -237,7 +237,7 @@ Show or hide the menu bar in terminal windows using this profile - Show Menu Bar + Show menu bar @@ -291,7 +291,7 @@ - Appearence + Appearance @@ -303,7 +303,7 @@ - Color Scheme and Background + Color Scheme && Background true @@ -410,7 +410,7 @@ - Text Size: + Text size: Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -669,7 +669,7 @@ - Terminal Features: + Terminal Features true @@ -711,7 +711,7 @@ - Interaction options: + Interaction Options true @@ -744,7 +744,7 @@ - Cursor Options: + Cursor Options true diff --git a/src/HistorySizeDialog.cpp b/src/HistorySizeDialog.cpp index 146e54ae1..065101cfd 100644 --- a/src/HistorySizeDialog.cpp +++ b/src/HistorySizeDialog.cpp @@ -58,9 +58,9 @@ HistorySizeDialog::HistorySizeDialog( QWidget* parent ) QButtonGroup* modeGroup = new QButtonGroup(this); - _noHistoryButton = new QRadioButton( i18n("No History") ); - _fixedHistoryButton = new QRadioButton( i18n("Fixed Size History") ); - _unlimitedHistoryButton = new QRadioButton( i18n("Unlimited History") ); + _noHistoryButton = new QRadioButton( i18n("No history") ); + _fixedHistoryButton = new QRadioButton( i18n("Fixed size history:") ); + _unlimitedHistoryButton = new QRadioButton( i18n("Unlimited history") ); modeGroup->addButton(_noHistoryButton); modeGroup->addButton(_fixedHistoryButton); diff --git a/src/IncrementalSearchBar.cpp b/src/IncrementalSearchBar.cpp index a6b684f3b..be7b87d0a 100644 --- a/src/IncrementalSearchBar.cpp +++ b/src/IncrementalSearchBar.cpp @@ -54,7 +54,7 @@ IncrementalSearchBar::IncrementalSearchBar(Features features , QWidget* parent) close->setIcon(KIcon("fileclose")); connect( close , SIGNAL(clicked()) , this , SIGNAL(closeClicked()) ); - QLabel* findLabel = new QLabel(i18n("Find"),this); + QLabel* findLabel = new QLabel(i18n("Find:"),this); _searchEdit = new QLineEdit(this); _searchEdit->installEventFilter(this); _searchEdit->setObjectName("search-edit"); @@ -104,7 +104,7 @@ IncrementalSearchBar::IncrementalSearchBar(Features features , QWidget* parent) if ( features & MatchCase ) { - _matchCaseBox = new QCheckBox( i18n("Match Case") , this ); + _matchCaseBox = new QCheckBox( i18n("Match case") , this ); _matchCaseBox->setObjectName("match-case-box"); _matchCaseBox->setToolTip("Sets whether the searching is case sensitive"); connect( _matchCaseBox , SIGNAL(toggled(bool)) , this , SIGNAL(matchCaseToggled(bool)) ); @@ -112,7 +112,7 @@ IncrementalSearchBar::IncrementalSearchBar(Features features , QWidget* parent) if ( features & RegExp ) { - _matchRegExpBox = new QCheckBox( i18n("Match Regular Expression") , this ); + _matchRegExpBox = new QCheckBox( i18n("Match regular expression") , this ); _matchRegExpBox->setObjectName("match-regexp-box"); _matchRegExpBox->setToolTip("Sets whether the search phrase is interpreted as normal text or" " as a regular expression"); diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 04b1e8626..b33f8882a 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -154,7 +154,7 @@ void MainWindow::setupActions() connect( newWindowAction , SIGNAL(triggered()) , this , SLOT(newWindow()) ); QAction* newFromProfileAction = collection->addAction("new-from-profile"); - newFromProfileAction->setText( i18n("New from Profile...") ); + newFromProfileAction->setText( i18n("New From Profile...") ); // TODO Implement "New from Profile" QAction* remoteConnectionAction = collection->addAction("remote-connection"); diff --git a/src/SessionController.cpp b/src/SessionController.cpp index 598aab7ac..cddb5d7da 100644 --- a/src/SessionController.cpp +++ b/src/SessionController.cpp @@ -337,7 +337,7 @@ void SessionController::setupActions() // Rename Session action = collection->addAction("rename-session"); - action->setText( i18n("&Rename Tab") ); + action->setText( i18n("&Rename Tab...") ); action->setShortcut( QKeySequence(Qt::CTRL+Qt::ALT+Qt::Key_S) ); connect( action , SIGNAL(triggered()) , this , SLOT(renameSession()) ); @@ -352,7 +352,7 @@ void SessionController::setupActions() connect( action , SIGNAL(triggered()) , this , SLOT(clear()) ); action = collection->addAction("clear-and-reset"); - action->setText( i18n("Clear and Reset") ); + action->setText( i18n("Clear && Reset") ); action->setIcon( KIcon("history-clear") ); connect( action , SIGNAL(triggered()) , this , SLOT(clearAndReset()) ); @@ -387,7 +387,7 @@ void SessionController::setupActions() connect( action , SIGNAL(triggered()) , this , SLOT(decreaseTextSize()) ); // History - _searchToggleAction = new KAction(i18n("Search History"),this); + _searchToggleAction = new KAction(i18n("Search History..."),this); _searchToggleAction->setShortcut( QKeySequence(Qt::CTRL+Qt::SHIFT+Qt::Key_F) ); _searchToggleAction->setIcon( KIcon("edit-find") ); action = collection->addAction("search-history" , _searchToggleAction); @@ -408,7 +408,7 @@ void SessionController::setupActions() connect( _findPreviousAction , SIGNAL(triggered()) , this , SLOT(findPreviousInHistory()) ); action = collection->addAction("save-history"); - action->setText( i18n("Save History") ); + action->setText( i18n("Save History...") ); connect( action , SIGNAL(triggered()) , this , SLOT(saveHistory()) ); action = collection->addAction("history-options");