simgunz added a comment.

  What is the best way to implement this? Given the call to i18n I guess I 
cannot just append a suffix to ret.
  Should I do for each annotation type something like:
    bool hasComment = !ann->contents().isEmpty();
    ret =  hasComment ? i18n( "Highlight with Comment" ) : i18n( "Highlight 
Note" );
  I guess I do not need to add "with Comment" to Pop-up note and Inline note 
given that they always have a comment.

  R223 Okular


To: simgunz, #okular, aacid
Cc: aacid, ngraham, michaelweghorn

Reply via email to