[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66276] Make it possible to extract JavaScript multiline strings
From: |
Johannes Obermayr |
Subject: |
[bug #66276] Make it possible to extract JavaScript multiline strings |
Date: |
Mon, 30 Sep 2024 15:33:36 -0400 (EDT) |
Follow-up Comment #2, bug #66276 (group gettext):
OK. I assume I meant to support QtQuick multiline (based on JavaScript?).
Feel free to explain how to extract complete string from
https://invent.kde.org/jobermayr/kalm/-/raw/master/src/qml/478BreathingPage.qml?ref_type=heads
With
"xgettext 478BreathingPage.qml -C --kde -ci18n -o test.pot"
or
"xgettext 478BreathingPage.qml -L JavaScript --kde -ci18n -o test.pot"
I get only first line ignoring "+":
"[...]
#: 478BreathingPage.qml:11
#, kde-format
msgid ""
"4-7-8 Breathing puts the body into a deep relaxation state, e.g. to better "
"fall asleep on a flight."
msgstr ""
#: 478BreathingPage.qml:39
[...]"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66276>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature