Skip to content

Commit

Permalink
Merge pull request #287 from newpanjing/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
newpanjing authored Jul 17, 2020
2 parents 32b9360 + dc2689c commit c5c7ba3
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simpleui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def get_version():
return '4.0.3'
return '2020.7'
42 changes: 42 additions & 0 deletions simpleui/static/admin/simpleui-x/locale/pt-br.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
var Lanuages = {
"Refresh": "Recarregar",
"Close current": "Fechar atual",
"Close other": "Fechar outro",
"Close all": "Fechar todos",
"Open in a new page": "Abrir uma nova página",
"Change theme": "Mudar o tema",
"Default": "Padrão",
"Servers": "Servidores",
"Application information": "Informações da aplicação",
"Home page": "Pagina inicial",
"Report issue": "Reportar um problema",

"Select": "Selecionar",
"Selected": "Selecionado",


"Purple": "Roxo",
"Gray": "Cinza",
"Dark green": "Verde Escuro",
"Orange": "Laranjado",
"Black": "Preta",
"Green": "Verde",
"Light": "Claro",

"Number": "Número",
"Theme name": "Nome do tema",
"Action": "Ação",

"ConfirmYes": "ConfirmarSIM",
"ConfirmNo": "ConfirmarNão",
"Tips": "Dicas",
"Are you sure you want them all closed": "Você tem certeza que quer fechar tudo?",

"to": "para",
"Quick navigation": "Navegação rápida",
"Go back": 'Voltar',

'Set font size': 'Mudar tamanho da fonte',
'Reset': 'Reiniciar',
'Are you sure you want to delete the selected?': 'Tem certeza que quer apagar os selecionados?'
}
2 changes: 1 addition & 1 deletion simpleui/templatetags/simpletags.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def get_icon(obj, name=None):
if not temp:
_default = __get_config('SIMPLEUI_DEFAULT_ICON')
if _default is None or _default:
return 'far fa-file'
return 'far fa-circle'
return ''
return temp

Expand Down

0 comments on commit c5c7ba3

Please sign in to comment.