Skip to content

Commit

Permalink
tracy: Adding a line to the Tracy activation code sample (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
mildabre authored and dg committed Oct 24, 2023
1 parent 15d3458 commit d9659b1
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 16 deletions.
4 changes: 3 additions & 1 deletion tracy/bg/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ composer require tracy/tracy
Използване на .[#toc-usage]
===========================

Активирането на Tracy е много лесно. Просто добавете тези два реда код, за предпочитане непосредствено след зареждането на библиотеката (например `require 'vendor/autoload.php'`) и преди изпращането на изхода към браузъра:
Tracy се активира чрез извикване на метода `Tracy\Debugger::enable()' възможно най-скоро в началото на програмата, преди да се изпрати какъвто и да е изход:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // алтернативно tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/cs/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Můžete si také stáhnout celý balíček jako soubor [tracy.phar |https://git
Použití
=======

*Laděnku* aktivujeme snadno. Stačí přidat do kódu, nejlépe hned za načtení knihovny (např. `require 'vendor/autoload.php'`) a dříve než se odešle jakýkoliv výstup, následující:
*Laděnku* aktivujeme voláním metody `Tracy\Debugger::enable()' co nejdříve na začátku programu, před odesláním jakéhokoli výstupu:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // případně tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/de/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternativ können Sie auch das gesamte Paket oder die Datei [tracy.phar |https:
Verwendung .[#toc-usage]
========================

Die Aktivierung von Tracy ist einfach. Fügen Sie einfach diese beiden Codezeilen ein, vorzugsweise direkt nach dem Laden der Bibliothek (wie `require 'vendor/autoload.php'`) und bevor eine Ausgabe an den Browser gesendet wird:
Tracy wird durch den Aufruf der Methode `Tracy\Debugger::enable()' so früh wie möglich zu Beginn des Programms aktiviert, bevor irgendeine Ausgabe gesendet wird:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternativ tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/el/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ composer require tracy/tracy
Χρήση .[#toc-usage]
===================

Η ενεργοποίηση του Tracy είναι εύκολη. Απλά προσθέστε αυτές τις δύο γραμμές κώδικα, κατά προτίμηση αμέσως μετά τη φόρτωση της βιβλιοθήκης (όπως `require 'vendor/autoload.php'`) και πριν από την αποστολή οποιασδήποτε εξόδου στο πρόγραμμα περιήγησης:
Το Tracy ενεργοποιείται με την κλήση της μεθόδου `Tracy\Debugger::enable()' το συντομότερο δυνατό στην αρχή του προγράμματος, πριν από την αποστολή οποιασδήποτε εξόδου:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // εναλλακτικά tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/en/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternatively, you can download the whole package or [tracy.phar |https://github
Usage
=====

Activating Tracy is easy. Simply add these two lines of code, preferably just after library loading (like `require 'vendor/autoload.php'`) and before any output is sent to browser:
Tracy is activated by calling the `Tracy\Debugger::enable()' method as soon as possible at the beginning of the program, before any output is sent:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternatively tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/es/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ También puede descargar el paquete completo o el archivo [tracy.phar |https://g
Utilización .[#toc-usage]
=========================

Activar Tracy es fácil. Simplemente añada estas dos líneas de código, preferiblemente justo después de cargar la librería (como `require 'vendor/autoload.php'`) y antes de que cualquier salida sea enviada al navegador:
Tracy se activa llamando al método `Tracy\Debugger::enable()' tan pronto como sea posible al principio del programa, antes de que se envíe ninguna salida:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternativamente tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/fr/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Vous pouvez également télécharger le paquet complet ou le fichier [tracy.phar
Utilisation .[#toc-usage]
=========================

L'activation de Tracy est facile. Il suffit d'ajouter ces deux lignes de code, de préférence juste après le chargement de la bibliothèque (comme `require 'vendor/autoload.php'`) et avant que toute sortie soit envoyée au navigateur :
Tracy est activé en appelant la méthode `Tracy\Debugger::enable()' dès que possible au début du programme, avant que toute sortie ne soit envoyée :

```php
use Tracy\Debugger;

require 'vendor/autoload.php' ; // alternativement tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/hu/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternatívaként letöltheti a teljes csomagot vagy a [tracy.phar |https://gith
Használat .[#toc-usage]
=======================

Tracy aktiválása egyszerű. Egyszerűen add hozzá ezt a két kódsort, lehetőleg közvetlenül a könyvtár betöltése után (mint a `require 'vendor/autoload.php'`), és mielőtt bármilyen kimenetet elküldenél a böngészőnek:
A Tracy aktiválása a `Tracy\Debugger::enable()' metódus meghívásával történik a program elején a lehető leghamarabb, mielőtt bármilyen kimenet elküldésre kerülne:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternatívaként tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/it/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ In alternativa, è possibile scaricare l'intero pacchetto o il file [tracy.phar
Utilizzo .[#toc-usage]
======================

Attivare Tracy è facile. È sufficiente aggiungere queste due righe di codice, preferibilmente subito dopo il caricamento della libreria (come `require 'vendor/autoload.php'`) e prima che qualsiasi output sia inviato al browser:
Tracy viene attivato chiamando il metodo `Tracy\Debugger::enable()' il prima possibile all'inizio del programma, prima che venga inviato qualsiasi output:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // in alternativa tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/pl/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Możesz również pobrać cały pakiet jako plik [tracy.phar |https://github.com
Zastosowanie .[#toc-usage]
==========================

*Płyta* jest łatwa do aktywacji. Wystarczy dodać poniższe do kodu, najlepiej zaraz po załadowaniu biblioteki (np. `require 'vendor/autoload.php'`) i przed wysłaniem jakiegokolwiek wyjścia:
Tracy aktywuje się poprzez wywołanie metody `TracyDebugger::enable()' jak najszybciej na początku programu, przed wysłaniem jakiegokolwiek wyjścia:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternatywnie tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/pt/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternativamente, você pode baixar o pacote completo ou o arquivo [tracy.phar.
Utilização .[#toc-usage]
========================

Ativar Tracy é fácil. Basta adicionar estas duas linhas de código, de preferência logo após o carregamento da biblioteca (como `require 'vendor/autoload.php'`) e antes que qualquer saída seja enviada para o navegador:
Tracy é ativado chamando o método `Tracy\Debugger::enable()' o mais rápido possível no início do programa, antes que qualquer saída seja enviada:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternativamente tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/ro/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternativ, puteți descărca întregul pachet sau fișierul [tracy.phar |https:
Utilizare .[#toc-usage]
=======================

Activarea lui Tracy este ușoară. Pur și simplu adăugați aceste două linii de cod, de preferință imediat după încărcarea bibliotecii (cum ar fi `require 'vendor/autoload.php'`) și înainte ca orice ieșire să fie trimisă în browser:
Tracy este activat prin apelarea metodei `Tracy\Debugger::enable()' cât mai curând posibil la începutul programului, înainte de a fi trimisă orice ieșire:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternativ tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/ru/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ composer require tracy/tracy
Использование .[#toc-usage]
===========================

Активировать Tracy очень просто. Просто добавьте эти две строки кода, желательно сразу после загрузки библиотеки (например, `require 'vendor/autoload.php'`) и перед отправкой любого вывода в браузер:
Трейси активируется вызовом метода `Tracy\Debugger::enable()' как можно раньше в начале программы, до того, как будет отправлен какой-либо вывод:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // альтернатива tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/sl/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ lahko prenesete tudi celoten paket ali datoteko [tracy.phar |https://github.com/
Uporaba .[#toc-usage]
=====================

Aktivacija programa Tracy je preprosta. Preprosto dodajte ti dve vrstici kode, po možnosti takoj po nalaganju knjižnice (kot `require 'vendor/autoload.php'`) in preden se v brskalnik pošlje kakršen koli izpis:
Tracy se aktivira s klicem metode `Tracy\Debugger::enable()' čim prej na začetku programa, preden se pošlje kakršen koli izhod:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternativno tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/tr/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ Alternatif olarak, tüm paketi veya [tracy.phar |https://github.com/nette/tracy/
Kullanım .[#toc-usage]
======================

Tracy'yi etkinleştirmek kolaydır. Tercihen kütüphane yüklemesinden hemen sonra ( `require 'vendor/autoload.php'` gibi) ve tarayıcıya herhangi bir çıktı gönderilmeden önce bu iki kod satırını eklemeniz yeterlidir:
Tracy, `Tracy\Debugger::enable()' yönteminin programın başında, herhangi bir çıktı gönderilmeden önce mümkün olan en kısa sürede çağrılmasıyla etkinleştirilir:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // alternatif olarak tracy.phar

Debugger::enable();
```

Expand Down
4 changes: 3 additions & 1 deletion tracy/uk/guide.texy
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ composer require tracy/tracy
Використання .[#toc-usage]
==========================

Активувати Tracy дуже просто. Просто додайте ці два рядки коду, бажано одразу після завантаження бібліотеки (наприклад, `require 'vendor/autoload.php'`) і перед надсиланням будь-якого виводу в браузер:
Tracy активується викликом методу `Tracy\Debugger::enable()' якнайшвидше на початку програми, до того, як буде надіслано будь-який вивід:

```php
use Tracy\Debugger;

require 'vendor/autoload.php'; // або tracy.phar

Debugger::enable();
```

Expand Down

0 comments on commit d9659b1

Please sign in to comment.