Location: PHPKode > projects > Map-IP Free Geo Location Software > map-ip-free-geo-location-software/languages/messages.pt.inc
<?

/*

Portuguese Language File
Translated by: Ricardo Pedroso <hide@address.com>

copy a language file to messages.<cc>.inc and \
edit what $p is on encountering an english phrase.

please notice the punctuation and capitilization.

change the $language variable in plotconf.inc after
creating a language file.

*/

function lookup($phrase) {
  switch($phrase) {

    # start translating the $p here

     case "Plotting" :
     $p = "Localizar"; break;

     case "preferences" :
     $p = "Preferências"; break;

     case "locate me" :
     $p = "Localiza-me"; break;

     case "IP/Hostname:" :
     $p = "IP/Hostname:"; break;

     case "You at" :
     $p = "Está em"; break;

     case "Submit" :
     $p = "Procurar"; break;

     case "main" :
     $p = "principal"; break;

# Used in context "(host) is located in"
     case "is" :
     $p = "está"; break;

# Used in context "You at (host) are located in"
     case "are" :
     $p = "está"; break;

     case "located in" :
     $p = "localizado em"; break;

     case "cannot be located." :
     $p = "não pode ser localizado."; break;

     case "cannot be resolved." :
     $p = "desconhecido."; break;

     case "is a host in the private IP address range." :
     $p = "é um servidor num endereço IP de rede interna."; break;

     case "does not resolve." :
     $p = "desconhecido."; break;

     case "is not a valid IP address." :
     $p = "não é um endereço IP válido."; break;

     case "Temporary lookup failure." :
     $p = "Falha provisória do lookup."; break;

     case "IP-Atlas Preferences" :
     $p = "Preferências IP-Atlas"; break;

# make the 'p' lowercase if possible in your language

     case "IP-Atlas preferences" :
     $p = "Preferências IP-Atlas"; break;

     case "(cookie based)" :
     $p = "(Baseado em cookies)"; break;

     case "Draw mode (defaults guessed for your browser):" :
     $p = "Modo de Desenhar (Configurações iniciais supostas pelo seu browser):"; break;

     // next two phrases are combined
     case "Your settings have been saved. You can now try" :
     $p = "As suas opções foram guardadas. Pode experimentar"; break;

     case "plotting something." :
     $p = "localizar algo"; break;

     case "Pointer Preferences (the dot that marks lat/lon):" :
     // $p = "Preferências do marcador"; break;
     $p = " "; break;

     case "Shape:" :
     $p = "Marcador na forma de"; break;

     case "Size:" :
     $p = "com tamanho"; break;

     case "Color:" :
     $p = "e de côr"; break;

     case "Pointer:" :
     $p = "Marcador"; break;

     case "Other Preferences:" :
     $p = " "; break;

     case "Earth Image:" :
     $p = "Imagem da Terra"; break;

     case "Color" :
     $p = "a Cores"; break;

     case "Grayscale" :
     $p = "a Preto e Branco"; break;

     case "Save" :
     $p = "Guadar"; break;

# shape names:
     case "Diamond" :
     $p = "Diamante Cheio"; break;

     case "Diamond Outline" :
     $p = "Diamante Vazio"; break;

     case "Square" :
     $p = "Quadrado Cheio"; break;

     case "Square Outline" :
     $p = "Quadrado Vazio"; break;

     case "Cross" :
     $p = "Cruz"; break;

# colors:

     case "red" :
     $p = "vermelha"; break;

     case "white" :
     $p = "branca"; break;

     case "yellow" :
     $p = "amarela"; break;

     case "magenta" :
     $p = "magenta"; break;

     case "cyan" :
     $p = "cinzenta"; break;

     case "green" :
     $p = "verde"; break;

     case "violet" :
     $p = "violeta"; break;

     # stop here

     // return in english if the phrase couldn't be found
     default:
     $p = $phrase; break;


  }

  // return english if match was blank
  if($p == "") { $p = $phrase; }

  return $p;

}

?>
Return current item: Map-IP Free Geo Location Software