Bug 125957 - l10n for Russian: different "width" for stroke and other dimensions
Summary: l10n for Russian: different "width" for stroke and other dimensions
Status: RESOLVED FIXED
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Tim Beaulen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 15:46 UTC by Andrey Cherepanov
Modified: 2006-04-25 09:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2006-04-20 15:46:32 UTC
Version:           1.4.90 (using KDE 3.5.0, compiled sources)
Compiler:          gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)
OS:                Linux (i686) release 2.6.9-1.667smp

There are different translations into Russian for "width" for stroke ("толщина") and other dimensions (page and object size and so on) ("ширина"). There is impossible to translate into Russian correct. Please, separate "width" for stroke and for other dimensions.
Comment 1 Jan Hambrecht 2006-04-20 23:36:30 UTC
Hi...

So if i understand you correctly, you want me to add some context to the i18n 
calls. I can do that. Can you please send me all places where i have to do 
this, so that i do not forget one.

Ciao Jan
Comment 2 Andrey Cherepanov 2006-04-21 09:52:35 UTC
Ok. For stable branch:

First part:
dialogs/vstrokedlg.cc:51 
dockers/vstrokedocker.cc:51

Second part:
dockers/vdocumentdocker.cc:231
tools/vellipsetool.cc:50
tools/vrectangletool.cc:38
tools/vroundrecttool.cc:38
tools/vsinustool.cc:41
widgets/vselecttoolbar.cc:51
Comment 3 Jan Hambrecht 2006-04-21 10:03:26 UTC
Thanks. I will commit these when i come home in the evening.

Ciao Jan
Comment 4 Jan Hambrecht 2006-04-21 19:00:36 UTC
SVN commit 532319 by jaham:

GUI:added context to some i18n calls due to request of russian translater Andrey Cherepanov

CCBUG:125957



 M  +1 -1      dialogs/vstrokedlg.cc  
 M  +1 -1      dockers/vdocumentdocker.cc  
 M  +1 -1      dockers/vstrokedocker.cc  
 M  +1 -1      tools/vellipsetool.cc  
 M  +1 -1      tools/vrectangletool.cc  
 M  +1 -1      tools/vroundrecttool.cc  
 M  +1 -1      tools/vsinustool.cc  
 M  +1 -1      widgets/vselecttoolbar.cc  


--- branches/koffice/1.5/koffice/karbon/dialogs/vstrokedlg.cc #532318:532319
@@ -48,7 +48,7 @@
 
 	QVBoxLayout *leftLayout = new QVBoxLayout( mainLayout, 4 );
 
-	QLabel* widthLabel = new QLabel( i18n ( "Width:" ), mainWidget );
+	QLabel* widthLabel = new QLabel( i18n ( "stroke width", "Width:" ), mainWidget );
 	leftLayout->addWidget ( widthLabel );
 	m_setLineWidth = new KoUnitDoubleSpinBox( mainWidget, 0.0, 1000.0, 0.5, 1.0, KoUnit::U_PT, 1 );
 	leftLayout->addWidget ( m_setLineWidth );
--- branches/koffice/1.5/koffice/karbon/dockers/vdocumentdocker.cc #532318:532319
@@ -228,7 +228,7 @@
 	layout->setMargin( 3 );
 	layout->setSpacing( 2 );
 	layout->addMultiCellWidget( m_documentPreview = new VDocumentPreview( m_view, this ), 0, 7, 2, 2 );
-	layout->addWidget( new QLabel( i18n( "Width:" ), this ), 0, 0 );
+	layout->addWidget( new QLabel( i18n( "document width", "Width:" ), this ), 0, 0 );
 	layout->addWidget( new QLabel( i18n( "Height:" ), this ), 1, 0 );
 	layout->addMultiCellWidget( frame = new QFrame( this ), 2, 2, 0, 1 );
 	frame->setFrameShape( QFrame::HLine );
