From 9da7f71c8ef2e36bd85f6dedd0c43829ba5c0007 Mon Sep 17 00:00:00 2001 From: Kat Butler Date: Fri, 22 Nov 2019 15:39:57 -0500 Subject: [PATCH] Added missing translations param to Template init --- Sources/Liquid/Template.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Liquid/Template.swift b/Sources/Liquid/Template.swift index ce878ef..7901c78 100644 --- a/Sources/Liquid/Template.swift +++ b/Sources/Liquid/Template.swift @@ -30,7 +30,7 @@ public final class Template { self.init(source: source, fileSystem: fileSystem, encoder: encoder, environment: environment) } - public convenience init(source: String, encoder: Encoder = Encoder(), environment: Environment = Environment(), fileSystem: FileSystem? = nil) { + public convenience init(source: String, encoder: Encoder = Encoder(), environment: Environment = Environment(), fileSystem: FileSystem? = nil, translations: [String: String]? = nil) { struct ThrowingFileSystem: FileSystem { func read(path: String) throws -> String { throw RuntimeError.reason("Invalid filesystem")