diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-05-23 12:33:15 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-05-23 12:33:15 -0300 |
commit | 3ba2440f7b405b0f2556957ad827defe25873c4d (patch) | |
tree | 9cd0024876f0cf7f29445e4c7e97ed31b5c81940 /src/data | |
parent | 71eb6ecb8e9b2e4bf0a34fb0726a75d638da50d0 (diff) |
hidden language support
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/data/things.js b/src/data/things.js index b4737510..daec610c 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1466,6 +1466,16 @@ Language.propertyDescriptors = { } }, + // Flag which represents whether or not to hide a language from general + // access. If a language is hidden, its portion of the website will still + // be built (with all strings localized to the language), but it won't be + // included in controls for switching languages or the <link rel=alternate> + // tags used for search engine optimization. This flag is intended for use + // with languages that are currently in development and not ready for + // formal release, or which are just kept hidden as "experimental zones" + // for wiki development or content testing. + hidden: Thing.common.flag(false), + // Mapping of translation keys to values (strings). Generally, don't // access this object directly - use methods instead. strings: { |