[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/dialogs
From:       Meni Livne <livne () kde ! org>
Date:       2005-04-02 9:36:22
Message-ID: 20050402093622.BDBA4632 () office ! kde ! org
[Download RAW message or body]

CVS commit by livne: 

Fix changing a sheet's direction through the sheet properties dialog.


  M +4 -4      sheet_properties.cc   1.7


--- koffice/kspread/dialogs/sheet_properties.cc  #1.6:1.7
@@ -62,8 +62,8 @@ void SheetPropertiesDialog::slotDefault(
 KSpreadSheet::LayoutDirection SheetPropertiesDialog::layoutDirection() const
 {
-  if( d->directionComboBox->currentText() == i18n( "Left To Right" ) )
+  if( d->directionComboBox->currentText() == i18n( "Left to Right" ) )
     return KSpreadSheet::LeftToRight;
   
-  if( d->directionComboBox->currentText() == i18n( "Right To Left" ) )
+  if( d->directionComboBox->currentText() == i18n( "Right to Left" ) )
     return KSpreadSheet::RightToLeft;
   
@@ -77,8 +77,8 @@ void SheetPropertiesDialog::setLayoutDir
   {
     case KSpreadSheet::LeftToRight:
-      d->directionComboBox->setCurrentText( i18n( "Left To Right" ) );
+      d->directionComboBox->setCurrentText( i18n( "Left to Right" ) );
       break;
     case KSpreadSheet::RightToLeft:
-      d->directionComboBox->setCurrentText( i18n( "Right To Left" ) );
+      d->directionComboBox->setCurrentText( i18n( "Right to Left" ) );
       break;
     default: break;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic