Skip to content

Commit 5ebb051

Browse files
mildabredg
authored andcommitted
tracy: Adding a line to the Tracy activation code sample (#991)
1 parent 6690629 commit 5ebb051

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

tracy/pt/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternativamente, você pode baixar o pacote completo ou o arquivo [tracy.phar.
3434
Utilização .[#toc-usage]
3535
========================
3636

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

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

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

tracy/ro/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternativ, puteți descărca întregul pachet sau fișierul [tracy.phar |https:
3434
Utilizare .[#toc-usage]
3535
=======================
3636

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

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

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

tracy/ru/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\Debugger::enable()' как можно раньше в начале программы, до того, как будет отправлен какой-либо вывод:
3838

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

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

tracy/sl/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ lahko prenesete tudi celoten paket ali datoteko [tracy.phar |https://github.com/
3434
Uporaba .[#toc-usage]
3535
=====================
3636

37-
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:
37+
Tracy se aktivira s klicem metode `Tracy\Debugger::enable()' čim prej na začetku programa, preden se pošlje kakršen koli izhod:
3838

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

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

tracy/tr/guide.texy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ Alternatif olarak, tüm paketi veya [tracy.phar |https://github.com/nette/tracy/
3434
Kullanım .[#toc-usage]
3535
======================
3636

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

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

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

tracy/uk/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

0 commit comments

Comments
 (0)