From a44084a4a4215a6efe1ce4d9223e1581907af5bb Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Wed, 7 Oct 2015 22:07:52 -0300 Subject: [PATCH 1/2] Sync with file on guide base file Sync with file on guide base file --- docs/guide-pt-BR/asset-bundles.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/guide-pt-BR/asset-bundles.md diff --git a/docs/guide-pt-BR/asset-bundles.md b/docs/guide-pt-BR/asset-bundles.md new file mode 100644 index 0000000..6d7bd38 --- /dev/null +++ b/docs/guide-pt-BR/asset-bundles.md @@ -0,0 +1,16 @@ +Asset Bundles +============= + +Bootstrap is a complex front-end solution, which includes CSS, JavaScript, fonts and so on. +In order to allow you the most flexible control over Bootstrap components, this extension provides several asset bundles. +They are: + +- [[yii\bootstrap\BootstrapAsset|BootstrapAsset]] - contains only the main CSS files. +- [[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset]] - depends on [[yii\bootstrap\BootstrapAsset]], contains the javascript files. +- [[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset]] - depends on [[yii\bootstrap\BootstrapAsset]], contains the Bootstrap default theme CSS. + +Particular application needs may require different bundle (or bundle combination) usage. +If you need only CSS styles, [[yii\bootstrap\BootstrapAsset]] will be enough for you. However, if +you want to use Bootstrap JavaScript, you need to register [[yii\bootstrap\BootstrapPluginAsset]]. + +> Tip: most of the widgets register [[yii\bootstrap\BootstrapPluginAsset]] automatically. From e449ee16485ef63f04598478b9fbc1fd7384a27c Mon Sep 17 00:00:00 2001 From: Lucas Barros Date: Thu, 15 Oct 2015 12:58:14 -0300 Subject: [PATCH 2/2] 100% done in ptBR 100% done in ptBR --- docs/guide-pt-BR/asset-bundles.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/guide-pt-BR/asset-bundles.md b/docs/guide-pt-BR/asset-bundles.md index 6d7bd38..154b4e6 100644 --- a/docs/guide-pt-BR/asset-bundles.md +++ b/docs/guide-pt-BR/asset-bundles.md @@ -1,16 +1,15 @@ Asset Bundles ============= -Bootstrap is a complex front-end solution, which includes CSS, JavaScript, fonts and so on. -In order to allow you the most flexible control over Bootstrap components, this extension provides several asset bundles. -They are: +Bootstrap é uma solução complexa para front-end, o qual inclue CSS, JavaScript, fontes e assim por diante. +A fim de permitir que você tenha controle mais flexível sobre componentes Bootstrap , esta extensão fornece vários asset bundles. Eles são: -- [[yii\bootstrap\BootstrapAsset|BootstrapAsset]] - contains only the main CSS files. -- [[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset]] - depends on [[yii\bootstrap\BootstrapAsset]], contains the javascript files. -- [[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset]] - depends on [[yii\bootstrap\BootstrapAsset]], contains the Bootstrap default theme CSS. +- [[yii\bootstrap\BootstrapAsset|BootstrapAsset]] - Contém apenas arquivos CSS. +- [[yii\bootstrap\BootstrapPluginAsset|BootstrapPluginAsset]] - Depende de [[yii\bootstrap\BootstrapAsset]], contem os arquivos JavaScript. +- [[yii\bootstrap\BootstrapThemeAsset|BootstrapThemeAsset]] - depende de [[yii\bootstrap\BootstrapAsset]], contém o tema padrão do Bootstrap. -Particular application needs may require different bundle (or bundle combination) usage. -If you need only CSS styles, [[yii\bootstrap\BootstrapAsset]] will be enough for you. However, if -you want to use Bootstrap JavaScript, you need to register [[yii\bootstrap\BootstrapPluginAsset]]. +Necessidades de aplicações específicas podem exigir utilização de pacotes diferentes ( ou a combinação bundle). +Se você precisa apenas de estilos CSS, [[yii\bootstrap\BootstrapAsset]] será o suficiente para você. No entanto , se +você quiser usar Bootstrap JavaScript, você precisa se registrar [[yii\bootstrap\BootstrapPluginAsset]]. -> Tip: most of the widgets register [[yii\bootstrap\BootstrapPluginAsset]] automatically. +> Tip: a maioria dos widgets [[yii\bootstrap\BootstrapPluginAsset]] registram automaticamente.