ifmapper 2.0.9 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
- s
1
+
2
+
2
3
 
3
4
  class TADSWriter
4
5
 
@@ -38,7 +39,7 @@ class TADSWriter
38
39
  tag = str.dup
39
40
 
40
41
  # Take text from Unicode utf-8 to iso-8859-1
41
- if RUBY_VERSION < 1.9
42
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.0')
42
43
  utf = Iconv.new( 'iso-8859-1', 'utf-8' )
43
44
  tag = utf.iconv( tag )
44
45
  else
@@ -120,7 +121,7 @@ class TADSWriter
120
121
  str = text.dup
121
122
 
122
123
  # Take text from Unicode utf-8 to iso-8859-1
123
- if RUBY_VERSION < 1.9
124
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.0')
124
125
  utf = Iconv.new( 'iso-8859-1', 'utf-8' )
125
126
  str = utf.iconv( str )
126
127
  else
@@ -1,12 +1,13 @@
1
1
  # coding: utf-8
2
- ################
3
- TITLE = '#{PROGRAM_NAME} v#{VERSION} - Written by #{AUTHOR}'
2
+ ################
3
+ PROGRAM_NAME = "Interactive Fiction Mapper"
4
+ TITLE = '#{PROGRAM_NAME} v#{VERSION} - Written by #{AUTHOR}'
4
5
 
5
6
  ################ Errors
6
- ERR_NO_FOX = 'Please install the FXRuby (FOX) library version 1.6 o later.'
7
+ ERR_NO_FOX = 'Please install the FXRuby (FOX) library version 1.6 or later.'
7
8
  ERR_HAS_GEMS = 'You can do it if you run \'gem install -r fxruby\''
8
9
  ERR_NO_YAML =<<'EOF'
9
- Please install the 'yaml' library.
10
+ Please install the 'yaml' library.
10
11
  Without it preferences cannot be loaded or saved.
11
12
  EOF
12
13
  ERR_COULD_NOT_SAVE = 'Could not save'
@@ -55,7 +56,7 @@ Ruby Version: #{RUBY_VERSION}
55
56
 
56
57
  A WYSIWYG mapping tool for interactive fiction.
57
58
 
58
- ggarra13@gmail.com
59
+ #{EMAIL}
59
60
  EOF
60
61
 
61
62
  MSG_SAVE_MAP = 'Save Map'
@@ -63,21 +64,21 @@ MSG_WAS_MODIFIED = "was modified.\n"
63
64
  MSG_SHOULD_I_SAVE_CHANGES = 'Should I save the changes?'
64
65
 
65
66
  MSG_SAVE_MAP_AS_TRIZBORT = 'Save Map as Trizbort File'
66
- FMT_TRIZBORT = 'Trizbort Map (*.trizbort)'
67
+ FMT_TRIZBORT = 'Trizbort Maps (*.trizbort)'
67
68
 
68
69
  MSG_SAVE_MAP_AS_IFM = 'Save Map as IFM File'
69
- FMT_IFM = 'IFM Map (*.ifm)'
70
+ FMT_IFM = 'IFM Maps (*.ifm)'
70
71
 
71
72
  MSG_SAVE_MAP_AS_INFORM6 = 'Save Map as Inform 6 Files'
72
73
  MSG_SAVE_MAP_AS_INFORM7 = 'Save Map as Inform 7 Files'
73
- FMT_INFORM6 = 'Inform6 Source Code (*.inf)'
74
- FMT_INFORM7 = 'Inform7 Source Code (*.inform)'
74
+ FMT_INFORM6 = 'Inform6 Source Code Files (*.inf)'
75
+ FMT_INFORM7 = 'Inform7 Source Code Files (*.inform)'
75
76
 
76
77
  MSG_SAVE_MAP_AS_TADS = 'Save Map as TADS Files'
77
- FMT_TADS = 'TADS Source Code (*.t)'
78
+ FMT_TADS = 'TADS Source Code Files (*.t)'
78
79
 
79
80
  MSG_SAVE_MAP_AS_PDF = 'Save Map as Acrobat PDF'
80
- FMT_PDF = 'Acrobat PDF (*.pdf)'
81
+ FMT_PDF = 'Acrobat PDF Files (*.pdf)'
81
82
 
82
83
  MSG_HOTKEYS = <<'EOF'
83
84
 
@@ -94,7 +95,7 @@ Click with LMB on any room or connection to select it.
94
95
 
95
96
  Double click on rooms or connections to access their properties.
96
97
 
97
- Click several times on an existing connecion to establish a one-way
98
+ Click several times on an existing connecion to establish a one-way
98
99
  connection.
99
100
 
100
101
  Drag with MMB or ALT + LMB to scroll around the page.
@@ -102,7 +103,7 @@ Drag with MMB or ALT + LMB to scroll around the page.
102
103
  Use mousewheel to zoom in and out.
103
104
 
104
105
  Use RMB after selecting a connection to bring a menu to allow you
105
- to flip its direction or to attach it to some other exit in one
106
+ to flip its direction or to attach it to some other exit in one
106
107
  of the rooms.
107
108
 
108
109
  Keyboard controls
@@ -113,10 +114,10 @@ rooms that are not neighbors), then click on each exit of each room.
113
114
 
114
115
  Use 'Delete' or 'Backspace' to remove any selected connection or room.
115
116
 
116
- Use arrow keys or numeric keypad to move selected rooms around
117
+ Use arrow keys or numeric keypad to move selected rooms around
117
118
  the page, one unit at a time.
118
119
 
119
- Use CTRL + LMB when adding a connection to create a dead-end
120
+ Use CTRL + LMB when adding a connection to create a dead-end
120
121
  connection (one that loops onto itself)
121
122
 
122
123
  EOF
