ソースを参照

Merge pull request #571 from micheledinelli/main

Add documentation instructions to get started with My Websites
Nariman Jelveh 10 ヶ月 前
コミット
4daa1f2c25
3 ファイル変更14 行追加2 行削除
  1. 12 0
      doc/prod.md
  2. 1 1
      src/gui/src/i18n/translations/en.js
  3. 1 1
      src/gui/src/i18n/translations/it.js

+ 12 - 0
doc/prod.md

@@ -124,6 +124,18 @@ The GUI is a single page application (SPA) and as best practice any route under
 
 
 In other words, consider the routes above as "reserved" for Puter.
 In other words, consider the routes above as "reserved" for Puter.
 
 
+### Publish My Website 
+
+Right-click anywhere on the desktop to display options
+From the options menu, select "New".
+Then, choose "Folder".
+Give the folder a name according to your preference.
+
+After creating the folder:
+
+Right-click on the folder.
+Select the option "Publish as Website".
+
 ### Best Practices
 ### Best Practices
 
 
 - The `title` tags and meta tags (`<title></title>`, `<meta property="og:title"`, `<meta name="twitter:title"`, ...) should be dynamically set by the server. For example, if the URL is of an app (e.g. `https://puter.com/app/editor`) the `title` tags and meta tags should contain the app's title rather than the generic Puter title.
 - The `title` tags and meta tags (`<title></title>`, `<meta property="og:title"`, `<meta name="twitter:title"`, ...) should be dynamically set by the server. For example, if the URL is of an app (e.g. `https://puter.com/app/editor`) the `title` tags and meta tags should contain the app's title rather than the generic Puter title.

+ 1 - 1
src/gui/src/i18n/translations/en.js

@@ -184,7 +184,7 @@ const en = {
         new_username: "New Username",
         new_username: "New Username",
         no: 'No',
         no: 'No',
         no_dir_associated_with_site: 'No directory associated with this address.',
         no_dir_associated_with_site: 'No directory associated with this address.',
-        no_websites_published: "You have not published any websites yet.",
+        no_websites_published: "You have not published any websites yet. Right click on a folder to get started.",
         ok: 'OK',
         ok: 'OK',
         open: "Open",
         open: "Open",
         open_in_new_tab: "Open in New Tab",
         open_in_new_tab: "Open in New Tab",

+ 1 - 1
src/gui/src/i18n/translations/it.js

@@ -183,7 +183,7 @@ const it = {
         new_username: "Nuovo Nome Utente",
         new_username: "Nuovo Nome Utente",
         no: 'No',
         no: 'No',
         no_dir_associated_with_site: 'Nessuna directory è stata associata all’indirizzo.',
         no_dir_associated_with_site: 'Nessuna directory è stata associata all’indirizzo.',
-        no_websites_published: "Non hai pubblicato nessun sito web.",
+        no_websites_published: "Non hai pubblicato nessun sito web. Clicca tasto destro su una cartella per iniziare.",
         ok: 'OK',
         ok: 'OK',
         open: "Apri",
         open: "Apri",
         open_in_new_tab: "Apri in una nuova scheda",
         open_in_new_tab: "Apri in una nuova scheda",