Jump to content

Module:I18n: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (gompieno) = difference with latest revision, (morago) = difference with preceding revision, m = minor edit.

24 Seetebosigo 2022

  • gompienomorago 04:5204:52, 24 Seetebosigo 2022 Rebel Agent bua dineelo 807 bytes +807 Created page with "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 = pca..." Tags: Mobile edit Mobile web edit Advanced mobile edit