Commit 5e92f4e71bccb2568de0523fec2ff6628a25e149
Exists in
master
and in
28 other branches
Merge branch 'stable'
Showing
30 changed files
with
945 additions
and
29 deletions
Show diff stats
HACKING
... | ... | @@ -36,7 +36,9 @@ commands and make sure you understand what you are doing): |
36 | 36 | cd noosfero |
37 | 37 | # copy a sample config file |
38 | 38 | cp config/database.yml.sqlite3 config/database.yml |
39 | - # create the database: | |
39 | + # create the development database | |
40 | + rake db:schema:load | |
41 | + # run pending migrations | |
40 | 42 | rake db:migrate |
41 | 43 | # compile translations: |
42 | 44 | rake makemo | ... | ... |
app/models/link_list_block.rb
... | ... | @@ -73,10 +73,9 @@ class LinkListBlock < Block |
73 | 73 | true |
74 | 74 | end |
75 | 75 | |
76 | - def icons_options(selected = nil) | |
76 | + def icons_options | |
77 | 77 | ICONS.map do |i| |
78 | - select = "selected='1'" if i[0] == selected | |
79 | - "<option class='icon-#{i[0]}' value='#{i[0]}' #{select}>#{gettext(i[1])}</option>" | |
78 | + "<span class=\"icon-#{i[0]}\" onclick=\"changeIcon(this, '#{i[0]}')\"></span>" | |
80 | 79 | end |
81 | 80 | end |
82 | 81 | ... | ... |
... | ... | @@ -0,0 +1,7 @@ |
1 | +<div class='icon' style='width:16px; height:16px;' onclick="hideOthersIconSelector(this); showIconSelector(this)"> | |
2 | + <%= hidden_field_tag 'block[links][][icon]', icon %> | |
3 | + <span class='icon-<%= icon %>' style='display:block; width:16px; height:16px;'></span> | |
4 | + <div class="icon-selector" style='display:none;'> | |
5 | + <%= @block.icons_options %> | |
6 | + </div> | |
7 | +</div> | ... | ... |
app/views/box_organizer/_link_list_block.rhtml
... | ... | @@ -4,15 +4,21 @@ |
4 | 4 | <tr><th><%= _('Icon') %></th><th><%= _('Name') %></th><th><%= _('Address') %></th></tr> |
5 | 5 | <% for link in @block.links do %> |
6 | 6 | <tr> |
7 | - <td><%= select_tag 'block[links][][icon]', @block.icons_options(link['icon']) %></td> | |
8 | - <td><%= text_field_tag 'block[links][][name]', link[:name], :maxlength => 20 %></td> | |
9 | - <td class='cel-address'><%= text_field_tag 'block[links][][address]', link[:address] %></td> | |
7 | + <td> | |
8 | + <%= icon_selector(link['icon']) %> | |
9 | + </td> | |
10 | + <td><%= text_field_tag 'block[links][][name]', link[:name], :class => 'link-name', :maxlength => 20 %></td> | |
11 | + <td class='cel-address'><%= text_field_tag 'block[links][][address]', link[:address], :class => 'link-address' %></td> | |
10 | 12 | </tr> |
11 | 13 | <% end %> |
12 | 14 | </table> |
13 | 15 | </div> |
14 | 16 | |
15 | 17 | <%= link_to_function(_('New link'), nil, :class => 'button icon-add with-text') do |page| |
16 | - page.insert_html :bottom, 'links', content_tag('tr', content_tag('td', select_tag('block[links][][icon]', @block.icons_options)) + content_tag('td',text_field_tag('block[links][][name]', '', :maxlength => 20)) + content_tag('td',text_field_tag('block[links][][address]', nil, :class => 'cel-address'))) + | |
18 | + page.insert_html :bottom, 'links', content_tag('tr', | |
19 | + content_tag('td', icon_selector('ok')) + | |
20 | + content_tag('td', text_field_tag('block[links][][name]', '', :maxlength => 20)) + | |
21 | + content_tag('td', text_field_tag('block[links][][address]', nil, :class => 'cel-address')) | |
22 | + ) + | |
17 | 23 | javascript_tag("$('edit-link-list-block').scrollTop = $('edit-link-list-block').scrollHeight") |
18 | 24 | end %> | ... | ... |
config/cucumber.yml
... | ... | @@ -0,0 +1,22 @@ |
1 | +Feature: edit_block_of_links | |
2 | + As a profile owner | |
3 | + I want to edit a block of links | |
4 | + | |
5 | + Background: | |
6 | + Given I am on the homepage | |
7 | + And the following users | |
8 | + | login | name | | |
9 | + | eddievedder | Eddie Vedder | | |
10 | + And the following blocks | |
11 | + | owner | type | | |
12 | + | eddievedder | LinkListBlock | | |
13 | + And I am logged in as "eddievedder" | |
14 | + | |
15 | + @selenium | |
16 | + Scenario: show the icon selector | |
17 | + And I follow "Edit sideboxes" | |
18 | + Given I follow "Edit" within ".link-list-block" | |
19 | + And I follow "New link" | |
20 | + And the ".icon-selector" should not be visible | |
21 | + When I click ".icon" | |
22 | + Then the ".icon-selector" should be visible | ... | ... |
... | ... | @@ -0,0 +1,21 @@ |
1 | +require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths")) | |
2 | + | |
3 | +def string_to_element_locator(selector) | |
4 | + if selector.gsub!(/^\./, '') | |
5 | + "css=[class='#{selector}']" | |
6 | + else | |
7 | + raise "I can't find '#{selector}'!" | |
8 | + end | |
9 | +end | |
10 | + | |
11 | +Then /^the "([^\"]*)" should be visible$/ do |selector| | |
12 | + selenium.is_visible(string_to_element_locator(selector)).should be_true | |
13 | +end | |
14 | + | |
15 | +Then /^the "([^\"]*)" should not be visible$/ do |selector| | |
16 | + selenium.is_visible(string_to_element_locator(selector)).should be_false | |
17 | +end | |
18 | + | |
19 | +When /^I click "([^\"]*)"$/ do |selector| | |
20 | + selenium.click(string_to_element_locator(selector)) | |
21 | +end | ... | ... |
features/support/paths.rb
... | ... | @@ -18,10 +18,11 @@ module NavigationHelpers |
18 | 18 | article_id = Person[$2].articles.find_by_slug($1.to_slug).id |
19 | 19 | "/myprofile/#{$2}/cms/edit/#{article_id}" |
20 | 20 | |
21 | - when /edit BlogArchivesBlock of (.+)/ | |
22 | - owner = Profile[$1] | |
23 | - block = BlogArchivesBlock.find(:all).select{|i| i.owner == owner}.first | |
24 | - "/myprofile/#{$1}/profile_design/edit/#{block.id}" | |
21 | + when /edit (.*Block) of (.+)/ | |
22 | + owner = Profile[$2] | |
23 | + klass = $1.constantize | |
24 | + block = klass.find(:all).select{|i| i.owner == owner}.first | |
25 | + "/myprofile/#{$2}/profile_design/edit/#{block.id}" | |
25 | 26 | |
26 | 27 | when /^(.*)'s homepage$/ |
27 | 28 | '/%s' % Profile.find_by_name($1).identifier | ... | ... |
lib/tasks/cucumber.rake
... | ... | @@ -23,6 +23,12 @@ begin |
23 | 23 | t.cucumber_opts = "--color --tags @wip:2 --wip --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" |
24 | 24 | end |
25 | 25 | |
26 | + Cucumber::Rake::Task.new({:selenium => 'db:test:prepare'}, 'Run features with selenium') do |t| | |
27 | + t.binary = vendored_cucumber_binary | |
28 | + t.fork = true # You may get faster startup if you set this to false | |
29 | + t.cucumber_opts = "--color -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" | |
30 | + end | |
31 | + | |
26 | 32 | desc 'Run all features' |
27 | 33 | task :all => [:ok, :wip] |
28 | 34 | end | ... | ... |
public/javascripts/application.js
... | ... | @@ -78,3 +78,24 @@ function disable_button(button) { |
78 | 78 | button.disable(); |
79 | 79 | button.addClassName("disabled"); |
80 | 80 | } |
81 | + | |
82 | +/* ICON SELECTOR - LinkListBlock */ | |
83 | + | |
84 | +function showIconSelector(main_div) { | |
85 | + iconSelector = jQuery(main_div).children('.icon-selector')[0]; | |
86 | + jQuery(iconSelector).toggle(); | |
87 | +} | |
88 | + | |
89 | +function changeIcon(iconSelected, iconName) { | |
90 | + iconSelector = iconSelected.parentNode; | |
91 | + setTimeout('iconSelector.style.display = "none"', 100); | |
92 | + main_div = iconSelector.parentNode; | |
93 | + span = main_div.getElementsByTagName('span')[0]; | |
94 | + span.className = iconSelected.className; | |
95 | + iconInput = main_div.getElementsByTagName('input')[0]; | |
96 | + iconInput.value = iconName; | |
97 | +} | |
98 | + | |
99 | +function hideOthersIconSelector(current_div) { | |
100 | + jQuery('.icon-selector').not(jQuery(current_div).children('.icon-selector')).hide(); | |
101 | +} | ... | ... |
public/javascripts/lightbox.js
public/javascripts/tinymce/jscripts/tiny_mce/langs/es.js
0 → 100644
... | ... | @@ -0,0 +1,172 @@ |
1 | +tinyMCE.addI18n({es:{ | |
2 | +common:{ | |
3 | +edit_confirm:" \u00BFDesea utilizar el modo WYSIWYG para esta caja de texto?", | |
4 | +apply:"Aplicar", | |
5 | +insert:"Insertar", | |
6 | +update:"Actualizar", | |
7 | +cancel:"Cancelar", | |
8 | +close:"Cerrar", | |
9 | +browse:"Examinar", | |
10 | +class_name:"Clase", | |
11 | +not_set:"-- Ninguno --", | |
12 | +clipboard_msg:"Copiar/Cortar/Pegar no se encuentra disponible en Mozilla y Firefox.\n \u00BFDesea obtener m\u00E1s informaci\u00F3n acerca de este tema?", | |
13 | +clipboard_no_support:"Su navegador no soporta las funciones de cortapapeles, use los accesos por teclado.", | |
14 | +popup_blocked:"Lo sentimos, su bloqueo de ventanas emergentes ha deshabilitado una ventana que provee funcionalidades a la aplicaci\u00F3n. Necesita deshabilitar este bloqueo en este sitio para poder utilizar todas las funciones.", | |
15 | +invalid_data:"Error: Introdujo un valor no v\u00E1lido, est\u00E1n marcados en rojo.", | |
16 | +more_colors:"M\u00E1s colores" | |
17 | +}, | |
18 | +contextmenu:{ | |
19 | +align:"Alineaci\u00F3n", | |
20 | +left:"Izquierda", | |
21 | +center:"Centrado", | |
22 | +right:"Derecha", | |
23 | +full:"Justificado" | |
24 | +}, | |
25 | +insertdatetime:{ | |
26 | +date_fmt:"%d-%m-%Y", | |
27 | +time_fmt:"%H:%M:%S", | |
28 | +insertdate_desc:"Insertar fecha", | |
29 | +inserttime_desc:"Insertar hora", | |
30 | +months_long:"Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre", | |
31 | +months_short:"Ene,Feb,Mar,Abr,May,Jun,Jul,Ago,Sep,Oct,Nov,Dic", | |
32 | +day_long:"Domingo,Lunes,Martes,Mi\u00E9rcoles,Jueves,Viernes,S\u00E1bado,Domingo", | |
33 | +day_short:"Dom,Lun,Mar,Mie,Jue,Vie,Sab,Dom" | |
34 | +}, | |
35 | +print:{ | |
36 | +print_desc:"Imprimir" | |
37 | +}, | |
38 | +preview:{ | |
39 | +preview_desc:"Vista previa" | |
40 | +}, | |
41 | +directionality:{ | |
42 | +ltr_desc:"Direcci\u00F3n izquierda a derecha", | |
43 | +rtl_desc:"Direcci\u00F3n derecha a izquierda" | |
44 | +}, | |
45 | +layer:{ | |
46 | +insertlayer_desc:"Insertar nueva capa", | |
47 | +forward_desc:"Avanzar", | |
48 | +backward_desc:"Retroceder", | |
49 | +absolute_desc:"Cambiar a posici\u00F3n absoluta", | |
50 | +content:"Nueva capa..." | |
51 | +}, | |
52 | +save:{ | |
53 | +save_desc:"Guardar", | |
54 | +cancel_desc:"Cancelar todos los cambios" | |
55 | +}, | |
56 | +nonbreaking:{ | |
57 | +nonbreaking_desc:"Insertar caracter de espacio 'non-breaking'" | |
58 | +}, | |
59 | +iespell:{ | |
60 | +iespell_desc:"Corrector ortogr\u00E1fico", | |
61 | +download:"No se detect\u00F3 'ieSpell'. \u00BFDesea instalarlo ahora?" | |
62 | +}, | |
63 | +advhr:{ | |
64 | +advhr_desc:"Regla horizontal" | |
65 | +}, | |
66 | +emotions:{ | |
67 | +emotions_desc:"Emoticones" | |
68 | +}, | |
69 | +searchreplace:{ | |
70 | +search_desc:"Buscar", | |
71 | +replace_desc:"Buscar/Reemplazar" | |
72 | +}, | |
73 | +advimage:{ | |
74 | +image_desc:"Insertar/editar imagen" | |
75 | +}, | |
76 | +advlink:{ | |
77 | +link_desc:"Insertar/editar hiperv\u00EDnculo" | |
78 | +}, | |
79 | +xhtmlxtras:{ | |
80 | +cite_desc:"Cita", | |
81 | +abbr_desc:"Abreviatura", | |
82 | +acronym_desc:"Acr\u00F3nimo", | |
83 | +del_desc:"Borrado", | |
84 | +ins_desc:"Inserci\u00F3n", | |
85 | +attribs_desc:"Insertar/Editar atributos" | |
86 | +}, | |
87 | +style:{ | |
88 | +desc:"Editar Estilo CSS" | |
89 | +}, | |
90 | +paste:{ | |
91 | +paste_text_desc:"Pegar como texto plano", | |
92 | +paste_word_desc:"Pegar desde Word", | |
93 | +selectall_desc:"Elegir todo", | |
94 | +plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.", | |
95 | +plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode." | |
96 | +}, | |
97 | +paste_dlg:{ | |
98 | +text_title:"Use CTRL+V en su teclado para pegar el texto en la ventana.", | |
99 | +text_linebreaks:"Keep linebreaks", | |
100 | +word_title:"Use CTRL+V en su teclado para pegar el texto en la ventana." | |
101 | +}, | |
102 | +table:{ | |
103 | +desc:"Inserta una nueva tabla", | |
104 | +row_before_desc:"Insertar fila (antes)", | |
105 | +row_after_desc:"Insertar fila (despu\u00E9s)", | |
106 | +delete_row_desc:"Suprimir fila", | |
107 | +col_before_desc:"Insertar columna (antes)", | |
108 | +col_after_desc:"Insertar columna (despu\u00E9s)", | |
109 | +delete_col_desc:"Suprimir columna", | |
110 | +split_cells_desc:"Dividir celdas", | |
111 | +merge_cells_desc:"Vincular celdas", | |
112 | +row_desc:"Propiedades de la fila", | |
113 | +cell_desc:"Propiedades de la celda", | |
114 | +props_desc:"Propiedades de la tabla", | |
115 | +paste_row_before_desc:"Pegar filas (antes)", | |
116 | +paste_row_after_desc:"Pegar filas (despu\u00E9s)", | |
117 | +cut_row_desc:"Cortar fila", | |
118 | +copy_row_desc:"Copiar fila", | |
119 | +del:"Eliminar tabla", | |
120 | +row:"Fila", | |
121 | +col:"Columna", | |
122 | +cell:"Celda" | |
123 | +}, | |
124 | +autosave:{ | |
125 | +unload_msg:"Los cambios realizados se perder\u00E1n si sale de esta p\u00E1gina.", | |
126 | +restore_content:"Reestablecer contenido guardado autom\u00E1ticamente", | |
127 | +warning_message:"Se reestablece en contenido guardado, perder\u00E1 todo el contenido que est\u00E1 actualmente en el editor.\n\nEst\u00E1 seguro de que quiere reestablecer el contenido guardado." | |
128 | +}, | |
129 | +fullscreen:{ | |
130 | +desc:"Cambiar a modo Pantalla Completa" | |
131 | +}, | |
132 | +media:{ | |
133 | +desc:"Insertar/editar medio embebido", | |
134 | +edit:"Editar medio embebido" | |
135 | +}, | |
136 | +fullpage:{ | |
137 | +desc:"Propiedades del documento", | |
138 | +delta_width:"Ancho", | |
139 | +delta_height:"Alto" | |
140 | +}, | |
141 | +template:{ | |
142 | +desc:"Insertar contenido de plantilla predefinida" | |
143 | +}, | |
144 | +visualchars:{ | |
145 | +desc:"Caracteres de control ON/OFF." | |
146 | +}, | |
147 | +spellchecker:{ | |
148 | +desc:"Cambiar a corrector ortogr\u00E1fico", | |
149 | +menu:"Configuraci\u00F3n de corrector ortogr\u00E1fico", | |
150 | +ignore_word:"Ignorar", | |
151 | +ignore_words:"Ignorar todo", | |
152 | +langs:"Idiomas", | |
153 | +wait:"Espere...", | |
154 | +sug:"Sugerencias", | |
155 | +no_sug:"Sin sugerencias", | |
156 | +no_mpell:"No se encontraron errores." | |
157 | +}, | |
158 | +pagebreak:{ | |
159 | +desc:"Insertar fin de p\u00E1gina" | |
160 | +}, | |
161 | +advlist:{ | |
162 | +types:"Tipo", | |
163 | +def:"Preestablecido", | |
164 | +lower_alpha:"Menos opaco", | |
165 | +lower_greek:"Menos greek", | |
166 | +lower_roman:"Menos roman", | |
167 | +upper_alpha:"M\u00E1s opaco", | |
168 | +upper_roman:"M\u00E1s roman", | |
169 | +circle:"Circulo", | |
170 | +disc:"Disc", | |
171 | +square:"Cuadro" | |
172 | +}}}); | |
0 | 173 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/advhr/langs/es_dlg.js
0 → 100644
public/javascripts/tinymce/jscripts/tiny_mce/plugins/advimage/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,43 @@ |
1 | +tinyMCE.addI18n('es.advimage_dlg',{ | |
2 | +tab_general:"General", | |
3 | +tab_appearance:"Apariencia", | |
4 | +tab_advanced:"Avanzado", | |
5 | +general:"General", | |
6 | +title:"T\u00EDtulo", | |
7 | +preview:"Vista previa", | |
8 | +constrain_proportions:"Bloquear relaci\u00F3n de aspecto", | |
9 | +langdir:"Direcci\u00F3n del lenguaje", | |
10 | +langcode:"C\u00F3digo del lenguaje", | |
11 | +long_desc:"V\u00EDnculo para descripci\u00F3n larga", | |
12 | +style:"Estilos", | |
13 | +classes:"Clases", | |
14 | +ltr:"Izquierda a derecha", | |
15 | +rtl:"Derecha a izquierda", | |
16 | +id:"Id", | |
17 | +map:"Mapa de imagen", | |
18 | +swap_image:"Intercambiar imagen", | |
19 | +alt_image:"Imagen alternativa", | |
20 | +mouseover:"para mouseover", | |
21 | +mouseout:"para mouseout", | |
22 | +misc:"Miscel\u00E1neo", | |
23 | +example_img:"Vista previa de la imagen", | |
24 | +missing_alt:" \u00BFEsta seguro de continuar sin introducir una descripci\u00F3n a la imagen? Sin ella puede no ser accesible para usuarios con discapacidades, o para aquellos que usen navegadores de modo texto, o tengan deshabilitadas las im\u00E1genes de la p\u00E1gina.", | |
25 | +dialog_title:"Insertar/editar imagen", | |
26 | +src:"URL de la imagen", | |
27 | +alt:"Descripci\u00F3n de la imagen", | |
28 | +list:"Lista de imagen", | |
29 | +border:"Bordes", | |
30 | +dimensions:"Dimensiones", | |
31 | +vspace:"Espacio vertical", | |
32 | +hspace:"Espacio horizontal", | |
33 | +align:"Alineaci\u00F3n", | |
34 | +align_baseline:"L\u00EDnea base", | |
35 | +align_top:"Arriba", | |
36 | +align_middle:"Medio", | |
37 | +align_bottom:"Debajo", | |
38 | +align_texttop:"Texto arriba", | |
39 | +align_textbottom:"Texto abajo", | |
40 | +align_left:"Izquierda", | |
41 | +align_right:"Derecha", | |
42 | +image_list:"Lista de imagen" | |
43 | +}); | |
0 | 44 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/advlink/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,52 @@ |
1 | +tinyMCE.addI18n('es.advlink_dlg',{ | |
2 | +title:"Insertar/editar hiperv\u00EDnculo", | |
3 | +url:"URL del hiperv\u00EDnculo", | |
4 | +target:"Destino", | |
5 | +titlefield:"T\u00EDtulo", | |
6 | +is_email:"La URL que ha introducido parece ser una direci\u00F3n de correo, \u00BFdesea agregar el prefijo mailto: necesario?", | |
7 | +is_external:"La URL que ha introducido parece ser un v\u00EDnculo externo, \u00BFdesea agregar el prefijo http:// necesario?", | |
8 | +list:"Lista de v\u00EDnculos", | |
9 | +general_tab:"General", | |
10 | +popup_tab:"Ventana emergente", | |
11 | +events_tab:"Eventos", | |
12 | +advanced_tab:"Avanzado", | |
13 | +general_props:"Propiedades generales", | |
14 | +popup_props:"Propiedades de ventanas emergentes", | |
15 | +event_props:"Eventos", | |
16 | +advanced_props:"Propiedades avanzadas", | |
17 | +popup_opts:"Opciones", | |
18 | +anchor_names:"Anclas", | |
19 | +target_same:"Abrir en esta ventana / marco", | |
20 | +target_parent:"Abrir en ventana padre / marco", | |
21 | +target_top:"Abrir en el marco superior (reemplaza todos los marcos)", | |
22 | +target_blank:"Abrir en ventana nueva", | |
23 | +popup:"Javascript popup", | |
24 | +popup_url:"URL de la ventana emergente", | |
25 | +popup_name:"Nombre de la ventana", | |
26 | +popup_return:"Insertar 'return false'", | |
27 | +popup_scrollbars:"Barras de desplazamiento", | |
28 | +popup_statusbar:"Barra de estado", | |
29 | +popup_toolbar:"Barra de herramientas", | |
30 | +popup_menubar:"Barra de men\u00FA", | |
31 | +popup_location:"Barra de localizaci\u00F3n", | |
32 | +popup_resizable:"Permitir cambiar el tama\u00F1o de la ventana", | |
33 | +popup_dependent:"Dependientes (s\u00F3lo Mozilla/Firefox)", | |
34 | +popup_size:"Tama\u00F1o", | |
35 | +popup_position:"Posici\u00F3n (X/Y)", | |
36 | +id:"Id", | |
37 | +style:"Estilo", | |
38 | +classes:"Clases", | |
39 | +target_name:"Nombre del Target", | |
40 | +langdir:"Direcci\u00F3n del lenguaje", | |
41 | +target_langcode:"Lenguaje del Target", | |
42 | +langcode:"C\u00F3digo del lenguaje", | |
43 | +encoding:"Codificaci\u00F3n de caracteres del Target", | |
44 | +mime:"Tipo MIME del Target", | |
45 | +rel:"Relaci\u00F3n p\u00E1gina a target", | |
46 | +rev:"Relaci\u00F3n target a p\u00E1gina", | |
47 | +tabindex:"Indice de tabulaci\u00F3n", | |
48 | +accesskey:"Tecla de acceso", | |
49 | +ltr:"Izquierda a derecha", | |
50 | +rtl:"Derecha a izquierda", | |
51 | +link_list:"Lista de v\u00EDnculo" | |
52 | +}); | |
0 | 53 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/emotions/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,20 @@ |
1 | +tinyMCE.addI18n('es.emotions_dlg',{ | |
2 | +title:"Insertar emoticon", | |
3 | +desc:"Emoticones", | |
4 | +cool:"Todo bien", | |
5 | +cry:"Llora", | |
6 | +embarassed:"Verg\u00FCenza", | |
7 | +foot_in_mouth:"Pie en la boca", | |
8 | +frown:"Triste", | |
9 | +innocent:"Inocente", | |
10 | +kiss:"Beso", | |
11 | +laughing:"Risa", | |
12 | +money_mouth:"Dinero boca", | |
13 | +sealed:"Sellado", | |
14 | +smile:"Sonrisa", | |
15 | +surprised:"Sorprendido", | |
16 | +tongue_out:"Lengua fuera", | |
17 | +undecided:"Indeciso", | |
18 | +wink:"Gui\u00F1o", | |
19 | +yell:"Enfadado" | |
20 | +}); | |
0 | 21 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,85 @@ |
1 | +tinyMCE.addI18n('es.fullpage_dlg',{ | |
2 | +title:"Propiedades del documento", | |
3 | +meta_tab:"General", | |
4 | +appearance_tab:"Apariencia", | |
5 | +advanced_tab:"Avanzado", | |
6 | +meta_props:"Informaci\u00F3n Meta", | |
7 | +langprops:"Lenguaje y codificaci\u00F3n", | |
8 | +meta_title:"T\u00EDtulo", | |
9 | +meta_keywords:"Palabras clave", | |
10 | +meta_description:"Descripci\u00F3n", | |
11 | +meta_robots:"Robots", | |
12 | +doctypes:"Tipo de doc.", | |
13 | +langcode:"C\u00F3digo del lenguaje", | |
14 | +langdir:"Direcci\u00F3n del lenguaje", | |
15 | +ltr:"Izquierda a derecha", | |
16 | +rtl:"Derecha a izquierda", | |
17 | +xml_pi:"Declaraci\u00F3n XML", | |
18 | +encoding:"Codificaci\u00F3n de caracteres", | |
19 | +appearance_bgprops:"Propiedades del fondo", | |
20 | +appearance_marginprops:"M\u00E1rgenes", | |
21 | +appearance_linkprops:"Colores del v\u00EDnculo", | |
22 | +appearance_textprops:"Propiedades de texto", | |
23 | +bgcolor:"Color de fondo", | |
24 | +bgimage:"Imagen de fondo", | |
25 | +left_margin:"Margen izquierdo", | |
26 | +right_margin:"Margen derecho", | |
27 | +top_margin:"Margen superior", | |
28 | +bottom_margin:"Margen inferior", | |
29 | +text_color:"Color del texto", | |
30 | +font_size:"Tama\u00F1o de fuente", | |
31 | +font_face:"Fuente", | |
32 | +link_color:"Color de v\u00EDnculo", | |
33 | +hover_color:"Color rat\u00F3n encima", | |
34 | +visited_color:"Color visitado", | |
35 | +active_color:"Color activo", | |
36 | +textcolor:"Color", | |
37 | +fontsize:"Tama\u00F1o de fuente", | |
38 | +fontface:"Fuente", | |
39 | +meta_index_follow:"Indexar y seguir los v\u00EDnculos", | |
40 | +meta_index_nofollow:"Indexar y no seguir los v\u00EDnculos", | |
41 | +meta_noindex_follow:"No indexar pero seguir v\u00EDnculos", | |
42 | +meta_noindex_nofollow:"No indexar y no seguir v\u00EDnculos", | |
43 | +appearance_style:"Propiedades de hoja de estilos y estilo", | |
44 | +stylesheet:"Hoja de estilo", | |
45 | +style:"Estilo", | |
46 | +author:"Autor", | |
47 | +copyright:"Copyright", | |
48 | +add:"Agregar nuevo elemento", | |
49 | +remove:"Eliminar elemento seleccionado", | |
50 | +moveup:"Mover elemento seleccionado hacia arriba", | |
51 | +movedown:"Mover elemento seleccionado hacia abajo", | |
52 | +head_elements:"Elemento Head", | |
53 | +info:"Informaci\u00F3n", | |
54 | +add_title:"Elemento Title", | |
55 | +add_meta:"Elemento Meta", | |
56 | +add_script:"Elemento Script", | |
57 | +add_style:"Elemento Style", | |
58 | +add_link:"Elemento Link", | |
59 | +add_base:"Elemento Base", | |
60 | +add_comment:"Nodo Comment", | |
61 | +title_element:"Elemento Title", | |
62 | +script_element:"Elemento Script", | |
63 | +style_element:"Elemento Style", | |
64 | +base_element:"Elemento Base", | |
65 | +link_element:"Elemento Link", | |
66 | +meta_element:"Elemento Meta", | |
67 | +comment_element:"Comentario", | |
68 | +src:"Src", | |
69 | +language:"Lenguaje", | |
70 | +href:"Href", | |
71 | +target:"Target", | |
72 | +type:"Tipo", | |
73 | +charset:"Charset", | |
74 | +defer:"Defer", | |
75 | +media:"Medio", | |
76 | +properties:"Propiedades", | |
77 | +name:"Nombre", | |
78 | +value:"Valor", | |
79 | +content:"Contenido", | |
80 | +rel:"Rel", | |
81 | +rev:"Rev", | |
82 | +hreflang:"Href lang", | |
83 | +general_props:"General", | |
84 | +advanced_props:"Avanzado" | |
85 | +}); | |
0 | 86 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/media/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,103 @@ |
1 | +tinyMCE.addI18n('es.media_dlg',{ | |
2 | +title:"Insertar/editar medio embebido", | |
3 | +general:"General", | |
4 | +advanced:"Avanzado", | |
5 | +file:"Archivo/URL", | |
6 | +list:"Lista", | |
7 | +size:"Dimensiones", | |
8 | +preview:"Vista Previa", | |
9 | +constrain_proportions:"Bloquear relaci\u00F3n de aspecto", | |
10 | +type:"Tipo", | |
11 | +id:"Id", | |
12 | +name:"Nombre", | |
13 | +class_name:"Clase", | |
14 | +vspace:"V-Space", | |
15 | +hspace:"H-Space", | |
16 | +play:"Comienzo Autom\u00E1tico", | |
17 | +loop:"Repetitivo", | |
18 | +menu:"Mostrar Men\u00FA", | |
19 | +quality:"Calidad", | |
20 | +scale:"Scale", | |
21 | +align:"Alineaci\u00F3n", | |
22 | +salign:"SAlign", | |
23 | +wmode:"WMode", | |
24 | +bgcolor:"Fondo", | |
25 | +base:"Base", | |
26 | +flashvars:"Flashvars", | |
27 | +liveconnect:"SWLiveConnect", | |
28 | +autohref:"AutoHREF", | |
29 | +cache:"Cach\u00E9", | |
30 | +hidden:"Hidden", | |
31 | +controller:"Controller", | |
32 | +kioskmode:"Kiosk mode", | |
33 | +playeveryframe:"Reproducir todo los frames", | |
34 | +targetcache:"Target cache", | |
35 | +correction:"Sin correci\u00F3n", | |
36 | +enablejavascript:"Habilitar JavaScript", | |
37 | +starttime:"Inicio", | |
38 | +endtime:"Fin", | |
39 | +href:"Href", | |
40 | +qtsrcchokespeed:"Vel. de choque", | |
41 | +target:"Target", | |
42 | +volume:"Volumen", | |
43 | +autostart:"Comienzo Autom\u00E1tico", | |
44 | +enabled:"Habilitado", | |
45 | +fullscreen:"Pantalla Completa", | |
46 | +invokeurls:"Invocar URLs", | |
47 | +mute:"Silencio", | |
48 | +stretchtofit:"Estirar para ajustar", | |
49 | +windowlessvideo:"Video sin ventana", | |
50 | +balance:"Balance", | |
51 | +baseurl:"URL Base", | |
52 | +captioningid:"Captioning id", | |
53 | +currentmarker:"Marcador actual", | |
54 | +currentposition:"Posici\u00F3n actual", | |
55 | +defaultframe:"Frame predet.", | |
56 | +playcount:"Cuantas reproducciones", | |
57 | +rate:"Ratio", | |
58 | +uimode:"Modo UI", | |
59 | +flash_options:"Opciones Flash", | |
60 | +qt_options:"Opciones Quicktime", | |
61 | +wmp_options:"Opciones Windows media player", | |
62 | +rmp_options:"Opciones Real media player", | |
63 | +shockwave_options:"Opciones Shockwave", | |
64 | +autogotourl:"Ir a URL autom\u00E1t.", | |
65 | +center:"Centrado", | |
66 | +imagestatus:"Estado de imagen", | |
67 | +maintainaspect:"Mantener aspecto", | |
68 | +nojava:"No java", | |
69 | +prefetch:"Preb\u00FAsqueda", | |
70 | +shuffle:"Aleatorio", | |
71 | +console:"Consola", | |
72 | +numloop:"N\u00FAm. repeticiones", | |
73 | +controls:"Controles", | |
74 | +scriptcallbacks:"Script callbacks", | |
75 | +swstretchstyle:"Estilo estiramiento", | |
76 | +swstretchhalign:"Alin. H. Estiramiento", | |
77 | +swstretchvalign:"Alin. V. Estiramiento", | |
78 | +sound:"Sonido", | |
79 | +progress:"Progreso", | |
80 | +qtsrc:"QT Src", | |
81 | +qt_stream_warn:"Los recursos rtsp de Streaming deber\u00EDan a\u00F1adirse en el campo QT Src de la pesta\u00F1a avanzada.\nAdem\u00E1s deber\u00EDa a\u00F1adir una versi\u00F3n no Streaming en el campo Src.", | |
82 | +align_top:"Arriba", | |
83 | +align_right:"Derecha", | |
84 | +align_bottom:"Debajo", | |
85 | +align_left:"Izquierda", | |
86 | +align_center:"Centrado", | |
87 | +align_top_left:"Arriba Izda.", | |
88 | +align_top_right:"Arriba Dcha.", | |
89 | +align_bottom_left:"Debajo Izda.", | |
90 | +align_bottom_right:"Debajo Dcha.", | |
91 | +flv_options:"Opciones Video Flash", | |
92 | +flv_scalemode:"Modo escalado", | |
93 | +flv_buffer:"Buffer", | |
94 | +flv_startimage:"Imagen inicio", | |
95 | +flv_starttime:"Tiempo inicio", | |
96 | +flv_defaultvolume:"Volumen predet.", | |
97 | +flv_hiddengui:"Ocultar GUI", | |
98 | +flv_autostart:"Inicio auto.", | |
99 | +flv_loop:"Repetitivo", | |
100 | +flv_showscalemodes:"Mostrar modos escala", | |
101 | +flv_smoothvideo:"Video suave", | |
102 | +flv_jscallback:"JS Callback" | |
103 | +}); | |
0 | 104 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/paste/langs/es_dlg.js
0 → 100644
public/javascripts/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,16 @@ |
1 | +tinyMCE.addI18n('es.searchreplace_dlg',{ | |
2 | +searchnext_desc:"Buscar de nuevo", | |
3 | +notfound:"La b\u00FAsqueda se ha completado. No se encontr\u00F3 el texto introducido.", | |
4 | +search_title:"Buscar", | |
5 | +replace_title:"Buscar/Reemplazar", | |
6 | +allreplaced:"Se ha reemplazado el texto.", | |
7 | +findwhat:"Qu\u00E9 buscar", | |
8 | +replacewith:"Reemplazar por", | |
9 | +direction:"Direcci\u00F3n", | |
10 | +up:"Arriba", | |
11 | +down:"Abajo", | |
12 | +mcase:"Min\u00FAs./May\u00FAs.", | |
13 | +findnext:"Buscar siguiente", | |
14 | +replace:"Reemplazar", | |
15 | +replaceall:"Reemplazar todo" | |
16 | +}); | |
0 | 17 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/style/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,63 @@ |
1 | +tinyMCE.addI18n('es.style_dlg',{ | |
2 | +title:"Editar Estilo CSS", | |
3 | +apply:"Aplicar", | |
4 | +text_tab:"Texto", | |
5 | +background_tab:"Fondo", | |
6 | +block_tab:"Bloque", | |
7 | +box_tab:"Caja", | |
8 | +border_tab:"Borde", | |
9 | +list_tab:"Lista", | |
10 | +positioning_tab:"Posici\u00F3n", | |
11 | +text_props:"Texto", | |
12 | +text_font:"Fuente", | |
13 | +text_size:"Tama\u00F1o", | |
14 | +text_weight:"Peso", | |
15 | +text_style:"Estilo", | |
16 | +text_variant:"Variante", | |
17 | +text_lineheight:"Ancho de la fila", | |
18 | +text_case:"Min\u00FAs./May\u00FAs.", | |
19 | +text_color:"Color", | |
20 | +text_decoration:"Decorativos", | |
21 | +text_overline:"Subrayado superior", | |
22 | +text_underline:"Subrayado", | |
23 | +text_striketrough:"Tachado", | |
24 | +text_blink:"Parpadeo", | |
25 | +text_none:"Ninguno", | |
26 | +background_color:"Color de fondo", | |
27 | +background_image:"Imagen de fondo", | |
28 | +background_repeat:"Repetici\u00F3n", | |
29 | +background_attachment:"Adjunto", | |
30 | +background_hpos:"Posici\u00F3n horizontal", | |
31 | +background_vpos:"Posici\u00F3n vertical", | |
32 | +block_wordspacing:"Espacio entre palabra", | |
33 | +block_letterspacing:"Espacio entre letra", | |
34 | +block_vertical_alignment:"Alineaci\u00F3n vertical", | |
35 | +block_text_align:"Alineaci\u00F3n del texto", | |
36 | +block_text_indent:"Sangr\u00EDa", | |
37 | +block_whitespace:"Espacio en blanco", | |
38 | +block_display:"Display", | |
39 | +box_width:"Ancho", | |
40 | +box_height:"Alto", | |
41 | +box_float:"Float", | |
42 | +box_clear:"Clear", | |
43 | +padding:"Padding", | |
44 | +same:"Lo mismo en todos", | |
45 | +top:"Arriba", | |
46 | +right:"Derecha", | |
47 | +bottom:"Debajo", | |
48 | +left:"Izquierda", | |
49 | +margin:"Margen", | |
50 | +style:"Estilo", | |
51 | +width:"Ancho", | |
52 | +height:"Alto", | |
53 | +color:"Color", | |
54 | +list_type:"Tipo", | |
55 | +bullet_image:"Imagen de la vi\u00F1eta", | |
56 | +position:"Posici\u00F3n", | |
57 | +positioning_type:"Tipo", | |
58 | +visibility:"Visibilidad", | |
59 | +zindex:"Z-index", | |
60 | +overflow:"Overflow", | |
61 | +placement:"Placement", | |
62 | +clip:"Clip" | |
63 | +}); | |
0 | 64 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/table/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,74 @@ |
1 | +tinyMCE.addI18n('es.table_dlg',{ | |
2 | +general_tab:"General", | |
3 | +advanced_tab:"Avanzado", | |
4 | +general_props:"Propiedades generales", | |
5 | +advanced_props:"Propiedades avanzadas", | |
6 | +rowtype:"Tipo de fila", | |
7 | +title:"Insertar/Modificar tabla", | |
8 | +width:"Ancho", | |
9 | +height:"Alto", | |
10 | +cols:"Cols", | |
11 | +rows:"Filas", | |
12 | +cellspacing:"Espaciado de celda", | |
13 | +cellpadding:"Relleno de celda", | |
14 | +border:"Borde", | |
15 | +align:"Alineaci\u00F3n", | |
16 | +align_default:"Predet.", | |
17 | +align_left:"Izquierda", | |
18 | +align_right:"Derecha", | |
19 | +align_middle:"Centrado", | |
20 | +row_title:"Propiedades de la fila", | |
21 | +cell_title:"Propiedades de la celda", | |
22 | +cell_type:"Tipo de celda", | |
23 | +valign:"Alineaci\u00F3n vertical", | |
24 | +align_top:"Arriba", | |
25 | +align_bottom:"Debajo", | |
26 | +bordercolor:"Color del borde", | |
27 | +bgcolor:"Color de fondo", | |
28 | +merge_cells_title:"Vincular celdas", | |
29 | +id:"Id", | |
30 | +style:"Estilo", | |
31 | +langdir:"Direcci\u00F3n del lenguaje", | |
32 | +langcode:"C\u00F3digo del lenguaje", | |
33 | +mime:"Tipo MIME", | |
34 | +ltr:"Izquierda a derecha", | |
35 | +rtl:"Derecha a izquierda", | |
36 | +bgimage:"Imagen de fondo", | |
37 | +summary:"Resumen", | |
38 | +td:"Datos", | |
39 | +th:"Encabezado", | |
40 | +cell_cell:"Actualizar celda actual", | |
41 | +cell_row:"Actualizar todas las celdas en la fila", | |
42 | +cell_all:"Actualizar todas las celdas en la tabla", | |
43 | +row_row:"Actualizar fila actual", | |
44 | +row_odd:"Actualizar filas impares", | |
45 | +row_even:"Actualizar filas pares", | |
46 | +row_all:"Actualizar todas las filas", | |
47 | +thead:"Encabezado de la tabla", | |
48 | +tbody:"Cuerpo de la tabla", | |
49 | +tfoot:"Pie de la tabla", | |
50 | +scope:"Alcance", | |
51 | +rowgroup:"Grupo de filas", | |
52 | +colgroup:"Grupo de columnas", | |
53 | +col_limit:"Ha superado el n\u00FAmero m\u00E1ximo de columnas: {$cols}.", | |
54 | +row_limit:"Ha superado el n\u00FAmero m\u00E1ximo de filas: {$rows}.", | |
55 | +cell_limit:"Ha superado el n\u00FAmero m\u00E1ximo de celdas: {$cells}.", | |
56 | +missing_scope:" \u00BFEst\u00E1 seguro que desea continuar sin especificar el alcance del encabezado de celda? Sin \u00E9l podr\u00EDa ser dificultoso para algunos usuarios entender el contenido o los datos mostrados en la tabla.", | |
57 | +caption:"Subt\u00EDtulo de la tabla", | |
58 | +frame:"Recuadro", | |
59 | +frame_none:"ninguno", | |
60 | +frame_groups:"grupos", | |
61 | +frame_rows:"filas", | |
62 | +frame_cols:"cols", | |
63 | +frame_all:"todos", | |
64 | +rules:"Reglas", | |
65 | +rules_void:"vac\u00EDo", | |
66 | +rules_above:"encima", | |
67 | +rules_below:"debajo", | |
68 | +rules_hsides:"hsides", | |
69 | +rules_lhs:"lhs", | |
70 | +rules_rhs:"rhs", | |
71 | +rules_vsides:"vsides", | |
72 | +rules_box:"box", | |
73 | +rules_border:"border" | |
74 | +}); | |
0 | 75 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/template/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,15 @@ |
1 | +tinyMCE.addI18n('es.template_dlg',{ | |
2 | +title:"Plantillas", | |
3 | +label:"Plantilla", | |
4 | +desc_label:"Descripci\u00F3n", | |
5 | +desc:"Insertar contenido de plantilla predefinida", | |
6 | +select:"Elegir plantilla", | |
7 | +preview:"Vista previa", | |
8 | +warning:"Cuidado: Actualizar una plantilla con otra puede causar p\u00E9rdida de datos.", | |
9 | +mdate_format:"%d-%m-%Y %H:%M:%S", | |
10 | +cdate_format:"%d-%m-%Y %H:%M:%S", | |
11 | +months_long:"Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre", | |
12 | +months_short:"Ene,Feb,Mar,Abr,May,Jun,Jul,Ago,Sep,Oct,Nov,Dic", | |
13 | +day_long:"Domingo,Lunes,Martes,Mi\u00E9rcoles,Jueves,Viernes,S\u00E1bado,Domingo", | |
14 | +day_short:"Dom,Lun,Mar,Mie,Jue,Vie,Sab,Dom" | |
15 | +}); | |
0 | 16 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,32 @@ |
1 | +tinyMCE.addI18n('es.xhtmlxtras_dlg',{ | |
2 | +attribute_label_title:"T\u00EDtulo", | |
3 | +attribute_label_id:"ID", | |
4 | +attribute_label_class:"Clase", | |
5 | +attribute_label_style:"Estilo", | |
6 | +attribute_label_cite:"Cita", | |
7 | +attribute_label_datetime:"Fecha/Hora", | |
8 | +attribute_label_langdir:"Direcci\u00F3n de texto", | |
9 | +attribute_option_ltr:"Izquierda a derecha", | |
10 | +attribute_option_rtl:"Derecha a izquierda", | |
11 | +attribute_label_langcode:"Lenguaje", | |
12 | +attribute_label_tabindex:"Orden de tabulaci\u00F3n", | |
13 | +attribute_label_accesskey:"Tecla de acceso", | |
14 | +attribute_events_tab:"Eventos", | |
15 | +attribute_attrib_tab:"Atributos", | |
16 | +general_tab:"General", | |
17 | +attrib_tab:"Atributos", | |
18 | +events_tab:"Eventos", | |
19 | +fieldset_general_tab:"Configuraci\u00F3n general", | |
20 | +fieldset_attrib_tab:"Atributos", | |
21 | +fieldset_events_tab:"Evento", | |
22 | +title_ins_element:"Insertar", | |
23 | +title_del_element:"Borrar", | |
24 | +title_acronym_element:"Acr\u00F3nimo", | |
25 | +title_abbr_element:"Abreviatura", | |
26 | +title_cite_element:"Cita", | |
27 | +remove:"Suprimir", | |
28 | +insert_date:"Insertar fecha/hora actuales", | |
29 | +option_ltr:"Izquierda a derecha", | |
30 | +option_rtl:"Derecha a izquierda", | |
31 | +attribs_title:"Insertar/Editar atributos" | |
32 | +}); | |
0 | 33 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js
0 → 100644
... | ... | @@ -0,0 +1,62 @@ |
1 | +tinyMCE.addI18n('es.advanced',{ | |
2 | +style_select:"Estilos", | |
3 | +font_size:"Tama\u00F1o", | |
4 | +fontdefault:"Fuente", | |
5 | +block:"Formato", | |
6 | +paragraph:"P\u00E1rrafo", | |
7 | +div:"Div", | |
8 | +address:"Direcci\u00F3n", | |
9 | +pre:"Preformateado", | |
10 | +h1:"Encabezado 1", | |
11 | +h2:"Encabezado 2", | |
12 | +h3:"Encabezado 3", | |
13 | +h4:"Encabezado 4", | |
14 | +h5:"Encabezado 5", | |
15 | +h6:"Encabezado 6", | |
16 | +blockquote:"Cita", | |
17 | +code:"C\u00F3digo", | |
18 | +samp:"Ejemplo de c\u00F3digo", | |
19 | +dt:"T\u00E9rmino de definici\u00F3n", | |
20 | +dd:"Descripci\u00F3n de definici\u00F3n", | |
21 | +bold_desc:"Negrita (Ctrl+B)", | |
22 | +italic_desc:"Cursiva (Ctrl+I)", | |
23 | +underline_desc:"Subrayado (Ctrl+U)", | |
24 | +striketrough_desc:"Tachado", | |
25 | +justifyleft_desc:"Alinear a la izquierda", | |
26 | +justifycenter_desc:"Alinear al centro", | |
27 | +justifyright_desc:"Alinear a la derecha", | |
28 | +justifyfull_desc:"Justificar", | |
29 | +bullist_desc:"Lista desordenada", | |
30 | +numlist_desc:"Lista ordenada", | |
31 | +outdent_desc:"Reducir sangr\u00EDa", | |
32 | +indent_desc:"Aumentar sangr\u00EDa", | |
33 | +undo_desc:"Deshacer (Ctrl+Z)", | |
34 | +redo_desc:"Rehacer (Ctrl+Y)", | |
35 | +link_desc:"Insertar/editar hiperv\u00EDnculo", | |
36 | +unlink_desc:"Quitar hiperv\u00EDnculo", | |
37 | +image_desc:"Insertar/editar imagen", | |
38 | +cleanup_desc:"Limpiar c\u00F3digo basura", | |
39 | +code_desc:"Editar c\u00F3digo HTML", | |
40 | +sub_desc:"Sub\u00EDndice", | |
41 | +sup_desc:"Super\u00EDndice", | |
42 | +hr_desc:"Insertar regla horizontal", | |
43 | +removeformat_desc:"Limpiar formato", | |
44 | +custom1_desc:"Su descripci\u00F3n personal aqu\u00ED", | |
45 | +forecolor_desc:"Elegir color del texto", | |
46 | +backcolor_desc:"Elegir color de fondo", | |
47 | +charmap_desc:"Insertar caracteres personalizados", | |
48 | +visualaid_desc:"Mostrar/ocultar l\u00EDnea de gu\u00EDa/elementos invisibles", | |
49 | +anchor_desc:"Insertar/editar ancla", | |
50 | +cut_desc:"Cortar", | |
51 | +copy_desc:"Copiar", | |
52 | +paste_desc:"Pegar", | |
53 | +image_props_desc:"Propiedades de imagen", | |
54 | +newdocument_desc:"Nuevo documento", | |
55 | +help_desc:"Ayuda", | |
56 | +blockquote_desc:"Cita", | |
57 | +clipboard_msg:"Copiar/Cortar/Pegar no se encuentra disponible en Mozilla y Firefox.\n \u00BFQuiere m\u00E1s informaci\u00F3n sobre este tema?", | |
58 | +path:"Ruta", | |
59 | +newdocument:" \u00BFSeguro que desea limpiar todo el contenido?", | |
60 | +toolbar_focus:"Ir a los botones de herramientas - Alt+Q, Ir al editor - Alt-Z, Ir a la ruta del elemento - Alt-X", | |
61 | +more_colors:"M\u00E1s colores" | |
62 | +}); | |
0 | 63 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/themes/advanced/langs/es_dlg.js
0 → 100644
... | ... | @@ -0,0 +1,51 @@ |
1 | +tinyMCE.addI18n('es.advanced_dlg',{ | |
2 | +about_title:"Acerca de TinyMCE", | |
3 | +about_general:"Acerca de ", | |
4 | +about_help:"Ayuda", | |
5 | +about_license:"Licencia", | |
6 | +about_plugins:"Complementos", | |
7 | +about_plugin:"Complemento", | |
8 | +about_author:"Autor", | |
9 | +about_version:"Versi\u00F3n", | |
10 | +about_loaded:"Complementos cargados", | |
11 | +anchor_title:"Insertar/editar ancla", | |
12 | +anchor_name:"Nombre del ancla", | |
13 | +code_title:"Editor del c\u00F3digo fuente HTML", | |
14 | +code_wordwrap:"Ajustar al margen", | |
15 | +colorpicker_title:"Elegir color", | |
16 | +colorpicker_picker_tab:"Selector", | |
17 | +colorpicker_picker_title:"Paleta de color", | |
18 | +colorpicker_palette_tab:"Paleta", | |
19 | +colorpicker_palette_title:"Paleta de colores", | |
20 | +colorpicker_named_tab:"Nombrados", | |
21 | +colorpicker_named_title:"Colores nombrados", | |
22 | +colorpicker_color:"Color:", | |
23 | +colorpicker_name:"Nombre:", | |
24 | +charmap_title:"Elegir caracter personalizado", | |
25 | +image_title:"Insertar/editar imagen", | |
26 | +image_src:"URL de la Imagen", | |
27 | +image_alt:"Descripci\u00F3n de la Imagen", | |
28 | +image_list:"Lista de la Imagen", | |
29 | +image_border:"Borde", | |
30 | +image_dimensions:"Dimensi\u00F3n", | |
31 | +image_vspace:"Espacio vertical", | |
32 | +image_hspace:"Espacio horizontal", | |
33 | +image_align:"Alineaci\u00F3n", | |
34 | +image_align_baseline:"L\u00EDnea base", | |
35 | +image_align_top:"Arriba", | |
36 | +image_align_middle:"Medio", | |
37 | +image_align_bottom:"Debajo", | |
38 | +image_align_texttop:"Texto arriba", | |
39 | +image_align_textbottom:"Texto debajo", | |
40 | +image_align_left:"Izquierda", | |
41 | +image_align_right:"Derecha", | |
42 | +link_title:"Insertar/editar hiperv\u00EDnculo", | |
43 | +link_url:"URL del hiperv\u00EDnculo", | |
44 | +link_target:"Destino", | |
45 | +link_target_same:"Abrir v\u00EDnculo en la misma ventana", | |
46 | +link_target_blank:"Abrir v\u00EDnculo en una ventana nueva", | |
47 | +link_titlefield:"T\u00EDtulo", | |
48 | +link_is_email:"La URL que introdujo parece ser una direcci\u00F3n de email, \u00BFdesea agregar el prefijo mailto: necesario?", | |
49 | +link_is_external:"La URL que introdujo parece ser un v\u00EDnculo externo, \u00BFdesea agregar el prefijo http:// necesario?", | |
50 | +link_list:"Lista de hiperv\u00EDnculos" | |
51 | +}); | |
0 | 52 | \ No newline at end of file | ... | ... |
public/javascripts/tinymce/jscripts/tiny_mce/themes/simple/langs/es.js
0 → 100644
... | ... | @@ -0,0 +1,11 @@ |
1 | +tinyMCE.addI18n('es.simple',{ | |
2 | +bold_desc:"Negrita (Ctrl+B)", | |
3 | +italic_desc:"Cursiva (Ctrl+I)", | |
4 | +underline_desc:"Subrayado (Ctrl+U)", | |
5 | +striketrough_desc:"Tachado", | |
6 | +bullist_desc:"Lista desordenada", | |
7 | +numlist_desc:"Lista ordenada", | |
8 | +undo_desc:"Deshacer (Ctrl+Z)", | |
9 | +redo_desc:"Rehacer (Ctrl+Y)", | |
10 | +cleanup_desc:"Limpiar c\u00F3digo basura" | |
11 | +}); | |
0 | 12 | \ No newline at end of file | ... | ... |
public/stylesheets/application.css
... | ... | @@ -1513,21 +1513,14 @@ input.disabled { |
1513 | 1513 | text-decoration: none; |
1514 | 1514 | } |
1515 | 1515 | |
1516 | - | |
1517 | 1516 | /* ==> blocks/link-list-block.css <<= */ |
1518 | - | |
1519 | -#edit-link-list-block { | |
1520 | - overflow: auto; | |
1521 | - overflow-x: hidden; | |
1522 | - height: 120px; | |
1523 | -} | |
1524 | 1517 | |
1525 | 1518 | #edit-link-list-block table { |
1526 | 1519 | width: 100%; |
1527 | 1520 | } |
1528 | 1521 | |
1529 | 1522 | #edit-link-list-block table .cel-address { |
1530 | - width: 180px; | |
1523 | + width: 220px; | |
1531 | 1524 | } |
1532 | 1525 | |
1533 | 1526 | #edit-link-list-block table .cel-address input { |
... | ... | @@ -1557,15 +1550,36 @@ input.disabled { |
1557 | 1550 | padding-left: 23px; |
1558 | 1551 | } |
1559 | 1552 | |
1560 | -#edit-link-list-block select { | |
1561 | - width: 80px; | |
1553 | +.icon-selector { | |
1554 | + background: #EEE; | |
1555 | + border: 1px solid #555; | |
1556 | + padding: 10px; | |
1557 | + width: 110px; | |
1558 | + height: 110px; | |
1559 | + position: absolute; | |
1560 | + z-index: 100; | |
1561 | +} | |
1562 | +.icon { | |
1563 | + border:1px solid #EEE; | |
1564 | +} | |
1565 | +.icon:hover { | |
1566 | + border: 1px solid black; | |
1567 | + cursor: pointer; | |
1568 | + background-color: #555; | |
1562 | 1569 | } |
1563 | 1570 | |
1564 | -#edit-link-list-block option { | |
1565 | - background-repeat: no-repeat; | |
1566 | - padding-left: 23px; | |
1567 | - margin: 2px; | |
1568 | - height: 16px; | |
1571 | +.icon-selector span { | |
1572 | + height:16px; | |
1573 | + width:16px; | |
1574 | + border:1px solid #555; | |
1575 | + margin:2px; | |
1576 | + display: block; | |
1577 | + float: left; | |
1578 | +} | |
1579 | + | |
1580 | +.icon-selector span:hover { | |
1581 | + border: 1px solid black; | |
1582 | + background-color: #555; | |
1569 | 1583 | } |
1570 | 1584 | |
1571 | 1585 | /* ==> blocks/profile-list-block.css <<= */ | ... | ... |
test/unit/link_list_block_test.rb
... | ... | @@ -43,7 +43,7 @@ class LinkListBlockTest < ActiveSupport::TestCase |
43 | 43 | should 'display options for icons' do |
44 | 44 | l = LinkListBlock.new |
45 | 45 | l.icons_options.each do |option| |
46 | - assert_match(/<option class='icon-.+' value='.+' (selected='1')?>[^<>]+<\/option>/, option) | |
46 | + assert_match(/<span class=\"icon-.+\" onclick=\"changeIcon\(this, '.+'\)\"><\/span>/, option) | |
47 | 47 | end |
48 | 48 | end |
49 | 49 | ... | ... |