alchemy_i18n 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/alchemy_i18n/version.rb +1 -1
- data/lib/generators/alchemy_i18n/install/install_generator.rb +14 -6
- data/locales/alchemy.de.yml +46 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a19c374843e9ec5e6633c4d0851c624e4aa3665ede192b3434a6b7deb3734629
|
|
4
|
+
data.tar.gz: 9cadc0dabb05690745090816f99f8e31eba14e8093740f58403b1030eb3b45be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65c209fea9391c281d2d27f6b856c130a44bca644d745f534347188c2ee53d6dca7c7f1f3ca189e5aeabc7d26387c63c8dfbf8dba97a270cb68d419eef42e573
|
|
7
|
+
data.tar.gz: 8904a17c558b1eb761df2bdaa7aac335364f80bddbd0c3e9dcb781e9833bc7ff7966458305524959c9c4ddc4573878940972f025b728663fb51c145edc740b91
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
3
12
|
## [v3.1.0](https://github.com/AlchemyCMS/alchemy_i18n/tree/v3.1.0) (2023-03-30)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://github.com/AlchemyCMS/alchemy_i18n/compare/v3.0.2...v3.1.0)
|
data/lib/alchemy_i18n/version.rb
CHANGED
|
@@ -38,13 +38,21 @@ module AlchemyI18n
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def append_pack
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
data/locales/alchemy.de.yml
CHANGED
|
@@ -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.
|
|
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: 2023-
|
|
11
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: alchemy_cms
|
|
@@ -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.4.
|
|
133
|
+
rubygems_version: 3.4.17
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 4
|
|
136
136
|
summary: AlchemyCMS translation files
|