We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e422f1 commit c49e1ccCopy full SHA for c49e1cc
fluent/init.lua
@@ -12,7 +12,9 @@ local FluentBundle = class()
12
function FluentBundle:_init (locale)
13
self.locales = {}
14
self:set_locale(locale)
15
+ -- Work around Penlight #307
16
-- self:catch(self.get_message)
17
+ self:catch(function(_, identifier) return self:get_message(identifier) end)
18
return self
19
end
20
0 commit comments