openproject-primer_view_components 0.75.1 → 0.75.2
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 +6 -0
- data/app/components/primer/alpha/toggle_switch.rb +2 -2
- data/config/locales/en.yml +4 -0
- data/lib/primer/view_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7217d04da1b36a8e3b0bbb9fd11cf788549b2fbd6f2e3ef49a2900f305f110a9
|
4
|
+
data.tar.gz: 14cb57c7b174ea2247101c45b9b340b3525980fe272af10e63bd98b37915a1cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9f827ead351435998f5dbcf30398ed96fd4905b80adde6ebe268d62fce84db9e7fa7b02c4aff06b89ef60f0e6518584a29141202d6769814f45e81f46a3ce7f
|
7
|
+
data.tar.gz: c91abdec65449ade84f02039487ee7c768cf85127751892575f5ce2143a736d29ad29219851d6fe88bd12efb1327d4f392538e7d9970da4bcaa0734684dfef08
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.75.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#372](https://github.com/opf/primer_view_components/pull/372) [`eedf030`](https://github.com/opf/primer_view_components/commit/eedf030b9d583f0d924def49b6af41b34dc15646) Thanks [@bsatarnejad](https://github.com/bsatarnejad)! - [62820] Primer Alpha::ToggleSwitch locale support, set default values for On and Off labels
|
8
|
+
|
3
9
|
## 0.75.1
|
4
10
|
|
5
11
|
### Patch Changes
|
@@ -84,8 +84,8 @@ module Primer
|
|
84
84
|
|
85
85
|
@system_arguments[:src] = @src if @src
|
86
86
|
|
87
|
-
@on_label = on_label || "
|
88
|
-
@off_label = off_label || "
|
87
|
+
@on_label = on_label || I18n.t("toggle_switch.label_on")
|
88
|
+
@off_label = off_label || I18n.t("toggle_switch.label_off")
|
89
89
|
end
|
90
90
|
|
91
91
|
def on?
|
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openproject-primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.75.
|
4
|
+
version: 0.75.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-10-
|
12
|
+
date: 2025-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|