@xtctwins/tctwins-bimx-viewer 0.1.0 → 0.1.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.
@@ -0,0 +1,437 @@
1
+ /**
2
+ * Locale translations for BIMViewer
3
+ */
4
+ const messages = {
5
+ // Chinese
6
+ ch: {
7
+ NavCube: {
8
+ // 画布右下角的3D导航立方体
9
+ front: "前",
10
+ back: "后",
11
+ top: "上",
12
+ bottom: "下",
13
+ left: "左",
14
+ right: "右"
15
+ },
16
+ modelsExplorer: {
17
+ // 画布左侧的“模型”选项卡
18
+ title: "模型",
19
+ loadAll: "加载全部",
20
+ loadAllTip: "加载项目中的所有模型",
21
+ unloadAll: "卸载全部",
22
+ unloadAllTip: "卸载所有模型",
23
+ add: "添加",
24
+ addTip: "添加模型"
25
+ },
26
+ objectsExplorer: {
27
+ // 画布左侧的“对象”选项卡
28
+ title: "对象",
29
+ showAll: "显示全部",
30
+ showAllTip: "显示所有对象",
31
+ hideAll: "隐藏全部",
32
+ hideAllTip: "隐藏所有对象"
33
+ },
34
+ classesExplorer: {
35
+ // 画布左侧的“类别”选项卡
36
+ title: "类别",
37
+ showAll: "显示全部",
38
+ showAllTip: "显示所有类别",
39
+ hideAll: "隐藏全部",
40
+ hideAllTip: "隐藏所有类别"
41
+ },
42
+ storeysExplorer: {
43
+ // 画布左侧的“楼层”选项卡
44
+ title: "楼层",
45
+ showAll: "显示全部",
46
+ showAllTip: "显示所有楼层",
47
+ hideAll: "隐藏全部",
48
+ hideAllTip: "隐藏所有楼层"
49
+ },
50
+ propertiesInspector: {
51
+ // 画布右侧的“属性”选项卡
52
+ title: "属性",
53
+ noObjectSelectedWarning: "未选中任何对象。右键单击或长按对象,并选择“检查属性”以在此查看其属性。",
54
+ noPropSetWarning: "未找到此对象的属性集。"
55
+ },
56
+ toolbar: {
57
+ // 画布顶部的工具栏
58
+ toggleExplorer: "结构树", // 打开或关闭左侧资源管理器面板的按钮
59
+ toggleProperties: "属性", // 打开或关闭右侧属性面板的按钮
60
+ resetViewTip: "重置视图", // 重置查看器到初始状态的按钮
61
+ toggle2d3dTip: "2D/3D", // 在3D视图和2D平面视图模式之间切换的按钮
62
+ togglePerspectiveTip: "透视/正交", // 在透视和正交投影之间切换的按钮
63
+ viewFitTip: "适合视图", // 定位摄像机以适应视图中的所有对象的按钮
64
+ firstPersonTip: "第一人称", // 在第一人称和轨道导航模式之间切换的按钮
65
+ hideObjectsTip: "隐藏对象", // 激活“隐藏对象”工具的按钮
66
+ annotationObjectsTip: "标注对象", // 激活“隐藏对象”工具的按钮
67
+ selectObjectsTip: "选择对象", // 激活“选择对象”工具的按钮
68
+ queryObjectsTip: "查询对象", // 激活“查询对象”工具的按钮
69
+ sliceObjectsTip: "切片对象", // 激活“切片对象”工具的按钮
70
+ slicesMenuTip: "切片菜单", // 打开现有剖面平面下拉菜单的按钮
71
+ showSpacesTip: "显示空间", // 按钮以显示IFC空间
72
+ numSlicesTip: "现有切片数" // 标签显示现有剖面平面数
73
+ }
74
+ },
75
+ // English
76
+
77
+ en: {
78
+ NavCube: {
79
+ // The 3D navigation cube at the bottom right of the canvas
80
+ front: "Front",
81
+ back: "Back",
82
+ top: "Top",
83
+ bottom: "Bottom",
84
+ left: "Left",
85
+ right: "Right"
86
+ },
87
+ modelsExplorer: {
88
+ // The "Models" tab on the left of the canvas
89
+ title: "Models",
90
+ loadAll: "Load all",
91
+ loadAllTip: "Load all models in this project",
92
+ unloadAll: "Unload all",
93
+ unloadAllTip: "Unload all models",
94
+ add: "Add",
95
+ addTip: "Add a Model"
96
+ },
97
+ objectsExplorer: {
98
+ // The "Objects" tab on the left of the canvas
99
+ title: "Objects",
100
+ showAll: "Show all",
101
+ showAllTip: "Show all objects",
102
+ hideAll: "Hide all",
103
+ hideAllTip: "Hide all objects"
104
+ },
105
+ classesExplorer: {
106
+ // The "Classes" tab on the left of the canvas
107
+ title: "Classes",
108
+ showAll: "Show all",
109
+ showAllTip: "Show all classes",
110
+ hideAll: "Hide all",
111
+ hideAllTip: "Hide all classes"
112
+ },
113
+ storeysExplorer: {
114
+ // The "Storeys" tab on the left of the canvas
115
+ title: "Storeys",
116
+ showAll: "Show all",
117
+ showAllTip: "Show all storeys",
118
+ hideAll: "Hide all",
119
+ hideAllTip: "Hide all storeys"
120
+ },
121
+ propertiesInspector: {
122
+ // The "Properties" tab on the right of the canvas
123
+ title: "Properties",
124
+ noObjectSelectedWarning:
125
+ "No object inspected. Right-click or long-tab an object and select 'Inspect Properties' to view its properties here.",
126
+ noPropSetWarning: "No property sets found for this object."
127
+ },
128
+ toolbar: {
129
+ // The toolbar at the top of the canvas
130
+ toggleExplorer: "Toggle explorer", // Button to open or close the explorer panel on the left
131
+ toggleProperties: "Toggle properties", // Button to open or close the properties panel on the right
132
+ resetViewTip: "Reset view", // Button to reset the viewer to initial state
133
+ toggle2d3dTip: "Toggle 2D/3D", // Button to toggle between 3D view and 2D plan view modes
134
+ togglePerspectiveTip: "Toggle Perspective/Ortho", // Button to toggle between perspective and orthographic projection
135
+ viewFitTip: "View fit", // Button to position the camera to fit all objects in view
136
+ firstPersonTip: "Toggle first person navigation mode", // Button to switch between first-person and orbit navigation modes
137
+ hideObjectsTip: "Hide objects", // Button to activate "Hide objects" tool
138
+ selectObjectsTip: "Select objects", // Button to activate "Select objects" tool
139
+ queryObjectsTip: "Query objects", // Button to activate "Query objects" tool
140
+ sliceObjectsTip: "Slice objects", // Button to activate "Slice objects" tool
141
+ slicesMenuTip: "Slices menu", // Button to open the pull-down menu of existing section planes
142
+ showSpacesTip: "Show IFCSpaces", // Button to show IFC spaces
143
+ numSlicesTip: "Number of existing slices" // Label shows number of sexisting section planes
144
+ }
145
+ },
146
+
147
+ // German
148
+
149
+ de: {
150
+ NavCube: {
151
+ // The 3D navigation cube at the bottom right of the canvas
152
+ front: "Vorne",
153
+ back: "Hinten",
154
+ top: "Oben",
155
+ bottom: "Unten",
156
+ left: "Links",
157
+ right: "Rechts"
158
+ },
159
+ modelsExplorer: {
160
+ // The "Models" tab on the left of the canvas
161
+ title: "Modelle",
162
+ loadAll: "Alle laden",
163
+ loadAllTip: "Alle Modelle in diesem Projekt laden",
164
+ unloadAll: "Alle abwählen",
165
+ unloadAllTip: "Alle Modelle abwählen",
166
+ add: "Hinzufügen",
167
+ addTip: "Modell hinzufügen"
168
+ },
169
+ objectsExplorer: {
170
+ // The "Objects" tab on the left of the canvas
171
+ title: "Objekte",
172
+ showAll: "Alle anzeigen",
173
+ showAllTip: "Alle Objekte anzeigen",
174
+ hideAll: "Alle ausblenden",
175
+ hideAllTip: "Alle Objekte ausblenden"
176
+ },
177
+ classesExplorer: {
178
+ // The "Classes" tab on the left of the canvas
179
+ title: "Typen",
180
+ showAll: "Alle anzeigen",
181
+ showAllTip: "Alle Typen anzeigen",
182
+ hideAll: "Alle ausblenden",
183
+ hideAllTip: "Alle Typen ausblenden"
184
+ },
185
+ storeysExplorer: {
186
+ // The "Storeys" tab on the left of the canvas
187
+ title: "Stockwerke",
188
+ showAll: "Alle anzeigen",
189
+ showAllTip: "Alle Stockwerke anzeigen",
190
+ hideAll: "Alle ausblenden",
191
+ hideAllTip: "Alle Stockwerke ausblenden"
192
+ },
193
+ propertiesInspector: {
194
+ // The "Properties" tab on the right of the canvas
195
+ title: "Eigenschaften",
196
+ noObjectSelectedWarning:
197
+ "Kein Objekt inspiziert. Klicken Sie mit der rechten Maustaste auf ein Objekt oder führen Sie einen langen Tabulator aus und wählen Sie 'Eigenschaften prüfen', um die Eigenschaften des Objekts anzuzeigen.",
198
+ noPropSetWarning: "Keine Eigenschaftssätze für dieses Objekt gefunden."
199
+ },
200
+ toolbar: {
201
+ // The toolbar at the top of the canvas
202
+ toggleExplorer: "Explorer ein- und ausblenden", // Button to open or close the explorer panel on the left
203
+ toggleProperties: "Eigenschaften ein- und ausblenden", // Button to open or close the properties panel on the right
204
+ resetViewTip: "Ansicht zurücksetzen", // Button to reset the viewer to initial state
205
+ toggle2d3dTip: "2D/3D umschalten", // Button to toggle between 2D and 3D viewing modes
206
+ togglePerspectiveTip: "Orthogonale/Perspektivische Ansicht umschalten", // Buttons to toggle between orthographic and perspective projection modes
207
+ viewFitTip: "In Ansicht einpassen", // Button to fit everything in view
208
+ firstPersonTip: "Ich-Perspektive umschalten", // Button to toggle between first-person and orbiting camera navigation
209
+ hideObjectsTip: "Objekte ausblenden", // Button to activate/deactivate the Hide Objects tool
210
+ selectObjectsTip: "Objekte auswählen", // Button to activate/deactivate "Select objects" tool
211
+ queryObjectsTip: "Abfrageobjekte", // Button to activate/deactivate "Query objects" tool
212
+ sliceObjectsTip: "Objekte schneiden", // Button to activate/deactivate "Slice objects" tool
213
+ slicesMenuTip: "Menü Schnittebenen", // Button to open the pull-down menu of existing section planes
214
+ showSpacesTip: "IFC-Räume anzeigen", // Button to show IFC spaces
215
+ numSlicesTip: "Anzahl der Schnittebenen" // Label shows number of existing section planes
216
+ }
217
+ },
218
+
219
+ // French
220
+
221
+ fr: {
222
+ NavCube: {
223
+ // The 3D navigation cube at the bottom right of the canvas
224
+ front: "Face",
225
+ back: "Arrière", // alternative: Dos
226
+ top: "Dessus",
227
+ bottom: "Dessous",
228
+ left: "Droite",
229
+ right: "Gauche"
230
+ },
231
+ modelsExplorer: {
232
+ // The "Models" tab on the left of the canvas
233
+ title: "Modèles",
234
+ loadAll: "Afficher tout",
235
+ loadAllTip: "Afficher tous les modèles du projet",
236
+ unloadAll: "Masquer tout",
237
+ unloadAllTip: "Masquer tous les modèles",
238
+ add: "Ajouter",
239
+ addTip: "Ajouter un modèle"
240
+ },
241
+ objectsExplorer: {
242
+ // The "Objects" tab on the left of the canvas
243
+ title: "Conteneurs",
244
+ showAll: "Afficher tout",
245
+ showAllTip: "Afficher tous les objets",
246
+ hideAll: "Masquer tout",
247
+ hideAllTip: "Masquer tous les objets"
248
+ },
249
+ classesExplorer: {
250
+ // The "Classes" tab on the left of the canvas
251
+ title: "Classes IFC",
252
+ showAll: "Afficher tout",
253
+ showAllTip: "Affiche toutes les classes",
254
+ hideAll: "Masquer tout",
255
+ hideAllTip: "Masquer toutes les classes"
256
+ },
257
+ storeysExplorer: {
258
+ // The "Storeys" tab on the left of the canvas
259
+ title: "Étages",
260
+ showAll: "Afficher tout",
261
+ showAllTip: "Afficher tous les étages",
262
+ hideAll: "Masquer tout",
263
+ hideAllTip: "Masquer tous les étages"
264
+ },
265
+ propertiesInspector: {
266
+ // The "Properties" tab on the right of the canvas
267
+ title: "Propriétés",
268
+ noObjectSelectedWarning:
269
+ "Aucun objet n'a été inspecté. Cliquez avec le bouton droit ou le bouton long sur un objet et sélectionnez 'Inspecter les propriétés' pour afficher ses propriétés ici.",
270
+ noPropSetWarning: "Aucun ensemble de propriétés n'a été trouvé pour cet objet."
271
+ },
272
+ toolbar: {
273
+ // The toolbar at the top of the canvas
274
+ toggleExplorer: "Afficher la structure", // Button to open or close the explorer panel on the left
275
+ toggleProperties: "Afficher les propriétés", // Button to open or close the properties panel on the right
276
+ resetViewTip: "Réinitialiser la vue", // Button to reset the viewer to initial state
277
+ toggle2d3dTip: "Activer 2D/3D", // Button to toggle between 3D view and 2D plan view modes
278
+ togglePerspectiveTip: "Activer Perspective/Ortho", // Button to toggle between perspective and orthographic projection
279
+ viewFitTip: "Recadrer la vue", // Button to position the camera to fit all objects in view
280
+ firstPersonTip: "Mode 1ere personne", // Button to switch between first-person and orbit navigation modes
281
+ hideObjectsTip: "Masquer objets", // Button to activate "Hide objects" tool
282
+ selectObjectsTip: "Sélectionner", // Button to activate "Select objects" tool
283
+ queryObjectsTip: "Informations objets", // Button to activate "Query objects" tool
284
+ sliceObjectsTip: "Coupes", // Button to activate "Slice objects" tool
285
+ slicesMenuTip: "Outils de coupe", // Button to open the pull-down menu of existing section planes
286
+ showSpacesTip: "Afficher les espaces IFC", // Button to show IFC spaces
287
+ numSlicesTip: "Nombre de coupes" // Label shows number of sexisting section planes
288
+ }
289
+ },
290
+
291
+ // Polish
292
+
293
+ pl: {
294
+ NavCube: {
295
+ // The 3D navigation cube at the bottom right of the canvas
296
+ front: "Przód",
297
+ back: "Tył",
298
+ top: "Góra",
299
+ bottom: "Dół",
300
+ left: "Lewy",
301
+ right: "Prawy"
302
+ },
303
+ modelsExplorer: {
304
+ // The "Models" tab on the left of the canvas
305
+ title: "Model",
306
+ loadAll: "Załaduj",
307
+ loadAllTip: "Załaduj wszystkie modele",
308
+ unloadAll: "Zamknij",
309
+ unloadAllTip: "Zamnij wszystkie modele",
310
+ add: "Dodaj",
311
+ addTip: "Dodaj modele"
312
+ },
313
+ objectsExplorer: {
314
+ // The "Objects" tab on the left of the canvas
315
+ title: "Obiekty",
316
+ showAll: "Pokaż",
317
+ showAllTip: "Pokaż wszystkie obiekty",
318
+ hideAll: "Ukryj",
319
+ hideAllTip: "Ukryj wszystkie obiekty"
320
+ },
321
+ classesExplorer: {
322
+ // The "Classes" tab on the left of the canvas
323
+ title: "Typy",
324
+ showAll: "Pokaż",
325
+ showAllTip: "Pokaż wszystkie typy",
326
+ hideAll: "Ukryj",
327
+ hideAllTip: "Ukryj wszystkie typy"
328
+ },
329
+ storeysExplorer: {
330
+ // The "Storeys" tab on the left of the canvas
331
+ title: "Piętra",
332
+ showAll: "Pokaż",
333
+ showAllTip: "Pokaż wszystkie piętra",
334
+ hideAll: "Ukryj",
335
+ hideAllTip: "Ukryj wszystkie piętra"
336
+ },
337
+ propertiesInspector: {
338
+ // The "Properties" tab on the right of the canvas
339
+ title: "Właściwości",
340
+ noObjectSelectedWarning:
341
+ "Nie sprawdzono żadnego obiektu. Kliknij prawym przyciskiem myszy lub kliknij długo na obiekcie i wybierz opcję 'Sprawdź właściwości', aby wyświetlić jego właściwości.",
342
+ noPropSetWarning: "Nie znaleziono żadnych zestawów właściwości dla tego obiektu."
343
+ },
344
+ toolbar: {
345
+ // The toolbar at the top of the canvas
346
+ toggleExplorer: "Przełączanie eksploratora", // Button to open or close the explorer panel on the left
347
+ toggleProperties: "Przełączanie właściwości", // Button to open or close the properties panel on the right
348
+ resetViewTip: "Resetuj widok", // Button to reset the voewer to initial state
349
+ toggle2d3dTip: "Widok 2D/3D", // Button to toggle between 2D and 3D viewing modes
350
+ togglePerspectiveTip: "Widok Ortograficzny/Perspektywiczny", // Buttons to toggle between orthographic and perspective projection modes
351
+ viewFitTip: "Dopasowanie do widoku", // Button to fit everything in view
352
+ firstPersonTip: "Widok perspektywy pierwszoosobowej", // Button to toggle between first-person and orbiting camera navigation
353
+ hideObjectsTip: "Ukryj obiekt", // Button to activate/deactivate the Hide Objects tool
354
+ selectObjectsTip: "Zaznacz obiekt", // Button to activate/deactivate "Select objects" tool
355
+ queryObjectsTip: "Wywołaj obiekt", // Button to activate/deactivate "Query objects" tool
356
+ sliceObjectsTip: "Przekroje obiektów", // Button to activate/deactivate "Slice objects" tool
357
+ slicesMenuTip: "Menu przekroi", // Button to open the pull-down menu of existing section planes
358
+ showSpacesTip: "Pokaż przestrzenie IFC", // Button to show IFC spaces
359
+ numSlicesTip: "Liczba przekroi" // Label shows number of existing section planes
360
+ }
361
+ },
362
+
363
+ // Russian
364
+
365
+ ru: {
366
+ NavCube: {
367
+ // The 3D navigation cube at the bottom right of the canvas
368
+ front: "Фронт",
369
+ back: "Тыл",
370
+ top: "Верх",
371
+ bottom: "Низ",
372
+ left: "Лево",
373
+ right: "Право"
374
+ },
375
+ modelsExplorer: {
376
+ // The "Models" tab on the left of the canvas
377
+ title: "Модели",
378
+ loadAll: "Загрузить все",
379
+ loadAllTip: "Загрузить все модели в этом проекте",
380
+ unloadAll: "Выгрузить все",
381
+ unloadAllTip: "Выгрузить все модели",
382
+ add: "Добавить",
383
+ addTip: "Добавить модель"
384
+ },
385
+ objectsExplorer: {
386
+ // The "Objects" tab on the left of the canvas
387
+ title: "Объекты",
388
+ showAll: "Показать все",
389
+ showAllTip: "Показать все объекты",
390
+ hideAll: "Скрыть все",
391
+ hideAllTip: "Скрыть все объекты"
392
+ },
393
+ classesExplorer: {
394
+ // The "Classes" tab on the left of the canvas
395
+ title: "Классы",
396
+ showAll: "Показать все",
397
+ showAllTip: "Показать все классы",
398
+ hideAll: "Скрыть все",
399
+ hideAllTip: "Скрыть все классы"
400
+ },
401
+ storeysExplorer: {
402
+ // The "Storeys" tab on the left of the canvas
403
+ title: "Этажи",
404
+ showAll: "Показать все",
405
+ showAllTip: "Показать все этажи",
406
+ hideAll: "Скрыть все",
407
+ hideAllTip: "Скрыть все этажи"
408
+ },
409
+ propertiesInspector: {
410
+ // The "Properties" tab on the right of the canvas
411
+ title: "Свойства",
412
+ noObjectSelectedWarning:
413
+ "Ни один объект не осмотрен. Щелкните правой кнопкой мыши или длинной меткой на объекте и выберите 'Осмотреть свойства', чтобы просмотреть его свойства здесь.",
414
+ noPropSetWarning: "Для этого объекта не найдено ни одного набора свойств."
415
+ },
416
+ toolbar: {
417
+ // The toolbar at the top of the canvas
418
+ toggleExplorer: "Переключить навигатор", // Button to open or close the explorer panel on the left
419
+ toggleProperties: "Переключить Свойства", // Button to open or close the properties panel on the right
420
+ resetViewTip: "Сбросить вид", // Button to reset the viewer to initial state
421
+ toggle2d3dTip: "Переключить 2D/3D", // Button to toggle between 3D view and 2D plan view modes
422
+ togglePerspectiveTip: "Переключить проекцию перспектива/орто", // Button to toggle between perspective and orthographic projection
423
+ viewFitTip: "Показать всю модель", // Button to position the camera to fit all objects in view
424
+ firstPersonTip: "Переключить режим навигации от первого лица", // Button to switch between first-person and orbit navigation modes
425
+ hideObjectsTip: "Скрыть объекты", // Button to activate "Hide objects" tool
426
+ selectObjectsTip: "Выбрать объекты", // Button to activate "Select objects" tool
427
+ queryObjectsTip: "Выбрать объекты", // Button to activate "Query objects" tool
428
+ sliceObjectsTip: "Рассечь объекты", // Button to activate "Slice objects" tool
429
+ slicesMenuTip: "Меню сечений", // Button to open the pull-down menu of existing section planes
430
+ showSpacesTip: "Показать места IFC", // Button to show IFC spaces
431
+ numSlicesTip: "Количество существующих сечений" // Label shows number of sexisting section planes
432
+ }
433
+ }
434
+ };
435
+
436
+ export { messages };
437
+