Permalink
Browse files

Pathing Fixes for Javascript and CSS files; Spanish translation provi…

…ded by Gabriela Guarnerio
  • Loading branch information...
1 parent 48809d1 commit f26f720876efa87fdfb0502fb2b272a6df7bff56 @joshsten committed May 29, 2011
Showing with 46 additions and 9 deletions.
  1. +5 −4 README.rdoc
  2. +3 −3 assets/javascripts/main.js
  3. +2 −2 assets/stylesheets/main.css
  4. +18 −0 config/locales/es.yml
  5. +18 −0 lang/es.yml
View
@@ -26,9 +26,10 @@ I plan on reworking the entire Javascript implementation to be more efficient an
Turning on Query Caching may significantly improve efficiency.
I will try to get most of these features completed within next couple weeks.
-German Localization Provided by cforce (https://github.com/cforce)
-Russian Localization Provided by Garfeild (https://github.com/Garfeild)
-French Localization Provided by passaid (https://github.com/paissad)
-Brazilian-Portuguese Localization Provided by allisson (https://github.com/allisson)
+ - German Localization Provided by cforce (https://github.com/cforce)
+ - Russian Localization Provided by Garfeild (https://github.com/Garfeild)
+ - French Localization Provided by passaid (https://github.com/paissad)
+ - Brazilian-Portuguese Localization Provided by allisson (https://github.com/allisson)
+ - Spanish Localization Provied by Gabriela Guarnerio
I would like to thank all of you who have reported issues and bugs, and to apologize for my slow development. I hope I can commit much more time during winter break.
@@ -111,10 +111,10 @@ function submitMsg()
if (text=="") return;
$('txtMsg').value="";
var myAjax = new Ajax.Request(
- '/chat/send_chat',
+ redmineRootPath+'/chat/send_chat',
{method: 'post', parameters: {msg: text},
onSuccess: function(){
- new Ajax.Updater('chatMessages', '/chat/receive_chat',
+ new Ajax.Updater('chatMessages', redmineRootPath+'/chat/receive_chat',
{ method: 'post',
onSuccess: function(){
scrollChatNewest();
@@ -128,7 +128,7 @@ function refreshChat()
{
preContent='0';
initializer=2;
- new Ajax.PeriodicalUpdater('chatMessages', '/chat/receive_chat',
+ new Ajax.PeriodicalUpdater('chatMessages', redmineRootPath+'/chat/receive_chat',
{
method: 'post',
frequency: 5,
@@ -51,13 +51,13 @@
{
padding: 10px;
border-top: solid thin #EEEEEE;
- background: #FFF repeat-x bottom url('/plugin_assets/redmine_jchat/images/purp_gradient.png');
+ background: #FFF repeat-x bottom url('../images/purp_gradient.png');
}
.chatMessageTinted
{
padding: 10px;
border-top: solid thin #FFEEFF;
- background: #FFF repeat-x bottom url('/plugin_assets/redmine_jchat/images/orange_gradient.png');
+ background: #FFF repeat-x bottom url('../images/orange_gradient.png');
}
.chatMessageTinted:hover
{
View
@@ -0,0 +1,18 @@
+es:
+ # These are the captions for the setting dialog.
+ label_setting_messages_from_self_as_self: 'Mostrar "Yo" en el chat cuando el mensaje es propio.'
+ label_setting_color_messages_from_self: 'Colorear mensajes en otro color cuando son propios.'
+ label_setting_show_full_names: 'Mostrar nombre completo en la ventana de chat.'
+ label_setting_num_recent_messages: 'Numero de mensajes recientes en la ventana de chat'
+ label_setting_poll_frequency: 'Frecuencia de actualizacion de la ventana.'
+ label_settings_header: 'Algunas funciones pueden no estar disponible.'
+
+ # These captions are displayed in the name panel for each chat message. label_chat_self is only used if the option the first label describes is checked.
+ label_chat_self: 'Usted'
+ label_chat_says: 'dijó'
+
+ # Header displayed on the transcript page when a date is clicked in the chat frame.
+ label_transcript_header: 'Transcripciones'
+
+ # Main chat button caption.
+ label_chat_toggle_button: 'Chat'
View
@@ -0,0 +1,18 @@
+es:
+ # These are the captions for the setting dialog.
+ label_setting_messages_from_self_as_self: 'Mostrar "Yo" en el chat cuando el mensaje es propio.'
+ label_setting_color_messages_from_self: 'Colorear mensajes en otro color cuando son propios.'
+ label_setting_show_full_names: 'Mostrar nombre completo en la ventana de chat.'
+ label_setting_num_recent_messages: 'Numero de mensajes recientes en la ventana de chat'
+ label_setting_poll_frequency: 'Frecuencia de actualizacion de la ventana.'
+ label_settings_header: 'Algunas funciones pueden no estar disponible.'
+
+ # These captions are displayed in the name panel for each chat message. label_chat_self is only used if the option the first label describes is checked.
+ label_chat_self: 'Usted'
+ label_chat_says: 'dijó'
+
+ # Header displayed on the transcript page when a date is clicked in the chat frame.
+ label_transcript_header: 'Transcripciones'
+
+ # Main chat button caption.
+ label_chat_toggle_button: 'Chat'

0 comments on commit f26f720

Please sign in to comment.