decidim-system 0.26.8 → 0.27.0.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-system might be problematic. Click here for more details.

Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -9
  3. data/app/commands/decidim/system/create_admin.rb +1 -1
  4. data/app/commands/decidim/system/create_default_content_blocks.rb +1 -1
  5. data/app/commands/decidim/system/create_default_pages.rb +1 -1
  6. data/app/commands/decidim/system/create_oauth_application.rb +1 -1
  7. data/app/commands/decidim/system/destroy_oauth_application.rb +1 -1
  8. data/app/commands/decidim/system/populate_help.rb +3 -3
  9. data/app/commands/decidim/system/register_organization.rb +5 -2
  10. data/app/commands/decidim/system/update_admin.rb +1 -1
  11. data/app/commands/decidim/system/update_oauth_application.rb +1 -1
  12. data/app/commands/decidim/system/update_organization.rb +1 -1
  13. data/app/forms/decidim/system/file_upload_settings_form.rb +19 -19
  14. data/app/forms/decidim/system/update_organization_form.rb +4 -3
  15. data/app/helpers/decidim/system/application_helper.rb +0 -4
  16. data/app/packs/entrypoints/decidim_system.js +1 -0
  17. data/app/packs/stylesheets/decidim/system/application.scss +1 -0
  18. data/app/views/decidim/system/admins/index.html.erb +1 -3
  19. data/config/locales/am-ET.yml +1 -0
  20. data/config/locales/ar.yml +1 -86
  21. data/config/locales/bg.yml +1 -0
  22. data/config/locales/ca.yml +2 -1
  23. data/config/locales/cs.yml +2 -1
  24. data/config/locales/da.yml +1 -0
  25. data/config/locales/de.yml +1 -0
  26. data/config/locales/el.yml +1 -90
  27. data/config/locales/eo.yml +1 -0
  28. data/config/locales/es-MX.yml +1 -0
  29. data/config/locales/es-PY.yml +1 -0
  30. data/config/locales/es.yml +1 -0
  31. data/config/locales/et.yml +1 -0
  32. data/config/locales/eu.yml +2 -1
  33. data/config/locales/fi-plain.yml +1 -0
  34. data/config/locales/fi.yml +5 -4
  35. data/config/locales/fr-CA.yml +1 -0
  36. data/config/locales/fr.yml +1 -0
  37. data/config/locales/ga-IE.yml +1 -0
  38. data/config/locales/gl.yml +1 -0
  39. data/config/locales/hr.yml +1 -0
  40. data/config/locales/hu.yml +1 -0
  41. data/config/locales/id-ID.yml +1 -0
  42. data/config/locales/is-IS.yml +2 -1
  43. data/config/locales/it.yml +1 -0
  44. data/config/locales/ja.yml +1 -0
  45. data/config/locales/ko.yml +1 -0
  46. data/config/locales/lb.yml +1 -0
  47. data/config/locales/lt.yml +1 -187
  48. data/config/locales/lv.yml +1 -0
  49. data/config/locales/mt.yml +1 -0
  50. data/config/locales/nl.yml +1 -0
  51. data/config/locales/no.yml +1 -0
  52. data/config/locales/om-ET.yml +1 -0
  53. data/config/locales/pl.yml +1 -0
  54. data/config/locales/pt-BR.yml +2 -1
  55. data/config/locales/pt.yml +1 -0
  56. data/config/locales/ro-RO.yml +1 -0
  57. data/config/locales/ru.yml +1 -0
  58. data/config/locales/si-LK.yml +1 -0
  59. data/config/locales/sk.yml +1 -0
  60. data/config/locales/sl.yml +1 -0
  61. data/config/locales/so-SO.yml +1 -0
  62. data/config/locales/sr-CS.yml +1 -0
  63. data/config/locales/sv.yml +1 -0
  64. data/config/locales/sw-KE.yml +1 -0
  65. data/config/locales/ti-ER.yml +1 -0
  66. data/config/locales/tr-TR.yml +1 -0
  67. data/config/locales/uk.yml +1 -0
  68. data/config/locales/val-ES.yml +1 -0
  69. data/config/locales/vi.yml +1 -0
  70. data/config/locales/zh-CN.yml +1 -0
  71. data/config/locales/zh-TW.yml +1 -187
  72. data/db/seeds.rb +2 -2
  73. data/lib/decidim/system/engine.rb +0 -1
  74. data/lib/decidim/system/test/factories.rb +3 -3
  75. data/lib/decidim/system/version.rb +1 -1
  76. metadata +10 -17
  77. data/config/environment.rb +0 -0
  78. data/config/locales/fa-IR.yml +0 -5
  79. data/config/locales/gn-PY.yml +0 -1
  80. data/config/locales/ka-GE.yml +0 -1
  81. data/config/locales/kaa.yml +0 -10
  82. data/config/locales/lo-LA.yml +0 -1
  83. data/config/locales/oc-FR.yml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88b668633e9564fcfa162593d1dac180317ab42365daaed302cae252d56bf833
