Browse Source

change max metadata field count to 8

master
ida schmidt 4 weeks ago
parent
commit
8e881e74f8
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      app/models/account.rb
  2. 1
    1
      config/locales/simple_form.en.yml

+ 1
- 1
app/models/account.rb View File

@@ -288,7 +288,7 @@ class Account < ApplicationRecord
288 288
     self[:fields] = fields
289 289
   end
290 290
 
291
-  DEFAULT_FIELDS_SIZE = 4
291
+  DEFAULT_FIELDS_SIZE = 8
292 292
 
293 293
   def build_fields
294 294
     return if fields.size >= DEFAULT_FIELDS_SIZE

+ 1
- 1
config/locales/simple_form.en.yml View File

@@ -24,7 +24,7 @@ en:
24 24
         digest: Only sent after a long period of inactivity and only if you have received any personal messages in your absence
25 25
         discoverable: The profile directory is another way by which your account can reach a wider audience
26 26
         email: You will be sent a confirmation e-mail
27
-        fields: You can have up to 4 items displayed as a table on your profile
27
+        fields: You can have up to 8 items displayed as a table on your profile
28 28
         header: PNG, GIF or JPG. At most %{size}. Will be downscaled to %{dimensions}px
29 29
         inbox_url: Copy the URL from the frontpage of the relay you want to use
30 30
         irreversible: Filtered toots will disappear irreversibly, even if filter is later removed

Loading…
Cancel
Save