Module:Docbunto/i18n: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "local translations = require("Dev:Docbunto/i18n") -- rename "type" to "itemcategory" -- "member" is less descriptive than "property" (e.g., functions can also be a type of member) translations.en["itemcategory-member"] = "property" translations.en["itemcategory-function"] = "function" translations.en["itemcategory-variable"] = "variable" translations.en["itemcategory-table"] = "table" -- add entries for item subcategories translations.en["itemsubcategory-private"] = "pri..." |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
local translations = require(" | local translations = require("Module:Docbunto/i18n") | ||
-- rename "type" to "itemcategory" | -- rename "type" to "itemcategory" | ||
-- "member" is less descriptive than "property" (e.g., functions can also be a type of member) | -- "member" is less descriptive than "property" (e.g., functions can also be a type of member) | ||
Revision as of 15:19, 2 September 2026
local translations = require("Module:Docbunto/i18n")
-- rename "type" to "itemcategory"
-- "member" is less descriptive than "property" (e.g., functions can also be a type of member)
translations.en["itemcategory-member"] = "property"
translations.en["itemcategory-function"] = "function"
translations.en["itemcategory-variable"] = "variable"
translations.en["itemcategory-table"] = "table"
-- add entries for item subcategories
translations.en["itemsubcategory-private"] = "private"
translations.en["itemsubcategory-local"] = "local"
translations.en["itemsubcategory-static"] = "static"
translations.en["itemsubcategory-factory"] = "factory"
translations.en["itemsubcategory-constructor"] = "constructor"
-- add new entries
translations.en["separator-or"] = " or "
translations.en["separator-comma"] = ", "
translations.en["separator-comma-or"] = ", or "
translations.en["link-source"] = "source"
translations.en["label-keys"] = "Keys:"
translations.en["line-number"] = "line $1"
return translations