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,6 +1,7 @@
1
1
  # coding: iso-8859-1
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'
@@ -218,6 +221,7 @@ TRANSCRIPT_SHORTNAME_TYPE = [
218
221
  'Moonmist',
219
222
  'Witness',
220
223
  'ADRIFT',
224
+ 'ALL CAPS'
221
225
  ]
222
226
 
223
227
  ############ T�tulos de Ventanas
@@ -275,6 +279,7 @@ MENU_EDIT = '&Editar'
275
279
  MENU_COPY = "&Copiar\tCtl-C\tCopiar Localidad"
276
280
  MENU_CUT = "Cor&tar\tCtl-X\tCortar Localidad"
277
281
  MENU_PASTE = "&Pegar\tCtl-V\tPegar Localidad"
282
+ MENU_UNDO = "&Deshacer\tCtl-U\tDeshacer �ltima Eliminaci�n"
278
283
 
279
284
  MENU_MAP = '&Mapa'
280
285
  MENU_SELECT = 'Seleccionar'
@@ -425,19 +430,58 @@ BOX_PDF_PAGE_ORIENTATION_TEXT = [
425
430
  ]
426
431
  BOX_PDF_LOCATIONNOS = 'Incluya n�meros de ubicaci�n'
427
432
 
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 = [
433
+ MSG_SAVE_MAP_AS_SVG = 'Grabar Mapa como (SVG)'
434
+ FMT_SVG = 'Gr�fico de Vector Estructurado (*.svg)'
435
+ MENU_EXPORT_SVG = "Exportar como &SVG...\t\tExportar mapa como documento de Gr�fico de Vector Estructurado (SVG)."
436
+ MSG_SVG_EXPORTING = 'Exporting SVG file'
437
+ MSG_SVG_GENERATOR = "Generator: #{PROGRAM_NAME} v#{VERSION} by #{AUTHOR}"
438
+ MSG_SVG_GENERATION_DATE = "Generation Date:"
439
+ MSG_SVG_CREATOR_PREFIX = 'Creator: '
440
+ MSG_SVG_SHORTCUT_TO = 'Shortcut to'
441
+ MSG_SVG_BGROUND_IMAGE_SECT_BEGINS = 'BACKGROUND IMAGE SECTION BEGINS'
442
+ MSG_SVG_BGROUND_IMAGE_SECT_ENDS = 'BACKGROUND IMAGE SECTION ENDS'
443
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_START = 'UNCOMMENT LINE BELOW TO ENABLE'
444
+ MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_END = 'BACKGROUND IMAGE'
445
+ MSG_SVG_MAP_SECT_BEGINS = 'MAP SECTION BEGINS'
446
+ MSG_SVG_MAP_SECT_ENDS = 'MAP SECTION ENDS'
447
+ MSG_SVG_EXPORT_COMPLETED = 'Exporting SVG Completed'
448
+ BOX_SVG_SHOWLOCNUMS = "Mostar n�meros de ubicaci�n"
449
+ BOX_SVG_SHOWLOCNUMS_TOOLTIP = "Include each Room's Location Number in exported map"
450
+ BOX_SVG_SHOWINTERTITLE = "Mostrar Informaci�n Interactiva del Lugar:"
451
+ BOX_SVG_SHOWINTEROBJECTS = "Objects"
452
+ BOX_SVG_SHOWINTEROBJECTS_TOOLTIP = "Include the Objects at each Room's Location as drop-down in exported map"
453
+ BOX_SVG_SHOWINTERTASKS = "Tasks"
454
+ BOX_SVG_SHOWINTERTASKS_TOOLTIP = "Include the Tasks at each Room's Location as drop-down in exported map"
455
+ BOX_SVG_SHOWINTERCOMMENTS = "Comments"
456
+ BOX_SVG_SHOWINTERCOMMENTS_TOOLTIP = "Include the Comments at each Room's Location as drop-down in exported map"
457
+ BOX_SVG_SHOWINTERDESCRIPTION = "Description"
458
+ BOX_SVG_SHOWINTERDESCRIPTION_TOOLTIP = "Include the Description at each Room's Location as drop-down in exported map"
459
+
460
+ BOX_SVG_EXPORTALLCOMBINED = "All Sections to Combined SVG file"
461
+ BOX_SVG_EXPORTALLCOMBINED_TOOLTIP = "All Sections exported to a single SVG file, in order"
462
+ BOX_SVG_EXPORTALLINDIV = "All Sections to Individual SVG files"
463
+ BOX_SVG_EXPORTALLINDIV_TOOLTIP = "All Sections exported to separate SVG files"
464
+ BOX_SVG_EXPORTCURRENTINDIV = "Current Section to Individual SVG file"
465
+ BOX_SVG_EXPORTCURRENTINDIV_TOOLTIP = "Current Section exported to a single SVG file"
466
+
467
+ BOX_SVG_EXPORTSELONLY = "Only Include Currently Selected Elements"
468
+ 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"
469
+ BOX_SVG_EXPORTALLLOCSSELTXT = "Include All Locations, Only Show Location\nText For Currently Selected Locations"
470
+ 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"
471
+
472
+ BOX_SVG_SHOWLOCTEXT = "Mostrar el Texto del Lugar"
473
+ BOX_SVG_SHOWLOCTEXT_TOOLTIP = "Include each Room's Location text in exported map"
474
+ BOX_SVG_SHOWSECTCOMMENTS = "Mostrar los Comentarios de la Secci�n"
475
+ BOX_SVG_SHOWSECTCOMMENTS_TOOLTIP = "Include each Section Comments under corresponding Section Name in exported map"
476
+ BOX_SVG_COMPASSSIZE = "Tama�o de Br�jula: "
477
+ BOX_SVG_COMPASSSIZE_TOOLTIP = "Size of Compass graphic, from non-existent to huge, in exported map"
478
+ BOX_SVG_CONNTHICKNESS = "Grosor de las L�neas: "
479
+ BOX_SVG_CONNTHICKNESS_TOOLTIP = "Thickness of Connection lines, from non-existent to heavy, in exported map"
480
+ BOX_SVG_COLOURSCHEME = "Esquema de Color: "
481
+ BOX_SVG_COLOURSCHEME_TOOLTIP = "A basic Colour Scheme used for the location number, interactive\nlocation information and doors in exported map"
482
+ BOX_SVG_LOCTHICKNESS = "Location Thickness:"
483
+ BOX_SVG_LOCTHICKNESS_TOOLTIP = "Thickness of Location lines, from thin to heavy, in exported map"
484
+ BOX_SVG_COLOURSCHEME_OPTIONS = [
441
485
  'Red',
442
486
  'Green',
443
487
  'Yellow',
@@ -486,6 +530,16 @@ class Room
486
530
  'o',
487
531
  'no',
488
532
  ]
533
+ DIRECTIONS_ENGLISH = [
534
+ 'n',
535
+ 'ne',
536
+ 'e',
537
+ 'se',
538
+ 's',
539
+ 'sw',
540
+ 'w',
541
+ 'nw',
542
+ ]
489
543
  end
490
544
 
491
545
  AUTOMAP_IS_WAITING_FOR_MORE_TEXT = "Automap est� esperando m�s texto."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ifmapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Garramuno
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2019-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -70,7 +70,7 @@ dependencies:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 1.1.1
73
- description: "\tInteractive Fiction Mapping Tool.\n"
73
+ description: " Interactive Fiction Mapping Tool.\n"
74
74
  email: ggarra13@gmail.com
75
75
  executables:
76
76
  - IFMapper
@@ -89,6 +89,7 @@ extra_rdoc_files:
89
89
  - docs/images/IFMapper_main.gif
90
90
  - docs/images/room_description.gif
91
91
  - docs/images/room_small.gif
92
+ - docs/images/svg_export.gif
92
93
  files:
93
94
  - HISTORY.txt
94
95
  - IFMapper.gemspec
@@ -107,6 +108,7 @@ files:
107
108
  - docs/images/connection_menu.gif
108
109
  - docs/images/room_description.gif
109
110
  - docs/images/room_small.gif
111
+ - docs/images/svg_export.gif
110
112
  - icons/compass.svg
111
113
  - icons/copy.png
112
114
  - icons/cut.png
@@ -178,6 +180,7 @@ files:
178
180
  - lib/IFMapper/PDFMapExporter_pdfwriter.rb
179
181
  - lib/IFMapper/PDFMapExporter_prawn.rb
180
182
  - lib/IFMapper/Room.rb
183
+ - lib/IFMapper/SVGMapAppend.rb
181
184
  - lib/IFMapper/SVGMapExporter.rb
182
185
  - lib/IFMapper/Section.rb
183
186
  - lib/IFMapper/TADSReader.rb