diff options
Diffstat (limited to 'doc/snac.8')
| -rw-r--r-- | doc/snac.8 | 29 |
1 files changed, 29 insertions, 0 deletions
| @@ -264,6 +264,9 @@ The maximum number of entries (posts) to be returned in user RSS feeds and outbo | |||
| 264 | (default: 20). | 264 | (default: 20). |
| 265 | .It Ic max_attachments | 265 | .It Ic max_attachments |
| 266 | The maximum number of attachments per post (default: 4). | 266 | The maximum number of attachments per post (default: 4). |
| 267 | .It Ic enable_svg | ||
| 268 | Since version 2.73, SVG image attachments are hidden by default; you can enable | ||
| 269 | them by setting this value to true. | ||
| 267 | .El | 270 | .El |
| 268 | .Pp | 271 | .Pp |
| 269 | You must restart the server to make effective these changes. | 272 | You must restart the server to make effective these changes. |
| @@ -617,6 +620,32 @@ hashtags. | |||
| 617 | Please take note that subscribing to relays can increase the traffic towards your instance | 620 | Please take note that subscribing to relays can increase the traffic towards your instance |
| 618 | significantly. In any case, lowering the "Maximum days to keep posts" value for the relay | 621 | significantly. In any case, lowering the "Maximum days to keep posts" value for the relay |
| 619 | special user is recommended (e.g. setting to just 1 day). | 622 | special user is recommended (e.g. setting to just 1 day). |
| 623 | .Ss Web interface language | ||
| 624 | Since version 2.73, the web UI can be localized via simple .po files (they are directly | ||
| 625 | parsed, no support for gettext is needed). | ||
| 626 | .Pp | ||
| 627 | No language file is installed by default; the administrator must copy any desired .po files | ||
| 628 | to the | ||
| 629 | .Pa lang/ | ||
| 630 | subdirectory in the base directory. Once the server is restarted, users can select the | ||
| 631 | new language from the user settings. The | ||
| 632 | .Nm | ||
| 633 | source distribution may include .po files in the | ||
| 634 | .Pa po/ | ||
| 635 | subdirectory. You don't need to copy the English language one, as it's the default. | ||
| 636 | .Pp | ||
| 637 | To create new language files, create a copy of | ||
| 638 | .Pa po/en.po , | ||
| 639 | rename it to a reasonable value like | ||
| 640 | .Pa pl.po | ||
| 641 | or | ||
| 642 | .Pa pt_BR.po , | ||
| 643 | change the translator in the header to yourself and fill the msgstr strings with your | ||
| 644 | translation. If you have any doubt on how to modify .po files, there are many tutorials | ||
| 645 | out there. If you want your language file to be included in the standard | ||
| 646 | .Nm | ||
| 647 | distribution, please send me a link to it via the Fediverse to @grunfink@comam.es | ||
| 648 | or make a PR via the Git repository. | ||
| 620 | .Sh ENVIRONMENT | 649 | .Sh ENVIRONMENT |
| 621 | .Bl -tag -width Ds | 650 | .Bl -tag -width Ds |
| 622 | .It Ev DEBUG | 651 | .It Ev DEBUG |