i18n style guide fixes

svn path=/trunk/KDE/kdebase/workspace/; revision=757261
This commit is contained in:
Stephan Binner 2008-01-04 15:26:42 +00:00
parent 8ff45a283d
commit 32272e9613
13 changed files with 21 additions and 21 deletions

View file

@ -15,7 +15,7 @@
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>&amp;Strength</string>
<string>&amp;Strength:</string>
</property>
<property name="buddy" >
<cstring>spinStrength</cstring>
@ -56,14 +56,14 @@
<item>
<widget class="QCheckBox" name="checkPanel" >
<property name="text" >
<string>Apply effect to &amp;Panels</string>
<string>Apply effect to &amp;panels</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkGroup" >
<property name="text" >
<string>Apply effect to &amp;Groups</string>
<string>Apply effect to &amp;groups</string>
</property>
</widget>
</item>

View file

@ -36,7 +36,7 @@ InvertEffect::InvertEffect() : QObject(), ShaderEffect("invert")
{
KActionCollection* actionCollection = new KActionCollection( this );
KAction* a = (KAction*)actionCollection->addAction( "Invert" );
a->setText( i18n("Toggle Invert effect" ));
a->setText( i18n("Toggle Invert Effect" ));
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::META + Qt::Key_I));
connect(a, SIGNAL(triggered(bool)), this, SLOT(toggle()));
}

View file

@ -45,7 +45,7 @@ InvertEffectConfig::InvertEffectConfig(QWidget* parent, const QVariantList& args
QVBoxLayout* layout = new QVBoxLayout(this);
KActionCollection* actionCollection = new KActionCollection( this, KComponentData("kwin") );
KAction* a = static_cast<KAction*>(actionCollection->addAction( "Invert" ));
a->setText( i18n("Toggle Invert effect" ));
a->setText( i18n("Toggle Invert Effect" ));
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::META + Qt::Key_I));
mShortcutEditor = new KShortcutsEditor(actionCollection, this,

View file

@ -13,7 +13,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>&amp;Radius</string>
<string>&amp;Radius:</string>
</property>
<property name="buddy" >
<cstring>radiusSpin</cstring>

View file

@ -19,7 +19,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>&amp;Width</string>
<string>&amp;Width:</string>
</property>
<property name="buddy" >
<cstring>spinWidth</cstring>
@ -39,7 +39,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>&amp;Height</string>
<string>&amp;Height:</string>
</property>
<property name="buddy" >
<cstring>spinHeight</cstring>

View file

@ -19,7 +19,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>&amp;Width</string>
<string>&amp;Width:</string>
</property>
<property name="buddy" >
<cstring>spinWidth</cstring>
@ -45,7 +45,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>&amp;Color</string>
<string>&amp;Color:</string>
</property>
<property name="buddy" >
<cstring>comboColors</cstring>

View file

@ -58,7 +58,7 @@ PresentWindowsEffect::PresentWindowsEffect()
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F9));
connect(a, SIGNAL(triggered(bool)), this, SLOT(toggleActive()));
KAction* b = (KAction*)actionCollection->addAction( "ExposeAll" );
b->setText( i18n("Toggle Expose effect (incl other desktops)" ));
b->setText( i18n("Toggle Expose Effect (incl other desktops)" ));
b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10));
connect(b, SIGNAL(triggered(bool)), this, SLOT(toggleActiveAllDesktops()));

View file

@ -72,7 +72,7 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV
a->setText( i18n("Toggle Expose Effect" ));
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F9));
KAction* b = (KAction*)actionCollection->addAction( "ExposeAll" );
b->setText( i18n("Toggle Expose effect (incl other desktops)" ));
b->setText( i18n("Toggle Expose Effect (incl other desktops)" ));
b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10));
mShortcutEditor = new KShortcutsEditor(actionCollection, this,
KShortcutsEditor::GlobalAction, KShortcutsEditor::LetterShortcutsDisallowed);

View file

@ -37,7 +37,7 @@ SharpenEffect::SharpenEffect() : QObject(), ShaderEffect("sharpen")
{
KActionCollection* actionCollection = new KActionCollection( this );
KAction* a = (KAction*)actionCollection->addAction( "Sharpen" );
a->setText( i18n("Toggle Sharpen effect" ));
a->setText( i18n("Toggle Sharpen Effect" ));
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::META + Qt::Key_S));
connect(a, SIGNAL(triggered(bool)), this, SLOT(toggle()));
}

View file

@ -45,7 +45,7 @@ SharpenEffectConfig::SharpenEffectConfig(QWidget* parent, const QVariantList& ar
QVBoxLayout* layout = new QVBoxLayout(this);
KActionCollection* actionCollection = new KActionCollection( this, KComponentData("kwin") );
KAction* a = static_cast<KAction*>(actionCollection->addAction( "Sharpen" ));
a->setText( i18n("Toggle Sharpen effect" ));
a->setText( i18n("Toggle Sharpen Effect" ));
a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::META + Qt::Key_S));
mShortcutEditor = new KShortcutsEditor(actionCollection, this,

View file

@ -19,7 +19,7 @@
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Maximal &amp;Width</string>
<string>Maximal &amp;width:</string>
</property>
<property name="buddy" >
<cstring>spinWidth</cstring>
@ -42,7 +42,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>&amp;Spacing</string>
<string>&amp;Spacing:</string>
</property>
<property name="buddy" >
<cstring>spinSpacing</cstring>
@ -65,7 +65,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>&amp;Opacity</string>
<string>&amp;Opacity:</string>
</property>
<property name="buddy" >
<cstring>spinOpacity</cstring>

View file

@ -72,7 +72,7 @@
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>You can find more effects in the All effects tab</string>
<string>You can find more effects in the 'All Effects' tab</string>
</property>
</widget>
</item>
@ -97,7 +97,7 @@
<item>
<widget class="QPushButton" name="advancedOptions" >
<property name="text" >
<string>Advanced Options...</string>
<string>Advanced Options</string>
</property>
</widget>
</item>

View file

@ -192,8 +192,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
a->setText( i18n("Miscellaneous") );
DEF( I18N_NOOP("Mouse Emulation"), Qt::ALT+Qt::Key_F12, slotMouseEmulation() );
DEF( I18N_NOOP("Kill Window"), Qt::CTRL+Qt::ALT+Qt::Key_Escape, slotKillWindow() );
DEF( I18N_NOOP("Window Screenshot To Clipboard"), Qt::ALT+Qt::Key_Print, slotGrabWindow() );
DEF( I18N_NOOP("Desktop Screenshot To Clipboard"), Qt::CTRL+Qt::Key_Print, slotGrabDesktop() );
DEF( I18N_NOOP("Window Screenshot to Clipboard"), Qt::ALT+Qt::Key_Print, slotGrabWindow() );
DEF( I18N_NOOP("Desktop Screenshot to Clipboard"), Qt::CTRL+Qt::Key_Print, slotGrabDesktop() );
DEF( I18N_NOOP("Block Global Shortcuts"), 0, slotDisableGlobalShortcuts());
/*This belongs in taskbar rather than here, so it'll have to wait until after 2.2 is done.