Files
eden/tools/translations/lupdate.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
437 B
Bash
Raw Normal View History

2025-06-26 18:38:36 +00:00
#!/bin/sh
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
# SPDX-License-Identifier: GPL-3.0-or-later
2025-06-26 18:38:36 +00:00
for i in dist/languages/*.ts; do
SRC=en_US
TARGET=`head -n1 $i | awk -F 'language="' '{split($2, a, "\""); print a[1]}'`
# requires fd
SOURCES=`fd . src/yuzu src/qt_common -tf -e ui -e cpp -e h -e plist`
2025-06-26 18:38:36 +00:00
lupdate -source-language $SRC -target-language $TARGET $SOURCES -ts /data/code/eden/$i
done