Skip to content

Commit a8973a7

Browse files
committed
Tracy: added mappings
1 parent de3a2c9 commit a8973a7

16 files changed

+148
-4
lines changed

tracy/bg/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ var settings = {
4141

4242
Това става, като се стартира скриптът `install.cmd`. ** Трябва да го стартирате като администратор.** Скриптът `open-editor.js` сега ще обслужва протокола `editor://`.
4343

44+
За да отваряте връзки, генерирани на други сървъри, например производствен сървър или Docker, добавете съпоставяне на отдалечен към локален URL адрес към `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/cs/open-files-in-ide.texy

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Pozor, ponechávejte dvojitá lomítka v cestách.
4141

4242
To uděláte spuštěním soubor `install.cmd`. **Je potřeba ho spustit jako Správce.** Skript `open-editor.js` bude nyní obsluhovat protokol `editor://`.
4343

44+
Aby bylo možné otevírat odkazy vygenerované na jiných serverech, jako třeba na ostrém serveru nebo v Dockeru, doplňte do `open-editor.js` ještě mapování vzdálené URL na lokální:
45+
46+
```js
47+
mappings: {
48+
// vzdálená cesta: lokální cesta
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux
4655
=====
@@ -119,8 +128,8 @@ Vytvoření souboru:
119128

120129
- Ve Firefoxu může být potřeba protokol povolit [nastavením |http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above] `network.protocol-handler.expose.editor` na `false` a `network.protocol-handler.expose-all` na `true` v about:config.
121130
- Pokud vám to hned nepůjde, nepanikařte a zkuste párkrát refreshnout stránku před klikem na onen odkaz. Rozjede se to!
122-
- Zde je [link|https://www.winhelponline.com/blog/error-there-is-no-script-engine-for-file-extension-when-running-js-files/] na opravu případné chyby:
123-
Input Error: There is no script engine for file extension ".js" Maybe you associated ".js" file to another app, not JScript engine.
131+
- Zde je [link|https://www.winhelponline.com/blog/error-there-is-no-script-engine-for-file-extension-when-running-js-files/]
132+
na opravu případné chyby: `Input Error: There is no script engine for file extension ".js"`, `Maybe you associated ".js" file to another app, not JScript engine.` respektive `pro příponu .js není k dispozici žádný skriptovací stroj`.
124133

125134
V Google Chrome od verze 77 již neuvidíte zatržítko „Tento typ odkazů vždy otevírat v přidružené aplikaci“, když je editor spuštěný prostřednictvím odkazu. Řešení pro Windows: vytvořte soubor `fix.reg`:
126135

tracy/de/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Seien Sie vorsichtig und behalten Sie die doppelten Schrägstriche in den Pfaden
4141

4242
Dazu führen Sie `install.cmd` aus. **Sie müssen es als Administrator ausführen**. Das Skript `open-editor.js` bedient nun das Protokoll `editor://`.
4343

44+
Um Links zu öffnen, die auf anderen Servern generiert wurden, z. B. auf einem Produktionsserver oder Docker, fügen Sie eine Remote-zu-Local-URL-Zuordnung zu `open-editor.js` hinzu:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/el/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ var settings = {
4141

4242
Αυτό γίνεται εκτελώντας το `install.cmd`. **Πρέπει να το εκτελέσετε ως διαχειριστής.** Το σενάριο `open-editor.js` θα εξυπηρετεί τώρα το πρωτόκολλο `editor://`.
4343

44+
Για να ανοίξετε συνδέσμους που δημιουργούνται σε άλλους διακομιστές, όπως ένας διακομιστής παραγωγής ή ο Docker, προσθέστε μια αντιστοίχιση απομακρυσμένης σε τοπική διεύθυνση URL στο `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/en/open-files-in-ide.texy

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Be careful and keep the double slashes in the paths.
4141

4242
This is done by running `install.cmd`. **You need to run it as an Administrator.** The `open-editor.js` script will now serve the `editor://` protocol.
4343

44+
In order to open links generated on other servers, such as a production server or Docker, add a remote to local URL mapping to `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux
4655
=====
@@ -119,8 +128,8 @@ Troubleshooting
119128

120129
- In Firefox you may need to [allow |http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above] custom protocol execution in about:config by setting `network.protocol-handler.expose.editor` to `false` and `network.protocol-handler.expose-all` to `true`. It should be allowed by default, however.
121130
- If it's not all working immediately, don't panic. Try to refresh the page, restart browser or computer. That should help.
122-
- See [here|https://www.winhelponline.com/blog/error-there-is-no-script-engine-for-file-extension-when-running-js-files/] to fix:
123-
Input Error: There is no script engine for file extension ".js" Maybe you associated ".js" file to another app, not JScript engine.
131+
- Here is the [link |https://www.winhelponline.com/blog/error-there-is-no-script-engine-for-file-extension-when-running-js-files/]
132+
to correct any errors: `Input Error: There is no script engine for file extension ".js"` or `Maybe you associated ".js" file to another app, not JScript engine.`
124133

125134
Starting from Google Chrome version 77 you will no longer see the checkbox “Always open these types of links in the associated app” when editor is opened through a link. Workaround for Windows: create file `fix.reg`:
126135

tracy/es/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Ten cuidado y mantén las barras dobles en las rutas.
4141

4242
Esto se hace ejecutando `install.cmd`. **Necesitas ejecutarlo como Administrador. El script `open-editor.js` ahora servirá al protocolo `editor://`.
4343

44+
Para abrir enlaces generados en otros servidores, como un servidor de producción o Docker, añada una asignación de URL remota a local a `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/fr/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Faites attention et gardez les doubles slashs dans les chemins.
4141

4242
Ceci est fait en exécutant `install.cmd`. **Vous devez l'exécuter en tant qu'administrateur. Le script `open-editor.js` servira désormais le protocole `editor://`.
4343

44+
Afin d'ouvrir les liens générés sur d'autres serveurs, tels qu'un serveur de production ou Docker, ajoutez un mappage d'URL distant à local à `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/hu/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Legyen óvatos, és tartsa meg a kettős kötőjeleket az elérési utakban.
4141

4242
Ez a `install.cmd` futtatásával történik. **Adminisztrátorként kell futtatnia.** A `open-editor.js` szkript mostantól a `editor://` protokollt fogja kiszolgálni.
4343

44+
Ahhoz, hogy más szervereken, például egy termelési szerveren vagy Dockerben létrehozott hivatkozásokat nyisson meg, adjon hozzá egy távoli helyi URL-t leképezőt a `open-editor.js` címhez:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/it/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Fate attenzione a mantenere le doppie barre nei percorsi.
4141

4242
Questo si fa eseguendo `install.cmd`. **Lo script `open-editor.js` servirà ora il protocollo `editor://`.
4343

44+
Per aprire i link generati su altri server, come un server di produzione o Docker, aggiungere una mappatura dell'URL da remoto a locale a `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

tracy/pl/open-files-in-ide.texy

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Uważaj, aby zostawić podwójne ukośniki w ścieżkach.
4141

4242
Robisz to uruchamiając plik `install.cmd`. **Musisz uruchomić go jako Administrator.** Skrypt `open-editor.js` będzie teraz obsługiwał protokół `editor://`.
4343

44+
Aby otworzyć linki wygenerowane na innych serwerach, takich jak serwer produkcyjny lub Docker, należy dodać mapowanie zdalnego adresu URL na lokalny do `open-editor.js`:
45+
46+
```js
47+
mappings: {
48+
// remote path: local path
49+
'/var/www/nette.app': 'W:\\Nette.web\\_web',
50+
}
51+
```
52+
4453

4554
Linux .[#toc-linux]
4655
===================

0 commit comments

Comments
 (0)