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/fa.json
CHANGED
|
@@ -1,215 +1,217 @@
|
|
|
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": "حفظ کنید",
|
|
5
|
+
"file": "برازر مترجم",
|
|
6
|
+
"languagetranslate": "زبان ترجمه را انتخاب فرمایید",
|
|
7
|
+
"password": "رمز عبور",
|
|
8
|
+
"wrongpassword": "رمز عبور وارد شده قبول نیست ",
|
|
9
|
+
"redirecting": "راهنمایی شدید به جهت",
|
|
10
|
+
"original": "اصلی",
|
|
11
|
+
"translation": "ترجمه",
|
|
12
|
+
"shouldbechanged": "اینجا تغییر بدهید به",
|
|
13
|
+
"choosedifferenteditlanguage": "اینجا کلک کنید در جهت انتخاب زبان ترجمه",
|
|
14
|
+
"changesignored": "اگر اینجا کلک کنید تغییرات حفظ نشده این صفحه نادیده انگاشته میشود",
|
|
15
|
+
"returnediting": "تا ادامه به استفاده از زبان ترجمه قبلی خود دهید اینجا کلک کنید",
|
|
16
|
+
"rancommand": "command اجرا کنید"
|
|
17
|
+
},
|
|
18
|
+
"submitgo": "بروید",
|
|
19
|
+
"search": "search",
|
|
20
|
+
"field_enabled": "قابل انجام",
|
|
21
|
+
"field_title": "تیتر فیلد",
|
|
22
|
+
"advancedformatting": "فرمت مختلف نوشتجات",
|
|
23
|
+
"textcolor": "رنگ نوشتجات",
|
|
24
|
+
"or_entercolor": "یل کد رنگ مورد دلخواه را وارد کنید",
|
|
25
|
+
"backgroundcolor": "رنگ پشت",
|
|
26
|
+
"text_font": "نوع حروف",
|
|
27
|
+
"font_style": "شکل حروف",
|
|
28
|
+
"font_variant": "انواع حروف",
|
|
29
|
+
"font_weight": "وزن انواع حروف",
|
|
30
|
+
"font_size": "اندازه حروف",
|
|
31
|
+
"font_stretch": "کشیدگیی حروف",
|
|
32
|
+
"letter_spacing": "فاصله بین حروف",
|
|
33
|
+
"line_height": "محل خط",
|
|
34
|
+
"speech_controls": "Add speech controls",
|
|
35
|
+
"header_wstyles": "تیتر (نوع مخصوص)",
|
|
36
|
+
"footer_wstyles": "Footer (with Styles?)",
|
|
37
|
+
"table_wborder": "جدول با کادر",
|
|
38
|
+
"interlin_repeat_field_names": "Repeat interlinear field names",
|
|
39
|
+
"interlintitle_css": "Interlinear title CSS",
|
|
40
|
+
"advancedformatting_tips": "بوسیله این امکانات نوع اختصاصی به برازر اضافه فرمایید",
|
|
41
|
+
"field_enabled_tips": "علامت چک را پاک نمایید تا قسمت ناخواسته برازر را محو کنید",
|
|
42
|
+
"results_for": "نتایج",
|
|
43
|
+
"field_title_tips": "ترتیب فیلدهای برازر را بوسیله تغییر فیلدهای زیر عوض کنید (فیلدها میتوانند مکررآ استفاده شوند)",
|
|
44
|
+
"uncheck_all": "باز کنید",
|
|
45
|
+
"checkmark_locale_fields_only": "Check fields whose content matches current locale",
|
|
46
|
+
"save-settings-URL": "Save settings as URL",
|
|
47
|
+
"headerfixed-wishtoscroll": "تیتر جدول غیرقابل تغییر است (اگر امکان دارد)",
|
|
48
|
+
"atonce": "فورآ",
|
|
49
|
+
"set": "اماده",
|
|
50
|
+
"startingat": "شروع از",
|
|
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": "بله",
|
|
109
|
+
"no": "خیر",
|
|
110
|
+
"normal": "معمولی",
|
|
111
|
+
"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": "ابی کمرنگ",
|
|
121
|
+
"black": "سیاه",
|
|
122
|
+
"blue": "ابی",
|
|
123
|
+
"fuchsia": "بنفش",
|
|
124
|
+
"gray": "خاکستری",
|
|
125
|
+
"green": "سبز",
|
|
126
|
+
"lime": "لیمویی",
|
|
127
|
+
"maroon": "البالویی",
|
|
128
|
+
"navy": "ابی دریایی",
|
|
129
|
+
"olive": "زیتانی",
|
|
130
|
+
"purple": "ارغوانی",
|
|
131
|
+
"red": "قرمز",
|
|
132
|
+
"silver": "نقره ای",
|
|
133
|
+
"teal": "ابی مایل به سبز",
|
|
134
|
+
"white": "سفید",
|
|
135
|
+
"yellow": "زرد"
|
|
136
|
+
},
|
|
137
|
+
"fontstyle": {
|
|
138
|
+
"italic": "ایتالیک",
|
|
139
|
+
"normal": "معمولی",
|
|
140
|
+
"oblique": "زاویهدار"
|
|
141
|
+
},
|
|
142
|
+
"fontvariant": {
|
|
143
|
+
"normal": "معمولی",
|
|
144
|
+
"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
|
+
"result": "result",
|
|
188
|
+
"rand": "rand",
|
|
189
|
+
"context": "context",
|
|
190
|
+
"anchorrowcol": "anchorrowcol",
|
|
191
|
+
"colorName": "colorName",
|
|
192
|
+
"color": "color",
|
|
193
|
+
"bgcolorName": "bgcolorName",
|
|
194
|
+
"bgcolor": "bgcolor",
|
|
195
|
+
"fontSeq": "fontSeq",
|
|
196
|
+
"fontstyle": "fontstyle",
|
|
197
|
+
"fontvariant": "fontvariant",
|
|
198
|
+
"fontweight": "fontweight",
|
|
199
|
+
"fontsize": "fontsize",
|
|
200
|
+
"fontstretch": "fontstretch",
|
|
201
|
+
"letterspacing": "letterspacing",
|
|
202
|
+
"lineheight": "lineheight",
|
|
203
|
+
"speech": "speech",
|
|
204
|
+
"header": "header",
|
|
205
|
+
"footer": "footer",
|
|
206
|
+
"caption": "caption",
|
|
207
|
+
"headerfooterfixed": "headerfooterfixed",
|
|
208
|
+
"footerfixed": "footerfixed",
|
|
209
|
+
"border": "border",
|
|
210
|
+
"interlintitle": "interlintitle",
|
|
211
|
+
"interlintitle_css": "interlintitle_css",
|
|
212
|
+
"transpose": "transpose",
|
|
213
|
+
"pagecss": "pagecss",
|
|
214
|
+
"outputmode": "outputmode"
|
|
215
|
+
}
|
|
214
216
|
}
|
|
215
217
|
}
|