mercury-rails 0.2.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. data/app/controllers/{images_controller.rb → mercury/images_controller.rb} +3 -3
  2. data/app/controllers/mercury_controller.rb +13 -3
  3. data/app/models/{image.rb → mercury/image.rb} +3 -1
  4. data/app/views/layouts/mercury.html.erb +14 -6
  5. data/app/views/mercury/lightviews/about.html +7 -3
  6. data/app/views/mercury/modals/character.html +2 -2
  7. data/app/views/mercury/modals/htmleditor.html +2 -2
  8. data/app/views/mercury/modals/link.html +3 -3
  9. data/app/views/mercury/modals/media.html +3 -3
  10. data/app/views/mercury/modals/table.html +3 -3
  11. data/app/views/mercury/panels/snippets.html +1 -1
  12. data/app/views/mercury/selects/formatblock.html +9 -9
  13. data/app/views/mercury/snippets/example/options.html.erb +27 -16
  14. data/config/engine.rb +35 -0
  15. data/db/migrate/{20110526035601_create_images.rb → 20110526035601_create_mercury_images.rb} +2 -2
  16. data/features/loading/loading.feature +1 -1
  17. data/features/loading/navigating.feature +1 -1
  18. data/features/loading/user_interface.feature +2 -2
  19. data/features/regions/editable/basic_editing.feature +8 -8
  20. data/features/regions/editable/inserting_snippets.feature +4 -5
  21. data/features/regions/editable/inserting_tables.feature +9 -9
  22. data/features/step_definitions/mercury_steps.rb +20 -23
  23. data/features/step_definitions/web_steps.rb +5 -5
  24. data/features/support/mercury_selectors.rb +1 -0
  25. data/lib/generators/mercury/install/install_generator.rb +24 -3
  26. data/lib/generators/mercury/install/templates/mongoid_paperclip_image.rb +17 -0
  27. data/lib/mercury-rails.rb +0 -1
  28. data/lib/mercury/authentication.rb +8 -0
  29. data/spec/javascripts/mercury/dialog_spec.js.coffee +28 -21
  30. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +0 -2
  31. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +0 -2
  32. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +0 -2
  33. data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +0 -2
  34. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +0 -2
  35. data/spec/javascripts/mercury/history_buffer_spec.js.coffee +0 -2
  36. data/spec/javascripts/mercury/lightview_spec.js.coffee +42 -21
  37. data/spec/javascripts/mercury/mercury_spec.js.coffee +87 -7
  38. data/spec/javascripts/mercury/modal_spec.js.coffee +53 -23
  39. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +0 -2
  40. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +2 -3
  41. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +0 -2
  42. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +2 -2
  43. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +0 -2
  44. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +2 -4
  45. data/spec/javascripts/mercury/native_extensions_spec.js.coffee +20 -2
  46. data/spec/javascripts/mercury/page_editor_spec.js.coffee +130 -35
  47. data/spec/javascripts/mercury/palette_spec.js.coffee +4 -6
  48. data/spec/javascripts/mercury/panel_spec.js.coffee +44 -6
  49. data/spec/javascripts/mercury/region_spec.js.coffee +42 -8
  50. data/spec/javascripts/mercury/regions/editable_spec.js.coffee +0 -2
  51. data/spec/javascripts/mercury/regions/markupable_spec.js.coffee +0 -2
  52. data/spec/javascripts/mercury/regions/snippetable_spec.js.coffee +3 -5
  53. data/spec/javascripts/mercury/select_spec.js.coffee +4 -6
  54. data/spec/javascripts/mercury/snippet_spec.js.coffee +3 -4
  55. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +2 -4
  56. data/spec/javascripts/mercury/statusbar_spec.js.coffee +0 -2
  57. data/spec/javascripts/mercury/table_editor_spec.js.coffee +2 -4
  58. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +0 -2
  59. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +34 -15
  60. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +0 -2
  61. data/spec/javascripts/mercury/toolbar_spec.js.coffee +41 -26
  62. data/spec/javascripts/mercury/tooltip_spec.js.coffee +3 -5
  63. data/spec/javascripts/mercury/uploader_spec.js.coffee +8 -14
  64. data/spec/javascripts/spec_helper.js +1 -0
  65. data/spec/javascripts/templates/mercury/page_editor.html +1 -0
  66. data/spec/javascripts/templates/mercury/region.html +2 -2
  67. data/vendor/assets/images/mercury/missing-image.png +0 -0
  68. data/vendor/assets/javascripts/mercury.js +218 -112
  69. data/vendor/assets/javascripts/mercury/dependencies/{jquery-1.6.js → jquery-1.7.js} +2030 -1595
  70. data/vendor/assets/javascripts/mercury/dependencies/jquery.additions.js +55 -0
  71. data/vendor/assets/javascripts/mercury/dialog.js.coffee +7 -5
  72. data/vendor/assets/javascripts/mercury/dialogs/backcolor.js.coffee +1 -1
  73. data/vendor/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
  74. data/vendor/assets/javascripts/mercury/dialogs/formatblock.js.coffee +1 -1
  75. data/vendor/assets/javascripts/mercury/dialogs/{objectspanel.js.coffee → snippetpanel.js.coffee} +2 -2
  76. data/vendor/assets/javascripts/mercury/dialogs/style.js.coffee +1 -1
  77. data/vendor/assets/javascripts/mercury/finalize.js.coffee +3 -0
  78. data/vendor/assets/javascripts/mercury/lightview.js.coffee +76 -30
  79. data/vendor/assets/javascripts/mercury/locales/da.locale.js.coffee +211 -0
  80. data/vendor/assets/javascripts/mercury/locales/de.locale.js.coffee +206 -0
  81. data/vendor/assets/javascripts/mercury/locales/es.locale.js.coffee +211 -0
  82. data/vendor/assets/javascripts/mercury/locales/example.local.js.coffee +211 -0
  83. data/vendor/assets/javascripts/mercury/locales/fr.locale.js.coffee +211 -0
  84. data/vendor/assets/javascripts/mercury/locales/it.locale.js.coffee +208 -0
  85. data/vendor/assets/javascripts/mercury/locales/ko.local.js.coffee +206 -0
  86. data/vendor/assets/javascripts/mercury/locales/nl.locale.js.coffee +206 -0
  87. data/vendor/assets/javascripts/mercury/locales/pt.locale.js.coffee +211 -0
  88. data/vendor/assets/javascripts/mercury/locales/sv.local.js.coffee +209 -0
  89. data/vendor/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +213 -0
  90. data/vendor/assets/javascripts/mercury/mercury.js.coffee +62 -17
  91. data/vendor/assets/javascripts/mercury/modal.js.coffee +34 -21
  92. data/vendor/assets/javascripts/mercury/modals/htmleditor.js.coffee +1 -2
  93. data/vendor/assets/javascripts/mercury/modals/insertcharacter.js.coffee +3 -3
  94. data/vendor/assets/javascripts/mercury/modals/insertlink.js.coffee +4 -4
  95. data/vendor/assets/javascripts/mercury/modals/insertmedia.js.coffee +10 -9
  96. data/vendor/assets/javascripts/mercury/modals/insertsnippet.js.coffee +1 -1
  97. data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +8 -9
  98. data/vendor/assets/javascripts/mercury/native_extensions.js.coffee +26 -8
  99. data/vendor/assets/javascripts/mercury/page_editor.js.coffee +68 -46
  100. data/vendor/assets/javascripts/mercury/palette.js.coffee +1 -1
  101. data/vendor/assets/javascripts/mercury/panel.js.coffee +25 -7
  102. data/vendor/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +1 -0
  103. data/vendor/assets/javascripts/mercury/region.js.coffee +21 -17
  104. data/vendor/assets/javascripts/mercury/regions/editable.js.coffee +47 -35
  105. data/vendor/assets/javascripts/mercury/regions/markupable.js.coffee +43 -36
  106. data/vendor/assets/javascripts/mercury/regions/snippetable.js.coffee +22 -24
  107. data/vendor/assets/javascripts/mercury/select.js.coffee +3 -2
  108. data/vendor/assets/javascripts/mercury/snippet.js.coffee +2 -1
  109. data/vendor/assets/javascripts/mercury/snippet_toolbar.js.coffee +10 -7
  110. data/vendor/assets/javascripts/mercury/statusbar.js.coffee +4 -4
  111. data/vendor/assets/javascripts/mercury/table_editor.js.coffee +1 -3
  112. data/vendor/assets/javascripts/mercury/toolbar.button.js.coffee +42 -20
  113. data/vendor/assets/javascripts/mercury/toolbar.button_group.js.coffee +3 -3
  114. data/vendor/assets/javascripts/mercury/toolbar.expander.js.coffee +2 -2
  115. data/vendor/assets/javascripts/mercury/toolbar.js.coffee +8 -6
  116. data/vendor/assets/javascripts/mercury/tooltip.js.coffee +13 -9
  117. data/vendor/assets/javascripts/mercury/uploader.js.coffee +22 -16
  118. data/vendor/assets/javascripts/mercury_loader.js +2 -0
  119. data/vendor/assets/javascripts/mercury_overrides.js +6 -0
  120. data/vendor/assets/stylesheets/mercury/all_images.css.erb +89 -0
  121. data/vendor/assets/stylesheets/mercury/dialog.css +13 -4
  122. data/vendor/assets/stylesheets/mercury/lightview.css +66 -15
  123. data/vendor/assets/stylesheets/mercury/mercury.css +12 -7
  124. data/vendor/assets/stylesheets/mercury/modal.css +9 -5
  125. data/vendor/assets/stylesheets/mercury/toolbar.css +3 -29
  126. metadata +266 -144
  127. data/POST_INSTALL +0 -15
  128. data/README.md +0 -299
  129. data/VERSION +0 -1
  130. data/annotated_source.template +0 -57
  131. data/config/routes.rb +0 -15
  132. data/mercury-rails.gemspec +0 -288
  133. data/spec/javascripts/responses/blank.html +0 -1
  134. data/vendor/assets/javascripts/mercury/lightviews/imageprocessor.js.coffee +0 -2
@@ -0,0 +1,206 @@
1
+ Mercury.I18n['de'] =
2
+ # ## Javascript Strings
3
+
4
+ # ### Default Configuration
5
+ "Save": "Speichern"
6
+ "Save this page": "Diese Seite speichern"
7
+ "Preview": "Vorschau"
8
+ "Preview this page": "Diese Seite in der Vorschau betrachten"
9
+ "Undo": "Rückgängig"
10
+ "Undo your last action": "Letzte Aktion rückgängig machen"
11
+ "Redo": "Wiederherstellen"
12
+ "Redo your last action": "Letzte Aktion wiederherstellen"
13
+ "Link": "Link"
14
+ "Insert Link": "Link einfügen"
15
+ "Media": "Media"
16
+ "Insert Media (images and videos)": "Bilder und Videos einfügen"
17
+ "Table": "Tabelle"
18
+ "Insert Table": "Tabelle einfügen"
19
+ "Character": "Zeichen"
20
+ "Special Characters": "Sonderzeichen"
21
+ "Snippet": "Snippet"
22
+ "Snippet Panel": "Snippet-Fenster"
23
+ "History": "Verlauf"
24
+ "Page Version History": "Versionsverlauf der Seite"
25
+ "Notes": "Notizen"
26
+ "Page Notes": "Notizen der Seite"
27
+ "Style": "Stil"
28
+ "Block Format": "Blockformatierung"
29
+ "Background Color": "Hintergrundfarbe"
30
+ "Text Color": "Textfarbe"
31
+ "Bold": "Fett"
32
+ "Italicize": "Kursiv"
33
+ "Overline": "Überstrichen"
34
+ "Strikethrough": "Durchgestrichen"
35
+ "Underline": "Unterstrichen"
36
+ "Subscript": "Tiefgestellt"
37
+ "Superscript": "Hochgestellt"
38
+ "Align Left": "Linksbündig ausgerichtet"
39
+ "Center": "Zentriert"
40
+ "Align Right": "Rechtsbündig ausgerichtet"
41
+ "Justify Full": "Blocksatz"
42
+ "Unordered List": "Ungeordnete Liste"
43
+ "Numbered List": "Numerierte Liste"
44
+ "Decrease Indentation": "Einzug verkleinern"
45
+ "Increase Indentation": "Einzug vergrößern"
46
+ "Insert Table Row": "Zeile einfügen"
47
+ "Insert a table row before the cursor": "Zeile vor dem Cursor einfügen"
48
+ "Insert a table row after the cursor": "Zeile nach dem Cursor einfügen"
49
+ "Delete Table Row": "Zeile löschen"
50
+ "Delete this table row": "Aktuelle Zeile löschen"
51
+ "Insert Table Column": "Spalte einfügen"
52
+ "Insert a table column before the cursor": "Spalte vor dem Cursor einfügen"
53
+ "Insert a table column after the cursor": "Spalte nach dem Cursor einfügen"
54
+ "Delete Table Column": "Spalte löschen"
55
+ "Delete this table column": "Aktuelle Spalte löschen"
56
+ "Increase Cell Columns": "Mehr Spalten"
57
+ "Decrease Cell Columns": "Weniger Spalten"
58
+ "Increase Cell Rows": "Mehr Reihen"
59
+ "Decrease Cell Rows": "Weniger Reihen"
60
+ "Horizontal Rule": "Horizontaler Trennstrich"
61
+ "Insert a horizontal rule": "Horizontalen Trennstrich einfügen"
62
+ "Remove Formatting": "Formatierung löschen"
63
+ "Remove formatting for the selection": "Formatierung der Auswahl löschen"
64
+ "Edit HTML": "HTML bearbeiten"
65
+ "Edit the HTML content": "HTML-Inhalt bearbeiten"
66
+ "Edit Snippet Settings": "Snippet-Einstellungen bearbeiten"
67
+ "Remove Snippet": "Snippet entfernen"
68
+
69
+ # ### General
70
+ # Error Messages
71
+ "Mercury.Regions.%s is unsupported in this client. Supported browsers are %s.": "Mercury.Regions.%s wird von diesem Client nicht unterstützt. Unterstützte Browser sind: %s."
72
+ "Mercury.PageEditor can only be instantiated once.": "Mercury.PageEditor kann nur einmal instanziiert werden."
73
+ "Opera isn't a fully supported browser, your results may not be optimal.": "Opera ist ein nicht vollständig unterstützter Browser, daher sind nicht-optimale Ergebnisse möglich."
74
+ "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor konnte nicht geladen werden: %s\n\nBitte versuche die Seite neu zu laden."
75
+ "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regionstyp ist ungültig, kein Datentyp angegeben, oder \"%s\" ist unbekannt für die \"%s\"-Region."
76
+ "Mercury was unable to save to the url: %s": "Mercury war nicht in der Lage unter der URL zu speichern: %s"
77
+ # Confirmations
78
+ "You have unsaved changes. Are you sure you want to leave without saving them first?": "Es gibt ungespeicherte Änderungen. Möchtest du wirklich beenden, ohne die Änderungen vorher zu speichern?"
79
+
80
+ # ### Toolbar / Buttons
81
+ # Error Messages
82
+ "Unknown button type \"%s\" used for the \"%s\" button.": "Unbekannter Button-Typ \"%s\" wurde für den Button \"%s\" benutzt."
83
+ "Unknown button structure -- please provide an array, object, or string for \"%s\".": "Unbekannte Button-Struktur – bitte gib ein Array, Objekt oder einen String für \"%s\" an."
84
+
85
+ # ### Modals / Dialogs / Etc.
86
+ # Error Messages
87
+ "Mercury was unable to load %s for the \"%s\" dialog.": "Mercury konnte %s nicht für den \"%s\"-Dialog laden."
88
+ "Mercury was unable to load %s for the lightview.": "Mercury konnte %s nicht für die Lightansicht laden."
89
+ "Mercury was unable to load %s for the modal.": "Mercury konnte %s nicht für den Modaldialog laden."
90
+
91
+ # ### Snippets
92
+ # Error Messages
93
+ "Error loading the preview for the \"%s\" snippet.": "Fehler beim Laden der Vorschau für das \"%s\"-Snippet."
94
+ # Misc
95
+ "Snippet Options": "Snippet-Optionen"
96
+
97
+ # ### Uploader
98
+ # Error Messages
99
+ "Unable to process response: %s": "Nicht in der Lage, die folgende Antwort zu verarbeiten: %s"
100
+ "Error: Unable to upload the file": "Fehler: Nicht in der Lage, die Datei hochzuladen"
101
+ "Malformed response from server": "Fehlerhafte Antwort des Servers"
102
+ "Too large": "Zu groß"
103
+ "Unsupported format": "Nicht unterstütztes Format"
104
+ # Statuses
105
+ "Processing...": "Verarbeite…"
106
+ "Uploading...": "Lade hoch…"
107
+ "Aborted": "Abgebrochen"
108
+ "Successfully uploaded...": "Erfolgreich hochgeladen…"
109
+ "Name: %s": "Name: %s"
110
+ "Size: %s": "Größe: %s"
111
+ "Type: %s": "Typ: %s"
112
+
113
+ # Inserting Media
114
+ "Error: The provided youtube share url was invalid.": "Fehler: Die angegebene YouTube Share-URL war ungültig."
115
+ "Error: The provided vimeo url was invalid.": "Fehler: Die angegebene Vimeo-URL war ungültig."
116
+
117
+ # Statusbar
118
+ "Path:": "Pfad"
119
+
120
+
121
+ # ## HTML / Template Strings
122
+
123
+ # ### Modals
124
+ # Insert Link Modal (link.html)
125
+ "Link Content": "Linkbeschreibung"
126
+ "Standard Links": "Standardlinks"
127
+ "URL": "URL"
128
+ "Index / Bookmark Links": "Index/Lesezeichen-Link"
129
+ "Existing Links": "Existierender Link"
130
+ "Bookmark": "Lesezeichen"
131
+ "Options": "Optionen"
132
+ "Link Target": "Link-Ziel"
133
+ "Self (the same window or tab)": "Self (das gleiche Fenster oder Tab)"
134
+ "Blank (a new window or tab)": "Blank (ein neues Fenster oder Tab)"
135
+ "Top (removes any frames)": "Top (entfernt Frames)"
136
+ "Popup Window (javascript new window popup)": "Popupfenster"
137
+ "Popup Width": "Popup-Breite"
138
+ "Popup Height": "Popup-Höhe"
139
+ "Insert Link": "Link einfügen"
140
+
141
+ # Insert Media Modal (media.html)
142
+ "Images": "Bilder"
143
+ "Videos": "Videos"
144
+ "YouTube Share URL": "YouTube Share-URL"
145
+ "Vimeo URL": "Vimeo-URL"
146
+ "Alignment": "Ausrichtung"
147
+ "None": "Normal"
148
+ "Left": "Links"
149
+ "Right": "Rechts"
150
+ "Top": "Oben"
151
+ "Middle": "Mitte"
152
+ "Bottom": "Unten"
153
+ "Absolute Middle": "Mitte, absolut"
154
+ "Absolute Bottom": "Unten, absolut"
155
+ "Width": "Breite"
156
+ "Height": "Höhe"
157
+ "Insert Media": "Element einfügen"
158
+
159
+ # Insert Table Modal (table.html)
160
+ "Rows": "Reihen"
161
+ "Add Before": "Davor hinzufügen"
162
+ "Add After": "Danach hinzufügen"
163
+ "Remove": "Entfernen"
164
+ "Columns": "Spalten"
165
+ "Row Span": "Reihenabstand"
166
+ "Column Span": "Spaltenabstand"
167
+ "Options": "Optionen"
168
+ "Alignment": "Ausrichtung"
169
+ "Border": "Rahmen"
170
+ "Spacing": "Zwischenraum"
171
+ "Insert Table": "Tabelle einfügen"
172
+
173
+ # HTML Editor Modal (htmleditor.html)
174
+ "HTML Editor": "HTML-Editor"
175
+ "Save and Replace": "Speichern und ersetzen"
176
+
177
+ # ### Dialogs / Etc.
178
+ # Color Palettes (forecolor.html, backcolor.html)
179
+ "Last Color Picked": "Zuletzt gewählte Farbe"
180
+
181
+ # Block Format Select (formatblock.html)
182
+ "Heading 1": "Überschrift 1"
183
+ "Heading 2": "Überschrift 2"
184
+ "Heading 3": "Überschrift 3"
185
+ "Heading 4": "Überschrift 4"
186
+ "Heading 5": "Überschrift 5"
187
+ "Heading 6": "Überschrift 6"
188
+ "Paragraph": "Absatz"
189
+ "Blockquote": "Zitat"
190
+ "Formatted": "Formatiert"
191
+
192
+ # About Mercury Panel (about.html)
193
+ "Project Home": "Projekt-Website"
194
+ "Project Source": "Projekt-Quelltext"
195
+
196
+ # ### Demo / Placeholder / Defaults
197
+ "The history panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "Der Verlaufsdialog setzt ein Server-Backend voraus. Da dies eine Demo ist, steht es nicht zur Verfügung."
198
+
199
+ "The notes panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "Der Notizendialog setzt ein Server-Backend voraus. Da dies eine Demo ist, steht es nicht zur Verfügung."
200
+
201
+ "Snippet Name": "Snippet-Name"
202
+ "A one or two line long description of what this snippet does.": "Eine ein- oder zweizeilige Beschreibung dessen, was dieses Snippet tut."
203
+
204
+ "First Name": "Vorname"
205
+ "Favorite Beer": "Lieblingsbier"
206
+ "Insert Snippet": "Snippet einfügen"
@@ -0,0 +1,211 @@
1
+ Mercury.I18n['es'] =
2
+ # ## Javascript Strings
3
+
4
+ # ### Default Configuration
5
+ "Save": "Guardar"
6
+ "Save this page": "Guardar esta página"
7
+ "Preview": "Vista previa"
8
+ "Preview this page": "Previsualizar esta página"
9
+ "Undo": "Deshacer"
10
+ "Undo your last action": "Deshacer tu última acción"
11
+ "Redo": "Rehacer"
12
+ "Redo your last action": "Rehacer tu última acción"
13
+ "Link": "Enlace"
14
+ "Insert Link": "Insertar enlace"
15
+ "Media": "Media"
16
+ "Insert Media (images and videos)": "Insertar Media (imágenes y vídeos)"
17
+ "Table": "Tabla"
18
+ "Insert Table": "Insertar tabla"
19
+ "Character": "Carácter"
20
+ "Special Characters": "Caracteres especiales"
21
+ "Snippet": "Snippet"
22
+ "Snippet Panel": "Panel de snippets"
23
+ "History": "Historial"
24
+ "Page Version History": "Historial de Versiones de la Página"
25
+ "Notes": "Notas"
26
+ "Page Notes": "Notas de Página"
27
+ "Style": "Estilo"
28
+ "Block Format": "Formato de bloque"
29
+ "Background Color": "Color de Fondo del Texto"
30
+ "Text Color": "Color de Texto"
31
+ "Bold": "Negrita"
32
+ "Italicize": "Cursiva"
33
+ "Overline": "Subrayado superior"
34
+ "Strikethrough": "Tachado"
35
+ "Underline": "Subrayado inferior"
36
+ "Subscript": "Subíndice"
37
+ "Superscript": "Superíndice"
38
+ "Align Left": "Alinear a la izquierda"
39
+ "Center": "Centrar"
40
+ "Align Right": "Alinear a la derecha"
41
+ "Justify Full": "Justificar"
42
+ "Unordered List": "Lista con viñetas"
43
+ "Numbered List": "Lista numerada"
44
+ "Decrease Indentation": "Reducir tabulación"
45
+ "Increase Indentation": "Aumentar tabulación"
46
+ "Insert Table Row": "Añadir Fila"
47
+ "Insert a table row before the cursor": "Añadir fila antes del cursor"
48
+ "Insert a table row after the cursor": "Añadir fila después del cursor"
49
+ "Delete Table Row": "Eliminar Fila"
50
+ "Delete this table row": "Eliminar esta fila"
51
+ "Insert Table Column": "Añadir Columna"
52
+ "Insert a table column before the cursor": "Añadir columna antes del cursor"
53
+ "Insert a table column after the cursor": "Añadir columna después del cursor"
54
+ "Delete Table Column": "Eliminar Columna"
55
+ "Delete this table column": "Eliminar esta columna"
56
+ "Increase Cell Columns": "Incrementar Columnas"
57
+ "Decrease Cell Columns": "Reducir Columnas"
58
+ "Increase Cell Rows": "Incrementar Filas"
59
+ "Decrease Cell Rows": "Reducir Filas"
60
+ "Horizontal Rule": "Línea Horizontal"
61
+ "Insert a horizontal rule": "Insertar una línea horizontal"
62
+ "Remove Formatting": "Borrar Formato"
63
+ "Remove formatting for the selection": "Borrar formato para la selección"
64
+ "Edit HTML": "Editar HTML"
65
+ "Edit the HTML content": "Editar el contenido HTML"
66
+ "Edit Snippet Settings": "Editar Opciones de Snippets"
67
+ "Remove Snippet": "Eliminar Snippet"
68
+
69
+ # ### General
70
+ # Error Messages
71
+ "Mercury.Regions.%s is unsupported in this client. Supported browsers are %s.": "Mercury.Regions.%s no está soportado en este cliente. Los navegadores soportados son %s."
72
+ "Mercury.PageEditor can only be instantiated once.": "Mercury.PageEditor solo puede ser llamado una vez."
73
+ "Opera isn't a fully supported browser, your results may not be optimal.": "Opera no es un navegador completamente soportado, los resultados podrían no ser óptimos."
74
+ "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor no se ha podido cargar: %s\n\nPor favor intentalo de nuevo refrescando."
75
+ "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "El tipo de Region es incorrecto, no se ha especificado un data-type , o \"%s\" es desconocido para la region \"%s\""
76
+ "Mercury was unable to save to the url: %s": "Mercury no pudo guardar en la url: %s"
77
+ # Confirmations
78
+ "You have unsaved changes.Are you sure you want to leave without saving them first?": "Has hecho cambios que no han sido guardados. ¿Estás seguro de que quieres salir sin guardar estos cambios?"
79
+
80
+ # ### Toolbar / Buttons
81
+ # Error Messages
82
+ "Unknown button type \"%s\" used for the \"%s\" button.": "Desconocido tipo de botón (button type) \"%s\" usado para el botón \"%s\""
83
+ "Unknown button structure -- please provide an array, object, or string for \"%s\".": "Desconocida estructura de botón (button structure). Por favor especifica un array, objecto, o string para \"%s\"."
84
+
85
+ # ### Modals / Dialogs / Etc.
86
+ # Error Messages
87
+ "Mercury was unable to load %s for the \"%s\" dialog.": "Mercury no pudo cargar %s para el diálogo \"%s\"."
88
+ "Mercury was unable to load %s for the lightview.": "Mercury no pudo cargar %s para el lightview."
89
+ "Mercury was unable to load %s for the modal.": "Mercury no pudo cargar %s para el modal."
90
+
91
+ # ### Snippets
92
+ # Error Messages
93
+ "Error loading the preview for the \"%s\" snippet.": "Error cargando la vista previa para el snippet \"%s\"."
94
+ # Misc
95
+ "Snippet Options": "Opciones de Snippet"
96
+
97
+ # ### Uploader
98
+ # Error Messages
99
+ "Unable to process response: %s": "No se puede procesar la respuesta: %s"
100
+ "Error: Unable to upload the file": "Error: No se puede subir el archivo"
101
+ "Malformed response from server": "" # needs translation
102
+ "Too large": "Demasiado grande"
103
+ "Unsupported format": "Formato no soportado"
104
+ # Statuses
105
+ "Processing...": "Procesando..."
106
+ "Uploading...": "Subiendo..."
107
+ "Aborted": "Cancelado"
108
+ "Successfully uploaded...": "Subido correctamente..."
109
+ "Name: %s": "Nombre: %s"
110
+ "Size: %s": "Tamaño: %s"
111
+ "Type: %s": "Tipo: %s"
112
+
113
+ # Inserting Media
114
+ "Error: The provided youtube share url was invalid.": "Error: La URL de YouTube introducida no es válida"
115
+ "Error: The provided vimeo url was invalid.": "Error: La URL de Vimeo introducida no es válida"
116
+
117
+ # Statusbar
118
+ "Path:": "Ruta:"
119
+
120
+
121
+ # ## HTML / Template Strings
122
+
123
+ # ### Modals
124
+ # Insert Link Modal (link.html)
125
+ "Link Content": "Contenido del Enlace"
126
+ "Standard Links": "Enlace estándar"
127
+ "URL": "URL"
128
+ "Index / Bookmark Links": "Index / Enlaces a marcadores"
129
+ "Existing Links": "Links existentes"
130
+ "Bookmark": "Marcadores"
131
+ "Options": "Opciones"
132
+ "Link Target": "Destino del Enlace"
133
+ "Self (the same window or tab)": "Self (la misma ventana o pestaña)"
134
+ "Blank (a new window or tab)": "Blank (una nueva ventana o pestaña)"
135
+ "Top (removes any frames)": "Top (elimina cualquier frame)"
136
+ "Popup Window (javascript new window popup)": "Ventana Popup (nueva ventana popup con javascript)"
137
+ "Popup Width": "Ancho de Popup"
138
+ "Popup Height": "Alto de Popup"
139
+ "Insert Link": "Insertar Enlace"
140
+
141
+ # Insert Media Modal (media.html)
142
+ "Images": "Imágenes"
143
+ "Videos": "Videos"
144
+ "YouTube Share URL": "YouTube URL"
145
+ "Vimeo URL": "Vimeo URL"
146
+ "Alignment": "Alineación"
147
+ "None": "Ninguna"
148
+ "Left": "Izquierda"
149
+ "Right": "Derecha"
150
+ "Top": "Arriba"
151
+ "Middle": "Medio"
152
+ "Bottom": "Abajo"
153
+ "Absolute Middle": "Medio absoluto"
154
+ "Absolute Bottom": "Abajo absoluto"
155
+ "Width": "Ancho"
156
+ "Height": "Alto"
157
+ "Insert Media": "Insertar Media"
158
+
159
+ # Insert Table Modal (table.html)
160
+ "Rows": "Filas"
161
+ "Add Before": "Insertar antes"
162
+ "Add After": "Insertar después"
163
+ "Remove": "Eliminar"
164
+ "Columns": "Columnas"
165
+ "Row Span": "Unir Fila"
166
+ "Column Span": "Unir Columna"
167
+ "Options": "Opciones"
168
+ "Alignment": "Alineación"
169
+ "Border": "Borde"
170
+ "Spacing": "Espaciado"
171
+ "Insert Table": "Insertar Tabla"
172
+
173
+ # HTML Editor Modal (htmleditor.html)
174
+ "HTML Editor": "Editor HTML"
175
+ "Save and Replace": "Guardar y Reemplazar"
176
+
177
+ # ### Dialogs / Etc.
178
+ # Color Palettes (forecolor.html, backcolor.html)
179
+ "Last Color Picked": "Último Color Seleccionado"
180
+
181
+ # Block Format Select (formatblock.html)
182
+ "Heading 1": "Encabezado 1"
183
+ "Heading 2": "Encabezado 2"
184
+ "Heading 3": "Encabezado 3"
185
+ "Heading 4": "Encabezado 4"
186
+ "Heading 5": "Encabezado 5"
187
+ "Heading 6": "Encabezado 6"
188
+ "Paragraph": "Párrafo"
189
+ "Blockquote": "Cita"
190
+ "Formatted": "Formateado"
191
+
192
+ # About Mercury Panel (about.html)
193
+ "Project Home": "Página del proyecto"
194
+ "Project Source": "Código del proyecto"
195
+
196
+ # ### Demo / Placeholder / Defaults
197
+ "The history panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "El panel de historial está pensado para ser implementado en la parte del servidor (back end). Puesto que esto es una demo, no lo hemos incluido."
198
+
199
+ "The notes panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "El panel de notas está pensado para ser implementado en la parte del servidor (back end). Puesto que esto es una demo, no lo hemos incluido."
200
+
201
+ "Snippet Name": "Nombre del Snippet"
202
+ "A one or two line long description of what this snippet does.": "Descripción de una o dos lineas sobre que hace el snippet"
203
+
204
+ "First Name": "Nombre"
205
+ "Favorite Beer": "Cerveza Favorita"
206
+ "Insert Snippet": "Insertar Snippet"
207
+
208
+
209
+ # ## Custom Regional Overrides (eg. es-AR -- Spanish (Argentina))
210
+ _AR_:
211
+ "Save": "Guardar"
@@ -0,0 +1,211 @@
1
+ Mercury.I18n['en'] =
2
+ # ## Javascript Strings
3
+
4
+ # ### Default Configuration
5
+ "Save": ""
6
+ "Save this page": ""
7
+ "Preview": ""
8
+ "Preview this page": ""
9
+ "Undo": ""
10
+ "Undo your last action": ""
11
+ "Redo": ""
12
+ "Redo your last action": ""
13
+ "Link": ""
14
+ "Insert Link": ""
15
+ "Media": ""
16
+ "Insert Media (images and videos)": ""
17
+ "Table": ""
18
+ "Insert Table": ""
19
+ "Character": ""
20
+ "Special Characters": ""
21
+ "Snippet": ""
22
+ "Snippet Panel": ""
23
+ "History": ""
24
+ "Page Version History": ""
25
+ "Notes": ""
26
+ "Page Notes": ""
27
+ "Style": ""
28
+ "Block Format": ""
29
+ "Background Color": ""
30
+ "Text Color": ""
31
+ "Bold": ""
32
+ "Italicize": ""
33
+ "Overline": ""
34
+ "Strikethrough": ""
35
+ "Underline": ""
36
+ "Subscript": ""
37
+ "Superscript": ""
38
+ "Align Left": ""
39
+ "Center": ""
40
+ "Align Right": ""
41
+ "Justify Full": ""
42
+ "Unordered List": ""
43
+ "Numbered List": ""
44
+ "Decrease Indentation": ""
45
+ "Increase Indentation": ""
46
+ "Insert Table Row": ""
47
+ "Insert a table row before the cursor": ""
48
+ "Insert a table row after the cursor": ""
49
+ "Delete Table Row": ""
50
+ "Delete this table row": ""
51
+ "Insert Table Column": ""
52
+ "Insert a table column before the cursor": ""
53
+ "Insert a table column after the cursor": ""
54
+ "Delete Table Column": ""
55
+ "Delete this table column": ""
56
+ "Increase Cell Columns": ""
57
+ "Decrease Cell Columns": ""
58
+ "Increase Cell Rows": ""
59
+ "Decrease Cell Rows": ""
60
+ "Horizontal Rule": ""
61
+ "Insert a horizontal rule": ""
62
+ "Remove Formatting": ""
63
+ "Remove formatting for the selection": ""
64
+ "Edit HTML": ""
65
+ "Edit the HTML content": ""
66
+ "Edit Snippet Settings": ""
67
+ "Remove Snippet": ""
68
+
69
+ # ### General
70
+ # Error Messages
71
+ "Mercury.Regions.%s is unsupported in this client. Supported browsers are %s.": ""
72
+ "Mercury.PageEditor can only be instantiated once.": ""
73
+ "Opera isn't a fully supported browser, your results may not be optimal.": ""
74
+ "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": ""
75
+ "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": ""
76
+ "Mercury was unable to save to the url: %s": ""
77
+ # Confirmations
78
+ "You have unsaved changes. Are you sure you want to leave without saving them first?": ""
79
+
80
+ # ### Toolbar / Buttons
81
+ # Error Messages
82
+ "Unknown button type \"%s\" used for the \"%s\" button.": ""
83
+ "Unknown button structure -- please provide an array, object, or string for \"%s\".": ""
84
+
85
+ # ### Modals / Dialogs / Etc.
86
+ # Error Messages
87
+ "Mercury was unable to load %s for the \"%s\" dialog.": ""
88
+ "Mercury was unable to load %s for the lightview.": ""
89
+ "Mercury was unable to load %s for the modal.": ""
90
+
91
+ # ### Snippets
92
+ # Error Messages
93
+ "Error loading the preview for the \"%s\" snippet.": ""
94
+ # Misc
95
+ "Snippet Options": ""
96
+
97
+ # ### Uploader
98
+ # Error Messages
99
+ "Unable to process response: %s": ""
100
+ "Error: Unable to upload the file": ""
101
+ "Malformed response from server": "" # needs translation
102
+ "Too large": ""
103
+ "Unsupported format": ""
104
+ # Statuses
105
+ "Processing...": ""
106
+ "Uploading...": ""
107
+ "Aborted": ""
108
+ "Successfully uploaded...": ""
109
+ "Name: %s": ""
110
+ "Size: %s": ""
111
+ "Type: %s": ""
112
+
113
+ # Inserting Media
114
+ "Error: The provided youtube share url was invalid.": ""
115
+ "Error: The provided vimeo url was invalid.": ""
116
+
117
+ # Statusbar
118
+ "Path:": ""
119
+
120
+
121
+ # ## HTML / Template Strings
122
+
123
+ # ### Modals
124
+ # Insert Link Modal (link.html)
125
+ "Link Content": ""
126
+ "Standard Links": ""
127
+ "URL": ""
128
+ "Index / Bookmark Links": ""
129
+ "Existing Links": ""
130
+ "Bookmark": ""
131
+ "Options": ""
132
+ "Link Target": ""
133
+ "Self (the same window or tab)": ""
134
+ "Blank (a new window or tab)": ""
135
+ "Top (removes any frames)": ""
136
+ "Popup Window (javascript new window popup)": ""
137
+ "Popup Width": ""
138
+ "Popup Height": ""
139
+ "Insert Link": ""
140
+
141
+ # Insert Media Modal (media.html)
142
+ "Images": ""
143
+ "Videos": ""
144
+ "YouTube Share URL": ""
145
+ "Vimeo URL": ""
146
+ "Alignment": ""
147
+ "None": ""
148
+ "Left": ""
149
+ "Right": ""
150
+ "Top": ""
151
+ "Middle": ""
152
+ "Bottom": ""
153
+ "Absolute Middle": ""
154
+ "Absolute Bottom": ""
155
+ "Width": ""
156
+ "Height": ""
157
+ "Insert Media": ""
158
+
159
+ # Insert Table Modal (table.html)
160
+ "Rows": ""
161
+ "Add Before": ""
162
+ "Add After": ""
163
+ "Remove": ""
164
+ "Columns": ""
165
+ "Row Span": ""
166
+ "Column Span": ""
167
+ "Options": ""
168
+ "Alignment": ""
169
+ "Border": ""
170
+ "Spacing": ""
171
+ "Insert Table": ""
172
+
173
+ # HTML Editor Modal (htmleditor.html)
174
+ "HTML Editor": ""
175
+ "Save and Replace": ""
176
+
177
+ # ### Dialogs / Etc.
178
+ # Color Palettes (forecolor.html, backcolor.html)
179
+ "Last Color Picked": ""
180
+
181
+ # Block Format Select (formatblock.html)
182
+ "Heading 1": ""
183
+ "Heading 2": ""
184
+ "Heading 3": ""
185
+ "Heading 4": ""
186
+ "Heading 5": ""
187
+ "Heading 6": ""
188
+ "Paragraph": ""
189
+ "Blockquote": ""
190
+ "Formatted": ""
191
+
192
+ # About Mercury Panel (about.html)
193
+ "Project Home": ""
194
+ "Project Source": ""
195
+
196
+ # ### Demo / Placeholder / Defaults
197
+ "The history panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": ""
198
+
199
+ "The notes panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": ""
200
+
201
+ "Snippet Name": ""
202
+ "A one or two line long description of what this snippet does.": ""
203
+
204
+ "First Name": ""
205
+ "Favorite Beer": ""
206
+ "Insert Snippet": ""
207
+
208
+
209
+ # ## Custom Regional Overrides (eg. en-US)
210
+ _US_:
211
+ "Save": ""