From 12482c8c3b010c8c20c05006dfe9d024ffb17d8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Wed, 16 Jul 2025 23:50:35 +0200 Subject: [PATCH] Translation: Ensure files are treated in the same order This also tells `sort` to ignore the case, and to only consider using alphanumeric characters, to ensure parity across different filesystems. --- Languages/update-source-strings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Languages/update-source-strings.sh b/Languages/update-source-strings.sh index c3e1d61f63..1a8c770af3 100755 --- a/Languages/update-source-strings.sh +++ b/Languages/update-source-strings.sh @@ -7,7 +7,7 @@ cd "$(dirname "$0")/.." # Scan the source code for strings and put them in dolphin-emu.pot SRCDIR=Source -find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | \ +find $SRCDIR -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort -fd | \ xgettext -s -p ./Languages/po -o dolphin-emu.pot --package-name="Dolphin Emulator" \ --keyword=_ \ --keyword=AskYesNoFmtT \