Skip to content

Commit 5daa317

Browse files
committed
EN,CZ : CORS description updated to state after last changes
1 parent 08af0d6 commit 5daa317

File tree

6 files changed

+22
-12
lines changed

6 files changed

+22
-12
lines changed

cs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ je moderní a rychlý nástroj pro prohlížení dokumentace Markdown a HTML př
55
## Jak to funguje
66

77
1. Stáhněte si balíček <span id="linkhereI"></span> a rozbalte jej.
8-
2. Spusťte prohlížeč bez [CORS omezení][bypassCORS] nebo budete vidět pouze prázdnou stránku.
8+
2. Pro správné zobrazení spusťte prohlížeč bez [CORS omezení][bypassCORS]. Jinak se zobrazí stránka se zprávou a budete muset ručně vybrat soubory s nápovědou a daty.
99
3. Otevřete **index.html** v prohlížeči.
1010
4. Nastavte URL parametr **?d=X**, kde **X** bude cesta k ZIP souboru s nápovědou nebo bude končit **/**, pokud má být čten obsah adresáře.
1111
Pokud toto neuděláte, **./hlp/Help-{vybraný jazyk prohlížeče}.zip** bude určeno jako výchozí.

cs/corsPolicy.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# CORS politiky
22

3-
Vidíte jen prázdnou stránku jako u about:blank? Pak prohlížeč nenačítá data ze ZIP souboru.
3+
Vidíte jen stránku s "⚠ Do you see this message only?"? Pak prohlížeč nenačítá data ze ZIP souboru.
44
Prohlížeč blokuje přístup k místním souborům (file://) kvůli CORS politikám.
55

6-
Prohlížeč musíte spustit s těmito parametry, aby se CORS omezení vypnula:
6+
Máte 2 možnosti dalšího postupu:
7+
1. V polích **data.zip** a **Help-(language).zip** vyberete potřebné soubory a kliknete na **Odeslat**.
8+
2. Prohlížeč musíte spustit s těmito parametry, aby se CORS omezení vypnula:
79
- Chrome:
8-
> příkazový řádek:
10+
> příkazový řádek:
911
> chrome.exe --disable-site-isolation-trials --disable-web-security --user-data-dir="C:\temp"
1012
1113
- Edge:
12-
> příkazový řádek:
14+
> příkazový řádek:
1315
> msedge --disable-web-security --user-data-dir="C:\temp"

cs/features.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
## 🟢 Stačí jediný Markdown soubor i bez projektu nápovědy ...
1010

1111
- &#128187; Multiplatformní - pracuje na všech operačních systémech přes webový prohlížeč
12-
- &#128244; Může fungovat v offline režimu bez backendu nebo lokálního serveru (potřebuje běžet v prohlížeči s vypnutými CORS politikami)
12+
- 📴 Může fungovat v offline režimu bez backendu nebo lokálního serveru
13+
- 🟡 Doporučený je prohlížeč s vypnutými CORS politikami. Jinak je funkčnost částečně omezená a při spuštění je nutné ručně vybrat datový soubor a soubor nápovědy.
1314
- 🧭 Intuitivní uživatelské rozhraní
1415
- &#128241; Responzivní web (podporuje desktop i mobilní zařízení)
1516
- 🔲 Snadný přechod do full screen režimu pro zvětšení plochy prohlížené kapitoly
@@ -25,6 +26,8 @@
2526
- 📇 Propojení pojmů s příslušnými kapitolami a soubory
2627
- 🔎 Slovník pro fulltextové vyhledávání obsahu kapitol
2728
- ⏭ Integrovaná tlačítka pro základní navigaci v nápovědě
29+
30+
### 🛠️ Prohlížeč běží s vypnutými CORS politikami ...
2831
- 🌐 Snadné přepnutí jazykové verze nápovědy
2932
- 🕘 Přepínání mezi verzemi nápovědy (je potřeba být připojen k Internetu)
3033

en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ is a modern, portable and fast tool for viewing Markdown and HTML documentation
55
## How it works
66

77
1. Download the deployment package from <span id="linkhereI"></span> and unzip it.
8-
2. Start your browser with [CORS restrictions][bypassCORS] disabled, or you will only see a blank page.
8+
2. For correct display, launch the browser without [CORS restrictions][bypassCORS]. Otherwise, you will see a page with message and have to manually select help and data files.
99
3. Open the **index.html** file in your browser.
1010
4. Set the URL parameter **?d=X**, where **X** is the path to your ZIP file or you can define path ending with **/** if you want to read a directory.
1111
If you skip this step, **./hlp/Help-{current language}.zip** will be used by default.

en/corsPolicy.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# CORS policy
22

3-
Do you see blank page only? Then viewer is not reading ZIP content.
3+
Do you see the page with “⚠ Do you see this message only?”? Then the browser is not loading the data from the ZIP help file.
44
This may be caused by your browser blocking local file access (file://) due to CORS policy restrictions.
55

6-
You need to run your browser in mode with bypass CORS policy:
6+
You have 2 options on how to proceed:
7+
1. In the **data.zip** and **Help-(language).zip** fields, select the necessary files and click **Submit**.
8+
2. You need to run your browser in mode with bypass CORS policy:
79
- Chrome:
8-
> Run in CLI:
10+
> Run in CLI:
911
> chrome.exe --disable-site-isolation-trials --disable-web-security --user-data-dir="C:\temp"
1012
1113
- Edge:
12-
> Run in CLI:
14+
> Run in CLI:
1315
> msedge --disable-web-security --user-data-dir="C:\temp"

en/features.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
## 🟢 Works out of the box with a single Markdown file ...
1010

1111
- &#128187; Multiplatform - works on all major operating systems via web browsers
12-
- &#128244; Ready to work in offline mode without any backend or local server (requires disabling CORS in web browser)
12+
- 📴 Ready to work in offline mode without any backend or local server
13+
- 🟡 A browser with CORS policies disabled is recommended. Otherwise, functionality is partially limited and you must manually select the data file and help file at startup.
1314
- 🧭 Simple user interface
1415
- &#128241; Responsive (desktop and other devices supported)
1516
- 🔲 Seamless full-screen expansion of topic content
@@ -25,6 +26,8 @@
2526
- 📇 Linking glossary terms to relevant topics and files
2627
- 🔎 Full-text search dictionary for chapter contents
2728
- ⏭ Integrated topic navigation buttons
29+
30+
### 🛠️ The browser runs with CORS policies disabled ...
2831
- 🌐 Easily switch between different language versions
2932
- 🕘 Easily switch help file version (Internet connection required)
3033

0 commit comments

Comments
 (0)