Skip to content

Commit b134702

Browse files
authored
Merge pull request #141 from cristianovalenca/brazilian_portuguese_translation
Brazilian Portuguese translation
2 parents 89d7582 + 585e41f commit b134702

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

resources/lang/pt-BR.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"Download": "Download",
3+
"Path": "Caminho",
4+
"Created at": "Criado em",
5+
"Size": "Tamanho",
6+
"No backups present": "Backups não encontrados",
7+
"Delete backup": "Deletar backup",
8+
"Are you sure you want to delete the backup created at :date ?": "Tem certeza que deseja deletar o backup criado em :date ?",
9+
"Disk": "Disco",
10+
"Healthy": "Status",
11+
"Amount of backups": "Quantidade de backups",
12+
"Newest backup": "Backup mais recente",
13+
"Used Storage": "Espaço em disco utilizado",
14+
"Backups": "Backups",
15+
"Create Backup": "Criar Backup",
16+
"Create database backup": "Criar backup do banco de dados",
17+
"Create files backup": "Criar backup dos arquivos",
18+
"Creating a new backup in the background...": "Criando um novo backup em segundo plano...",
19+
"B": "B",
20+
"KB": "KB",
21+
"MB": "MB",
22+
"GB": "GB",
23+
"TB": "TB",
24+
"local": "local"
25+
}

src/BackupToolServiceProvider.php

+2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ protected function registerTranslations()
6969

7070
Nova::translations(__DIR__.'/../resources/lang/'.$currentLocale.'.json');
7171
Nova::translations(resource_path('lang/vendor/nova-backup-tool/'.$currentLocale.'.json'));
72+
Nova::translations(lang_path('vendor/nova-backup-tool/'.$currentLocale.'.json'));
7273
});
7374

7475
$this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'BackupTool');
7576
$this->loadJSONTranslationsFrom(__DIR__.'/../resources/lang');
7677
$this->loadJSONTranslationsFrom(resource_path('lang/vendor/nova-backup-tool'));
78+
$this->loadJSONTranslationsFrom(lang_path('vendor/nova-backup-tool'));
7779
}
7880
}

0 commit comments

Comments
 (0)