Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf10c7c0

Browse files
authored
Merge pull request#890 from cadufeitosa/master
Portuguese Translation
2 parentsce067ec +df1bb36 commitf10c7c0

File tree

13 files changed

+4655
-1
lines changed

13 files changed

+4655
-1
lines changed

‎client/packages/lowcoder-cli-template-typescript/src/i18n/comps/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ export function getEchartsLocale() {
1414
switch(locale.language){
1515
case"en":
1616
return"EN";
17+
case"pt":
18+
return"PT";
1719
case"zh":
1820
return"ZH";
1921
}
@@ -24,6 +26,8 @@ export function getCalendarLocale() {
2426
switch(language){
2527
case"zh":
2628
return"zh-cn";
29+
case"pt":
30+
return"pt-br";
2731
default:
2832
return"en-gb";
2933
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import{en}from"./en"
2+
exportconstpt:typeofen={
3+
...en,
4+
"style":{
5+
"textColor":"Cor do Texto",
6+
"contrastText":"Cor de Contraste do Texto",
7+
"accent":"Acento",
8+
"border":"Cor da Borda",
9+
"borderRadius":"Raio da Borda",
10+
"borderWidth":"Grossura da Borda",
11+
"backgroundColor":"Cor de Fundo",
12+
"headerBackground":"Cor do Header",
13+
"footerBackground":"Cor do Footer",
14+
"checkedBackground":"Cor com Seleção",
15+
"uncheckedBackground":"Cor sem Seleção",
16+
"uncheckedBorder":"Borda sem Seleção",
17+
"indicatorBackground":"Cor de Indicação",
18+
"toolbarBackground":"Cor de Fundo da Barra de Informações",
19+
"margin":"Margem",
20+
"padding":"Preenchimento",
21+
"marginLeft":"Margem Esquerda",
22+
"marginRight":"Margem Direita",
23+
"marginTop":"Margem Superior",
24+
"marginBottom":"Margem Inferior",
25+
"minWidth":"Largura Mínima",
26+
"aspectRatio":"Proporção de Tela",
27+
"textSize":"Tamanho do Texto",
28+
},
29+
"component":{
30+
"data":"Dados Hillchart",
31+
},
32+
"methods":{
33+
"setPoint":"Definir Ponto",
34+
"invalidInput":"Entrada Inválida",
35+
"requiredField":"{field} é obrigatório",
36+
}
37+
};
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import{I18nObjects}from"./types";
2+
3+
exportconstenObj:I18nObjects={
4+
defaultData:[
5+
{
6+
id :1,
7+
color:'gray',
8+
description:'Validação: Integração do Salesforce',
9+
x:25,
10+
size:15
11+
},
12+
{
13+
id :2,
14+
color:'maroon',
15+
description:'Renovações',
16+
x:80,
17+
size:10},
18+
{
19+
id :3,
20+
color:'maroon',
21+
description:'Rafatoramento: Fancy Pants',
22+
x:35,
23+
size:10
24+
},
25+
{
26+
id :4,
27+
color:'cyan',
28+
description:'Refatoramento: Lighthouse Orbs',
29+
x:45,
30+
size:10
31+
},
32+
{
33+
id :5,
34+
color:'yellow',
35+
description:'Migração e Atualização de Dados',
36+
x:50,
37+
size:20
38+
}
39+
],
40+
};

‎client/packages/lowcoder-comps/src/i18n/comps/index.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export function getEchartsLocale() {
1313
switch(locale.language){
1414
case"en":
1515
return"EN";
16+
case"pt":
17+
return"PT";
1618
case"zh":
1719
return"ZH";
1820
}
@@ -23,6 +25,8 @@ export function getCalendarLocale() {
2325
switch(language){
2426
case"zh":
2527
return"zh-cn";
28+
case"pt":
29+
return"pt-br";
2630
default:
2731
return"en-gb";
2832
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp