From 0eb860774887186a319f054155fe4e7173df9c5f Mon Sep 17 00:00:00 2001 From: Tim Nugent Date: Thu, 8 Feb 2024 14:51:43 +1100 Subject: [PATCH] manually setting the base language of the generated scripts --- Tests/Editor/UnityLocalisationTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/Editor/UnityLocalisationTests.cs b/Tests/Editor/UnityLocalisationTests.cs index 4285b16f..6b9baee8 100644 --- a/Tests/Editor/UnityLocalisationTests.cs +++ b/Tests/Editor/UnityLocalisationTests.cs @@ -110,6 +110,7 @@ private static void CreateAndConfigureProject(string[] lines, string yarnName, s // setting the path to use *only* the files for this project var a = importer.GetProject(); a.SourceFilePatterns = newPaths.Select(p => $"./{Path.GetFileName(p)}"); + a.BaseLanguage = "en"; a.SaveToFile($"{AssetPath}/{projectName}.yarnproject"); // making it use the tables we made