Commit 053c7b33 authored by paulolc's avatar paulolc Committed by Jeffrey I. Schiller

Added european portuguese translation

Change-Id: I2ba2ca38c9cf22decc0e3cf18f96f7fd74488efb
parent 75cd0412
...@@ -128,6 +128,8 @@ ...@@ -128,6 +128,8 @@
<extend-property name="locale" values="sv"/> <extend-property name="locale" values="sv"/>
<!-- Portuguese (Brazilian) --> <!-- Portuguese (Brazilian) -->
<extend-property name="locale" values="pt_BR"/> <extend-property name="locale" values="pt_BR"/>
<!-- Portuguese (Portugal) -->
<extend-property name="locale" values="pt"/>
<!-- Dutch --> <!-- Dutch -->
<extend-property name="locale" values="nl"/> <extend-property name="locale" values="nl"/>
......
...@@ -123,6 +123,7 @@ public class DesignToolbar extends Toolbar { ...@@ -123,6 +123,7 @@ public class DesignToolbar extends Toolbar {
private static final String WIDGET_NAME_SWITCH_LANGUAGE_ENGLISH = "English"; private static final String WIDGET_NAME_SWITCH_LANGUAGE_ENGLISH = "English";
private static final String WIDGET_NAME_SWITCH_LANGUAGE_CHINESE_CN = "Simplified Chinese"; private static final String WIDGET_NAME_SWITCH_LANGUAGE_CHINESE_CN = "Simplified Chinese";
private static final String WIDGET_NAME_SWITCH_LANGUAGE_SPANISH_ES = "Spanish-Spain"; private static final String WIDGET_NAME_SWITCH_LANGUAGE_SPANISH_ES = "Spanish-Spain";
private static final String WIDGET_NAME_SWITCH_LANGUAGE_PORTUGUESE = "Portuguese";
//private static final String WIDGET_NAME_SWITCH_LANGUAGE_GERMAN = "German"; //private static final String WIDGET_NAME_SWITCH_LANGUAGE_GERMAN = "German";
//private static final String WIDGET_NAME_SWITCH_LANGUAGE_VIETNAMESE = "Vietnamese"; //private static final String WIDGET_NAME_SWITCH_LANGUAGE_VIETNAMESE = "Vietnamese";
......
...@@ -6298,6 +6298,10 @@ public interface OdeMessages extends Messages { ...@@ -6298,6 +6298,10 @@ public interface OdeMessages extends Messages {
@Description("") @Description("")
String switchToPortugueseBR(); String switchToPortugueseBR();
@DefaultMessage("Português")
@Description("")
String switchToPortuguese();
@DefaultMessage("Nederlands") @DefaultMessage("Nederlands")
@Description("") @Description("")
String switchToDutch(); String switchToDutch();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -251,6 +251,8 @@ public class TopPanel extends Composite { ...@@ -251,6 +251,8 @@ public class TopPanel extends Composite {
nativeName = MESSAGES.SwitchToSwedish(); nativeName = MESSAGES.SwitchToSwedish();
} else if (localeName == "pt_BR") { } else if (localeName == "pt_BR") {
nativeName = MESSAGES.switchToPortugueseBR(); nativeName = MESSAGES.switchToPortugueseBR();
} else if (localeName == "pt") {
nativeName = MESSAGES.switchToPortuguese();
} else if (localeName == "nl") { } else if (localeName == "nl") {
nativeName = MESSAGES.switchToDutch(); nativeName = MESSAGES.switchToDutch();
} }
......
setyourpassword = Define a tua Senha.
pleaselogin = Bemvindo ao App Inventor!
emailaddress = Email
password = Senha
setpassword = Definir Senha
linksent = Ligação enviada
checkemail = Aguarda no teu email a ligação para entrar e definir/mudar a tua senha.
requestreset = Pedir uma nova Senha
requestlink = Pedir uma nova Senha ou revalidar a ligação.
requestinstructions = Especifica aqui a tua primeira senha ou muda-a caso te tenhas esquecido de qual é.
enteremailaddress = Indica o teu endereço de email
sendlink = Envia Ligação
passwordclickhere = Define uma nova ou recupera a senha.
login = Entrar
error = Erro
invalidpassword = Senha Inválida
nopassword = Senha não providenciada
usegoogleaccounttologin = Clica aqui para usares a tua conta do google para entrares.
...@@ -69,6 +69,11 @@ out.println("<center><font color=red><b>" + error + "</b></font></center><br/>") ...@@ -69,6 +69,11 @@ out.println("<center><font color=red><b>" + error + "</b></font></center><br/>")
.add("repo", repo) .add("repo", repo)
.add("galleryId", galleryId) .add("galleryId", galleryId)
.add("redirect", redirect).build() %>" style="text-decoration:none;" >中文</a>&nbsp; .add("redirect", redirect).build() %>" style="text-decoration:none;" >中文</a>&nbsp;
<a href="<%= new UriBuilder("/login")
.add("locale", "pt")
.add("repo", repo)
.add("galleryId", galleryId)
.add("redirect", redirect).build() %>" style="text-decoration:none;" >Português</a>&nbsp;
<a href="<%= new UriBuilder("/login") <a href="<%= new UriBuilder("/login")
.add("locale", "en") .add("locale", "en")
.add("repo", repo) .add("repo", repo)
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
'../lib/blockly/msg/js/sv.js', '../lib/blockly/msg/js/sv.js',
'../lib/blockly/msg/js/nl.js', '../lib/blockly/msg/js/nl.js',
'../lib/blockly/msg/js/pt-br.js', '../lib/blockly/msg/js/pt-br.js',
'../lib/blockly/msg/js/pt.js',
'../lib/blockly/msg/js/en.js', '../lib/blockly/msg/js/en.js',
'./src/msg/ko_kr/_messages.js', './src/msg/ko_kr/_messages.js',
'./src/msg/es_es/_messages.js', './src/msg/es_es/_messages.js',
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
'./src/msg/ru/_messages.js', './src/msg/ru/_messages.js',
'./src/msg/sv/_messages.js', './src/msg/sv/_messages.js',
'./src/msg/pt_br/_messages.js', './src/msg/pt_br/_messages.js',
'./src/msg/pt/_messages.js',
'./src/msg/nl/_messages.js', './src/msg/nl/_messages.js',
'./src/msg/en/_messages.js', './src/msg/en/_messages.js',
......
...@@ -20,6 +20,7 @@ goog.require('AI.Blockly.Msg.ru'); ...@@ -20,6 +20,7 @@ goog.require('AI.Blockly.Msg.ru');
goog.require('AI.Blockly.Msg.ko_kr'); goog.require('AI.Blockly.Msg.ko_kr');
goog.require('AI.Blockly.Msg.sv'); goog.require('AI.Blockly.Msg.sv');
goog.require('AI.Blockly.Msg.pt_br'); goog.require('AI.Blockly.Msg.pt_br');
goog.require('AI.Blockly.Msg.pt');
goog.require('AI.Blockly.Msg.nl'); goog.require('AI.Blockly.Msg.nl');
Blockly.language_switch = { Blockly.language_switch = {
...@@ -66,6 +67,10 @@ Blockly.language_switch = { ...@@ -66,6 +67,10 @@ Blockly.language_switch = {
Blockly.Msg.pt.br.switch_blockly_language_to_pt_br.init(); Blockly.Msg.pt.br.switch_blockly_language_to_pt_br.init();
Blockly.Msg.pt.br.switch_language_to_portuguese_br.init(); Blockly.Msg.pt.br.switch_language_to_portuguese_br.init();
break; break;
case 'pt':
Blockly.Msg.pt.switch_blockly_language_to_pt.init();
Blockly.Msg.pt.switch_language_to_portuguese.init();
break;
case 'nl': case 'nl':
Blockly.Msg.nl.switch_language_to_dutch.init(); Blockly.Msg.nl.switch_language_to_dutch.init();
break; break;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment