textbrowser 0.45.2 → 0.46.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.
- package/.eslintrc.cjs +3 -0
- package/CHANGES.md +9 -0
- package/README.md +19 -15
- package/dist/WorkInfo-es.js +2126 -3647
- package/dist/index-es.js +12425 -13756
- package/dist/index-es.min.js +11 -16
- package/locales/ar.json +211 -209
- package/locales/en-US.json +212 -209
- package/locales/fa.json +211 -209
- package/locales/ru.json +211 -209
- package/package.json +44 -45
- package/resources/index.js +72 -50
- package/resources/resultsDisplay.js +41 -31
- package/resources/templates/index.js +133 -120
- package/resources/templates/resultsDisplayClient.js +2 -0
- package/resources/templates/workDisplay.js +195 -174
- package/resources/templates/workSelect.js +7 -7
- package/resources/user-sample.js +0 -2
- package/resources/user.js +0 -2
- package/resources/utils/IntlURLSearchParams.js +1 -1
- package/resources/utils/Languages.js +9 -4
- package/resources/utils/Metadata.js +14 -9
- package/resources/utils/Params.js +11 -9
- package/resources/utils/Plugin.js +4 -4
- package/resources/utils/WorkInfo.js +28 -13
- package/resources/utils/dialogs.js +8 -6
- package/resources/utils/getLocaleFallbackResults.js +26 -0
- package/resources/vendor/json-refs-min.js +15 -0
- package/resources/workDisplay.js +52 -46
- package/resources/workSelect.js +44 -23
- package/server/main.js +40 -32
- package/sw-sample.js +1 -1
- package/resources/utils/getIMFFallbackResults.js +0 -47
package/locales/en-US.json
CHANGED
|
@@ -1,215 +1,218 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
2
|
+
"body": {
|
|
3
|
+
"assistant": {
|
|
4
|
+
"save": "Save",
|
|
5
|
+
"file": "Browser Translation Interface",
|
|
6
|
+
"languagetranslate": "Choose your language to translate",
|
|
7
|
+
"password": "Password",
|
|
8
|
+
"wrongpassword": "Password as entered does not allow access",
|
|
9
|
+
"redirecting": "Redirecting to",
|
|
10
|
+
"original": "Original",
|
|
11
|
+
"translation": "Translation",
|
|
12
|
+
"shouldbechanged": "should be changed here to",
|
|
13
|
+
"choosedifferenteditlanguage": "Click here to choose a different editing language",
|
|
14
|
+
"changesignored": "if you click here, the changes you have made on this page will be ignored unless you have already saved the changes before",
|
|
15
|
+
"returnediting": "Click here to return to editing the same language as before",
|
|
16
|
+
"rancommand": "Ran command"
|
|
17
|
+
},
|
|
18
|
+
"submitgo": "Go",
|
|
19
|
+
"search": "search",
|
|
20
|
+
"field_enabled": "Enabled",
|
|
21
|
+
"field_title": "Field Title",
|
|
22
|
+
"advancedformatting": "Text Formatting Options",
|
|
23
|
+
"textcolor": "Text color",
|
|
24
|
+
"or_entercolor": "Or enter a color code here",
|
|
25
|
+
"backgroundcolor": "Background color",
|
|
26
|
+
"text_font": "Text font",
|
|
27
|
+
"font_style": "Font style",
|
|
28
|
+
"font_variant": "Font variant",
|
|
29
|
+
"font_weight": "Font weight",
|
|
30
|
+
"font_size": "Font size",
|
|
31
|
+
"font_stretch": "Font stretch",
|
|
32
|
+
"letter_spacing": "Letter spacing",
|
|
33
|
+
"line_height": "Line height",
|
|
34
|
+
"speech_controls": "Add speech controls",
|
|
35
|
+
"header_wstyles": "Header (with Styles?)",
|
|
36
|
+
"footer_wstyles": "Footer (with Styles?)",
|
|
37
|
+
"table_wborder": "Table (with border?)",
|
|
38
|
+
"interlin_repeat_field_names": "Repeat interlinear field names",
|
|
39
|
+
"interlintitle_css": "Interlinear title CSS",
|
|
40
|
+
"advancedformatting_tips": "These options add special formatting (such as text coloring) to your browsing selection.",
|
|
41
|
+
"field_enabled_tips": "Uncheck a box here to remove the field from your browsing view",
|
|
42
|
+
"results_for": "results for",
|
|
43
|
+
"field_title_tips": "You can alter the sequence of the fields in your browsing view by changing any fields below (you can even choose the same field twice if you wish).",
|
|
44
|
+
"uncheck_all": "Uncheck",
|
|
45
|
+
"checkmark_locale_fields_only": "Check fields whose content matches current locale",
|
|
46
|
+
"save-settings-URL": "Save settings as URL",
|
|
47
|
+
"headerfooterfixed-wishtoscroll": "Header and footers fixed (if possible)",
|
|
48
|
+
"atonce": "at once",
|
|
49
|
+
"set": "Set",
|
|
50
|
+
"startingat": "Starting at",
|
|
51
|
+
"atatime": "at a time",
|
|
52
|
+
"showall": "Show all",
|
|
53
|
+
"show": "Show",
|
|
54
|
+
"versesendingdataoptional": "verses and ending data optional",
|
|
55
|
+
"to": "TO",
|
|
56
|
+
"or": "OR",
|
|
57
|
+
"anchored-at": "Anchored at:",
|
|
58
|
+
"field": "Field",
|
|
59
|
+
"fieldtablesummary": "This table offers the choice of which fields to enable and their order in the display of the current text.",
|
|
60
|
+
"resultstablesummary": "This table displays the results of a previous verse selection.",
|
|
61
|
+
"nofileyet": "You haven't specified a file yet.",
|
|
62
|
+
"willberedirected": "You will be redirected in a few seconds, or, ",
|
|
63
|
+
"notwait": "if you do not wish to wait, click here",
|
|
64
|
+
"paypal": "Make payments with PayPal - it's fast, free and secure!",
|
|
65
|
+
"max": "Maximum",
|
|
66
|
+
"min": "Minimum",
|
|
67
|
+
"mainboxsummary": "This table is for keeping the field options and formatting options together.",
|
|
68
|
+
"tableformatting": "Table Formatting Options",
|
|
69
|
+
"tableformatting_tips": "These options alter formatting of the browse results table.",
|
|
70
|
+
"caption_wstyles": "Caption with book name, etc. (with Styles?)",
|
|
71
|
+
"pageformatting": "Page Formatting Options",
|
|
72
|
+
"pageformatting_tips": "These options alter the formatting of the browse results page.",
|
|
73
|
+
"outputmode": "Output mode",
|
|
74
|
+
"outputmode_tips": "Allows other options besides tables",
|
|
75
|
+
"Hide": "Hide",
|
|
76
|
+
"navbar": "Navigation bar",
|
|
77
|
+
"Breadcrumbs": "Breadcrumbs",
|
|
78
|
+
"advancedmode": "Advanced mode",
|
|
79
|
+
"from": "from",
|
|
80
|
+
"auto": "Auto-field",
|
|
81
|
+
"fullinput": "Choose a range of verses by number or, if applicable, by name",
|
|
82
|
+
"fullinputbox": "Choose range",
|
|
83
|
+
"check_all": "Check",
|
|
84
|
+
"switch_all": "Switch",
|
|
85
|
+
"transpose": "Transpose horizontally?",
|
|
86
|
+
"rnd": "Random?",
|
|
87
|
+
"verses-context": "Number of verses of context",
|
|
88
|
+
"view-random-URL": "View random URL",
|
|
89
|
+
"fieldno": "Number",
|
|
90
|
+
"fieldinterlin": "Interlinear Fields",
|
|
91
|
+
"fieldcss": "CSS",
|
|
92
|
+
"fieldsearch": "Search",
|
|
93
|
+
"check-columns-to-browse": "Check the columns you wish to browse",
|
|
94
|
+
"check-sequence": "Check the sequence (you can choose the same field twice if you wish)",
|
|
95
|
+
"interlinear-tips": "Add a comma-separated list of column numbers to be added to the current column interlinearly",
|
|
96
|
+
"Preferences": "Preferences",
|
|
97
|
+
"Preferred language(s)": "Preferred language(s)",
|
|
98
|
+
"localizeParamNames": "Localize URL parameter names by default",
|
|
99
|
+
"Hide formatting section": "Hide formatting section",
|
|
100
|
+
"Generate_bookmarks": "Generate bookmarks",
|
|
101
|
+
"bookmark_generation_tooltip": "Import this file into your browser's bookmarks manager",
|
|
102
|
+
"Bookmarks": "Bookmarks",
|
|
103
|
+
"Bookmarks_Menu": "Bookmarks Menu",
|
|
104
|
+
"Copy_shortcut_URL": "Copy shortcut URL",
|
|
105
|
+
"page_css": "Page CSS",
|
|
106
|
+
"page_css_tips": "CSS to apply to the whole page (e.g., to style links/visited links, etc.); note that surrounding context verses have class 'context'",
|
|
106
107
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
"yes": "Yes",
|
|
109
|
+
"no": "No",
|
|
110
|
+
"normal": "Normal",
|
|
111
|
+
"none": "None",
|
|
112
|
+
"both": "Both",
|
|
113
|
+
"comma-space": ", ",
|
|
114
|
+
"comma": ",",
|
|
115
|
+
"colon-space": ": ",
|
|
116
|
+
"colon": ":",
|
|
116
117
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
},
|
|
170
|
-
"params": {
|
|
171
|
-
"indexed": {
|
|
172
|
-
"field": "field",
|
|
173
|
-
"checked": "checked",
|
|
174
|
-
"interlin": "interlin",
|
|
175
|
-
"css": "css",
|
|
176
|
-
"search": "search",
|
|
177
|
-
"toggle": "toggle",
|
|
178
|
-
"start": "start",
|
|
179
|
-
"end": "end",
|
|
180
|
-
"startEnd": "startEnd",
|
|
181
|
-
"anchor": "anchor",
|
|
182
|
-
"anchorfield": "anchorfield"
|
|
118
|
+
"param_values": {
|
|
119
|
+
"colors": {
|
|
120
|
+
"aqua": "Aqua",
|
|
121
|
+
"black": "Black",
|
|
122
|
+
"blue": "Blue",
|
|
123
|
+
"fuchsia": "Fuchsia",
|
|
124
|
+
"gray": "Gray",
|
|
125
|
+
"green": "Green",
|
|
126
|
+
"lime": "Lime",
|
|
127
|
+
"maroon": "Maroon",
|
|
128
|
+
"navy": "Navy",
|
|
129
|
+
"olive": "Olive",
|
|
130
|
+
"purple": "Purple",
|
|
131
|
+
"red": "Red",
|
|
132
|
+
"silver": "Silver",
|
|
133
|
+
"teal": "Teal",
|
|
134
|
+
"white": "White",
|
|
135
|
+
"yellow": "Yellow"
|
|
136
|
+
},
|
|
137
|
+
"fontstyle": {
|
|
138
|
+
"italic": "italic",
|
|
139
|
+
"normal": "normal",
|
|
140
|
+
"oblique": "oblique"
|
|
141
|
+
},
|
|
142
|
+
"fontvariant": {
|
|
143
|
+
"normal": "normal",
|
|
144
|
+
"small-caps": "small-caps"
|
|
145
|
+
},
|
|
146
|
+
"outputmode": {
|
|
147
|
+
"table": "Table",
|
|
148
|
+
"div": "Divs",
|
|
149
|
+
"json-array": "JSON (Array table)",
|
|
150
|
+
"json-object": "JSON (Object)"
|
|
151
|
+
},
|
|
152
|
+
"font-stretch": {
|
|
153
|
+
"ultra-condensed": "ultra-condensed",
|
|
154
|
+
"extra-condensed": "extra-condensed",
|
|
155
|
+
"condensed": "condensed",
|
|
156
|
+
"semi-condensed": "semi-condensed",
|
|
157
|
+
"normal": "normal",
|
|
158
|
+
"semi-expanded": "semi-expanded",
|
|
159
|
+
"expanded": "expanded",
|
|
160
|
+
"extra-expanded": "extra-expanded",
|
|
161
|
+
"ultra-expanded": "ultra-expanded"
|
|
162
|
+
},
|
|
163
|
+
"enum-all": "All",
|
|
164
|
+
"y": "y",
|
|
165
|
+
"n": "n",
|
|
166
|
+
"1": "1",
|
|
167
|
+
"0": "0",
|
|
168
|
+
"table": "table",
|
|
169
|
+
"div": "div"
|
|
183
170
|
},
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
171
|
+
"params": {
|
|
172
|
+
"indexed": {
|
|
173
|
+
"field": "field",
|
|
174
|
+
"checked": "checked",
|
|
175
|
+
"interlin": "interlin",
|
|
176
|
+
"css": "css",
|
|
177
|
+
"search": "search",
|
|
178
|
+
"toggle": "toggle",
|
|
179
|
+
"start": "start",
|
|
180
|
+
"end": "end",
|
|
181
|
+
"startEnd": "startEnd",
|
|
182
|
+
"anchor": "anchor",
|
|
183
|
+
"anchorfield": "anchorfield"
|
|
184
|
+
},
|
|
185
|
+
"lang": "lang",
|
|
186
|
+
"work": "work",
|
|
187
|
+
"browse": "browse",
|
|
188
|
+
"result": "result",
|
|
189
|
+
"rand": "rand",
|
|
190
|
+
"context": "context",
|
|
191
|
+
"anchorrowcol": "anchorrowcol",
|
|
192
|
+
"colorName": "colorName",
|
|
193
|
+
"color": "color",
|
|
194
|
+
"bgcolorName": "bgcolorName",
|
|
195
|
+
"bgcolor": "bgcolor",
|
|
196
|
+
"fontSeq": "fontSeq",
|
|
197
|
+
"fontstyle": "fontstyle",
|
|
198
|
+
"fontvariant": "fontvariant",
|
|
199
|
+
"fontweight": "fontweight",
|
|
200
|
+
"fontsize": "fontsize",
|
|
201
|
+
"fontstretch": "fontstretch",
|
|
202
|
+
"letterspacing": "letterspacing",
|
|
203
|
+
"lineheight": "lineheight",
|
|
204
|
+
"speech": "speech",
|
|
205
|
+
"header": "header",
|
|
206
|
+
"footer": "footer",
|
|
207
|
+
"caption": "caption",
|
|
208
|
+
"headerfooterfixed": "headerfooterfixed",
|
|
209
|
+
"footerfixed": "footerfixed",
|
|
210
|
+
"border": "border",
|
|
211
|
+
"interlintitle": "interlintitle",
|
|
212
|
+
"interlintitle_css": "interlintitle_css",
|
|
213
|
+
"transpose": "transpose",
|
|
214
|
+
"pagecss": "pagecss",
|
|
215
|
+
"outputmode": "outputmode"
|
|
216
|
+
}
|
|
214
217
|
}
|
|
215
218
|
}
|