Skip to content

Commit d9659b1

Browse files
mildabredg
authored andcommitted
tracy: Adding a line to the Tracy activation code sample (#991)
1 parent 15d3458 commit d9659b1

File tree

16 files changed

+48
-16
lines changed

16 files changed

+48
-16
lines changed

tracy/bg/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ composer require tracy/tracy
3434
Използване на .[#toc-usage]
3535
===========================
3636

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

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // алтернативно tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/cs/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Můžete si také stáhnout celý balíček jako soubor [tracy.phar |https://git
3434
Použití
3535
=======
3636

37-
*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í:
37+
*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:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // případně tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/de/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternativ können Sie auch das gesamte Paket oder die Datei [tracy.phar |https:
3434
Verwendung .[#toc-usage]
3535
========================
3636

37-
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:
37+
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:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // alternativ tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/el/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ composer require tracy/tracy
3434
Χρήση .[#toc-usage]
3535
===================
3636

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

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // εναλλακτικά tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/en/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternatively, you can download the whole package or [tracy.phar |https://github
3434
Usage
3535
=====
3636

37-
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:
37+
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:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // alternatively tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/es/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ También puede descargar el paquete completo o el archivo [tracy.phar |https://g
3434
Utilización .[#toc-usage]
3535
=========================
3636

37-
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:
37+
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:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // alternativamente tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/fr/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Vous pouvez également télécharger le paquet complet ou le fichier [tracy.phar
3434
Utilisation .[#toc-usage]
3535
=========================
3636

37-
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 :
37+
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 :
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php' ; // alternativement tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/hu/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternatívaként letöltheti a teljes csomagot vagy a [tracy.phar |https://gith
3434
Használat .[#toc-usage]
3535
=======================
3636

37-
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:
37+
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:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // alternatívaként tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/it/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ In alternativa, è possibile scaricare l'intero pacchetto o il file [tracy.phar
3434
Utilizzo .[#toc-usage]
3535
======================
3636

37-
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:
37+
Tracy viene attivato chiamando il metodo `Tracy\Debugger::enable()' il prima possibile all'inizio del programma, prima che venga inviato qualsiasi output:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // in alternativa tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

tracy/pl/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Możesz również pobrać cały pakiet jako plik [tracy.phar |https://github.com
3434
Zastosowanie .[#toc-usage]
3535
==========================
3636

37-
*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:
37+
Tracy aktywuje się poprzez wywołanie metody `TracyDebugger::enable()' jak najszybciej na początku programu, przed wysłaniem jakiegokolwiek wyjścia:
3838

3939
```php
4040
use Tracy\Debugger;
4141

42+
require 'vendor/autoload.php'; // alternatywnie tracy.phar
43+
4244
Debugger::enable();
4345
```
4446

0 commit comments

Comments
 (0)