j1-template 2021.2.5 → 2021.2.9
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/_includes/themes/j1/modules/connectors/translators/google-translator.html +2 -1
- data/_layouts/default.html +0 -1
- data/assets/data/iso-639-language-codes-flags.json +224 -0
- data/assets/data/{translator_languages.json → iso-639-language-codes.json} +111 -142
- data/assets/data/translator.html +23 -19
- data/assets/themes/j1/adapter/js/translator.1.js +525 -0
- data/assets/themes/j1/adapter/js/translator.js +107 -168
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +27 -12
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +59 -22
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/modules/translator/js/translator.js +217 -242
- data/assets/themes/j1/modules/translator/js/translator.min.js +2 -2
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/j1_config.yml +2 -22
- data/lib/starter_web/_data/modules/defaults/translator.yml +77 -64
- data/lib/starter_web/_data/modules/translator.yml +1 -0
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +5 -4
- data/assets/data/msdropdown.json +0 -155
data/assets/data/msdropdown.json
DELETED
@@ -1,155 +0,0 @@
|
|
1
|
-
---
|
2
|
-
regenerate: true
|
3
|
-
exclude_from_search: true
|
4
|
-
---
|
5
|
-
|
6
|
-
{% capture cache %}
|
7
|
-
|
8
|
-
{% comment %}
|
9
|
-
# -----------------------------------------------------------------------------
|
10
|
-
# ~/assets/data/msdropdown.json
|
11
|
-
# The Liquid template is used by J1 Translator module to create msDropdown
|
12
|
-
# (select) elements DYNAMICALLY
|
13
|
-
#
|
14
|
-
# Product/Info:
|
15
|
-
# https://jekyll.one
|
16
|
-
#
|
17
|
-
# Copyright (C) 2021 Juergen Adams
|
18
|
-
#
|
19
|
-
# J1 Template is licensed under the MIT License.
|
20
|
-
# For details, see https://jekyll.one
|
21
|
-
# -----------------------------------------------------------------------------
|
22
|
-
# NOTE:
|
23
|
-
# Be carefull change the Liquid code. If the code is changed, check the
|
24
|
-
# integrity of the JSON data created. Invalid JSON data will cause the
|
25
|
-
# the J1 Translator module to fail.
|
26
|
-
# -----------------------------------------------------------------------------
|
27
|
-
# Test data:
|
28
|
-
# {{ liquid_var | debug }}
|
29
|
-
# -----------------------------------------------------------------------------
|
30
|
-
{% endcomment %}
|
31
|
-
|
32
|
-
{% comment %} Set config data
|
33
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
-
{% assign environment = site.environment %}
|
35
|
-
|
36
|
-
{
|
37
|
-
"googleLanguages":
|
38
|
-
[
|
39
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "af", "text": "Afrikaans"},
|
40
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sq", "text": "Albanian"},
|
41
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ar", "text": "Arabic"},
|
42
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "hy", "text": "Armenian"},
|
43
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "az", "text": "Azerbaijani"},
|
44
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "eu", "text": "Basque"},
|
45
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "be", "text": "Belarusian"},
|
46
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "bn", "text": "Bengali"},
|
47
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "bg", "text": "Bulgarian"},
|
48
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ca", "text": "Catalan"},
|
49
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "zh-CN", "text": "Chinese (Simplified)"},
|
50
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "zh-TW", "text": "Chinese (Traditional)"},
|
51
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "hr", "text": "Croatian"},
|
52
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "cs", "text": "Czech"},
|
53
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "da", "text": "Danish"},
|
54
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "nl", "text": "Dutch"},
|
55
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "eo", "text": "Esperanto"},
|
56
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "et", "text": "Estonian"},
|
57
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "tl", "text": "Filipino"},
|
58
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "fi", "text": "Finnish"},
|
59
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "fr", "text": "French"},
|
60
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "gl", "text": "Galician"},
|
61
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ka", "text": "Georgian"},
|
62
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "de", "text": "German"},
|
63
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "el", "text": "Greek"},
|
64
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "gu", "text": "Gujarati"},
|
65
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ht", "text": "Haitian Creole"},
|
66
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "iw", "text": "Hebrew"},
|
67
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "hi", "text": "Hindi"},
|
68
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "hu", "text": "Hungarian"},
|
69
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "is", "text": "Icelandic"},
|
70
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "id", "text": "Indonesian"},
|
71
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ga", "text": "Irish"},
|
72
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "it", "text": "Italian"},
|
73
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ja", "text": "Japanese"},
|
74
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "kn", "text": "Kannada"},
|
75
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ko", "text": "Korean"},
|
76
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "la", "text": "Latin"},
|
77
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "lv", "text": "Latvian"},
|
78
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "lt", "text": "Lithuanian"},
|
79
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "mk", "text": "Macedonian"},
|
80
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ms", "text": "Malay"},
|
81
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "mt", "text": "Maltese"},
|
82
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "no", "text": "Norwegian"},
|
83
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "fa", "text": "Persian"},
|
84
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "pl", "text": "Polish"},
|
85
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "pt", "text": "Portuguese"},
|
86
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ro", "text": "Romanian"},
|
87
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ru", "text": "Russian"},
|
88
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sr", "text": "Serbian"},
|
89
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sk", "text": "Slovak"},
|
90
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sl", "text": "Slovenian"},
|
91
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "es", "text": "Spanish"},
|
92
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sw", "text": "Swahili"},
|
93
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sv", "text": "Swedish"},
|
94
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ta", "text": "Tamil"},
|
95
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "te", "text": "Telugu"},
|
96
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "th", "text": "Thai"},
|
97
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "tr", "text": "Turkish"},
|
98
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "uk", "text": "Ukrainian"},
|
99
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ur", "text": "Urdu"},
|
100
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "vi", "text": "Vietnamese"},
|
101
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "cy", "text": "Welsh"},
|
102
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "yi", "text": "Yiddish"}
|
103
|
-
],
|
104
|
-
|
105
|
-
"deeplLanguages":
|
106
|
-
[
|
107
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "bg", "text": "Bulgarian" },
|
108
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "cs", "text": "Czech" },
|
109
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "da", "text": "Danish" },
|
110
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "de", "text": "German" },
|
111
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "el", "text": "Greek" },
|
112
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "es", "text": "Spanish" },
|
113
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "en", "text": "English" },
|
114
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "en-us", "text": "English (American)" },
|
115
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "en-uk", "text": "English (British)" },
|
116
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "et", "text": "Estonian" },
|
117
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ft", "text": "Finnish" },
|
118
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "fr", "text": "French" },
|
119
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "hu", "text": "Hungarian" },
|
120
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "it", "text": "Italian" },
|
121
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ja", "text": "Japanese" },
|
122
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "lv", "text": "Latvian" },
|
123
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "lt", "text": "Lithuanian" },
|
124
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "nl", "text": "Dutch" },
|
125
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "af", "text": "Polish" },
|
126
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "pt", "text": "Portuguese" },
|
127
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "pt-pt", "text": "Portuguese (Portugal)" },
|
128
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "pt-br", "text": "Portuguese (Brazilian)" },
|
129
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ro", "text": "Romanian" },
|
130
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "ru", "text": "Russian" },
|
131
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sk", "text": "Slovak" },
|
132
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sl", "text": "Slovenian" },
|
133
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "sv", "text": "Swedish" },
|
134
|
-
{"imageCss": "flag-icon flag-icon-cz rectangle size-md", "value": "zh", "text": "Chinese" }
|
135
|
-
],
|
136
|
-
|
137
|
-
"jsonTest":
|
138
|
-
[
|
139
|
-
{"description":"Choose your payment gateway", "value":"", "text":"Payment Gateway"},
|
140
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Amex-56.png", "description":"My life. My card...", "value":"amex", "text":"Amex"},
|
141
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Discover-56.png", "description":"It pays to Discover...", "value":"Discover", "text":"Discover"},
|
142
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Mastercard-56.png", "title":"For everything else...", "description":"For everything else...", "value":"Mastercard", "text":"Mastercard"},
|
143
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Cash-56.png", "description":"Sorry not available...", "value":"cash", "text":"Cash on delivery", "disabled":true},
|
144
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Visa-56.png", "description":"All you need...", "value":"Visa", "text":"Visa"},
|
145
|
-
{"image":"/assets/themes/j1/modules/imageDropdown/icons/Paypal-56.png", "description":"Pay and get paid...", "value":"Paypal", "text":"Paypal"}
|
146
|
-
]
|
147
|
-
}
|
148
|
-
|
149
|
-
{% endcapture %}
|
150
|
-
{% if production %}
|
151
|
-
{{ cache | minifyJSON }}
|
152
|
-
{% else %}
|
153
|
-
{{ cache | strip_empty_lines }}
|
154
|
-
{% endif %}
|
155
|
-
{% assign cache = nil %}
|