2,788
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
local m_languages = require("Module:languages") | |||
local m_links = require("Module:links") | local m_links = require("Module:links") | ||
local m_parameters = require("Module:parameters") | local m_parameters = require("Module:parameters") | ||
Line 26: | Line 27: | ||
return export.make_nym_list{ | return export.make_nym_list{ | ||
label = "Synonyms", | label = "Synonyms", | ||
language = args[1], | language = m_languages.get_by_code(args[1]), | ||
terms = args[2], | terms = args[2], | ||
} | } | ||
Line 35: | Line 36: | ||
return export.make_nym_list{ | return export.make_nym_list{ | ||
label = "Antonyms", | label = "Antonyms", | ||
language = args[1], | language = m_languages.get_by_code(args[1]), | ||
terms = args[2], | terms = args[2], | ||
} | } |