CVS_SILENT i18n style guide fixes

svn path=/trunk/kdebase/kwin/; revision=324065
icc-effect-5.14.5
Stephan Binner 2004-06-27 16:18:56 +00:00
parent aa96fece28
commit c0c7fe46d6
12 changed files with 33 additions and 33 deletions

View File

@ -334,7 +334,7 @@ void B2Client::init()
const QString tips[] = {
i18n("Menu"),
isOnAllDesktops() ?
i18n("Not On All Desktops") : i18n("On All desktops"),
i18n("Not on all desktops") : i18n("On all desktops"),
i18n("Minimize"), i18n("Maximize"),
i18n("Close"), i18n("Help"),
isShade() ? i18n("Unshade") : i18n("Shade"),
@ -781,7 +781,7 @@ void B2Client::desktopChange()
b->setDown(on);
QToolTip::remove(b);
QToolTip::add(b,
on ? i18n("Not On All Desktops") : i18n("On All Desktops"));
on ? i18n("Not on all desktops") : i18n("On all desktops"));
}
}

View File

@ -794,7 +794,7 @@ void KDEDefaultClient::addClientButtons( const QString& s, bool isLeft )
{
button[BtnSticky] = new KDEDefaultButton(this, "sticky",
largeButtons, isLeft, true, NULL,
isOnAllDesktops()?i18n("Not On All Desktops"):i18n("On All Desktops"));
isOnAllDesktops()?i18n("Not on all desktops"):i18n("On all desktops"));
button[BtnSticky]->turnOn( isOnAllDesktops() );
connect( button[BtnSticky], SIGNAL(clicked()),
this, SLOT(toggleOnAllDesktops()) );
@ -880,7 +880,7 @@ void KDEDefaultClient::desktopChange()
button[BtnSticky]->turnOn(on);
button[BtnSticky]->repaint(false);
QToolTip::remove( button[BtnSticky] );
QToolTip::add( button[BtnSticky], on ? i18n("Not On All Desktops") : i18n("On All Desktops"));
QToolTip::add( button[BtnSticky], on ? i18n("Not on all desktops") : i18n("On all desktops"));
}
}

View File

@ -2,7 +2,7 @@
*
* Keramik KWin client (version 0.8)
*
* Copyright (C) 2002 Fredrik Höglund <fredrik@kde.org>
* Copyright (C) 2002 Fredrik H<EFBFBD>lund <fredrik@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -956,7 +956,7 @@ void KeramikClient::addButtons( QBoxLayout *layout, const QString &s )
case 'S' :
if ( !button[OnAllDesktopsButton] ) {
button[OnAllDesktopsButton] = new KeramikButton( this, "on_all_desktops",
OnAllDesktopsButton, isOnAllDesktops()?i18n("Not On All Desktops"):i18n("On All Desktops") );
OnAllDesktopsButton, isOnAllDesktops()?i18n("Not on all desktops"):i18n("On all desktops") );
if(isOnAllDesktops())
button[OnAllDesktopsButton]->toggle();
connect( button[OnAllDesktopsButton], SIGNAL( clicked() ), SLOT( toggleOnAllDesktops() ) );
@ -1309,7 +1309,7 @@ void KeramikClient::desktopChange()
if ( button[ OnAllDesktopsButton ] )
{
QToolTip::remove( button[ OnAllDesktopsButton ] );
QToolTip::add( button[ OnAllDesktopsButton ], isOnAllDesktops() ? i18n("Not On All Desktops") : i18n("On All Desktops") );
QToolTip::add( button[ OnAllDesktopsButton ], isOnAllDesktops() ? i18n("Not on all desktops") : i18n("On all desktops") );
}
}

View File

@ -762,7 +762,7 @@ void KWMThemeClient::desktopChange()
bool on = isOnAllDesktops();
stickyBtn->setPixmap(on ? *pindownPix : *pinupPix);
QToolTip::remove( stickyBtn );
QToolTip::add( stickyBtn, on ? i18n("Un-Sticky") : i18n("Sticky") );
QToolTip::add( stickyBtn, on ? i18n("Unsticky") : i18n("Sticky") );
}
}

