vipassana-design-standards 0.0.34 → 0.0.35

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08b5d2d28aa4ac999692a63fac5b525edcf8342c085ac46b83fcddd586d07090'
4
- data.tar.gz: 3666154fc46a011acd2c94dc2662db84e2ded8200fd2d1e5c278dbddcb59b357
3
+ metadata.gz: e93b0f9973497aeea3c09a72f031ef5fefbde27aaadc344c901c5975b48417d9
4
+ data.tar.gz: c9380e8c4503200cc631b6906dd472f9336cf44cfa6c7428b3cd69e48ac00847
5
5
  SHA512:
6
- metadata.gz: 5e24ee31ac35065b90a1112947b382b97fea29ed381e88129cd6bd32cba134be4272f0f4e861f372177dad7bc411c63c9bd0d2bbee0ba3c34925fcaa92757ff4
7
- data.tar.gz: ec8389c8c4ea8180145d86dfb6ab5782efb637b9c64ce8cca3bb882f44e9cf98afeb5e7c451e7b1709cbdbff733994ce2328950a4eba9697467f1449cd7683f7
6
+ metadata.gz: 83b86079dbb23c327addf8dd5a3cf104a8b8360326eeced3379340a4d36c976df269cea4b31dbef9a9fd121310c0ca25dda46b6319ed7061107c780ae65d3147
7
+ data.tar.gz: f4303410e727e277a53b6a453e89a96f2c76f174bab1ebbd2e1c429c1b05c658d6600a4db2490dc194b6a8ee45a0fd621c590d7c091571b7dd7bd83df151604f
@@ -5,8 +5,10 @@ module Vipassana
5
5
  def fix_locale(locale)
6
6
  locale = locale&.to_s&.downcase || "en"
7
7
  mapping = {
8
+ 'zh' => 'zh-HANS',
8
9
  'zh-hans' => 'zh-HANS',
9
10
  'zh-hant'=> 'zh-HANT',
11
+ 'zh-hant-hk'=> 'zh-HANT-HK',
10
12
  'zh-hk' => 'zh-HANT-HK',
11
13
  'zh-cn' => 'zh-HANS',
12
14
  'zh-tw' => 'zh-HANT',
@@ -63,6 +65,7 @@ module Vipassana
63
65
 
64
66
  result = <<-HTML
65
67
  <div class="vipassana-logo"
68
+ data-lang="#{locale}"
66
69
  data-disposition="#{disposition}"
67
70
  data-tagline="#{tagline}"
68
71
  data-dark-mode="#{dark}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vipassana-design-standards
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dhamma workers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-29 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provide a custom bootstrap theme, logos and icons according to the design
14
14
  standards of Vipassana Meditation as Taught yb S.N. Goenka