alchemy_i18n 3.0.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8ed0103c10c6bbf7d0fbf1b5ca7d68fc1a6760beb2ddbfc9ea65c8c9f9d7ca0
4
- data.tar.gz: 54df22794d3b743094a2cb860794d31eb6398602c9b5ec1f54e619155d252704
3
+ metadata.gz: a19c374843e9ec5e6633c4d0851c624e4aa3665ede192b3434a6b7deb3734629
4
+ data.tar.gz: 9cadc0dabb05690745090816f99f8e31eba14e8093740f58403b1030eb3b45be
5
5
  SHA512:
6
- metadata.gz: c284b4fb443236d484ca5f94a252eb645bf5c3924853488a4331dd056e1545c01b5073b2befa828feea705cb179c9d43304cc811f0f25f0ea75ebd2c7baedcb1
7
- data.tar.gz: f36a639f7a109dca0b445ee4670b08bd58f419f4d74efa175b5c4d20ba835e998d895cd4f8ff68c3a1591828b975158ef6536d1eacb61f8217e4cd0374f4e418
6
+ metadata.gz: 65c209fea9391c281d2d27f6b856c130a44bca644d745f534347188c2ee53d6dca7c7f1f3ca189e5aeabc7d26387c63c8dfbf8dba97a270cb68d419eef42e573
7
+ data.tar.gz: 8904a17c558b1eb761df2bdaa7aac335364f80bddbd0c3e9dcb781e9833bc7ff7966458305524959c9c4ddc4573878940972f025b728663fb51c145edc740b91
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.2.0](https://github.com/AlchemyCMS/alchemy_i18n/tree/v3.2.0) (2023-09-29)
4
+
5
+ [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.1.0...v3.2.0)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Check for webpack config in installer [\#49](https://github.com/AlchemyCMS/alchemy_i18n/pull/49) ([tvdeyen](https://github.com/tvdeyen))
10
+ - Add German translations for picture and file filters [\#48](https://github.com/AlchemyCMS/alchemy_i18n/pull/48) ([tvdeyen](https://github.com/tvdeyen))
11
+
12
+ ## [v3.1.0](https://github.com/AlchemyCMS/alchemy_i18n/tree/v3.1.0) (2023-03-30)
13
+
14
+ [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.0.2...v3.1.0)
15
+
16
+ **Merged pull requests:**
17
+
18
+ - Allow also future version of Alchemy [\#47](https://github.com/AlchemyCMS/alchemy_i18n/pull/47) ([sascha-karnatz](https://github.com/sascha-karnatz))
19
+
3
20
  ## [v3.0.2](https://github.com/AlchemyCMS/alchemy_i18n/tree/v3.0.2) (2022-04-20)
4
21
 
5
22
  [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v2.3.1...v3.0.2)
@@ -8,6 +25,10 @@
8
25
 
9
26
  - Skip English for additional locales [\#46](https://github.com/AlchemyCMS/alchemy_i18n/pull/46) ([tvdeyen](https://github.com/tvdeyen))
10
27
 
28
+ ## [v2.3.1](https://github.com/AlchemyCMS/alchemy_i18n/tree/v2.3.1) (2022-04-20)
29
+
30
+ [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.0.1...v2.3.1)
31
+
11
32
  ## [v3.0.1](https://github.com/AlchemyCMS/alchemy_i18n/tree/v3.0.1) (2022-04-20)
12
33
 
13
34
  [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.0.0...v3.0.1)
@@ -36,10 +57,6 @@
36
57
  - Add german node translations [\#37](https://github.com/AlchemyCMS/alchemy_i18n/pull/37) ([tvdeyen](https://github.com/tvdeyen))
37
58
  - Allow Alchemy 6 [\#36](https://github.com/AlchemyCMS/alchemy_i18n/pull/36) ([afdev82](https://github.com/afdev82))
38
59
 
39
- ## [v2.3.1](https://github.com/AlchemyCMS/alchemy_i18n/tree/v2.3.1) (2022-04-20)
40
-
41
- [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.0.1...v2.3.1)
42
-
43
60
  ## [v2.3.0](https://github.com/AlchemyCMS/alchemy_i18n/tree/v2.3.0) (2021-10-26)
44
61
 
45
62
  [Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v2.2.0...v2.3.0)
@@ -1,3 +1,3 @@
1
1
  module AlchemyI18n
2
- VERSION = "3.0.2"
2
+ VERSION = "3.2.0"
3
3
  end
@@ -38,13 +38,21 @@ module AlchemyI18n
38
38
  end
39
39
 
40
40
  def append_pack
41
- webpack_config = YAML.load_file(Rails.root.join("config", "webpacker.yml"))[Rails.env]
42
- pack = Rails.root.join(webpack_config["source_path"], webpack_config["source_entry_path"], "alchemy/admin.js")
43
- additional_locales.each do |locale|
44
- append_file pack, <<~PACK
45
- import "flatpickr/dist/l10n/#{locale}.js"
46
- PACK
41
+ app_root = Rails.root
42
+ config_file = app_root.join("config", "webpacker.yml")
43
+ if config_file.exist?
44
+ webpack_config = YAML.load_file(config_file)[Rails.env]
45
+ pack = app_root.join(
46
+ webpack_config["source_path"],
47
+ webpack_config["source_entry_path"],
48
+ "alchemy/admin.js"
49
+ )
50
+ else
51
+ pack = app_root.join("app/javascript/alchemy_admin.js")
47
52
  end
53
+ additional_locales.each { |locale| append_file pack, <<~PACK }
54
+ import "flatpickr/dist/l10n/#{locale}.js"
55
+ PACK
48
56
  end
49
57
 
50
58
  def add_rails_i18n
@@ -153,7 +153,7 @@ de:
153
153
 
154
154
  # == Mime Types translations
155
155
  # These are human readable mime types used for the document-type row in archive files.
156
- mime_types:
156
+ mime_types: &mime_types
157
157
  audio/mp4: "MP4-Audio"
158
158
  application/msword: "Word-Dokument"
159
159
  application/rtf: "RTF-Dokument"
@@ -161,6 +161,7 @@ de:
161
161
  text/plain: "Text-Dokument"
162
162
  video/mp4: "MP4-Video"
163
163
  video/mpeg: "MPEG-Video"
164
+ application/octet-stream: "Unbekannte Datei"
164
165
  application/pdf: "PDF-Dokument"
165
166
  application/x-flash-video: "Flash-Video"
166
167
  video/x-flv: "Flash-Video"
@@ -180,6 +181,49 @@ de:
180
181
  image/tiff: "TIFF-Bild"
181
182
  "text/x-vcard": "vCard"
182
183
  application/vcard: "vCard"
184
+ text/calendar: "iCal"
185
+
186
+ # === Translations for filter names and values
187
+ # Used in the right filter column in case the model has `alchemy_resource_filters` defined.
188
+ #
189
+ filters:
190
+ page:
191
+ by_page_layout:
192
+ name: Seitentyp
193
+ status:
194
+ name: Status
195
+ values:
196
+ not_public: Unveröffentlicht
197
+ published: Veröffentlicht
198
+ restricted: Geschützt
199
+ picture:
200
+ by_file_format:
201
+ name: Dateityp
202
+ values:
203
+ gif: GIF
204
+ jpeg: JPG
205
+ png: PNG
206
+ tiff: TIFF
207
+ webp: WebP
208
+ svg: SVG
209
+ misc:
210
+ name: Sonstige
211
+ values:
212
+ last_upload: Zuletzt hochgeladen
213
+ recent: Küzlich hochgeladen
214
+ without_tag: Ohne Tag
215
+ deletable: Nicht auf Seiten benutzt
216
+ attachment:
217
+ by_file_type:
218
+ name: Dateityp
219
+ values:
220
+ <<: *mime_types
221
+ misc:
222
+ name: Sonstige
223
+ values:
224
+ last_upload: Zuletzt hochgeladen
225
+ recent: Küzlich hochgeladen
226
+ without_tag: Ohne Tag
183
227
 
184
228
  link_target_options:
185
229
  default: gleichem Fenster
@@ -413,6 +457,7 @@ de:
413
457
  female: "Frau"
414
458
  file: "Datei"
415
459
  file_rename_error: "Datei konnte nicht umbenannt werden."
460
+ filtered_by: "gefiltert nach"
416
461
  from: "von"
417
462
  from_at: "von %{by} am %{at}"
418
463
  height: "Höhe"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-20 00:00:00.000000000 Z
11
+ date: 2023-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: alchemy_cms
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 6.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7'
22
+ version: '8'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 6.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7'
32
+ version: '8'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rails-i18n
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.1.6
133
+ rubygems_version: 3.4.17
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: AlchemyCMS translation files