| 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: BSD-3-Clause |
| 3 | # SPDX-FileCopyrightText: 2020-2021 Harald Sitter <[email protected]> |
| 4 | |
| 5 | $XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/plasma_applet_org.kde.plasma.gamemode.pot |
| 6 | # Extract JavaScripty files as what they are, otherwise for example template literals won't work correctly (by default we extract as C++). |
| 7 | # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals |
| 8 | $XGETTEXT --join-existing --language=JavaScript `find . -name \*.qml -o -name \*.js` -o $podir/plasma_applet_org.kde.plasma.gamemode.pot |