diff options
| author | 2025-03-08 22:29:50 +0100 | |
|---|---|---|
| committer | 2025-03-08 22:29:50 +0100 | |
| commit | 398b733b2c0ff4c96f4de9731a864373842e86d6 (patch) | |
| tree | e2a381ee39d7139cf13c953c5ddad8e59bf8163f /doc | |
| parent | Merge branch 'master' into curl-smtp (diff) | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-398b733b2c0ff4c96f4de9731a864373842e86d6.tar.gz snac2-398b733b2c0ff4c96f4de9731a864373842e86d6.tar.xz snac2-398b733b2c0ff4c96f4de9731a864373842e86d6.zip | |
Merge remote-tracking branch 'upstream/master' into curl-smtp
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/snac.1 | 17 | ||||
| -rw-r--r-- | doc/snac.8 | 29 |
2 files changed, 45 insertions, 1 deletions
| @@ -78,8 +78,17 @@ Fediverse identifier to follow. | |||
| 78 | .It Boost (by URL) | 78 | .It Boost (by URL) |
| 79 | Fill the input area with the URL of a Fediverse note to be | 79 | Fill the input area with the URL of a Fediverse note to be |
| 80 | boosted. | 80 | boosted. |
| 81 | .It Like (by URL) | ||
| 82 | Fill the input area with the URL of a Fediverse note to be | ||
| 83 | liked. | ||
| 81 | .It User setup... | 84 | .It User setup... |
| 82 | This option opens the user setup dialog. | 85 | This option opens the user setup dialog. |
| 86 | .It Followed hashtags... | ||
| 87 | Enter here the list of hashtags you want to follow, one | ||
| 88 | per line, with or without the # symbol. | ||
| 89 | .It Blocked hashtags... | ||
| 90 | Enter here the list of hashtags you want to block, one | ||
| 91 | per line, with or without the # symbol. | ||
| 83 | .El | 92 | .El |
| 84 | .Pp | 93 | .Pp |
| 85 | The user setup dialog allows some user information to be | 94 | The user setup dialog allows some user information to be |
| @@ -151,6 +160,9 @@ approved or discarded. | |||
| 151 | If this toggle is set, the number of followers and following | 160 | If this toggle is set, the number of followers and following |
| 152 | accounts are made public (this is only the number; the specific | 161 | accounts are made public (this is only the number; the specific |
| 153 | lists of accounts are never published). | 162 | lists of accounts are never published). |
| 163 | .It Web interface language | ||
| 164 | If the administrator has installed any language file, it | ||
| 165 | can be selected here. | ||
| 154 | .It Password | 166 | .It Password |
| 155 | Write the same string in these two fields to change your | 167 | Write the same string in these two fields to change your |
| 156 | password. Don't write anything if you don't want to do this. | 168 | password. Don't write anything if you don't want to do this. |
| @@ -256,7 +268,8 @@ argument is -e, the external editor defined by the EDITOR | |||
| 256 | environment variable will be invoked to prepare a message; if | 268 | environment variable will be invoked to prepare a message; if |
| 257 | it's - (a lonely hyphen), the post content will be read from stdin. | 269 | it's - (a lonely hyphen), the post content will be read from stdin. |
| 258 | The rest of command line arguments are treated as media files to be | 270 | The rest of command line arguments are treated as media files to be |
| 259 | attached to the post. | 271 | attached to the post. The LANG environment variable (if defined) is used |
| 272 | as the post language. | ||
| 260 | .It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ... | 273 | .It Cm note_unlisted Ar basedir Ar uid Ar text Op file file ... |
| 261 | Like the previous one, but creates an "unlisted" (or "quiet public") post. | 274 | Like the previous one, but creates an "unlisted" (or "quiet public") post. |
| 262 | .It Cm note_mention Ar basedir Ar uid Ar text Op file file ... | 275 | .It Cm note_mention Ar basedir Ar uid Ar text Op file file ... |
| @@ -395,6 +408,8 @@ variable. Set it to an integer value. The higher, the deeper in meaningless | |||
| 395 | verbiage you'll find yourself into. | 408 | verbiage you'll find yourself into. |
| 396 | .It Ev EDITOR | 409 | .It Ev EDITOR |
| 397 | The user-preferred interactive text editor to prepare messages. | 410 | The user-preferred interactive text editor to prepare messages. |
| 411 | .It Ev LANG | ||
| 412 | The language of the post when sending messages. | ||
| 398 | .El | 413 | .El |
| 399 | .Sh SEE ALSO | 414 | .Sh SEE ALSO |
| 400 | .Xr snac 5 , | 415 | .Xr snac 5 , |
| @@ -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 |