Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] correct errors on /unsplash/templates/settings/admin.php and improvement pt_BR translate #127

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions js/user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

10 changes: 5 additions & 5 deletions l10n/pt_BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ OC.L10N.register(
{
"Splash" : "Splash",
"under an open license free of charge" : "sob uma licença aberta livre de cobranças.",
"These images are provided %s by %s." : "Essas imagens são fornecidas%s a %s.",
"These images are provided %s by %s." : "Essas imagens são fornecidas %s a %s.",
"under the terms of service" : "Sob os termos de serviço",
"These images are provided by %s. Each image has it's own license." : "Essas imagens são fornecidas a%s. Cada imagem tem sua própria licença.",
"These images are provided by %s. Each image has it's own license." : "Essas imagens são fornecidas a %s. Cada imagem tem sua própria licença.",
"Splash: Random Background Images" : "Splash: Imagens de fundo aleatórias",
"Saved" : "Salvo",
"Failed" : "Falhou",
Expand All @@ -19,13 +19,13 @@ OC.L10N.register(
"Splash: Advanced Theming" : "Splash: Configurações avançadas de tema",
"You can apply effects to your background images." : "Você pode aplicar efeitos para as imagens de fundo.",
"Enable Tint" : "Ativar Matiz",
"Set the vibrancy of the color" : "Configurar vibração da cor",
"Set the vibrancy of the color" : "Configurar a vivacidade da cor",
"Set the blur of the image" : "Defina o desfoque da imagem",
"Splash: High Visibility" : "Destaque: alta visibilidade",
"You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen." : "You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen.",
"You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen." : "Você pode habilitar um modo de alta visibilidade por razões legais. Isso destacará os links Privacidade e Proteção de Dados na tela de login.",
"Enable High-Visibility Mode" : "Ativar modo de Alta Visibilidade",
"Random Background Images" : "Imagens aleatórias para plano de fundo",
"%s is customized with random background images." : "%sestá customizado com imagens aleatórias de fundo",
"%s is customized with random background images." : "% sestá customizado com imagens aleatórias de fundo",
"The images will be displayed as the background if you choose \"Default Image\" as your background." : "As imagens serão exibidas como plano de fundo se você escolher \"Imagem padrão\" como plano de fundo."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
12 changes: 6 additions & 6 deletions l10n/pt_BR.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ "translations": {
"Splash" : "Splash",
"under an open license free of charge" : "sob uma licença aberta livre de cobranças.",
"These images are provided %s by %s." : "Essas imagens são fornecidas%s a %s.",
"These images are provided %s by %s." : "Essas imagens são fornecidas %s a %s.",
"under the terms of service" : "Sob os termos de serviço",
"These images are provided by %s. Each image has it's own license." : "Essas imagens são fornecidas a%s. Cada imagem tem sua própria licença.",
"These images are provided by %s. Each image has it's own license." : "Essas imagens são fornecidas a %s. Cada imagem tem sua própria licença.",
"Splash: Random Background Images" : "Splash: Imagens de fundo aleatórias",
"Saved" : "Salvo",
"Failed" : "Falhou",
Expand All @@ -17,13 +17,13 @@
"Splash: Advanced Theming" : "Splash: Configurações avançadas de tema",
"You can apply effects to your background images." : "Você pode aplicar efeitos para as imagens de fundo.",
"Enable Tint" : "Ativar Matiz",
"Set the vibrancy of the color" : "Configurar vibração da cor",
"Set the vibrancy of the color" : "Configurar a vivacidade da cor",
"Set the blur of the image" : "Defina o desfoque da imagem",
"Splash: High Visibility" : "Destaque: alta visibilidade",
"You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen." : "You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen.",
"You can enable a High Visibility Mode for Legal Reasons. This will highlight the Privacy and Data Protection links on the login screen." : "Você pode habilitar um modo de alta visibilidade por razões legais. Isso destacará os links Privacidade e Proteção de Dados na tela de login.",
"Enable High-Visibility Mode" : "Ativar modo de Alta Visibilidade",
"Random Background Images" : "Imagens aleatórias para plano de fundo",
"%s is customized with random background images." : "%sestá customizado com imagens aleatórias de fundo",
"%s is customized with random background images." : "% sestá customizado com imagens aleatórias de fundo",
"The images will be displayed as the background if you choose \"Default Image\" as your background." : "As imagens serão exibidas como plano de fundo se você escolher \"Imagem padrão\" como plano de fundo."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
}
2 changes: 1 addition & 1 deletion templates/settings/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<?php p($l->t('You can customize your instance with random background images.')); ?>
<br>
<?php p($l->t('Here you can specify where random backgrounds should be used by default.')); ?>
<?php print_unescaped($this->inc('partials/license')); ?>
<?php print_unescaped($this->inc('partials/license'.$_['selectedProvider'])); ?>
</p>
<form>
<div class="unsplash-checkboxes">
Expand Down
2 changes: 1 addition & 1 deletion templates/settings/personal.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

if( ($_['dashboard'] || $_['login']) && ($_['selectedProvider'] != "" || $_['selectedProvider'] != "Nextcloud Image") ):

script('unsplash', 'user');
/** script('unsplash', 'user'); */
style('unsplash', 'settings');

?>
Expand Down