https://git.reactos.org/?p=reactos.git;a=commitdiff;h=12632613ac6ac49c4a4acb017d87d14e4a4b7ed8

commit 12632613ac6ac49c4a4acb017d87d14e4a4b7ed8
Author:     Jose Carlos Jesus <[email protected]>
AuthorDate: Mon May 27 23:48:01 2019 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Jun 17 15:12:12 2019 +0200

    [RUNONCE][USERINIT] Add Portuguese (neutral) translation. (#1656)
---
 base/system/runonce/lang/pt-BR.rc                |  2 +-
 base/system/runonce/lang/{pt-BR.rc => pt-PT.rc}  |  2 +-
 base/system/runonce/runonce.rc                   |  3 +++
 base/system/userinit/lang/pt-BR.rc               |  2 +-
 base/system/userinit/lang/{pt-BR.rc => pt-PT.rc} | 24 ++++++++++++------------
 base/system/userinit/userinit.rc                 |  5 ++++-
 6 files changed, 22 insertions(+), 16 deletions(-)

diff --git a/base/system/runonce/lang/pt-BR.rc 
b/base/system/runonce/lang/pt-BR.rc
index 18af480d5ff..13f28a7c46f 100644
--- a/base/system/runonce/lang/pt-BR.rc
+++ b/base/system/runonce/lang/pt-BR.rc
@@ -1,6 +1,6 @@
 /* Translation and UTF-8 Conversion by mkbu95 <[email protected]> (August, 
2011) */
 
-LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
+LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
 
 IDD_RUNONCE_DLG DIALOGEX 0, 0, 239, 170
 STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | 
WS_SYSMENU
diff --git a/base/system/runonce/lang/pt-BR.rc 
b/base/system/runonce/lang/pt-PT.rc
similarity index 88%
copy from base/system/runonce/lang/pt-BR.rc
copy to base/system/runonce/lang/pt-PT.rc
index 18af480d5ff..909f9be6a55 100644
--- a/base/system/runonce/lang/pt-BR.rc
+++ b/base/system/runonce/lang/pt-PT.rc
@@ -7,7 +7,7 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | 
WS_CAPTION | WS_SYS
 CAPTION "Instalação do ReactOS"
 FONT 8, "MS Shell Dlg"
 BEGIN
-    LTEXT "ReactOS está configurando os seguintes itens:", -1, 38, 8, 196, 18
+    LTEXT "ReactOS está a configurar os seguintes itens:", -1, 38, 8, 196, 18
     LISTBOX IDC_COMP_LIST, 36, 32, 197, 131, LBS_OWNERDRAWVARIABLE | 
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
     ICON IDI_ICON, -1, 5, 6, 21, 20
 END
diff --git a/base/system/runonce/runonce.rc b/base/system/runonce/runonce.rc
index b4eba87b798..12bb0274d03 100644
--- a/base/system/runonce/runonce.rc
+++ b/base/system/runonce/runonce.rc
@@ -51,6 +51,9 @@ IDI_ICON ICON "res/icon.ico"
 #ifdef LANGUAGE_PT_BR
     #include "lang/pt-BR.rc"
 #endif
+#ifdef LANGUAGE_PT_PT
+    #include "lang/pt-PT.rc"
+#endif
 #ifdef LANGUAGE_RO_RO
     #include "lang/ro-RO.rc"
 #endif
diff --git a/base/system/userinit/lang/pt-BR.rc 
b/base/system/userinit/lang/pt-BR.rc
index b921cf40f91..0b931a9013b 100644
--- a/base/system/userinit/lang/pt-BR.rc
+++ b/base/system/userinit/lang/pt-BR.rc
@@ -1,4 +1,4 @@
-LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
+LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
 
 IDD_LOCALEPAGE DIALOGEX 0, 0, 317, 193
 STYLE DS_SHELLFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | 
WS_CAPTION | WS_SYSMENU
diff --git a/base/system/userinit/lang/pt-BR.rc 
b/base/system/userinit/lang/pt-PT.rc
similarity index 56%
copy from base/system/userinit/lang/pt-BR.rc
copy to base/system/userinit/lang/pt-PT.rc
index b921cf40f91..147d8587d3a 100644
--- a/base/system/userinit/lang/pt-BR.rc
+++ b/base/system/userinit/lang/pt-PT.rc
@@ -6,15 +6,15 @@ CAPTION "ReactOS LiveCD"
 FONT 8, "MS Shell Dlg"
 BEGIN
     CONTROL "IDB_LOGO", IDC_LOCALELOGO, "Static", WS_CHILD | WS_VISIBLE | 
SS_OWNERDRAW, 18, 4, 290, 99
-    RTEXT "&Language:", IDC_STATIC, 20, 109, 106, 11, WS_CHILD | WS_VISIBLE | 
WS_GROUP
+    RTEXT "&Linguagem:", IDC_STATIC, 20, 109, 106, 11, WS_CHILD | WS_VISIBLE | 
WS_GROUP
     COMBOBOX IDC_LANGUAGELIST, 132, 107, 176, 142, CBS_DROPDOWNLIST | CBS_SORT 
| WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP
-    RTEXT "&Keyboard layout:", IDC_STATIC, 20, 132, 106, 11, WS_CHILD | 
WS_VISIBLE | WS_GROUP
+    RTEXT "&Estilo de teclado:", IDC_STATIC, 20, 132, 106, 11, WS_CHILD | 
WS_VISIBLE | WS_GROUP
     COMBOBOX IDC_LAYOUTLIST, 132, 130, 176, 81, CBS_DROPDOWNLIST | CBS_SORT | 
WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP
-    LTEXT "Select your language and keyboard layout and click Next to 
continue.", IDC_STATIC, 7, 152, 300, 8
+    LTEXT "Seleccione a linguagem e o estilo de teclado. Click em Avançar para 
continuar.", IDC_STATIC, 7, 152, 300, 8
 
     CONTROL "", IDC_STATIC, "STATIC", SS_ETCHEDHORZ, 0, 165, 317, 1
-    DEFPUSHBUTTON "&Next", IDOK, 205, 172, 50, 14
-    PUSHBUTTON "&Cancel", IDCANCEL, 260, 172, 50, 14
+    DEFPUSHBUTTON "&Avançar", IDOK, 205, 172, 50, 14
+    PUSHBUTTON "&Cancelar", IDCANCEL, 260, 172, 50, 14
 END
 
 IDD_STARTPAGE DIALOGEX 0, 0, 317, 193
@@ -23,21 +23,21 @@ CAPTION "ReactOS LiveCD"
 FONT 8, "MS Shell Dlg"
 BEGIN
     CONTROL "IDB_LOGO", IDC_STARTLOGO, "Static", WS_CHILD | WS_VISIBLE | 
SS_OWNERDRAW, 18, 4, 290, 99
-    DEFPUSHBUTTON "Run ReactOS &Live CD", IDC_RUN, 71, 108, 175, 21
-    PUSHBUTTON "&Install ReactOS", IDC_INSTALL, 71, 136, 175, 21
+    DEFPUSHBUTTON "Executar ReactOS &Live CD", IDC_RUN, 71, 108, 175, 21
+    PUSHBUTTON "&Instalar o ReactOS", IDC_INSTALL, 71, 136, 175, 21
 
     // LTEXT "", IDC_STATIC, 7, 152, 300, 8
 
     CONTROL "", IDC_STATIC, "STATIC", SS_ETCHEDHORZ, 0, 165, 317, 1
-    PUSHBUTTON "&Previous", IDOK, 205, 172, 50, 14
-    PUSHBUTTON "&Cancel", IDCANCEL, 260, 172, 50, 14
+    PUSHBUTTON "&Anterior", IDOK, 205, 172, 50, 14
+    PUSHBUTTON "&Cancelar", IDCANCEL, 260, 172, 50, 14
 END
 
 STRINGTABLE
 BEGIN
-    IDS_SHELL_FAIL "Userinit falhou ao tentar iniciar o shell!"
-    IDS_INSTALLER_FAIL "Userinit failed to start the installer!"
-    IDS_CANCEL_CONFIRM "Are you sure you want to quit the ReactOS LiveCD?\nIf 
you choose to do so, your computer might restart."
+    IDS_SHELL_FAIL "Userinit falhou ao iniciar o shell!"
+    IDS_INSTALLER_FAIL "Userinit falhou ao iniciar o installer!"
+    IDS_CANCEL_CONFIRM "Tem a certeze que deseja fechar o ReactOS LiveCD?\nSe 
a sua escolha é sim, o seu computador irá reiniciar."
 END
 
 STRINGTABLE
diff --git a/base/system/userinit/userinit.rc b/base/system/userinit/userinit.rc
index 61002720d06..36497368b66 100644
--- a/base/system/userinit/userinit.rc
+++ b/base/system/userinit/userinit.rc
@@ -68,6 +68,9 @@ IDB_ROSMASK BITMAP "res/rosbitmap_mask.bmp"
 #ifdef LANGUAGE_PT_BR
     #include "lang/pt-BR.rc"
 #endif
+#ifdef LANGUAGE_PT_PT
+    #include "lang/pt-PT.rc"
+#endif
 #ifdef LANGUAGE_RO_RO
     #include "lang/ro-RO.rc"
 #endif
@@ -97,4 +100,4 @@ IDB_ROSMASK BITMAP "res/rosbitmap_mask.bmp"
 #endif
 #ifdef LANGUAGE_ZH_TW
     #include "lang/zh-TW.rc"
-#endif
\ No newline at end of file
+#endif

Reply via email to