Skip to content
  • Elvis Angelaccio's avatar
    Fix context for QDateTime::toString() translations · 1a325946
    Elvis Angelaccio authored
    Summary:
    The documentation of QDateTime::toString() says that:
    
        Any sequence of characters that are enclosed in single
        quotes will be treated as text and not be used as an expression.
    
    This means that translators cannot replace single quotes with other
    characters such as «...». This is now described in the context of the
    affected strings.
    
    We also check that the translated string contains exactly 2 single
    quotes, and we use the untraslated string otherwise.
    
    BUG: 401382
    
    Reviewers: lueck, aacid, cfeck
    
    Subscribers: ltoscano, kfm-devel
    
    Tags: #dolphin
    
    Differential Revision: https://phabricator.kde.org/D18769
    1a325946