i18n: split size strings for borders and buttons.

svn path=/trunk/KDE/kdebase/workspace/; revision=1129436
This commit is contained in:
Chusslove Illich 2010-05-22 11:39:44 +00:00
parent 4ad998910e
commit 0b22f9d2b5
2 changed files with 22 additions and 22 deletions

View file

@ -28,37 +28,37 @@
<widget class="KComboBox" name="borderSizesCombo">
<item>
<property name="text">
<string>Tiny</string>
<string comment="@item:inlistbox Border size:">Tiny</string>
</property>
</item>
<item>
<property name="text">
<string>Normal</string>
<string comment="@item:inlistbox Border size:">Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Large</string>
<string comment="@item:inlistbox Border size:">Large</string>
</property>
</item>
<item>
<property name="text">
<string>Very Large</string>
<string comment="@item:inlistbox Border size:">Very Large</string>
</property>
</item>
<item>
<property name="text">
<string>Huge</string>
<string comment="@item:inlistbox Border size:">Huge</string>
</property>
</item>
<item>
<property name="text">
<string>Very Huge</string>
<string comment="@item:inlistbox Border size:">Very Huge</string>
</property>
</item>
<item>
<property name="text">
<string>Oversized</string>
<string comment="@item:inlistbox Border size:">Oversized</string>
</property>
</item>
</widget>
@ -77,37 +77,37 @@
<widget class="KComboBox" name="buttonSizesCombo">
<item>
<property name="text">
<string>Tiny</string>
<string comment="@item:inlistbox Button size:">Tiny</string>
</property>
</item>
<item>
<property name="text">
<string>Normal</string>
<string comment="@item:inlistbox Button size:">Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Large</string>
<string comment="@item:inlistbox Button size:">Large</string>
</property>
</item>
<item>
<property name="text">
<string>Very Large</string>
<string comment="@item:inlistbox Button size:">Very Large</string>
</property>
</item>
<item>
<property name="text">
<string>Huge</string>
<string comment="@item:inlistbox Button size:">Huge</string>
</property>
</item>
<item>
<property name="text">
<string>Very Huge</string>
<string comment="@item:inlistbox Button size:">Very Huge</string>
</property>
</item>
<item>
<property name="text">
<string>Oversized</string>
<string comment="@item:inlistbox Button size:">Oversized</string>
</property>
</item>
</widget>

View file

@ -30,13 +30,13 @@ namespace KWin
static const char* const border_names[ KDecorationDefines::BordersCount ] =
{
I18N_NOOP( "Tiny" ),
I18N_NOOP( "Normal" ),
I18N_NOOP( "Large" ),
I18N_NOOP( "Very Large" ),
I18N_NOOP( "Huge" ),
I18N_NOOP( "Very Huge" ),
I18N_NOOP( "Oversized" )
I18N_NOOP2( "@item:inlistbox Border size:", "Tiny" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Normal" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Large" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Very Large" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Huge" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Very Huge" ),
I18N_NOOP2( "@item:inlistbox Border size:", "Oversized" )
};
KWinAuroraeConfigForm::KWinAuroraeConfigForm( QWidget* parent )
@ -100,7 +100,7 @@ KWinDecorationConfigDialog::KWinDecorationConfigDialog( QString deco, const QLis
{
KDecorationDefines::BorderSize currentSize =
static_cast<KDecorationDefines::BorderSize>( borderSize.toInt() );
m_ui->bordersCombo->addItem(i18n(border_names[currentSize]), borderSizeToIndex(currentSize, borderSizes) );
m_ui->bordersCombo->addItem(i18nc("@item:inlistbox Border size:", border_names[currentSize]), borderSizeToIndex(currentSize, borderSizes) );
}
m_ui->bordersCombo->setCurrentIndex( borderSizeToIndex( size, borderSizes ) );
}