4
- data.tar.gz: 33d3d035c8e59accf79ec3e7b29d045af2a8c17620e3fe2192f615c582252ac2
3
+ metadata.gz: 9a13e278028184766cd3a5a7a2f3c225a42a231e4d1ea790fdd3e2a7049b2446
4
+ data.tar.gz: 16990b3fb9011f5296039152d4017d689b4fa924f7f5877a7fcbba39a2aaa526
5
5
  SHA512:
6
- metadata.gz: 46bcf1422b08da64379fdbf44e57ce1aa35cba7bc5532b5b6719ef8b763a81f4a0e4a82449fe4534fe4e5b42018a31f6df6f447715a894c1d5aa5610f512e489
7
- data.tar.gz: 598f76e05060e694d9333b2a92960ff71462bfe087a94b6cd9840285340f8b2654d806c5c647f9ee0bfcd6e921013e95f68dc87a6a400d00f7d5649902458311
6
+ metadata.gz: ccf6a125d14b87455c6d37eea06cb1bb65d8b6bb81c9f205c6ecd671d89a7f7538970684406689eddbf7fa16be0c8fb501c5ec0f7a740ebb1de676d1bde66a5e
7
+ data.tar.gz: 0d15b289d10046b71e486af2f553f909c6dd7edaba01e4f0666146207b725f3866c6818d002efb2211284936a68ea0f1d331b6eaa75d597f1db7c68c67c46c73
data/README.md CHANGED
@@ -40,22 +40,34 @@ When using Decidim as multi-tenant, you should keep these in mind:
40
40
 
41
41
  ## Managing System admins
42
42
 
43
- Currently Decidim doesn't provide a way to create the first System Admin in a new deployment. To do it, you should open a Rails console in your application and
44
- create it:
43
+ For logging in to this dashboard, you'll need to create a system admin account from your terminal:
45
44
 
46
- ```ruby
47
- Decidim::System::Admin.create!(
48
- email: "your-email@example.org",
49
- password: "your-safe-password",
50
- password_confirmation: "your-safe-password"
51
- )
45
+ ```bash
46
+ bin/rails decidim_system:create_admin
52
47
  ```
53
48
 
54
- Once you have created your first admin you can access the system dashboard at `https://your-decidim-deployment-host/system` and login with your newly created user.
49
+ You'll be asked for an email and a password. For security, the password will not get displayed back at you and you'll need to confirm it.
50
+
51
+ Once you have created your first admin you can access the system dashboard at `/system`. For instance, if you have Decidim running at `https://example.org`, this URL would be `https://example.org/system`.
52
+ You'll be able to login with your newly created user.
53
+
55
54
  From the system dashboard you can add new admins.
56
55
 
57
56
  ⚠️ If you need to reset your administrator password you'll need to do it by entering the Rails console and changing it manually. ⚠️
58
57
 
58
+ . Open the rails console:
59
+ ```bash
60
+ bin/rails console
61
+ ```
62
+ . Run the following instructions, changing them accordingly:
63
+ ```ruby
64
+ system_admin = Decidim::System::Admin.order(:id).first # for the first system admin
65
+ system_admin = Decidim::System::Admin.find_by_email "system@example.org" # if you already know the email
66
+ system_admin.password = "decidim123456789" # change for something secure
67
+ system_admin.password_confirmation = "decidim123456789"
68
+ system_admin.save
69
+ ```
70
+
59
71
  ## Managing organizations
60
72
 
61
73
  Once you have your system admin setup you can also start managing the organizations in your deploy. To do it, login at the system dashboard and create a new organization
@@ -4,7 +4,7 @@ module Decidim
4
4
  module System
5
5
  # A command with all the business logic when creating a new admin in
6
6
  # the system.
7
- class CreateAdmin < Rectify::Command
7
+ class CreateAdmin < Decidim::Command
8
8
  # Public: Initializes the command.
9
9
  #
10
10
  # form - A form object with the params.
@@ -4,7 +4,7 @@ module Decidim
4
4
  module System
5
5
  # A command with all the business logic to create the default content blocks
6
6
  # for a newly-created organization.
7
- class CreateDefaultContentBlocks < Rectify::Command
7
+ class CreateDefaultContentBlocks < Decidim::Command
8
8
  DEFAULT_CONTENT_BLOCKS =
9
9
  [:hero, :sub_hero, :highlighted_content_banner, :how_to_participate, :stats, :metrics, :footer_sub_hero].freeze
10
10
 
@@ -5,7 +5,7 @@ module Decidim
5
5
  # A command with all the business logic when creating a new organization in
6
6
  # the system. It creates the organization and invites the admin to the
7
7
  # system.
8
- class CreateDefaultPages < Rectify::Command
8
+ class CreateDefaultPages < Decidim::Command
9
9
  # Public: Initializes the command.
10
10
  #
11
11
  # form - A form object with the params.
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module System
5
5
  # Creates an OAuthApplication.
6
- class CreateOAuthApplication < Rectify::Command
6
+ class CreateOAuthApplication < Decidim::Command
7
7
  # Initializes the command.
8
8
  #
9
9
  # form - The source fo data for this OAuthApplication.
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module System
5
5
  # This command deals with destroying an application from the admin panel.
6
- class DestroyOAuthApplication < Rectify::Command
6
+ class DestroyOAuthApplication < Decidim::Command
7
7
  # Public: Initializes the command.
8
8
  #
9
9
  # application - The OAuthApplication to be destroyed.
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module System
5
5
  # A command that will create default help pages for an organization.
6
- class PopulateHelp < Rectify::Command
6
+ class PopulateHelp < Decidim::Command
7
7
  # Public: Initializes the command.
8
8
  #
9
9
  # organization - An organization
@@ -49,8 +49,8 @@ module Decidim
49
49
  end
50
50
  end
51
51
 
52
- def multi_translation(key, *arguments)
53
- Decidim::TranslationsHelper.multi_translation(key, @organization.available_locales, *arguments)
52
+ def multi_translation(key, **arguments)
53
+ Decidim::TranslationsHelper.multi_translation(key, @organization.available_locales, **arguments)
54
54
  end
55
55
  end
56
56
  end
@@ -5,7 +5,7 @@ module Decidim
5
5
  # A command with all the business logic when creating a new organization in
6
6
  # the system. It creates the organization and invites the admin to the
7
7
  # system.
8
- class RegisterOrganization < Rectify::Command
8
+ class RegisterOrganization < Decidim::Command
9
9
  # Public: Initializes the command.
10
10
  #
11
11
  # form - A form object with the params.
@@ -24,6 +24,7 @@ module Decidim
24
24
 
25
25
  @organization = nil
26
26
  invite_form = nil
27
+ invitation_failed = false
27
28
 
28
29
  transaction do
29
30
  @organization = create_organization
@@ -31,8 +32,10 @@ module Decidim
31
32
  PopulateHelp.call(@organization)
32
33
  CreateDefaultContentBlocks.call(@organization)
33
34
  invite_form = invite_user_form(@organization)
34
- return broadcast(:invalid) if invite_form.invalid?
35
+ invitation_failed = invite_form.invalid?
35
36
  end
