From 710678873d58581dc040e8339938cd0787d72098 Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Wed, 7 Oct 2015 22:07:09 -0300 Subject: [PATCH 1/2] Sync with file on guide base file Sync with file on guide base file --- docs/guide-pt-BR/helper-html.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/guide-pt-BR/helper-html.md diff --git a/docs/guide-pt-BR/helper-html.md b/docs/guide-pt-BR/helper-html.md new file mode 100644 index 0000000..714ca12 --- /dev/null +++ b/docs/guide-pt-BR/helper-html.md @@ -0,0 +1,17 @@ +Bootstrap introduces many consistent HTML constructions and skeletons, which allow creating different visual effects. Only the most complex of them are covered by the widgets provided with this extension. The rest should be composed manually using direct HTML composition. However, several special Bootstrap markup cases are covered by [[\yii\bootstrap\Html]] helper. [[\yii\bootstrap\Html]] is an enhanced version of the regular [[\yii\helpers\Html]] dedicated to the Bootstrap needs. It provides several useful methods: + + icon() - allows rendering of Glyphicon icons + staticControl() - allows rendering of form "static controls" + +[[\yii\bootstrap\Html]] inherits all functionality available at [[\yii\helpers\Html]] and can be used as a substitute, so you don't need them both inside your view files. For example: + + + Html::icon('approve') . Html::encode('Save & apply'), + 'encodeLabel' => false, + 'options' => ['class' => 'btn-primary'], +]); ?> + + Attention: do not confuse [[\yii\bootstrap\Html]] and [[\yii\helpers\Html]], be careful of which class you are using inside your views. From 062a838dfe0581d4f4a951164e264eced358e93d Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Thu, 15 Oct 2015 01:05:06 -0300 Subject: [PATCH 2/2] 100% done in ptBR 100% done in ptBR --- docs/guide-pt-BR/helper-html.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/guide-pt-BR/helper-html.md b/docs/guide-pt-BR/helper-html.md index 714ca12..27ccdd1 100644 --- a/docs/guide-pt-BR/helper-html.md +++ b/docs/guide-pt-BR/helper-html.md @@ -1,9 +1,10 @@ -Bootstrap introduces many consistent HTML constructions and skeletons, which allow creating different visual effects. Only the most complex of them are covered by the widgets provided with this extension. The rest should be composed manually using direct HTML composition. However, several special Bootstrap markup cases are covered by [[\yii\bootstrap\Html]] helper. [[\yii\bootstrap\Html]] is an enhanced version of the regular [[\yii\helpers\Html]] dedicated to the Bootstrap needs. It provides several useful methods: +Bootstrap introduz construções HTML mais consistentes e esqueletos, que permitem a criação de diferentes efeitos visuais. Apenas o mais complexos deles são cobertos por os widgets fornecidos com esta extensão . O restante deverá ser escrito manualmente usando escrita HTML direta. No entanto, vários casos especiais de marcação Bootstrap são cobertos pelo helper [[\yii\bootstrap\Html]]. [[\yii\bootstrap\Html]] é uma versão melhorada de [[\yii\helpers\Html]] dedicada à quem precisa do Bootstrap. Ele fornece vários métodos úteis : icon() - allows rendering of Glyphicon icons staticControl() - allows rendering of form "static controls" -[[\yii\bootstrap\Html]] inherits all functionality available at [[\yii\helpers\Html]] and can be used as a substitute, so you don't need them both inside your view files. For example: +[[\yii\bootstrap\Html]] herda toda funcionalidade disponível em [[\yii\helpers\Html]] e pode ser usado como um substituto , para que você não precisa de ambos dentro de seus arquivos de views . Por exemplo: + ['class' => 'btn-primary'], ]); ?> - Attention: do not confuse [[\yii\bootstrap\Html]] and [[\yii\helpers\Html]], be careful of which class you are using inside your views. + Atenção: Não confunda [[\yii\bootstrap\Html]] e [[\yii\helpers\Html]], tenha o cuidado de que classe você está usando dentro de seus arquivos de views.