mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
build: disable fuzzy matching for msgmerge
CI is currently configured to fail if there are any fuzzy matches in translation files. This change prevents `msgmerge` from creating any fuzzy matches when translations are updated.
This commit is contained in:
@ -156,7 +156,7 @@ fn createUpdateStep(b: *std.Build) !*std.Build.Step {
|
||||
);
|
||||
|
||||
inline for (internal_os.i18n.locales) |locale| {
|
||||
const msgmerge = b.addSystemCommand(&.{ "msgmerge", "-q" });
|
||||
const msgmerge = b.addSystemCommand(&.{ "msgmerge", "--quiet", "--no-fuzzy-matching" });
|
||||
msgmerge.addFileArg(b.path("po/" ++ locale ++ ".po"));
|
||||
msgmerge.addFileArg(xgettext.captureStdOut());
|
||||
usf.addCopyFileToSource(msgmerge.captureStdOut(), "po/" ++ locale ++ ".po");
|
||||
|
Reference in New Issue
Block a user