yanokwa
(Yaw Anokwa)
18 Abril, 2024 22:47
1
En los idiomas resaltados en Configuración, si haces clic en el enlace https://highlightjs.org/static/demo , te lleva a https://highlightjs.org/not-a-cdn que dice…
No nos uses como CDN. No deberías enlazar a ningún recurso alojado en nuestro sitio web. Estamos recibiendo millones de solicitudes basura debido a este mal uso de nuestros recursos.
Quizás el enlace debería ser https://highlightjs.org/demo
Creo que la cadena relevante a cambiar aquí (pero que necesitará ser cambiada en otros idiomas) es:
max_prints_per_hour_per_user: "Maximum number of /print page impressions (set to 0 to disable printing)"
full_name_required: "Full name is a required field of a user's profile."
enable_names: "Show the user's full name on their profile, user card, and emails. Disable to hide full name everywhere."
display_name_on_posts: "Show a user's full name on their posts in addition to their @username."
show_time_gap_days: "If two posts are made this many days apart, display the time gap in the topic."
short_progress_text_threshold: "After the number of posts in a topic goes above this number, the progress bar will only show the current post number. If you change the progress bar's width, you may need to change this value."
default_code_lang: "Default programming language syntax highlighting applied to markdown code blocks (auto, text, ruby, python etc.). This value must also be present in the `highlighted languages` site setting."
warn_reviving_old_topic_age: "When someone starts replying to a topic where the last reply is older than this many days, a warning will be displayed. Disable by setting to 0."
autohighlight_all_code: "Apply syntax highlighting to HTML-authored <code> blocks, even if they didn't specify a language. To configure markdown-authored code blocks, use the 'default code lang' setting."
highlighted_languages: "Included syntax highlighting rules. (Warning: including too many languages may impact performance) see: <a href='https://highlightjs.org/static/demo/' target='_blank'>https://highlightjs.org/static/demo</a> for a demo"
show_copy_button_on_codeblocks: "Add a button to codeblocks to copy the block contents to the user's clipboard."
embed_any_origin: "Allow embeddable content regardless of origin. This is required for mobile apps with static HTML."
embed_topics_list: "Enable the embedding of topic lists in HTML format. This setting allows you to incorporate lists of topics from your forum into other websites in a compatible and easy-to-use manner."
embed_set_canonical_url: "Set the canonical URL for embedded topics to the embedded content's URL."
embed_truncate: "Shorten the contents of posts that are embedded from external sources. This setting ensures that only the initial part of content is displayed when a post from an external URL is embedded on your site. If you prefer to display full content from the external posts, you can disable this setting."
embed_unlisted: "Embedded topics will be unlisted until a user replies."
import_embed_unlisted: "Imported embedded topics will be unlisted until a user replies (even when the `embed unlisted` site setting is unchecked)."
embed_support_markdown: "Support Markdown formatting for embedded posts."
allowed_embed_selectors: "A comma separated list of CSS elements that are allowed in embeds."
5 Me gusta
biocrusoe
(Michael R. Crusoe)
11 Noviembre, 2024 09:42
3
4 Me gusta
Moin
11 Noviembre, 2024 09:48
4
El único archivo que necesitas cambiar es server.en.yml. Los otros se cambian cuando se fusionan las traducciones de Crowdin.
4 Me gusta
pmusaraj
(Penar Musaraj)
11 Noviembre, 2024 19:42
5
PR ya se ha fusionado, gracias @biocrusoe , y gracias por informar @yanokwa . Cerrando.
2 Me gusta