mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Merge commit '04492e7f934d07f8e89fa9c3d4fe3381f251e8a2' into glitch-soc/merge-upstream
This commit is contained in:
@@ -4,14 +4,4 @@
|
||||
# before other initializers as Rails may otherwise memoize a list of migrations
|
||||
# excluding the post deployment migrations.
|
||||
|
||||
unless ENV['SKIP_POST_DEPLOYMENT_MIGRATIONS']
|
||||
Rails.application.config.paths['db'].each do |db_path|
|
||||
path = Rails.root.join(db_path, 'post_migrate').to_s
|
||||
|
||||
Rails.application.config.paths['db/migrate'] << path
|
||||
|
||||
# Rails memoizes migrations at certain points where it won't read the above
|
||||
# path just yet. As such we must also update the following list of paths.
|
||||
ActiveRecord::Migrator.migrations_paths << path
|
||||
end
|
||||
end
|
||||
Mastodon::Database.add_post_migrate_path_to_rails
|
||||
|
||||
@@ -309,6 +309,7 @@ en:
|
||||
title: Audit log
|
||||
unavailable_instance: "(domain name unavailable)"
|
||||
announcements:
|
||||
back: Back to announcements
|
||||
destroyed_msg: Announcement successfully deleted!
|
||||
edit:
|
||||
title: Edit announcement
|
||||
@@ -317,6 +318,9 @@ en:
|
||||
new:
|
||||
create: Create announcement
|
||||
title: New announcement
|
||||
preview:
|
||||
explanation_html: 'The email will be sent to <strong>%{display_count} users</strong>. The following text will be included in the e-mail:'
|
||||
title: Preview announcement notification
|
||||
publish: Publish
|
||||
published_msg: Announcement successfully published!
|
||||
scheduled_for: Scheduled for %{time}
|
||||
@@ -1906,6 +1910,10 @@ en:
|
||||
recovery_instructions_html: If you ever lose access to your phone, you can use one of the recovery codes below to regain access to your account. <strong>Keep the recovery codes safe</strong>. For example, you may print them and store them with other important documents.
|
||||
webauthn: Security keys
|
||||
user_mailer:
|
||||
announcement_published:
|
||||
description: 'The administrators of %{domain} are making an announcement:'
|
||||
subject: Service announcement
|
||||
title: "%{domain} service announcement"
|
||||
appeal_approved:
|
||||
action: Account Settings
|
||||
explanation: The appeal of the strike against your account on %{strike_date} that you submitted on %{appeal_date} has been approved. Your account is once again in good standing.
|
||||
|
||||
@@ -136,13 +136,14 @@ en:
|
||||
text: Can be structured with Markdown syntax.
|
||||
terms_of_service_generator:
|
||||
admin_email: Legal notices include counternotices, court orders, takedown requests, and law enforcement requests.
|
||||
arbitration_address: Can be the same as Physical address above, or “N/A” if using email
|
||||
arbitration_website: Can be a web form, or “N/A” if using email
|
||||
arbitration_address: Can be the same as Physical address above, or “N/A” if using email.
|
||||
arbitration_website: Can be a web form, or “N/A” if using email.
|
||||
choice_of_law: City, region, territory or state the internal substantive laws of which shall govern any and all claims.
|
||||
dmca_address: For US operators, use the address registered in the DMCA Designated Agent Directory. A P.O. Box listing is available upon direct request, use the DMCA Designated Agent Post Office Box Waiver Request to email the Copyright Office and describe that you are a home-based content moderator who fears revenge or retribution for your actions and need to use a P.O. Box to remove your home address from public view.
|
||||
dmca_email: Can be the same email used for “Email address for legal notices” above
|
||||
dmca_email: Can be the same email used for “Email address for legal notices” above.
|
||||
domain: Unique identification of the online service you are providing.
|
||||
jurisdiction: List the country where whoever pays the bills lives. If it’s a company or other entity, list the country where it’s incorporated, and the city, region, territory or state as appropriate.
|
||||
min_age: Should not be below the minimum age required by the laws of your jurisdiction.
|
||||
user:
|
||||
chosen_languages: When checked, only posts in selected languages will be displayed in public timelines
|
||||
role: The role controls which permissions the user has.
|
||||
@@ -346,6 +347,7 @@ en:
|
||||
dmca_email: Email address for DMCA/copyright notices
|
||||
domain: Domain
|
||||
jurisdiction: Legal jurisdiction
|
||||
min_age: Minimum age
|
||||
user:
|
||||
role: Role
|
||||
time_zone: Time zone
|
||||
|
||||
@@ -50,6 +50,10 @@ namespace :admin do
|
||||
post :publish
|
||||
post :unpublish
|
||||
end
|
||||
|
||||
resource :preview, only: [:show], module: :announcements
|
||||
resource :test, only: [:create], module: :announcements
|
||||
resource :distribution, only: [:create], module: :announcements
|
||||
end
|
||||
|
||||
with_options to: redirect('/admin/settings/branding') do
|
||||
|
||||
@@ -17,7 +17,7 @@ into these Terms. You should also read these policies before using the Instance.
|
||||
|
||||
## Age Requirements and Responsibility of Parents and Legal Guardians
|
||||
|
||||
By accessing the Instance, you signify that you are at least thirteen years old
|
||||
By accessing the Instance, you signify that you are at least %{min_age} years old
|
||||
and that you meet the minimum age required by the laws in your country. If you
|
||||
are old enough to access the Instance in your country, but are not old enough to
|
||||
have the legal authority to consent to our Terms, please ask your parent or
|
||||
|
||||
@@ -48,7 +48,7 @@ module.exports = merge(sharedConfig, {
|
||||
logLevel: 'silent', // do not bother Webpacker, who runs with --json and parses stdout
|
||||
}),
|
||||
new InjectManifest({
|
||||
additionalManifestEntries: ['1f602.svg', 'sheet_13.png'].map((filename) => {
|
||||
additionalManifestEntries: ['1f602.svg', 'sheet_15.png'].map((filename) => {
|
||||
const path = resolve(root, 'public', 'emoji', filename);
|
||||
const body = readFileSync(path);
|
||||
const md5 = createHash('md5');
|
||||
|
||||
Reference in New Issue
Block a user