Skip to content

Commit

Permalink
manually setting the base language of the generated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
McJones committed Feb 8, 2024
1 parent a7f18e2 commit 0eb8607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Editor/UnityLocalisationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0eb8607

Please sign in to comment.