Changeset 84


Ignore:
Timestamp:
10/18/07 16:23:22 (17 years ago)
Author:
wmerlotto
Message:

Internacionalização - Removido mais strings hardcoded.

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/contactcenter/inc/class.ui_api.inc.php

    r2 r84  
    4141                        $template->set_var('cc_email_id_type', $preferences['personCardEmail']); 
    4242                         
     43                         
    4344                        /* Messages */ 
    4445                        $template->set_var('cc_msg_err_invalid_catalog',lang('Unavailable or empty Catalog')); 
     
    230231                        $template->set_var('cc_contact_addrs',lang('Addresses')); 
    231232                        $template->set_var('cc_contact_conns',lang('Connections')); 
     233                        $template->set_var('emails_telephones', lang("E-Mails and Telephones")); 
     234 
    232235                        /* End Contact */ 
    233236                         
     
    311314                        /* End Contact - Addresses */ 
    312315                         
     316                         
    313317                        /* Contact - Connections */ 
    314318                        $template->set_var('cc_conn_type',lang('Type of Connection')); 
     
    320324                        $template->set_var('cc_conn_type_none',lang('Choose Type of Connection').'...'); 
    321325                        /* End Contact - Connections */ 
     326 
     327                        $template->set_var('email', lang("E-Mail")); 
     328                        $template->set_var('telephone', lang("Telephone")); 
     329                        $template->set_var('choose_email_telephone', lang("Choose 'E-Mail' or 'Telephone'")); 
    322330 
    323331                        $template->parse('out_full', 'full_add'); 
  • trunk/contactcenter/templates/default/full_add.tpl

    r2 r84  
    1313<input id="cc_contact_personal" type="hidden" value="{cc_contact_personal}"> 
    1414<input id="cc_contact_addrs" type="hidden" value="{cc_contact_addrs}"> 
    15 <input id="cc_contact_conns" type="hidden" value="E-mails e Telefones"> 
     15<input id="cc_contact_conns" type="hidden" value="{emails_telephones}"> 
    1616<input id="cc_pd_full_name" name="{cc_pd_full_name}" type="hidden"> 
    1717<input id="cc_pd_sex" name="{cc_pd_sex}" type="hidden"> 
     
    139139        <tbody> 
    140140                <tr class="th" width="100%" align="center" height="10px"> 
    141                         <td width="60px" noWrap><input type="radio"  name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();">E-mail</td> 
    142                         <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();">Telefone</td> 
    143                         <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1">Escolha 'Email' ou 'Telefone'</option></select></td> 
     141                        <td width="60px" noWrap><input type="radio"  name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();">{email}</td> 
     142                        <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();">{telephone}</td> 
     143                        <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1">{choose_email_telephone}</option></select></td> 
    144144                </tr> 
    145145                <tr class="row_off">                     
  • trunk/expressoMail1_2/js/draw_api.js

    r83 r84  
    21512151                 get_lang("List")+': '+ 
    21522152        '<span id="span_flag_SORTARRIVAL" style="'+(search_box_type == 'ALL' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("All")+'" class="message_options" onclick="if(\'ALL\' == \''+search_box_type+'\') return false;sort_box(\'ALL\',\''+sort_box_type+'\')">'+get_lang("all")+'</span>, '+ 
    2153         '<span id="span_flag_UNSEEN" style="'+(search_box_type == 'UNSEEN' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Unseen")+'" class="message_options" onclick="if(\'UNSEEN\' == \''+search_box_type+'\') return false;sort_box(\'UNSEEN\',\''+sort_box_type+'\')">'+get_lang("Unseen")+'s</span>, '+ 
    2154         '<span id="span_flag_SEEN" style="'+(search_box_type == 'SEEN' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Seen")+'" class="message_options" onclick="if(\'SEEN\' == \''+search_box_type+'\') return false;sort_box(\'SEEN\',\''+sort_box_type+'\')">'+get_lang("Seen")+'s</span>, '+ 
    2155         '<span id="span_flag_ANSWERED" style="'+(search_box_type == 'ANSWERED' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Answered")+'" class="message_options" onclick="if(\'ANSWERED\' == \''+search_box_type+'\') return false;sort_box(\'ANSWERED\',\''+sort_box_type+'\')">'+get_lang("answered").toLowerCase()+'s</span>, '+ 
    2156         '<span id="span_flag_FLAGGED" style="'+(search_box_type == 'FLAGGED' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("important")+'" class="message_options" onclick="if(\'FLAGGED\' == \''+search_box_type+'\') return false;sort_box(\'FLAGGED\',\''+sort_box_type+'\')">'+get_lang("important")+'s</span>&nbsp;&nbsp;'; 
     2153        '<span id="span_flag_UNSEEN" style="'+(search_box_type == 'UNSEEN' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Unseen")+'" class="message_options" onclick="if(\'UNSEEN\' == \''+search_box_type+'\') return false;sort_box(\'UNSEEN\',\''+sort_box_type+'\')">'+get_lang("Unseens")+'</span>, '+ 
     2154        '<span id="span_flag_SEEN" style="'+(search_box_type == 'SEEN' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Seen")+'" class="message_options" onclick="if(\'SEEN\' == \''+search_box_type+'\') return false;sort_box(\'SEEN\',\''+sort_box_type+'\')">'+get_lang("Seens")+'</span>, '+ 
     2155        '<span id="span_flag_ANSWERED" style="'+(search_box_type == 'ANSWERED' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("Answered")+'" class="message_options" onclick="if(\'ANSWERED\' == \''+search_box_type+'\') return false;sort_box(\'ANSWERED\',\''+sort_box_type+'\')">'+get_lang("answereds").toLowerCase()+'</span>, '+ 
     2156        '<span id="span_flag_FLAGGED" style="'+(search_box_type == 'FLAGGED' ? 'font-weight:bold;text-decoration:underline' : '')+'" title="'+get_lang("important")+'" class="message_options" onclick="if(\'FLAGGED\' == \''+search_box_type+'\') return false;sort_box(\'FLAGGED\',\''+sort_box_type+'\')">'+get_lang("importants")+'</span>&nbsp;&nbsp;'; 
    21572157        draw_paging(num_msgs); 
    21582158        Element("tot_m").innerHTML = num_msgs;   
  • trunk/preferences/inc/class.uiaclprefs2.inc.php

    r2 r84  
    168168                        $this->template->set_file($templates); 
    169169 
     170                        $this->template->set_var("users_list", lang("Users List")); 
     171                        $this->template->set_var("attributes", lang("Attributes")); 
     172                        $this->template->set_var("read", lang("Read"));  
     173                        $this->template->set_var("add", lang("Add")); 
     174                        $this->template->set_var("edit", lang("Edit")); 
     175                        $this->template->set_var("delete", lang("Delete")); 
     176                        $this->template->set_var("private", lang("Private")); 
     177                        $this->template->set_var("remove", lang("Remove")); 
     178                        $this->template->set_var("cancel", lang("Cancel")); 
     179 
    170180                        if ($submit) 
    171181                                $this->template->set_var('errors',lang('ACL grants have been updated')); 
  • trunk/preferences/templates/celepar/preference_acl.tpl

    r2 r84  
    77        <tr> 
    88                <td width="10%"></td> 
    9                 <td  width="55%"><center><strong>Lista de Usu&aacute;rios</strong></center></td>                 
     9                <td  width="55%"><center><strong>{users_list}</strong></center></td>             
    1010                <td  width="35%"> 
    11                         <strong>Atributos</strong> 
     11                        <strong>{attributes}</strong> 
    1212                </td> 
    1313        </tr> 
     
    2424                                <tr> 
    2525                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    26                                         <td>Ler</td> 
     26                                        <td>{read}</td> 
    2727                                </tr><tr> 
    2828                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    29                                         <td>Adicionar</td> 
     29                                        <td>{add}</td> 
    3030                                </tr><tr>                                                                                                        
    3131                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    32                                         <td>Editar</td>                          
     32                                        <td>{edit}</td>                          
    3333                                </tr><tr>                                        
    3434                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    35                                         <td>Excluir</td> 
     35                                        <td>{delete}</td> 
    3636                                </tr><tr> 
    3737                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    38                                         <td>Privado</td> 
     38                                        <td>{private}</td> 
    3939                                </tr> 
    4040                        </table> 
     
    5757                <center> 
    5858                        <input type="submit" name="submit" value="{submit_lang}"> 
    59                         <input type="button" value="Adicionar" onclick="openListUsers(340,533,'preferences')"> 
    60                         <input type="button" value="Remover" onclick="javascript:remUserAcl()"> 
    61                         <input type="button" value="Cancelar" onclick="javascript:history.back()"> 
     59                        <input type="button" value="{add}" onclick="openListUsers(340,533,'preferences')"> 
     60                        <input type="button" value="{remove}" onclick="javascript:remUserAcl()"> 
     61                        <input type="button" value="{cancel}" onclick="javascript:history.back()"> 
    6262                </center> 
    6363        </td> 
Note: See TracChangeset for help on using the changeset viewer.