Changes

Jump to navigation Jump to search
remove split off functions
-- Unit tests for [[Module:Fallback]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_translatelua()
self:preprocess_equals('{{#invoke: Fallback | translatelua |i18n/oil on canvas| lang = en }}', '[[:en:oil on canvas|oil on canvas]]')
self:preprocess_equals('{{#invoke: Fallback | translatelua |i18n/oil on canvas| lang = fr }}', "[[:fr:Peinture à l'huile|huile]] sur [[:fr:Toile (peinture)|toile]]")
self:preprocess_equals('{{#invoke: Fallback | translatelua |i18n/oil on canvas| lang = frc }}', "[[:fr:Peinture à l'huile|huile]] sur [[:fr:Toile (peinture)|toile]]")
self:preprocess_equals('{{#invoke: Fallback | translatelua |i18n/oil on canvas| lang = pl }}', 'olej na płótnie')
self:preprocess_equals('{{#invoke: Fallback | translatelua |i18n/coordinates|CameraLocation| lang = en }}', 'Camera location')
end

return p
Anonymous user

Navigation menu