Consistently call "Note" -> "Pop-up Note" (as opposed to "Inline Note")

remotes/origin/epub-qtextdoc
Fabio D'Urso 14 years ago
parent cfa8c3a6d5
commit 35d481e783
  1. 2
      conf/widgetannottools.cpp
  2. 2
      ui/annotationpropertiesdialog.cpp
  3. 2
      ui/pageviewannotator.cpp

@ -246,7 +246,7 @@ NewAnnotToolDialog::NewAnnotToolDialog( QWidget *parent )
widgetLayout->addWidget( m_appearanceBox, 2, 0, 1, 2 ); widgetLayout->addWidget( m_appearanceBox, 2, 0, 1, 2 );
// Populate combobox with annotation types // Populate combobox with annotation types
m_type->addItem( i18n("Note"), QByteArray("note-linked") ); m_type->addItem( i18n("Pop-up Note"), QByteArray("note-linked") );
m_type->addItem( i18n("Inline Note"), QByteArray("note-inline") ); m_type->addItem( i18n("Inline Note"), QByteArray("note-inline") );
m_type->addItem( i18n("Freehand Line"), QByteArray("ink") ); m_type->addItem( i18n("Freehand Line"), QByteArray("ink") );
m_type->addItem( i18n("Straight Line"), QByteArray("straight-line") ); m_type->addItem( i18n("Straight Line"), QByteArray("straight-line") );

@ -115,7 +115,7 @@ void AnnotsPropertiesDialog::setCaptionTextbyAnnotType()
{ {
case Okular::Annotation::AText: case Okular::Annotation::AText:
if(((Okular::TextAnnotation*)m_annot)->textType()==Okular::TextAnnotation::Linked) if(((Okular::TextAnnotation*)m_annot)->textType()==Okular::TextAnnotation::Linked)
captiontext = i18n( "Note Properties" ); captiontext = i18n( "Pop-up Note Properties" );
else else
captiontext = i18n( "Inline Note Properties" ); captiontext = i18n( "Inline Note Properties" );
break; break;

@ -1052,7 +1052,7 @@ QString PageViewAnnotator::defaultToolName( const QDomElement &toolElement )
else if ( annotType == "note-inline" ) else if ( annotType == "note-inline" )
return i18n( "Inline Note" ); return i18n( "Inline Note" );
else if ( annotType == "note-linked" ) else if ( annotType == "note-linked" )
return i18n( "Note" ); return i18n( "Pop-up Note" );
else if ( annotType == "polygon" ) else if ( annotType == "polygon" )
return i18n( "Polygon" ); return i18n( "Polygon" );
else if ( annotType == "rectangle" ) else if ( annotType == "rectangle" )

Loading…
Cancel
Save