37
+ return broadcast(:invalid) if invitation_failed
38
+
36
39
  Decidim::InviteUser.call(invite_form) if @organization && invite_form
37
40
 
38
41
  broadcast(:ok)
@@ -4,7 +4,7 @@ module Decidim
4
4
  module System
5
5
  # A command with all the business logic when updating an admin in
6
6
  # the system.
7
- class UpdateAdmin < Rectify::Command
7
+ class UpdateAdmin < Decidim::Command
8
8
  # Public: Initializes the command.
9
9
  #
10
10
  # form - A form object with the params.
@@ -3,7 +3,7 @@
3
3
  module Decidim
4
4
  module System
5
5
  # Updates the OAuth application given form data.
6
- class UpdateOAuthApplication < Rectify::Command
6
+ class UpdateOAuthApplication < Decidim::Command
7
7
  # Initializes the command.
8
8
  #
9
9
  # application - The OAuthApplication to update.
@@ -5,7 +5,7 @@ module Decidim
5
5
  # A command with all the business logic when creating a new organization in
6
6
  # the system. It creates the organization and invites the admin to the
7
7
  # system.
8
- class UpdateOrganization < Rectify::Command
8
+ class UpdateOrganization < Decidim::Command
9
9
  # Public: Initializes the command.
10
10
  #
11
11
  # form - A form object with the params.
@@ -10,34 +10,31 @@ module Decidim
10
10
 
11
11
  mimic :organization_file_uploads
12
12
 
13
- attribute :allowed_file_extensions, Hash[Symbol => String]
14
- attribute :allowed_content_types, Hash[Symbol => String]
15
- attribute :maximum_file_size, Hash[Symbol => Float]
13
+ attribute(:allowed_file_extensions, { Symbol => String })
14
+ attribute(:allowed_content_types, { Symbol => String })
15
+ attribute(:maximum_file_size, { Symbol => Float })
16
16
 
17
17
  def map_model(settings_hash)
18
- settings_hash = begin
19
- if settings_hash.is_a?(Hash)
20
- default_settings.deep_merge(settings_hash.deep_stringify_keys)
21
- else
22
- default_settings
23
- end
24
- end
18
+ settings_hash = if settings_hash.is_a?(Hash)
19
+ default_settings.deep_merge(settings_hash.deep_stringify_keys)
20
+ else
21
+ default_settings
22
+ end
25
23
 
26
- attribute_set.each do |attr|
27
- key = attr.name.to_s
28
- next unless settings_hash.has_key?(key)
24
+ csv_attributes.each do |attr|
25
+ next unless settings_hash.has_key?(attr.to_s)
29
26
 
30
27
  # For the view, the array values need to be in comma separated format
31
28
  # in order for them to work correctly with the tags inputs.
32
- value = Rectify::FormAttribute.new(attr).value_from(
33
- settings_hash[key]
34
- )
29
+ value = settings_hash[attr.to_s]
35
30
  value.each do |k, v|
36
31
  value[k] = v.join(",") if v.is_a?(Array)
37
32
  end
38
33
 
39
- self[key] = value
34
+ send("#{attr}=", value)
40
35
  end
36
+
37
+ self.maximum_file_size = settings_hash["maximum_file_size"]
41
38
  end
42
39
 
43
40
  # This turns the attributes passed from the view into the final
@@ -46,8 +43,7 @@ module Decidim
46
43
  # the view layer. Before we save those attributes, they need to be
47
44
  # converted into arrays which is what this method does.
48
45
  def final
49
- csv_attributes = [:allowed_file_extensions, :allowed_content_types]
50
- attributes.tap do |attr|
46
+ to_h.tap do |attr|
51
47
  csv_attributes.each do |key|
52
48
  attr[key] = csv_array_setting(attr[key])
53
49
  end
@@ -60,6 +56,10 @@ module Decidim
60
56
  Decidim::OrganizationSettings.default(:upload)
61
57
  end
62
58
 
59
+ def csv_attributes
60
+ @csv_attributes ||= [:allowed_file_extensions, :allowed_content_types]
61
+ end
62
+
63
63
  def csv_array_setting(original)
