From 9e398f8339efd0b391b8a6dd8bb0278eee49ce0c Mon Sep 17 00:00:00 2001 From: floss4good Date: Wed, 12 Mar 2025 11:13:33 +0200 Subject: [PATCH] Move translations to locale_next. --- options/locale/locale_en-US.ini | 24 ------------------------ options/locale_next/locale_en-US.json | 20 +++++++++++++++++++- 2 files changed, 19 insertions(+), 25 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 7e9c56f692..2a8c789385 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -3475,8 +3475,6 @@ config.access_log_mode = Access log mode config.access_log_template = Access log template config.xorm_log_sql = Log SQL -config.moderation_config = Moderation configuration - config.set_setting_failed = Set setting %s failed monitor.stats = Stats @@ -3957,27 +3955,5 @@ filepreview.line = Line %[1]d in %[2]s filepreview.lines = Lines %[1]d to %[2]d in %[3]s filepreview.truncated = Preview has been truncated -[moderation] -report_abuse = Report abuse -report_content = Report content -report_abuse_form.header = Report abuse to administrator -report_abuse_form.details = This form should be used to report users who create spam profiles, repositories, issues, comments or behave inappropriately. -report_abuse_form.invalid = Invalid arguments -report_abuse_form.already_reported = You already reported this content - -abuse_category = Category -abuse_category.placeholder = Please select a category -abuse_category.spam = Spam -abuse_category.malware = Malware -abuse_category.illegal_content = Illegal content -abuse_category.other_violations = Other violations of platform rules - -report_remarks = Remarks -report_remarks.placeholder = Please provide some details regarding the abuse you are reporting. - -submit_report = Submit report -reporting_failed = Something went wrong while trying to submit the new abuse report: %v -reported_thank_you = Thank you for your report. An administrator will look into it shortly. - [translation_meta] test = This is a test string. It is not displayed in Forgejo UI but is used for testing purposes. Feel free to enter "ok" to save time (or a fun fact of your choice) to hit that sweet 100% completion mark :) diff --git a/options/locale_next/locale_en-US.json b/options/locale_next/locale_en-US.json index 4f5d102392..b8e26cde0e 100644 --- a/options/locale_next/locale_en-US.json +++ b/options/locale_next/locale_en-US.json @@ -16,5 +16,23 @@ "incorrect_root_url": "This Forgejo instance is configured to be served on \"%s\". You are currently viewing Forgejo through a different URL, which may cause parts of the application to break. The canonical URL is controlled by Forgejo admins via the ROOT_URL setting in the app.ini.", "themes.names.forgejo-auto": "Forgejo (follow system theme)", "themes.names.forgejo-light": "Forgejo light", - "themes.names.forgejo-dark": "Forgejo dark" + "themes.names.forgejo-dark": "Forgejo dark", + "admin.config.moderation_config": "Moderation configuration", + "moderation.report_abuse": "Report abuse", + "moderation.report_content": "Report content", + "moderation.report_abuse_form.header": "Report abuse to administrator", + "moderation.report_abuse_form.details": "This form should be used to report users who create spam profiles, repositories, issues, comments or behave inappropriately.", + "moderation.report_abuse_form.invalid": "Invalid arguments", + "moderation.report_abuse_form.already_reported": "You already reported this content", + "moderation.abuse_category": "Category", + "moderation.abuse_category.placeholder": "Please select a category", + "moderation.abuse_category.spam": "Spam", + "moderation.abuse_category.malware": "Malware", + "moderation.abuse_category.illegal_content": "Illegal content", + "moderation.abuse_category.other_violations": "Other violations of platform rules", + "moderation.report_remarks": "Remarks", + "moderation.report_remarks.placeholder": "Please provide some details regarding the abuse you are reporting.", + "moderation.submit_report": "Submit report", + "moderation.reporting_failed": "Something went wrong while trying to submit the new abuse report: %v", + "moderation.reported_thank_you": "Thank you for your report. An administrator will look into it shortly." }