@@ -128,17 +129,17 @@ MSG_OPENING_WEB_PAGE = 'Opening web page'
128
129
  TRANSCRIPT_EXPLANATION_TEXT = [
129
130
  "Classic Mode expects a short name description for all
130
131
  locations, where all words of 5 or more characters to are
131
- capitalized and where there is no period.
132
+ capitalized and where there is no period.
132
133
  Commands always begin with a > prompt.",
133
134
  "Capitalized Mode expects a short name description for all
134
135
  locations, where only the first word needs to be capitalized
135
- and there is no period.
136
+ and there is no period.
136
137
  Commands always begin with a > prompt.",
137
138
  "Moonmist mode describes locations in parenthesis, with 'You
138
139
  are...' prefixed and a period at the end, inside the parenthesis.
139
140
  Commands always begin with a > prompt.",
140
141
  "Witness mode expects locations described as normal prose, using
141
- 'You are...' as an introductory paragraph. When in brief mode,
142
+ 'You are...' as an introductory paragraph. When in brief mode,
142
143
  locations are expected to be in parenthesis.
143
144
  Commands always begin with a > prompt.",
144
145
  "ADRIFT mode expects locations to be like in Classic Mode (short
@@ -174,15 +175,15 @@ beating urgently against the rocks far below.
174
175
  > look
175
176
  You are now in the driveway entrance.
176
177
  You are standing at the foot of the driveway, the entrance to the
177
- Linder property. The entire lot is screened from the street and the
178
- neighbors by a wooden fence, except on the east side, which fronts on
178
+ Linder property. The entire lot is screened from the street and the
179
+ neighbors by a wooden fence, except on the east side, which fronts on
179
180
  dense bamboo woods.
180
181
  ",
181
182
  "
182
183
  look
183
184
  Front of Mall
184
- Although four-wheeled vehicles do pass through, this autonomous
185
- spot of pavement is too narrow a place for them to stall. It is just
185
+ Although four-wheeled vehicles do pass through, this autonomous
186
+ spot of pavement is too narrow a place for them to stall. It is just
186
187
  right for bicycles and motorbikes such as yours.
187
188
  ",
188
189
  "
@@ -238,9 +239,9 @@ TITLE_OF = 'of'
238
239
 
239
240
 
240
241
  ############ Extensions
241
- EXT_TRANSCRIPT = 'Transcript File (*.log,*.scr,*.txt)'
242
+ EXT_TRANSCRIPT = 'Transcript Files (*.log,*.scr,*.txt)'
242
243
  EXT_ALL_FILES = 'All Files (*)'
243
- EXT_MAP_FILES = 'Archivos de Mapas'
244
+ EXT_MAP_FILES = 'Map Files'
244
245
 
245
246
 
246
247
 
@@ -392,7 +393,7 @@ BOX_DIR_TEXT = [
392
393
  ]
393
394
  BOX_EXIT_A_TEXT = 'Exit A Text:'
394
395
  BOX_EXIT_B_TEXT = 'Exit B Text:'
395
- BOX_EXIT_TEXT = [
396
+ BOX_EXIT_TEXT = [
396
397
  'None',
397
398
  'Up',
398
399
  'Down',
@@ -427,25 +428,69 @@ BOX_BOX_NUMBER_COLOR = '&Box Number Color'
427
428
 
428
429
  BOX_PDF_PAGE_SIZE = 'Page Size: '
429
430
  BOX_PDF_PAGE_SIZE_TEXT = [
430
- 'LETTER',
431
431
  'A0',
432
432
  'A4',
433
+ 'LETTER',
434
+ ]
435
+ BOX_PDF_PAGE_ORIENTATION = 'Orientation of the Pages: '
436
+ BOX_PDF_PAGE_ORIENTATION_TEXT = [
437
+ 'Landscape',
438
+ 'Portrait',
433
439
  ]
434
440
  BOX_PDF_LOCATIONNOS = 'Include Location Numbers'
435
441
 
436
- MSG_SAVE_MAP_AS_SVG = 'Save Map as Structured Vector Graphic (SVG)'
437
- FMT_SVG = 'Structured Vector Graphic (*.svg)'
438
- MENU_EXPORT_SVG = "Export as &SVG...\t\tExport map as Structured Vector Graphics (SVG) document."
439
- BOX_SVG_LOCATIONNOS = "Show Location Numbers"
440
- BOX_SVG_INTERACTIVE = "Show Interactive Room Information"
441
- BOX_SVG_CONNECTIONS = "Show Connections Between Locations"
442
- BOX_SVG_ROOMNAMES = "Show Location Text"
443
- BOX_SVG_SECTIONCOMMENTS= "Show Section Comments"
444
- BOX_SVG_SPLITSECTIONS = "Export Sections To Separate SVG Files"
445
- BOX_SVG_COMPASS_SIZE = "Compass Size: "
446
- BOX_SVG_LINE_THICKNESS = "Line Thickness: "
447
- BOX_SVG_COLOUR_SCHEME = "Colour Scheme: "
448
- BOX_SVG_COLOUR_SCHEME_TEXT = [
442
+ MSG_SAVE_MAP_AS_SVG = 'Save Map as SVG'
443
+ FMT_SVG = 'Scalable Vector Graphics Files (*.svg)'
444
+ MENU_EXPORT_SVG = "Export as &SVG...\t\tExport map as Scalable Vector Graphics (SVG) document."
445
+ MSG_SVG_EXPORTING = 'Exporting SVG file'
446
+ MSG_SVG_GENERATOR = "Generator: #{PROGRAM_NAME} v#{VERSION} by #{AUTHOR}"
447
+ MSG_SVG_GENERATION_DATE = "Generation Date:"
448
+ MSG_SVG_CREATOR_PREFIX = 'Creator: '
449
+ MSG_SVG_SHORTCUT_TO = 'Shortcut to'
450
+ MSG_SVG_BGROUND_IMAGE_SECT_BEGINS = 'BACKGROUND IMAGE SECTION BEGINS'
451
+ MSG_SVG_BGROUND_IMAGE_SECT_ENDS = 'BACKGROUND IMAGE SECTION ENDS'
452
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_START = 'UNCOMMENT LINE BELOW TO ENABLE'
453
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_END = 'BACKGROUND IMAGE'
454
+ MSG_SVG_MAP_SECT_BEGINS = 'MAP SECTION BEGINS'
455
+ MSG_SVG_MAP_SECT_ENDS = 'MAP SECTION ENDS'
456
+ MSG_SVG_EXPORT_COMPLETED = 'Exporting SVG Completed'
457
+ BOX_SVG_SHOWLOCNUMS = "Show Location Numbers"
458
+ BOX_SVG_SHOWLOCNUMS_TOOLTIP = "Include each Room's Location Number in exported map"
459
+ BOX_SVG_SHOWINTERTITLE = "Show Interactive Location Information:"
460
+ BOX_SVG_SHOWINTEROBJECTS = "Objects"
461
+ BOX_SVG_SHOWINTEROBJECTS_TOOLTIP = "Include the Objects at each Room's Location as drop-down in exported map"
462
+ BOX_SVG_SHOWINTERTASKS = "Tasks"
463
+ BOX_SVG_SHOWINTERTASKS_TOOLTIP = "Include the Tasks at each Room's Location as drop-down in exported map"
464
+ BOX_SVG_SHOWINTERCOMMENTS = "Comments"
465
+ BOX_SVG_SHOWINTERCOMMENTS_TOOLTIP = "Include the Comments at each Room's Location as drop-down in exported map"
466
+ BOX_SVG_SHOWINTERDESCRIPTION = "Description"
467
+ BOX_SVG_SHOWINTERDESCRIPTION_TOOLTIP = "Include the Description at each Room's Location as drop-down in exported map"
468
+
469
+ BOX_SVG_EXPORTALLCOMBINED = "All Sections to Combined SVG file"
470
+ BOX_SVG_EXPORTALLCOMBINED_TOOLTIP = "All Sections exported to a single SVG file, in order"
471
+ BOX_SVG_EXPORTALLINDIV = "All Sections to Individual SVG files"
472
+ BOX_SVG_EXPORTALLINDIV_TOOLTIP = "All Sections exported to separate SVG files"
473
+ BOX_SVG_EXPORTCURRENTINDIV = "Current Section to Individual SVG file"
474
+ BOX_SVG_EXPORTCURRENTINDIV_TOOLTIP = "Current Section exported to a single SVG file"
475
+
476
+ BOX_SVG_EXPORTSELONLY = "Only Include Currently Selected Elements"
477
+ BOX_SVG_EXPORTSELONLY_TOOLTIP = "Select some Locations and/or Connections in the Current Section,\nthen use this option to ensure that only these elements, along\nwith Location no. 1 are included in the exported map"
478
+ BOX_SVG_EXPORTALLLOCSSELTXT = "Include All Locations, Only Show Location\nText For Currently Selected Locations"
479
+ BOX_SVG_EXPORTALLLOCSSELTXT_TOOLTIP = "The exported map will contain all Locations in the Current Section.\nLocation no. 1 and any Locations currently selected will have their Location Text included.\nOnly Connections that are currently selected will be included in the map"
480
+
481
+ BOX_SVG_SHOWLOCTEXT = "Show Location Text"
482
+ BOX_SVG_SHOWLOCTEXT_TOOLTIP = "Include each Room's Location text in exported map"
483
+ BOX_SVG_SHOWSECTCOMMENTS = "Show Section Comments"
484
+ BOX_SVG_SHOWSECTCOMMENTS_TOOLTIP = "Include each Section Comments under corresponding Section Name in exported map"
485
+ BOX_SVG_COMPASSSIZE = "Compass Size: "
486
+ BOX_SVG_COMPASSSIZE_TOOLTIP = "Size of Compass graphic, from non-existent to huge, in exported map"
487
+ BOX_SVG_CONNTHICKNESS = "Connection Thickness:"
488
+ BOX_SVG_CONNTHICKNESS_TOOLTIP = "Thickness of Connection lines, from non-existent to heavy, in exported map"
489
+ BOX_SVG_COLOURSCHEME = "Colour Scheme:"
490
+ BOX_SVG_COLOURSCHEME_TOOLTIP = "A basic Colour Scheme used for the location number, interactive\nlocation information and doors in exported map"
491
+ BOX_SVG_LOCTHICKNESS = "Location Thickness:"
492
+ BOX_SVG_LOCTHICKNESS_TOOLTIP = "Thickness of Location lines, from thin to heavy, in exported map"
493
+ BOX_SVG_COLOURSCHEME_OPTIONS = [
449
494
  'Red',
450
495
  'Green',
451
496
  'Yellow',
@@ -1,6 +1,7 @@
1
- # coding: iso-8859-1
1
+ # coding: utf-8
2
2
 
3
- TITLE = '#{PROGRAM_NAME} v#{VERSION} - Programado por #{AUTHOR}'
3
+ PROGRAM_NAME = "Interactive Fiction Mapper"
4
+ TITLE = '#{PROGRAM_NAME} v#{VERSION} - Programado por #{AUTHOR}'
4
5
 
5
6
  ################ Errores
6
7
  ERR_NO_FOX = 'Por favor instale la librería FXRuby (FOX) version 1.2 o posterior.'
@@ -51,9 +52,11 @@ Escrito por #{AUTHOR}.
51
52
 
52
53
  Versión de FXRuby: #{Fox::fxrubyversion}
53
54
 
55
+ Versión de Ruby: #{RUBY_VERSION}
56
+
54
57
  Una herramienta de mapeado para ficción interactiva.
55
58
 
56
- ggarra13@gmail.com
59
+ #{EMAIL}
57
60
  EOF
58
61
 
59
62
  MSG_SAVE_MAP = 'Grabar Mapa'
@@ -90,7 +93,7 @@ Use el BIR para agregar localidades o conexiones entre ellas.
90
93
 
91
94
  Cliquée con el BIR en una localidad o conexión para seleccionarla.
92
95
 
93
- Cliquée Dos Veces en una localidad o conexión para acceder a
96
+ Cliquée Dos Veces en una localidad o conexión para acceder a
94
97
  sus propiedades.
95
98
 
96
99
  Cliquée Varias Veces en una conexión existente para establecer una
@@ -112,10 +115,10 @@ Use 'x' para comenzar una conexión compleja (es decir, una conexión entre
112
115
  localidades que no son vecinas), luego cliquée en cada salida de cada
113
116
  localidad.
114
117
 
115
- Use 'Supr' (Delete) or '<-' (Backspace) para borrar una conexión
118
+ Use 'Supr' (Delete) or '<-' (Backspace) para borrar una conexión
116
119
  o localidad seleccionada.
117
120
 
118
- Use las teclas de flechas del cursor o el teclado numérico para mover
121
+ Use las teclas de flechas del cursor o el teclado numérico para mover
119
122
  las habitaciones seleccionadas alrededor de la página, una unidad a la vez.
120
123
 
121
124
  Use CTRL + BIR cuando agregue una conexión para crear una conexión
@@ -131,23 +134,25 @@ MSG_OPENING_WEB_PAGE = 'Abriendo página web'
131
134
  TRANSCRIPT_EXPLANATION_TEXT = [
132
135
  "Modo Clásico espera un encabezado para todas las localidades,
133
136
  donde todas las palabras de 5 o más letras aparecen en
134
- mayúsculas y donde no hay ningún punto.
137
+ mayúsculas y donde no hay ningún punto.
135
138
  Los comandos siempre comienzan tras un >.",
136
139
  "Modo Mayúsculas espera un encabezado para todas las localidades,
137
140
  donde sólo la primera palabra necesita estar en mayúsculas y
138
- donde no hay ningún punto.
141
+ donde no hay ningún punto.
139
142
  Los comandos siempre comienzan tras un >.",
140
143
  "Modo Moonmist describe las localidades en parentesis, con un 'You
141
144
  are...' como prefijo y un punto al final de la oración, dentro de
142
145
  los parentesis.
143
146
  Los comandos siempre comienzan tras un >.",
144
147
  "Modo Witness espera las localidades descriptas como prosa normal
145
- usando 'You are...' como párrafo introductorio. En modo simple,
148
+ usando 'You are...' como párrafo introductorio. En modo simple,
146
149
  las localidades se describen en paréntesis.
147
150
  Los comandos siempre comienzan tras un >.",
148
151
  "Modo ADRIFT espera las localidades como en el modo Clásico
149
152
  (encabezados de palabras de 5 o más letras en mayúsculas).
150
153
  Los comandos comienzan sólo con una palabra en minúscula sin margen.",
154
+ "Modo Todo Mayúsculas es como el Clásico pero espera que todas las
155
+ localidades esten en mayúsculas."
151
156
  ]
152
157
 
153
158
 
@@ -175,17 +180,23 @@ beating urgently against the rocks far below.
175
180
  > mira
176
181
  You are now in the driveway entrance.
177
182
  You are standing at the foot of the driveway, the entrance to the
178
- Linder property. The entire lot is screened from the street and the
179
- neighbors by a wooden fence, except on the east side, which fronts on
183
+ Linder property. The entire lot is screened from the street and the
184
+ neighbors by a wooden fence, except on the east side, which fronts on
180
185
  dense bamboo woods.
181
186
  ",
182
187
  "
183
188
  mira
184
189
  Entrada del Shopping
185
- Aunque vehículos de cuatro ruedas pasan por aquí, este lugar autónomo
186
- del pavimento es demasiado angosto para que estacionen. Es apenas
190
+ Aunque vehículos de cuatro ruedas pasan por aquí, este lugar autónomo
191
+ del pavimento es demasiado angosto para que estacionen. Es apenas
187
192
  apropiado para bicicletas y motocicletas como la tuya.
188
193
  ",
194
+ "
195
+ > mira
196
+ AL OESTE DE LA CASA
197
+ Estás parado en un campo abierto al oeste de una casa blanca, con una
198
+ puerta clausurada.
199
+ "
189
200
  ]
190
201
 
191
202
  TRANSCRIPT_LOCATION2_TEXT = [
@@ -204,6 +215,9 @@ Vestidor de mujeres
204
215
  "
205
216
  Entrada del Shopping
206
217
  ",
218
+ "
219
+ OESTE DEL HALL
220
+ "
207
221
  ]
208
222
 
209
223
 
@@ -218,6 +232,7 @@ TRANSCRIPT_SHORTNAME_TYPE = [
218
232
  'Moonmist',
219
233
  'Witness',
220
234
  'ADRIFT',
235
+ 'Todo Mayúsculas'
221
236
  ]
222
237
 
223
238
  ############ Títulos de Ventanas
@@ -275,6 +290,7 @@ MENU_EDIT = '&Editar'
275
290
  MENU_COPY = "&Copiar\tCtl-C\tCopiar Localidad"
276
291
  MENU_CUT = "Cor&tar\tCtl-X\tCortar Localidad"
277
292
  MENU_PASTE = "&Pegar\tCtl-V\tPegar Localidad"
293
+ MENU_UNDO = "&Deshacer\tCtl-U\tDeshacer Última Eliminación"
278
294
 
279
295
  MENU_MAP = '&Mapa'
280
296
  MENU_SELECT = 'Seleccionar'
@@ -379,7 +395,7 @@ BOX_DIR_TEXT = [
379
395
  ]
380
396
  BOX_EXIT_A_TEXT = 'Texto Salida A:'
381
397
  BOX_EXIT_B_TEXT = 'Texto Salida B:'
382
- BOX_EXIT_TEXT = [
398
+ BOX_EXIT_TEXT = [
383
399
  'Ninguno',
384
400
  'Subir',
385
401
  'Bajar',
@@ -420,24 +436,63 @@ BOX_PDF_PAGE_SIZE_TEXT = [
420
436
  ]
421
437
  BOX_PDF_PAGE_ORIENTATION = 'Orientación de las Páginas: '
422
438
  BOX_PDF_PAGE_ORIENTATION_TEXT = [
423
- 'Landscape',
424
- 'Portrait',
439
+ 'Paisaje',
440
+ 'Portaretrato',
425
441
  ]
426
442
  BOX_PDF_LOCATIONNOS = 'Incluya números de ubicación'
427
443
 
428
- MSG_SAVE_MAP_AS_SVG = 'Grabar Mapa como Gráfico de Vector Estructurado (SVG)'
429
- FMT_SVG = 'Gráfico de Vector Estructurado (*.svg)'
430
- MENU_EXPORT_SVG = "Exportar como &SVG...\t\tExportar mapa como documento de Gráfico de Vector Estructurado (SVG)."
431
- BOX_SVG_LOCATIONNOS = "Mostar números de ubicación"
432
- BOX_SVG_INTERACTIVE = "Mostrar Información Interactiva del Lugar"
433
- BOX_SVG_CONNECTIONS = "Mostrar Conexiones entre los Lugares"
434
- BOX_SVG_ROOMNAMES = "Mostrar el Texto del Lugar"
435
- BOX_SVG_SECTIONCOMMENTS= "Mostrar los Comentarios de la Sección"
436
- BOX_SVG_SPLITSECTIONS = "Exportar a Archivos Separados de SVG"
437
- BOX_SVG_COMPASS_SIZE = "Tamaño de Brújula: "
438
- BOX_SVG_LINE_THICKNESS = "Grosor de las Líneas: "
439
- BOX_SVG_COLOUR_SCHEME = "Esquema de Color: "
440
- BOX_SVG_COLOUR_SCHEME_TEXT = [
444
+ MSG_SAVE_MAP_AS_SVG = 'Grabar Mapa como (SVG)'
445
+ FMT_SVG = 'Gráfico de Vector Estructurado (*.svg)'
446
+ MENU_EXPORT_SVG = "Exportar como &SVG...\t\tExportar mapa como documento de Gráfico de Vector Estructurado (SVG)."
447
+ MSG_SVG_EXPORTING = 'Exporting SVG file'
448
+ MSG_SVG_GENERATOR = "Generator: #{PROGRAM_NAME} v#{VERSION} by #{AUTHOR}"
449
+ MSG_SVG_GENERATION_DATE = "Fecha de Generación:"
450
+ MSG_SVG_CREATOR_PREFIX = 'Creador: '
451
+ MSG_SVG_SHORTCUT_TO = 'Atajo a'
452
+ MSG_SVG_BGROUND_IMAGE_SECT_BEGINS = 'BACKGROUND IMAGE SECTION BEGINS'
453
+ MSG_SVG_BGROUND_IMAGE_SECT_ENDS = 'BACKGROUND IMAGE SECTION ENDS'
454
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_START = 'UNCOMMENT LINE BELOW TO ENABLE'
455
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_END = 'BACKGROUND IMAGE'
456
+ MSG_SVG_MAP_SECT_BEGINS = 'MAP SECTION BEGINS'
457
+ MSG_SVG_MAP_SECT_ENDS = 'MAP SECTION ENDS'
458
+ MSG_SVG_EXPORT_COMPLETED = 'Exporting SVG Completed'
459
+ BOX_SVG_SHOWLOCNUMS = "Mostar números de ubicación"
460
+ BOX_SVG_SHOWLOCNUMS_TOOLTIP = "Include each Room's Location Number in exported map"
461
+ BOX_SVG_SHOWINTERTITLE = "Mostrar Información Interactiva del Lugar"
462
+ BOX_SVG_SHOWINTEROBJECTS = "Objetos"
463
+ BOX_SVG_SHOWINTEROBJECTS_TOOLTIP = "Incluye los Objects en cada Localidad como un drop-down en el mapa exportado"
464
+ BOX_SVG_SHOWINTERTASKS = "Tareas"
465
+ BOX_SVG_SHOWINTERTASKS_TOOLTIP = "Incluye las Tareas en cada Localidad como un drop-down en el mapa exportado"
466
+ BOX_SVG_SHOWINTERCOMMENTS = "Commentarios"
467
+ BOX_SVG_SHOWINTERCOMMENTS_TOOLTIP = "Incluye los Commentarios en cada Localidad como un drop-down en el mapa exportado"
468
+ BOX_SVG_SHOWINTERDESCRIPTION = "Descripción"
469
+ BOX_SVG_SHOWINTERDESCRIPTION_TOOLTIP = "Incluye la Descripción en cada Localidad como un drop-down en el mapa exportado"
470
+
471
+ BOX_SVG_EXPORTALLCOMBINED = "Todas las Seccioness en un archivo SVG Combinado"
472
+ BOX_SVG_EXPORTALLCOMBINED_TOOLTIP = "Todas las Secciones exportadas a un solo archivo SVG, en orden"
473
+ BOX_SVG_EXPORTALLINDIV = "Todas las Secciones a archivos SVG individuales"
474
+ BOX_SVG_EXPORTALLINDIV_TOOLTIP = "Todas las Secciones exportadas como archivos SVG separados"
475
+ BOX_SVG_EXPORTCURRENTINDIV = "Sección Actual a archivo SVG individual"
476
+ BOX_SVG_EXPORTCURRENTINDIV_TOOLTIP = "Sección Actual exportada a un solo archivo SVG"
477
+
478
+ BOX_SVG_EXPORTSELONLY = "Sólo Incluya los Elementos Seleccionados"
479
+ BOX_SVG_EXPORTSELONLY_TOOLTIP = "Seleccione algunas Localidades y/o Conexiones en la Sección Actual,\nluego use esta opción para asegurarse que solo estos elementos, junto\ncon el no. de Localidad serán incluídas en el mapa estportado"
480
+ BOX_SVG_EXPORTALLLOCSSELTXT = "Incluye Todas las Localidades, Solo Muestre el Texto\nde la Localidad para las Localidades Actualmente Seleccionadas"
481
+ BOX_SVG_EXPORTALLLOCSSELTXT_TOOLTIP = "El mapa exportado contendrá toas las Localidades en la Sección Actual.\Número de localidad y cualquier Localidad actualmente seleccionada tendran su Texto de Localidad incluído.\nSólo Conexiones que están actualmente seleccionadas serán incluídas en el mapa"
482
+
483
+ BOX_SVG_SHOWLOCTEXT = "Mostrar el Texto del Lugar"
484
+ BOX_SVG_SHOWLOCTEXT_TOOLTIP = "Incluir el texto de cada Localidad en el mapa exportado"
485
+ BOX_SVG_SHOWSECTCOMMENTS = "Mostrar los Comentarios de la Sección"
486
+ BOX_SVG_SHOWSECTCOMMENTS_TOOLTIP = "Incluir los Comentarios de cada Sección bajo el Nombre de la Sección en el mapa exportado"
487
+ BOX_SVG_COMPASSSIZE = "Tamaño de Brújula: "
488
+ BOX_SVG_COMPASSSIZE_TOOLTIP = "Tamaño del gráfico de la Brújula, desde no existente a gigante, en el mapa exportado"
489
+ BOX_SVG_CONNTHICKNESS = "Grosor de las Líneas: "
490
+ BOX_SVG_CONNTHICKNESS_TOOLTIP = "Grosor de las líneas de Conexión, desde no existentes a gruesas, en el mapa exportado"
491
+ BOX_SVG_COLOURSCHEME = "Esquema de Color: "
492
+ BOX_SVG_COLOURSCHEME_TOOLTIP = "Un Esquema Básico de Color usado para el número de localidad, información\nde localidad interactiva y puertas en el mapa exportado"
493
+ BOX_SVG_LOCTHICKNESS = "Grosor de Localidad:"
494
+ BOX_SVG_LOCTHICKNESS_TOOLTIP = "Grosor de líneas de localidad, desde finas a gruesas en el mapa exportado"
495
+ BOX_SVG_COLOURSCHEME_OPTIONS = [
441
496
  'Red',
442
497
  'Green',
443
498
  'Yellow',
@@ -486,6 +541,16 @@ class Room
486
541
  'o',
487
542
  'no',
488
543
  ]
544
+ DIRECTIONS_ENGLISH = [
545
+ 'n',
546
+ 'ne',
547
+ 'e',
548
+ 'se',
549
+ 's',
550
+ 'sw',
551
+ 'w',
552
+ 'nw',
553
+ ]
489
554
  end
490
555
 
491
556
  AUTOMAP_IS_WAITING_FOR_MORE_TEXT = "Automap está esperando más texto."