--- branches/koffice/1.5/koffice/karbon/dockers/vstrokedocker.cc #532318:532319
@@ -48,7 +48,7 @@
 
 	QGridLayout *mainLayout = new QGridLayout( this, 4, 2 );
 	
-	QLabel* widthLabel = new QLabel( i18n ( "Width:" ), this );
+	QLabel* widthLabel = new QLabel( i18n ( "stroke width", "Width:" ), this );
 	mainLayout->addWidget( widthLabel, 0, 0 );
 	// set min/max/step and value in points, then set actual unit
 	m_setLineWidth = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5, 1.0, KoUnit::U_PT, 2 );
--- branches/koffice/1.5/koffice/karbon/tools/vellipsetool.cc #532318:532319
@@ -47,7 +47,7 @@
 	connect( m_type, SIGNAL( activated( int ) ), this, SLOT( typeChanged( int ) ) );
 
 	// add width/height-input:
-	m_widthLabel = new QLabel( i18n( "Width:" ), group );
+	m_widthLabel = new QLabel( i18n( "object width", "Width:" ), group );
 	m_width = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
 	m_heightLabel = new QLabel( i18n( "Height:" ), group );
 	m_height = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
--- branches/koffice/1.5/koffice/karbon/tools/vrectangletool.cc #532318:532319
@@ -35,7 +35,7 @@
 {
 	QGroupBox *group = new QGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
 	// add width/height-input:
-	m_widthLabel = new QLabel( i18n( "Width:" ), group );
+	m_widthLabel = new QLabel( i18n( "object width", "Width:" ), group );
 	m_width = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
 
 	m_heightLabel = new QLabel( i18n( "Height:" ), group );
--- branches/koffice/1.5/koffice/karbon/tools/vroundrecttool.cc #532318:532319
@@ -35,7 +35,7 @@
 	: KDialogBase( parent, name, true, i18n( "Insert Round Rect" ), Ok | Cancel ), m_part( part )
 {
 	QGroupBox *group = new QGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
-	new QLabel( i18n( "Width:" ), group );
+	new QLabel( i18n( "object width", "Width:" ), group );
 	
 	KoUnit::Unit unit = KoUnit::U_CM;
 	m_width = new KoUnitDoubleSpinBox( group, 0.0, KoUnit::fromUserValue( 1000.0, unit ), KoUnit::fromUserValue( 0.5, unit ), KoUnit::fromUserValue( 10.0, unit ), unit );
--- branches/koffice/1.5/koffice/karbon/tools/vsinustool.cc #532318:532319
@@ -38,7 +38,7 @@
 	QGroupBox *group = new QGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
 
 	// add width/height-input:
-	m_widthLabel = new QLabel( i18n( "Width:" ), group );
+	m_widthLabel = new QLabel( i18n( "object width", "Width:" ), group );
 	m_width = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
 	m_heightLabel = new QLabel( i18n( "Height:" ), group );
 	m_height = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
--- branches/koffice/1.5/koffice/karbon/widgets/vselecttoolbar.cc #532318:532319
@@ -48,7 +48,7 @@
 	insertWidget( 3, m_y->width(), m_y );
 	
 	insertSeparator( 4 );
-	QLabel *w_label = new QLabel( i18n( "Width:" ), this, "kde toolbar widget" );
+	QLabel *w_label = new QLabel( i18n( "selection width", "Width:" ), this, "kde toolbar widget" );
 	insertWidget( 5, w_label->width(), w_label );
 	m_width = new KoUnitDoubleSpinBox( this, 0.0, 1000.0, 0.5 );
 	connect( m_width, SIGNAL( valueChanged( double ) ), this, SLOT( slotWidthChanged( double ) ) );
Comment 5 Jan Hambrecht 2006-04-25 00:26:36 UTC
Hi Anreay, can i close this bug or are there more problems?

Ciao Jan
Comment 6 Andrey Cherepanov 2006-04-25 07:41:14 UTC
Yes, bug is fixed.
Comment 7 Jan Hambrecht 2006-04-25 09:41:13 UTC
*** Bug has been marked as fixed ***.