Commit graph

589 commits

Author SHA1 Message Date
pezcurrel
ec6324fb4f Made langs() shorten to a maximum of 5 elements the $languages array 2022-12-12 08:29:18 +01:00
pezcurrel
d80ba5ddc4 Fixed double “,” in a query inside langs() 2022-12-12 08:24:26 +01:00
pezcurrel
6f9260e08e myq() did not return results, now it does 2022-12-12 08:17:01 +01:00
pezcurrel
f6752a34bc Added function “myq” as a wrapper for mysqli_query managing exceptions; used it throughout the whole script 2022-12-12 08:12:29 +01:00
pezcurrel
fb0fca9f2d Updated 2022-12-12 00:47:51 +01:00
pezcurrel
2649e7d137 Info from nodeinfo didn’t end up into $info, now they do 2022-12-12 00:47:06 +01:00
pezcurrel
879a86a211 Merge branch 'weblate' with newly pt_BR translated strings 2022-12-11 23:38:08 +01:00
Fábio Rodrigues Ribeiro
5cc375af50
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (398 of 398 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/pt_BR/
2022-12-11 23:36:28 +01:00
pezcurrel
783e54a9f9 Little script to convert a unix timestamp in input to a date 2022-12-11 23:33:09 +01:00
pezcurrel
1701a2cfe6 Little script to search for records with the same “URI” in Instances table 2022-12-11 23:32:42 +01:00
pezcurrel
853be9f0e0 Little script to fix uris beginning with “https://” 2022-12-11 23:31:47 +01:00
pezcurrel
d371a18af4 Updated 2022-12-11 23:30:52 +01:00
pezcurrel
b16515f4e8 Lots of changes :-)) 2022-12-11 23:29:51 +01:00
pezcurrel
882222bdb9 Added “Code” section to “About” page 2022-12-11 05:38:42 +01:00
pezcurrel
7e52c5683f Merge newly translated strings from branch 'weblate' 2022-12-11 05:22:41 +01:00
Ігор Андреєв
718efc01f9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (396 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/uk/
2022-12-11 05:20:52 +01:00
pezcurrel
72655faa88 Added a “Code” section linking git.lattuga.net, and a link to Ігор Андреєв’s Mastodon profile 2022-12-11 05:18:26 +01:00
pezcurrel
1dc9e770ad Made the text much shorter 2022-12-11 05:16:28 +01:00
pezcurrel
61ad655a62 Disabled fetching profile’s page when “noindex” is not set in account because it takes too long; disabled featured tags fetching fro the same reason; other minor changes 2022-12-10 23:32:58 +01:00
pezcurrel
f343cb702e Changed some eecho messages importance 2022-12-10 13:57:30 +01:00
pezcurrel
4b7f6a199c Added truncs where needed; added code to check for “noindex” on user’s profile page when “noindex” is not set in accounts info 2022-12-10 12:35:22 +01:00
pezcurrel
eeb3ce6edf Made it wait up to 30 seconds for contents 2022-12-10 12:33:21 +01:00
Pongrèbio
4c721f7bad
Translated using Weblate (Russian)
Currently translated at 46.4% (184 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/ru/
2022-12-09 23:47:47 +01:00
Pongrèbio
b39aa9e284
Translated using Weblate (Persian)
Currently translated at 77.5% (307 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/fa/
2022-12-09 23:47:46 +01:00
J. Lavoie
3feca8f402
Translated using Weblate (French)
Currently translated at 98.7% (391 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/fr/
2022-12-09 23:47:46 +01:00
pezcurrel
6731bb15bb Updated 2022-12-09 22:53:39 +01:00
pezcurrel
18ce06871b Added ckratelimit() where useful; made it more flexible with lowercasing every header key; more work on fetching users from users directories 2022-12-09 22:53:18 +01:00
pezcurrel
8341f0e209 Fixed a cosmetic bug; some more work into users directories fetching 2022-12-09 19:25:44 +01:00
pezcurrel
5c28ca2ee6 Just moved the check for “id” in GET a bit up 2022-12-09 19:24:46 +01:00
pezcurrel
58e4445e4f Fixed duplicate msgid 2022-12-08 21:57:10 +01:00
pezcurrel
005aa789d9 Supermerge\! 2022-12-08 21:53:41 +01:00
Tiago Ferreira
9a220da8b3
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (396 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/pt_BR/
2022-12-08 21:39:19 +01:00
Affir Vega
77eff5ae8e
Translated using Weblate (Russian)
Currently translated at 46.2% (183 of 396 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/ru/
2022-12-08 21:39:19 +01:00
pezcurrel
d7c0bb3a24 Added “Direct link to this instance’s card” string 2022-12-08 21:37:58 +01:00
pezcurrel
90ca667434 Added possibility to link to a single instance’s card by id 2022-12-08 21:13:39 +01:00
pezcurrel
576cc4a27c Made links dots-underlined 2022-12-08 21:12:41 +01:00
pezcurrel
1e5b8bae4d Made “ihead” links dots-underlined 2022-12-08 21:12:27 +01:00
pezcurrel
3acd22bcbc Added “baseurl” 2022-12-08 21:11:10 +01:00
pezcurrel
8f481f8166 Updated 2022-12-08 21:10:43 +01:00
pezcurrel
786c832eb6 Removing trailing “/” from “$path” with preg_replace is easier :-) 2022-12-08 19:53:18 +01:00
pezcurrel
c5c76d1d9d Updated 2022-12-08 15:04:58 +01:00
pezcurrel
f9d4325b4b Made h4, h5, h6 text align to left 2022-12-08 14:52:59 +01:00
pezcurrel
e4cf27560d Added “Tranlsation credits” 2022-12-08 14:52:20 +01:00
pezcurrel
ffd20debe6 Removed executable attribute 2022-12-08 14:35:55 +01:00
pezcurrel
9524e53c70 Added pt_BR language 2022-12-08 14:18:26 +01:00
pezcurrel
07cc5c7c79 Made it cope with larger menu entries 2022-12-08 14:17:08 +01:00
pezcurrel
af7948492e Made language tools cope with composite language codes (like pt_BR); added pt_BR language 2022-12-08 14:16:12 +01:00
pezcurrel
667a0824ff Script to “normalize” language codes in the database 2022-12-08 13:55:47 +01:00
pezcurrel
5d073632f5 Added “pt_BR” language 2022-12-08 13:54:59 +01:00
pezcurrel
5aa4cde8f7 Added “pt_BR” language 2022-12-08 13:54:20 +01:00