Jump to content

Shennaghys aavriwnys dy "Module:I18n"

Reih anchaslys: jean reih kiarkil reih ny lhiegganyn by vie lhiat cosoylaghey ad, as crig er "enter", ny er y cramman ec cass y rolley.
Ogher: (bio) = anchaslyssyn rish y lhieggan t'ayn nish, (roish) = anchaslyssyn rish y lhieggan roish, m = myn-reaghey

27 Boaldyn 2022

  • bioroish 08:4208:42, 27 Boaldyn 2022 Llywelyn2000 resoonaght cohortyssyn 807 byteyn +807 Duillag crooit lesh: local p = {} -- Credit to http://stackoverflow.com/a/1283608/2644759 -- cc-by-sa 3.0 local function tableMerge(t1, t2, overwrite) for k,v in pairs(t2) do if type(v) == "table" and type(t1[k]) == "table" then -- since type(t1[k]) == type(v) == "table", so t1[k] and v is true tableMerge(t1[k], v, overwrite) -- t2[k] == v else if overwrite or t1[k] == nil then t1[k] = v end end end return t1 end function p.loadI18n(name, i18n_arg) local exist, res = pc...