Ignore:
Timestamp:
07/02/09 13:38:44 (15 years ago)
Author:
alexandrecorreia
Message:

Ticket #474 - Arquivos modificados para a tradução do Applet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jabberit_messenger/java_source/src/nu/fw/jeti/util/Preferences.java

    r1064 r1070  
    104104        { 
    105105                /** 
    106                  * @author(s) : Alexandre Correia - alexandrecorreia@celepar.pr.gov.br 
    107                  * @brief : Adicionado as traduções para os items do menu ( presença ) 
     106                 * @Author(s) : Alexandre Correia - alexandrecorreia@celepar.pr.gov.br 
     107                 * @description : Adicionado as traducoes para os items do menu ( presenca ) 
    108108                 */ 
    109109                 
    110110                List tempList = new ArrayList(10); 
    111                         tempList.add("Disponível"); 
    112                         tempList.add("Livre p/ Chat"); 
     111                        tempList.add(I18N.gettext("initMessages.Available")); 
     112                        tempList.add(I18N.gettext("initMessages.Free_for_Chat")); 
    113113                        mapMessages.put("chat", tempList); 
    114114                        mapMessages.put("available", tempList); 
    115115                        tempList = new ArrayList(10); 
    116                         tempList.add("Em reunião"); 
    117                         tempList.add("Ocupado"); 
    118                         tempList.add("Trabalhando"); 
     116                        tempList.add(I18N.gettext("initMessages.In_a_meeting")); 
     117                        tempList.add(I18N.gettext("initMessages.Busy")); 
     118                        tempList.add(I18N.gettext("initMessages.Working")); 
    119119                        mapMessages.put("dnd", tempList); 
    120120                        tempList = new ArrayList(10); 
    121                         tempList.add("No telefone"); 
    122                         tempList.add("Volto Logo"); 
     121                        tempList.add(I18N.gettext("initMessages.On_the_phone")); 
     122                        tempList.add(I18N.gettext("initMessages.Be_right_back")); 
    123123                        mapMessages.put("away", tempList); 
    124124                        tempList = new ArrayList(10); 
    125                         tempList.add("Férias"); 
    126                         tempList.add("Em casa"); 
    127                         tempList.add("Ausente"); 
     125                        tempList.add(I18N.gettext("initMessages.On_vacation")); 
     126                        tempList.add(I18N.gettext("initMessages.Gone_home")); 
     127                        tempList.add(I18N.gettext("initMessages.Extend_Away")); 
    128128                        mapMessages.put("xa", tempList); 
    129129                 
     
    145145        { 
    146146                mapMessages.putAll(jetiExtension.getMessages()); 
    147                 //removed save message version check because it gives problems when 
    148                 //the server has removed the messages so there is no version 
    149 //              if(jetiExtension.getXmlVersion()==null) 
    150 //              {//on extension not found set save to true to try to overwrite 
    151 //                      save = true; 
    152 //              } 
    153 //              else  
    154 //              { 
    155 //                      try 
    156 //                      { 
    157 //                              //save if loaded xml version <= own xmlversion (backwards compatible) 
    158 //                              save = (Integer.parseInt(jetiExtension.getXmlVersion().substring(1)) <= Integer.parseInt(JetiPrivateExtension.XML_VERSION.substring(1))); 
    159 //                      } 
    160 //                      catch (Exception e) 
    161 //                      { 
    162 //                      } //exception not saven 
    163 //              } 
    164147        } 
    165148 
     
    172155        { 
    173156                mapMessages.put(convertPresenceKey(key), value); 
    174                 //if(save)backend.savePreferences(map,mapMessages); 
    175157        } 
    176158         
Note: See TracChangeset for help on using the changeset viewer.