yanokwa
(Yaw Anokwa)
18. April 2024 um 22:47
1
In den hervorgehobenen Sprachen in den Einstellungen, wenn Sie auf den Link https://highlightjs.org/static/demo klicken, gelangen Sie zu https://highlightjs.org/not-a-cdn , wo es heißt…
Verwenden Sie uns nicht als CDN. Sie sollten keine Assets verlinken, die auf unserer Website gehostet werden. Wir erhalten aufgrund dieses Missbrauchs unserer Assets Millionen von nutzlosen Anfragen.
Vielleicht sollte der Link https://highlightjs.org/demo lauten.
Ich glaube, die relevante Zeichenkette, die hier geändert werden muss (aber in anderen Sprachen geändert werden muss).
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 „Gefällt mir“
biocrusoe
(Michael R. Crusoe)
11. November 2024 um 09:42
3
Ich habe einen PR gesendet, um dies zu beheben. Vielen Dank, dass Sie den Code-Speicherort gefunden haben: UX: fix link to Highlight JS demo by mr-c · Pull Request #29701 · discourse/discourse · GitHub
4 „Gefällt mir“
Moin
11. November 2024 um 09:48
4
Die einzige Datei, die Sie ändern müssen, ist server.en.yml. Die anderen werden geändert, wenn Übersetzungen von Crowdin zusammengeführt werden.
4 „Gefällt mir“
pmusaraj
(Penar Musaraj)
11. November 2024 um 19:42
5
PR ist jetzt zusammengeführt, danke @biocrusoe und danke für die Meldung @yanokwa . Schließe.
2 „Gefällt mir“