View File

@ -371,7 +371,7 @@ void LaptopClient::init()
button[BtnClose] = new LaptopButton(btnWidth2, th, this, "close",
close_bits, i18n("Close"));
button[BtnSticky] = new LaptopButton(btnWidth1, th, this, "sticky",
NULL, isOnAllDesktops()?i18n("Not On All Desktops"):i18n("On All Desktops"));
NULL, isOnAllDesktops()?i18n("Not an all desktops"):i18n("On all desktops"));
if(isOnAllDesktops())
button[BtnSticky]->setBitmap(unsticky_bits);
else
@ -596,7 +596,7 @@ void LaptopClient::desktopChange()
button[BtnSticky]->setBitmap(on ? unsticky_bits : sticky_bits);
QToolTip::remove(button[BtnSticky]);
QToolTip::add(button[BtnSticky],
on ? i18n("Not On All Desktops") : i18n("On All Desktops"));
on ? i18n("Not on all desktops") : i18n("On all desktops"));
}
void LaptopClient::maximizeChange()

View File

@ -383,7 +383,7 @@ void ModernSys::init()
QSizePolicy::Minimum);
button[BtnClose] = new ModernButton(this, "close", close_bits, i18n("Close"));
button[BtnSticky] = new ModernButton(this, "sticky", NULL, isOnAllDesktops()?i18n("Un-Sticky"):i18n("Sticky"));
button[BtnSticky] = new ModernButton(this, "sticky", NULL, isOnAllDesktops()?i18n("Unsticky"):i18n("Sticky"));
button[BtnMinimize] = new ModernButton(this, "iconify", iconify_bits, i18n("Minimize"));
button[BtnMaximize] = new ModernButton(this, "maximize", maximize_bits, i18n("Maximize"), LeftButton|MidButton|RightButton);
button[BtnHelp] = new ModernButton(this, "help", question_bits, i18n("Help"));
@ -641,7 +641,7 @@ void ModernSys::desktopChange()
bool sticky_on = isOnAllDesktops();
button[BtnSticky]->setBitmap(sticky_on ? unsticky_bits : sticky_bits);
QToolTip::remove( button[BtnSticky] );
QToolTip::add( button[BtnSticky], sticky_on ? i18n("Un-Sticky") : i18n("Sticky"));
QToolTip::add( button[BtnSticky], sticky_on ? i18n("Unsticky") : i18n("Sticky"));
}
void ModernSys::maximizeChange()

View File

@ -591,7 +591,7 @@ void QuartzClient::addClientButtons( const QString& s, bool isLeft )
if (!button[BtnOnAllDesktops])
{
button[BtnOnAllDesktops] = new QuartzButton(this, "on_all_desktops",
largeButtons, isLeft, true, NULL, isOnAllDesktops()?i18n("Not On All Desktops"):i18n("On All Desktops"));
largeButtons, isLeft, true, NULL, isOnAllDesktops()?i18n("Not on all desktops"):i18n("On all desktops"));
button[BtnOnAllDesktops]->turnOn( isOnAllDesktops() );
connect( button[BtnOnAllDesktops], SIGNAL(clicked()),
this, SLOT(toggleOnAllDesktops()) );
@ -665,7 +665,7 @@ void QuartzClient::desktopChange()
{
button[BtnOnAllDesktops]->turnOn(isOnAllDesktops());
button[BtnOnAllDesktops]->repaint(false);
button[BtnOnAllDesktops]->setTipText(isOnAllDesktops() ? i18n("Not On All Desktops") : i18n("On All Desktops"));
button[BtnOnAllDesktops]->setTipText(isOnAllDesktops() ? i18n("Not on all desktops") : i18n("On all desktops"));
}
}

View File