64
64
  original.transform_values do |value|
65
65
  value.split(",")
@@ -29,7 +29,6 @@ module Decidim
29
29
  [:authentication, String],
30
30
  [:enable_starttls_auto, Boolean]
31
31
  ]
32
- attribute :password, String
33
32
  attribute :file_upload_settings, FileUploadSettingsForm
34
33
 
35
34
  OMNIATH_PROVIDERS_ATTRIBUTES = Decidim::OmniauthProvider.available.keys.map do |provider|
@@ -44,6 +43,8 @@ module Decidim
44
43
 
45
44
  jsonb_attribute :omniauth_settings, OMNIATH_PROVIDERS_ATTRIBUTES
46
45
 
46
+ attr_writer :password
47
+
47
48
  validates :name, :host, :users_registration_mode, presence: true
48
49
  validate :validate_organization_uniqueness
49
50
  validates :users_registration_mode, inclusion: { in: Decidim::Organization.users_registration_modes }
@@ -69,13 +70,13 @@ module Decidim
69
70
  end
70
71
 
71
72
  def password
72
- encrypted_password.nil? ? super : Decidim::AttributeEncryptor.decrypt(encrypted_password)
73
+ Decidim::AttributeEncryptor.decrypt(encrypted_password) unless encrypted_password.nil?
73
74
  end
74
75
 
75
76
  def encrypted_smtp_settings
76
77
  smtp_settings["from"] = set_from
77
78
 
78
- smtp_settings.merge(encrypted_password: Decidim::AttributeEncryptor.encrypt(password))
79
+ smtp_settings.merge(encrypted_password: Decidim::AttributeEncryptor.encrypt(@password))
79
80
  end
80
81
 
81
82
  def set_from
@@ -10,10 +10,6 @@ module Decidim
10
10
  def title
11
11
  "Decidim"
12
12
  end
13
-
14
- def current_admin?(admin)
15
- current_admin == admin
16
- end
17
13
  end
18
14
  end
19
15
  end
@@ -1,2 +1,3 @@
1
1
  import "src/decidim/system/application"
2
2
  import "entrypoints/decidim_system.scss"
3
+ import "src/decidim/direct_uploads/upload_field"
@@ -15,6 +15,7 @@ $-zf-bp-value: null;
15
15
  @import "stylesheets/decidim/system/forms";
16
16
  @import "stylesheets/decidim/editor";
17
17
  @import "stylesheets/decidim/utils/fontface";
18
+ @import "stylesheets/decidim/modules/upload_modal";
18
19
 
