Skip to content
This repository has been archived by the owner on Mar 4, 2025. It is now read-only.

Add brazilian portuguese translation #457

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion help/ini/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h3>Fun with Fonts</h3>
LowerCase=0
</code></pre>
<h3>Miscellaneous other tweaks</h3>
<p><strong>UILanguage</strong> sets the language used by File Manager. At, present, to my knowledge anyways, there are seven available language options currently: en-US, zh-CN, he-IL, ja-JP, pl-PL, de-DE, and ko-KR. English (US), Chinese (Simplified), Hebrew, Japanese, Polish, German, and Korean.</p>
<p><strong>UILanguage</strong> sets the language used by File Manager. At, present, to my knowledge anyways, there are nine available language options currently: en-US, zh-CN, he-IL, ja-JP, pl-PL, pt-PT, pt-BR, de-DE, and ko-KR. English (US), Chinese (Simplified), Hebrew, Japanese, Polish, Portuguese, Brazilian Portuguese, German, and Korean.</p>
<p><code>UILanguage=en-US</code></p>
<p><strong>EditorPath</strong> sets the editor that is executed when the edit command is selected. Contrary to what the name indicates, you might not necessarily need the entire path - if the editor itself is in your path somewhere, you can just put the editor command in alone.<br>
<code>EditorPath=nano</code></p>
Expand Down
3 changes: 3 additions & 0 deletions src/Winfile.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,13 @@
<None Include="lang\res_ja-JP.rc" />
<None Include="lang\res_he-IL.rc" />
<None Include="lang\res_pt-PT.rc" />
<None Include="lang\res_pt-BR.rc" />
<None Include="lang\res_ko-KR.rc" />
<None Include="lang\suggest_de-DE.db" />
<None Include="lang\suggest_en-US.db" />
<None Include="lang\suggest_pl-PL.db" />
<None Include="lang\suggest_pt-PT.db" />
<None Include="lang\suggest_pt-BR.db" />
<None Include="lang\suggest_tr-TR.db" />
<None Include="lang\suggest_zh-CN.db" />
<None Include="lang\suggest_ja-JP.db" />
Expand All @@ -191,6 +193,7 @@
<None Include="lang\winfile_en-US.dlg" />
<None Include="lang\winfile_pl-PL.dlg" />
<None Include="lang\winfile_pt-PT.dlg" />
<None Include="lang\winfile_pt-BR.dlg" />
<None Include="lang\winfile_tr-TR.dlg" />
<None Include="lang\winfile_zh-CN.dlg" />
<None Include="lang\winfile_ja-JP.dlg" />
Expand Down
9 changes: 9 additions & 0 deletions src/Winfile.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@
<None Include="lang\winfile_pt-PT.dlg">
<Filter>lang</Filter>
</None>
<None Include="lang\res_pt-BR.rc">
<Filter>lang</Filter>
</None>
<None Include="lang\suggest_pt-BR.db">
<Filter>lang</Filter>
</None>
<None Include="lang\winfile_pt-BR.dlg">
<Filter>lang</Filter>
</None>
<None Include="lang\suggest_ko-KR.db">
<Filter>lang</Filter>
</None>
Expand Down
644 changes: 644 additions & 0 deletions src/lang/res_pt-BR.rc

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions src/lang/suggest_pt-BR.db
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@

// Suggestion database info
// Used to automate the suggestions compiled into winfile
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// Usage: Just add a new entry of the format:

// SUGGEST( resource_number, error-code, flags, "your-reason-string" )
// resource_number = incremental number for string ID
// error-code = error this suggestion corresponds to
// "your-reason-string" string displayed for error
// flags: SUG_IGN_FORMATMESSAGE = prepend system FormatMessage text

// Ok, so it's not perfect: your resource number can't clash
// with any others in winfile.h. Use 1 .. 99 (1101 to 1199)
// resource # 0 is reserved.

// What it does:
// For system errors (defined here in winfile land as < DE_BEGIN (bit 29 off)),
// it puts the "suggestion" below the error text (a blank line is between
// them.
//
// For our errors (>= DE_BEGIN), it places the text below (1 blank line)
// the previous string. There is no longer any corresponding text called
// "IDS_REASONS+DE_MYERROR" or "DE_MYERROR" in the resources.
// Internal error messages and their reasons must be stored here in
// the same string.

#ifndef IDS_SUGGESTBEGIN
#define IDS_SUGGESTBEGIN 1100
#endif

SUGGEST( 1, DE_SAMEFILE, 0L, \
"Fonte e destino são os mesmos." )
SUGGEST( 2, DE_MANYSRC1DEST, 0L, \
"Seleccione apenas um arquivo para renomear, ou use wildcards (por examplo, *.TXT) para renomear um grupo de arquivos com nomes semelhantes." )
SUGGEST( 3, DE_DIFFDIR, 0L, \
"Não é possível renomear para um diretório ou disco diferente.\nUse o comando Mover arquivo." )
SUGGEST( 4, DE_ROOTDIR, 0L, \
"Não é possível renomear o diretório raíz." )
SUGGEST( 5, DE_DESTSUBTREE, 0L, \
"O diretório de destino é um subdiretório da fonte." )
SUGGEST( 6, DE_WINDOWSFILE, 0L, \
"Arquivo em uso pelo Windows." )
SUGGEST( 7, DE_MANYDEST, 0L, \
"Especifique apenas um arquivo ou diretório no campo 'Para'. Ou, se quiser especificar um grupo de arquivos, use wildcards (por exemplo, *.TXT)." )
SUGGEST( 8, DE_RENAMREPLACE, 0L, \
"Já existe um arquivo ou diretório com este nome. Dentro de um diretório, nomes de arquivos e diretórios devem ser únicos." )

// This error is returned when selecting a grayed network drive and the rdr is not started
SUGGEST( 9, ERROR_FILE_NOT_FOUND, 0L, \
"Certifique-se de que são especificados o caminho e nome de arquivo corretos." )
SUGGEST(10, ERROR_PATH_NOT_FOUND, 0L, \
"Certifique-se de que é especificado o caminho correto." )
SUGGEST(11, ERROR_NOT_ENOUGH_MEMORY, 0L, \
"Feche uma ou mais aplicações e tente de novo. Ou, use a opção Sistema no Painel de Controle para aumentar a memória virtual." )
// 12
SUGGEST(13, ERROR_WRITE_PROTECT, 0L, \
"Desative a proteção contra escrita neste disco ou use outro disco e tente de novo." )
SUGGEST(14, ERROR_NETWORK_ACCESS_DENIED, 0L, \
"Certifique-se de que tem as permissões de rede corretas para efectuar esta operação." )
SUGGEST(15, ERROR_DISK_FULL, 0L, \
"Elimine um ou mais arquivos para aumentar o espaço no disco e tente de novo." )
SUGGEST(16, ERROR_NO_DATA_DETECTED, SUG_IGN_FORMATMESSAGE, \
"Nenhum dado detectado nesta unidade." )

SUGGEST(17, DE_MAKEDIREXISTS, 0L, \
"O diretório já existe." )
SUGGEST(18, DE_DIREXISTSASFILE, 0L, \
"O nome especificado já está a ser usado por um arquivo." )
#ifdef ASSOC
SUGGEST(19, DE_DELEXTWRONGMODE, 0L, \
"Isto só pode ser eliminado ao ver os Tipos de arquivo Comuns e extensões." )
#endif

// Block out errors that require arguments
SUGGEST(50, ERROR_WRONG_DISK, SUG_IGN_FORMATMESSAGE, \
"Foi inserido o disco errado na unidade." )
SUGGEST(51, ERROR_CHILD_NOT_COMPLETE, SUG_IGN_FORMATMESSAGE, \
"A aplicação não pode ser executada no modo Windows NT." )
SUGGEST(52, ERROR_INVALID_ORDINAL, SUG_IGN_FORMATMESSAGE, \
"O sistema operativo não pode executar este componente." )
SUGGEST(53, ERROR_INVALID_EXE_SIGNATURE, SUG_IGN_FORMATMESSAGE, \
"O componente não pode ser executado no modo Windows NT." )
SUGGEST(54, ERROR_BAD_EXE_FORMAT, SUG_IGN_FORMATMESSAGE, \
"Este programa não é uma aplicação Windows NT válida." )
SUGGEST(55, ERROR_MR_MID_NOT_FOUND, SUG_IGN_FORMATMESSAGE, \
"Ocorreu um erro. Não há uma mensagem de texto para este erro." )
Loading