Changeset 84 for trunk/contactcenter


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

Internacionalização - Removido mais strings hardcoded.

Location:
trunk/contactcenter
Files:
2 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">                     
Note: See TracChangeset for help on using the changeset viewer.