19
20
  body{
20
21
  font-family: 'Source Sans Pro', sans-serif;
@@ -25,9 +25,7 @@
25
25
  </td>
26
26
  <td class="actions">
27
27
  <%= link_to t("actions.edit", scope: "decidim.system"), [:edit, admin] %>
28
- <% unless current_admin?(admin) %>
29
- <%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
30
- <% end %>
28
+ <%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
31
29
  </td>
32
30
  </tr>
33
31
  <% end %>
@@ -1 +1,2 @@
1
+ ---
1
2
  am:
@@ -1,36 +1,14 @@
1
+ ---
1
2
  ar:
2
3
  activemodel:
3
4
  attributes:
4
5
  oauth_application:
5
- name: اسم تطبيق OAuth
6
- organization_logo: شعار المنظمة (مربع)
7
6
  organization_name: المنظمة
8
- organization_url: العنوان الشبكي للمنظمة
9
- redirect_uri: إعادة توجيه URI
10
7
  organization:
11
- address: خادم SMTP
12
8
  from_email: عنوان البريد الإلكتروني
13
- from_label: تسمية
14
9
  password: الكلمة السرية
15
10
  port: المنفذ
16
11
  user_name: اسم المستخدم
17
- organization_file_uploads:
18
- allowed_content_types:
19
- admin: أنواع MIME المدير
20
- default: أنواع MIME الافتراضية
21
- allowed_file_extensions:
22
- admin: ملحقات ملف المدير
23
- default: ملحقات الملف الافتراضية
24
- image: ملحقات ملف الصورة
25
- maximum_file_size:
26
- avatar: حجم ملف الافاتار
27
- default: حجم الملف الافتراضي
28
- errors:
29
- models:
30
- oauth_application:
31
- attributes:
32
- redirect_uri:
33
- must_be_ssl: إعادة توجيه URI يجب أن يكون SSL URI
34
12
  decidim:
35
13
  system:
36
14
  actions:
@@ -57,9 +35,6 @@ ar:
57
35
  update:
58
36
  error: حدثت مشكلة أثناء تحديث هذا المشرف.
59
37
  success: تم تحديث المشرف بنجاح
60
- dashboard:
61
- show:
62
- current_organizations: المنظمات الحالية
63
38
  default_pages:
64
39
  placeholders:
65
40
  content: يرجى إضافة محتوى ذي معنى إلى الصفحة الثابتة %{page} في لوحة تحكم المشرف.
@@ -67,7 +42,6 @@ ar:
67
42
  menu:
68
43
  admins: مدراء
69
44
  dashboard: لوحة القيادة
70
- oauth_applications: تطبيقات OAuth
71
45
  organizations: المنظمات
72
46
  models:
73
47
  admin:
@@ -79,68 +53,21 @@ ar:
79
53
  email_uniqueness: يوجد مشرف آخر بنفس البريد الإلكتروني بالفعل
80
54
  oauth_application:
81
55
  fields:
82
- created_at: أنشئ في
83
- name: اسم تطبيق OAuth
84
56
  organization_name: المنظمة
85
- name: تطبيق OAuth
86
57
  organization:
87
58
  actions:
88
59
  save_and_invite: إنشاء منظمة ودعوة المشرف
89
60
  fields:
90
61
  created_at: أنشئت في
91
- file_upload_settings: إعدادات تحميل الملف
92
62
  name: اسم
93
- omniauth_settings: إعدادات Omniauth
94
63
  smtp_settings: إعدادات الـ SMTP
95
64
  name: منظمة
96
- oauth_applications:
97
- create:
98
- error: كانت هناك مشكلة في إنشاء هذا التطبيق.
99
- success: تم إنشاء التطبيق بنجاح.
100
- destroy:
101
- error: كانت هناك مشكلة في تدمير هذا التطبيق.
102
- success: تم تدمير التطبيق بنجاح.
103
- edit:
104
- save: حفظ
105
- title: تعديل التطبيق
106
- form:
107
- select_organization: اختيار منظمة
108
- index:
109
- confirm_delete: هل أنت متأكد من أنك تريد حذف هذا التطبيق؟
110
- title: تطبيقات OAuth
111
- new:
112
- save: حفظ
113
- title: تطبيق جديد
114
- update:
115
- error: كانت هناك مشكلة خلال تحديث هذا التطبيق.
116
- success: تم تحديث هذا التطبيق بنجاح.
117
65
  organizations:
118
- advanced_settings:
119
- hide: إخفاء الإعدادات المتقدمة
120
- show: إظهار الإعدادات المتقدمة
121
66
  create:
122
67
  error: كانت هناك مشكلة في إنشاء منظمة جديدة.
123
68
  success: تم إنشاء المنظمة بنجاح.
124
69
  edit:
125
70
  secondary_hosts_hint: أدخل كل واحد منهم في سطر جديد
126
- file_upload_settings:
127
- content_types:
128
- admin_hint: يسمح اختيار أنواع MIME هذه لتحميلات قسم المدير. يجب أن يكون مستخدمو المدير على دراية مخاطر تحميل بعض صيغ الوثائق، ولذلك يتوقع منهم ويتوجب عليهم أن يكونوا أكثر حذرا في تحميل الملفات.
129
- default_hint: أنواع MIME هذه مسموح بها لجميع المستخدمين بشكل افتراضي.
130
- intro_html: يمكن إضافة أحرف البدل wildcards باستخدام رمز النجمة لأنواع MIME ، على سبيل المثال <code>صورة/*</code>.
131
- title: أنواع MIME المسموح بها
132
- file_extensions:
133
- admin_hint: يسمح اختيار ملحقات الملفات هذه لتحميلات قسم المدير. يجب أن يكون مستخدمو المدير على دراية بمخاطر تحميل بعض صيغ الوثائق، ولذلك يتوقع منهم ويتوجب عليهم أن يكونوا أكثر حذرا في تحميل الملفات.
134
- default_hint: ملحقات الملفات هذه مسموح بها لجميع المستخدمين بشكل افتراضي.
135
- image_hint: ملحقات الملفات هذه مسموح بها لأي نوع من تحميل الصورة.
136
- title: ملحقات الملفات المسموح بها
137
- file_sizes:
138
- avatar_hint: ميغابايت (MB). يتم استخدام حجم الملف المحدد هذا لتحميلات صورة الافاتار.
139
- default_hint: ميغابايت (MB). هذا الحد لحجم الملف هو الافتراضي المستخدم لجميع تحميل الملفات ما لم يتم تحديد خلاف ذلك.
140
- title: حجم الملف الأقصى
141
- intro: |
142
- يرجى توخي المزيد من الحذر عند التفكير في تغيير هذه الإعدادات. كلما قللت من المسموح به، كلما كان ذلك أفضل.
143
- السماح بتمديد ملف معين أو أنواع MIME يمكن أن يعرض مستخدمي النظام لمخاطر أمنية ويمكن أن يؤثر أيضا على إمكانية الوصول إلى الموقع.
144
71
  index:
145
72
  title: المنظمات
146
73
  new:
@@ -148,14 +75,7 @@ ar:
148
75
  secondary_hosts_hint: أدخل كل واحد منهم في سطر جديد
149
76
  title: منظمة جديدة
150
77
  omniauth_settings:
151
- decidim:
152
- client_id: معرف العميل ID
153
- client_secret: الرمز السري للعميل
154
- site_url: Url الخاص بالموقع
155
- enabled: تم التمكين
156
- enabled_by_default: هذا المزود ممكن بشكل افتراضي. يمكن تعديله ولكن لا يمكن تعطيله.
157
78
  facebook:
158
- app_id: معرّف التطبيق
159
79
  app_secret: سر التطبيق
160
80
  google_oauth2:
161
81
  client_id: معرف العميل ID
@@ -168,11 +88,6 @@ ar:
168
88
  smtp_settings:
169
89
  fieldsets:
170
90
  sender: المُرسِل
171
- instructions:
172
- from_label: 'مرسل البريد الإلكتروني سيكون هو: "اسم منظمتك <your-organization@example.org>". اتركه فارغاً لاستخدام "عنوان البريد الإلكتروني" كتسمية'
173
- placeholder:
174
- from_email: your-organization@example.org
175
- from_label: اسم منظمتك
176
91
  update:
177
92
  error: حدثت مشكلة أثناء تحديث هذه المؤسسة.
178
93
  success: تم تحديث المنظمة بنجاح.
@@ -1,3 +1,4 @@
1
+ ---
1
2
  bg:
2
3
  decidim:
3
4
  system:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  ca:
2
3
  activemodel:
3
4
  attributes:
@@ -34,7 +35,7 @@ ca:
34
35
  decidim:
35
36
  system:
36
37
  actions:
37
- confirm_destroy: Segur que ho vols eliminar això?
38
+ confirm_destroy: Segur que ho vols eliminar?
38
39
  destroy: Suprimeix
39
40
  edit: Edita
40
41
  new: Nou
@@ -1,3 +1,4 @@
1
+ ---
1
2
  cs:
2
3
  activemodel:
3
4
  attributes:
@@ -89,7 +90,7 @@ cs:
89
90
  fields:
90
91
  created_at: Vytvořeno v
91
92
  file_upload_settings: Nastavení nahrávání souborů
92
- name: Název
93
+ name: název
93
94
  omniauth_settings: Nastavení Omniauth
94
95
  smtp_settings: SMTP nastavení
95
96
  name: Organizace
@@ -1 +1,2 @@
1
+ ---
1
2
  da:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  de:
2
3
  activemodel:
3
4
  attributes: