Skip to content

Commit

Permalink
Translated using Weblate (Portuguese)
Browse files Browse the repository at this point in the history
Currently translated at 64.0% (32 of 50 strings)

Translation: BeeWare/Tutorial 2
Translate-URL: https://hosted.weblate.org/projects/beeware/tutorial/tutorial-2/pt/
  • Loading branch information
joaovitorpmoreira authored and weblate committed Feb 7, 2024
1 parent 802fee7 commit 976636c
Showing 1 changed file with 27 additions and 12 deletions.
39 changes: 27 additions & 12 deletions docs/locales/pt/LC_MESSAGES/tutorial/tutorial-2.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: BeeWare 0.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-24 17:48+0800\n"
"PO-Revision-Date: 2024-01-31 21:02+0000\n"
"PO-Revision-Date: 2024-02-07 00:01+0000\n"
"Last-Translator: joaovitorpmoreira <programacaojoaopm@gmail.com>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/beeware/"
"tutorial/tutorial-2/pt/>\n"
Expand Down Expand Up @@ -101,31 +101,39 @@ msgstr "Depois, definimos um método chamado ``startup()``::"
#: ../../tutorial/tutorial-2.rst:75 6deb906bea6240d19bcd5ad0130c7399
msgid "The first thing the startup method does is to define a main box. Toga's layout scheme behaves similar to HTML. You build an application by constructing a collection of boxes, each of which contains other boxes, or actual widgets. You then apply styles to these boxes to define how they will consume the available window space."
msgstr ""
"A primeira coisa que o método startup() faz é definir uma caixa principal. O "
"esquema de layout do Toga se comporta de maneira semelhante ao HTML. Você "
"constrói um aplicativo construindo uma coleção de caixas, cada uma das quais "
"contém outras caixas ou widgets reais. Em seguida, você aplica estilos a "
"essas caixas para definir como elas ocuparão o espaço disponível na janela."
"A primeira coisa que o método startup() faz é definir uma container "
"principal. O esquema de layout do Toga se comporta de maneira semelhante ao "
"HTML. A construção de uma aplicação se dá por meio da criação de uma coleção "
"de containers, cada um contendo outros containers ou os widgets propriamente "
"dito. Depois, você aplica estilos a esses containers para definir como vão "
"usar o espaço na janela."

#: ../../tutorial/tutorial-2.rst:81 d203237d233845a0bafe0fce1f66c076
msgid "In this application, we define a single box, but we don't put anything into it."
msgstr ""
"Neste aplicativo, definimos uma única caixa, mas não colocamos nada dentro "
"dela."
"Neste aplicativo, definimos um único container, mas não colocamos nada "
"dentro dele."

#: ../../tutorial/tutorial-2.rst:83 2cb1eb40c1904fb687838881942beeb9
msgid "Next, we define a window into which we can put this empty box::"
msgstr ""
"Em seguida, definimos uma janela na qual podemos colocar esta caixa vazia::"
"Em seguida, definimos uma janela na qual podemos colocar o container vazio::"

#: ../../tutorial/tutorial-2.rst:87 81854208e3814a248ba19864398ad262
msgid "This creates an instance of a ``toga.MainWindow``, which will have a title matching the application's name. A Main Window is a special kind of window in Toga - it's a window that is closely bound to the life cycle of the app. When the Main Window is closed, the application exits. The Main Window is also the window that has the application's menu (if you're on a platform like Windows where menu bars are part of the window)"
msgstr ""
"Isso cria uma instância de ``toga.MainWindow``, que terá um título "
"correspondente ao nome do aplicativo. A MainWindow (Janela Principal) é um "
"tipo especial de janela no Toga, pois está intimamente ligada ao ciclo de "
"vida da aplicação. Quando a MainWindow é fechada, a aplicação também se "
"encerra. Além disso, a MainWindow também é a janela que contém o menu do "
"aplicativo (se você estiver em uma plataforma como o Windows, onde as barras "
"de menu fazem parte da janela)"

#: ../../tutorial/tutorial-2.rst:94 f9f2765e2e5a41a3a3619667c0c21db6
msgid "We then add our empty box as the content of the main window, and instruct the application to show our window::"
msgstr ""
"Então, adicionamos nossa caixa vazia como conteúdo da janela principal e "
"Então, adicionamos nosso container vazio como conteúdo da janela principal e "
"instruímos o aplicativo a mostrar nossa janela::"

#: ../../tutorial/tutorial-2.rst:100 586f8c79321e4a57975898d3629d3d7c
Expand All @@ -137,10 +145,15 @@ msgstr ""
#: ../../tutorial/tutorial-2.rst:106 f713f32cc9e8483d81e4c203e396b14c
msgid "This ``main()`` method is the one that is imported and invoked by ``__main__.py``. It creates and returns an instance of our ``HelloWorld`` application."
msgstr ""
"O método ``main()`` é aquele que é importado e chamado pelo arquivo "
"``__main__.py``. Ele cria e retorna uma instância da nossa aplicação "
"``HelloWorld``."

#: ../../tutorial/tutorial-2.rst:110 a1de54fa851046488b5545f62267c8f8
msgid "That's the simplest possible Toga application. Let's put some of our own content into the application, and make the app do something interesting."
msgstr ""
"Essa é a aplicação Toga mais básica possível. Vamos agora integrar conteúdo "
"personalizado à aplicação e torná-la mais interessante."

#: ../../tutorial/tutorial-2.rst:114 cf7b196937ed497abd6143a4e6ec44de
msgid "Adding some content of our own"
Expand All @@ -160,11 +173,13 @@ msgstr ""

#: ../../tutorial/tutorial-2.rst:154 911423a764974fe1aa82c37ed8cab523
msgid "Let's look in detail at what has changed."
msgstr ""
msgstr "Vamos ver em detalhes o que mudou."

#: ../../tutorial/tutorial-2.rst:156 bd86e9d9c48e44d58e1b29b0a0750d0a
msgid "We're still creating a main box; however, we are now applying a style::"
msgstr ""
"Ainda estamos fazendo o container principal; porém, agora estamos aplicando "
"um estilo::"

#: ../../tutorial/tutorial-2.rst:160 76287b7a213d412aa066e0d7b569bc45
msgid "Toga's built-in layout system is called \"Pack\". It behaves a lot like CSS. You define objects in a hierarchy - in HTML, the objects are ``<div>``, ``<span>``, and other DOM elements; in Toga, they're widgets and boxes. You can then assign styles to the individual elements. In this case, we're indicating that this is a ``COLUMN`` box - that is, it is a box that will consume all the available width, and will expand its height as content is added, but it will try to be as short as possible."
Expand Down Expand Up @@ -192,7 +207,7 @@ msgstr ""

#: ../../tutorial/tutorial-2.rst:194 90abaa4f174044f88385291a95f9e0c6
msgid "Now we define a button::"
msgstr ""
msgstr "Agora definimos um botão::"

#: ../../tutorial/tutorial-2.rst:202 2a06cbcbce0d4a3482a04de42a492f2b
msgid "The button also has 5px of padding on all sides. We also define a *handler* - a method to invoke when the button is pressed."
Expand Down

0 comments on commit 976636c

Please sign in to comment.