Module:I18n: Difference between revisions

Kuhlau (talk | contribs)
No edit summary
Kuhlau (talk | contribs)
add useLanguageConversionType from https://dev.fandom.com/wiki/Module:I18n line 378-386
 
Line 280: Line 280:
         and code
         and code
         or  self.tempLang
         or  self.tempLang
    return self
end
--- Sets temporary data language to a specificed language conversion resolution.
--  Only affects the next @{Data:msg} call.
--  @function          Data:useLanguageConversionType
--  @param              {string} convType Language conversion type to use.
--  @return            {Data} Datastore instance.
function Data:useLanguageConversionType(convType)
    self.tempLanguageConversionType = convType
     return self
     return self
end
end