https://bugs.kde.org/show_bug.cgi?id=454085

Christoph Cullmann <cullm...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |general
           Assignee|kwrite-bugs-n...@kde.org    |aa...@kde.org
                 CC|                            |cullm...@kde.org
            Product|kate                        |i18n
            Version|22.04.1                     |unspecified

--- Comment #1 from Christoph Cullmann <cullm...@kde.org> ---
Perhaps we need to add more context in the syntax-highlighting framework during
message extraction.

ATM that is done like


# extract language and section names from XML syntax definition files
# and adapt for lupdate-based extraction to match the rest of the code
$EXTRACTATTR --attr=language,name,Language --attr="language,section,Language
Section" ../data/syntax/*.xml >> rc.cpp || exit 12
sed -i -e 's/^i18nc/QT_TRANSLATE_NOOP/' rc.cpp

grep --no-filename '"name"' ../data/themes/*.theme | \
  sed -r -e 's/"name"/QT_TRANSLATE_NOOP("Theme", /; s/://; s/,?$/);/' >> rc.cpp


Which kind of context would the i18n team prefer?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to