Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: docs/content/settings.md

Issue 29977571: Issue 7201 - Add links to CMS documentation (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Address comments on PS1 Created Jan. 14, 2019, 3:33 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/content/pages.md ('k') | docs/content/static.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Configuration (settings.ini) # 1 # Configuration (settings.ini) #
2 2
3 The following sections can be defined in `settings.ini`: 3 The following sections can be defined in `settings.ini`:
4 4
5 * `[general]`: following settings should be listed here: 5 * `[general]`: following settings should be listed here:
6 * `defaultlocale`: The fallback locale, to be used whenever no localized 6 * `defaultlocale`: The fallback locale, to be used whenever no localized
7 page/strings can be found for a locale. 7 page/strings can be found for a locale.
8 * `defaultpage`: the default page which is displayed by the server if the URL 8 * `defaultpage`: the default page which is displayed by the server if the URL
9 doesn't contain a page name. Note that while the test server will consider 9 doesn't contain a page name. Note that while the test server will consider
10 that setting automatically, the real server might need to be configured 10 that setting automatically, the real server might need to be configured
11 accordingly. 11 accordingly.
12 * `crowdin-project-name`: The Crowdin project name, this must be set for if 12 * `crowdin-project-name`: The Crowdin project name, this must be set for if
13 you intend to use the cms.bin.translate script to update the Crowdin 13 you intend to use the cms.bin.translate script to update the Crowdin
14 translations. 14 translations.
15 * `[langnames]`: defines the language names correspoding to particular language 15 * `[langnames]`: defines the language names correspoding to particular language
16 codes. 16 codes.
17 * `[rtl]`: any language codes listed here are treated as right-to-left languages . 17 * `[rtl]`: any language codes listed here are treated as right-to-left languages .
18 The values of the settings are ignored. 18 The values of the settings are ignored.
19 * `[locale_overrides]`: every entry defines that a page should use a different 19 * `[locale_overrides]`: every entry defines that a page should use a different
20 locale file, not the one matching its name (to be used when multiple pages 20 locale file, not the one matching its name (to be used when multiple pages
21 share localization data). 21 share localization data).
22 22
23 -----
23 Prev: [XTM Integration](../usage/xml-sync.md) | Up: [Home](../../README.md) | Ne xt: [Custom Jinja2 global functions and variables (`globals`)](globals.md) 24 Prev: [XTM Integration](../usage/xml-sync.md) | Up: [Home](../../README.md) | Ne xt: [Custom Jinja2 global functions and variables (`globals`)](globals.md)
OLDNEW
« no previous file with comments | « docs/content/pages.md ('k') | docs/content/static.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld