mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 03:00:33 +02:00
Merge commit 'adede83c7c9a943cf9954fe865becf6a0c2d2280' into glitch-soc/merge-upstream
This commit is contained in:
17
config/initializers/fog_connection_cache.rb
Normal file
17
config/initializers/fog_connection_cache.rb
Normal file
@@ -0,0 +1,17 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
if ENV['SWIFT_ENABLED'] == 'true'
|
||||
module PaperclipFogConnectionCache
|
||||
def connection
|
||||
@connection ||= begin
|
||||
key = fog_credentials.hash
|
||||
Thread.current[:paperclip_fog_connections] ||= {}
|
||||
Thread.current[:paperclip_fog_connections][key] ||= ::Fog::Storage.new(fog_credentials)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Rails.application.config.after_initialize do
|
||||
Paperclip::Storage::Fog.prepend(PaperclipFogConnectionCache)
|
||||
end
|
||||
end
|
||||
@@ -1668,7 +1668,7 @@ de:
|
||||
validations:
|
||||
images_and_video: Es kann kein Video an einen Beitrag angehängt werden, der bereits Bilder enthält
|
||||
not_found: Medieninhalt(e) %{ids} nicht gefunden oder bereits an einen anderen Beitrag angehängt
|
||||
not_ready: Dateien, die noch nicht verarbeitet wurden, können nicht angehängt werden. Versuche es gleich noch einmal!
|
||||
not_ready: Dateien, die noch nicht verarbeitet wurden, können nicht angehängt werden. Warte einen Moment!
|
||||
too_many: Mehr als vier Dateien können nicht angehängt werden
|
||||
migrations:
|
||||
acct: umgezogen nach
|
||||
|
||||
@@ -838,7 +838,7 @@ it:
|
||||
rules_hint: C'è un'area dedicata per le regole che i tuoi utenti dovrebbero rispettare.
|
||||
title: Info
|
||||
allow_referrer_origin:
|
||||
desc: Quando i tuoi utenti cliccano su link a siti esterni, il loro browser potrebbe inviare l'indirizzo del tuo server Mastodon come referente. Disattiva questa opzione se ciò identificherebbe in modo univoco i tuoi utenti, ad esempio se si tratta di un server Mastodon personale.
|
||||
desc: Quando i tuoi utenti cliccano su link a siti esterni, il loro browser potrebbe inviare l'indirizzo del tuo server Mastodon come referente. Disattiva questa opzione se ciò identificherebbe in modo univoco i tuoi utenti, per esempio, se si tratta di un server Mastodon personale.
|
||||
title: Consenti ai siti esterni di vedere il tuo server Mastodon come fonte di traffico
|
||||
appearance:
|
||||
preamble: Personalizza l'interfaccia web di Mastodon.
|
||||
|
||||
Reference in New Issue
Block a user