@ -34,7 +34,7 @@ static unsigned char unsticky_bits[] =
};
WebButtonSticky::WebButtonSticky(bool sticky, QWidget * parent, WebClient* deco)
: WebButton(parent, sticky?i18n("Not On All Desktops"):i18n("On All Desktops"), deco)
: WebButton(parent, sticky?i18n("Not on all desktops"):i18n("On all desktops"), deco)
{
QBitmap b(8, 8, sticky ? unsticky_bits : sticky_bits, true /* isXBitmap */);
b.setMask(b);
@ -47,7 +47,7 @@ WebButtonSticky::slotOnAllDesktopsChange(bool sticky)
QBitmap b(8, 8, sticky ? unsticky_bits : sticky_bits, true /* isXBitmap */);
b.setMask(b);
setBitmap(b);
setTipText(sticky ? i18n("Not On All Desktops") : i18n("On All Desktops"));
setTipText(sticky ? i18n("Not on all desktops") : i18n("On all desktops"));
}
void

View File

@ -66,9 +66,9 @@ static QCString getStringProperty(WId w, Atom prop, char separator=0)
status = XGetWindowProperty( qt_xdisplay(), w, prop, 0, 10000,
FALSE, XA_STRING, &type, &format,
&nitems, &extra, &data );
if ( status == Success)
if ( status == Success)
{
if (data && separator)
if (data && separator)
{
for (int i=0; i<(int)nitems; i++)
if (!data[i] && i+1<(int)nitems)
@ -128,7 +128,7 @@ void DetectDialog::executeDialog()
I18N_NOOP( "Override Type" ),
I18N_NOOP( "Standalone Menubar" ),
I18N_NOOP( "Utility Window" ),
I18N_NOOP( "Splashscreen" )
I18N_NOOP( "Splash Screen" )
};
widget->class_label->setText( wmclass_class + " (" + wmclass_name + ' ' + wmclass_class + ")" );
widget->role_label->setText( role );

View File

@ -21,7 +21,7 @@
<cstring>textLabel9</cstring>
</property>
<property name="text">
<string>Information about the selected window:</string>
<string>Information About Selected Window</string>
</property>
</widget>
<widget class="Line">

View File

@ -99,12 +99,12 @@
</item>
<item>
<property name="text">
<string>Substring match</string>
<string>Substring Match</string>
</property>
</item>
<item>
<property name="text">
<string>Regular expression</string>
<string>Regular Expression</string>
</property>
</item>
<property name="name">
@ -195,12 +195,12 @@
</item>
<item>
<property name="text">
<string>Substring match</string>
<string>Substring Match</string>
</property>
</item>
<item>
<property name="text">
<string>Regular expression</string>
<string>Regular Expression</string>
</property>
</item>
<property name="name">
@ -400,7 +400,7 @@
</item>
<item>
<property name="text">
<string>Splashscreen</string>
<string>Splash Screen</string>
</property>
</item>
<item>
@ -459,12 +459,12 @@
</item>
<item>
<property name="text">
<string>Substring match</string>
<string>Substring Match</string>
</property>
</item>
<item>
<property name="text">
<string>Regular expression</string>
<string>Regular Expression</string>
</property>
</item>
<property name="name">
@ -555,12 +555,12 @@
</item>
<item>
<property name="text">
<string>Substring match</string>
<string>Substring Match</string>
</property>
</item>
<item>
<property name="text">
<string>Regular expression</string>
<string>Regular Expression</string>
</property>
</item>
<property name="name">
@ -651,12 +651,12 @@
</item>
<item>
<property name="text">
<string>Substring match</string>
<string>Substring Match</string>
</property>
</item>
<item>
<property name="text">
<string>Regular expression</string>
<string>Regular Expression</string>
</property>
</item>
<property name="name">
@ -1725,7 +1725,7 @@
</item>
<item>
<property name="text">
<string>Splashscreen</string>
<string>Splash Screen</string>
</property>
</item>
<item>

View File

@ -157,7 +157,7 @@ static void sighandler(int)
} // namespace
static const char version[] = "2.95";
static const char description[] = I18N_NOOP( "The KDE window manager." );
static const char description[] = I18N_NOOP( "KDE window manager" );
static KCmdLineOptions args[] =
{