From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- files/th/web/manifest/icons/index.html | 128 --------------------------------- files/th/web/manifest/index.html | 119 ------------------------------ 2 files changed, 247 deletions(-) delete mode 100644 files/th/web/manifest/icons/index.html delete mode 100644 files/th/web/manifest/index.html (limited to 'files/th/web/manifest') diff --git a/files/th/web/manifest/icons/index.html b/files/th/web/manifest/icons/index.html deleted file mode 100644 index 730d3bce5d..0000000000 --- a/files/th/web/manifest/icons/index.html +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: icons -slug: Web/Manifest/icons -translation_of: Web/Manifest/icons ---- -
{{QuickLinksWithSubpages("/th/docs/Web/Manifest")}}
- - - - - - - - - - - - - - - - -
ชนิดString
จำเป็นใช่
ตัวอย่าง -
-"icons": [{"src": "icon.webp", "sizes": "48x48", "type": "image/webp"}]
-
- -

iconsสมาชิกระบุอาร์เรย์ของวัตถุที่เป็นตัวแทนของไฟล์ภาพที่สามารถใช้เป็นแอปพลิเค iconsfor บริบทที่แตกต่างกัน ตัวอย่างเช่นสามารถใช้เพื่อแสดงแอปพลิเคชันเว็บท่ามกลางรายการแอปพลิเคชันอื่น ๆ หรือเพื่อรวมเว็บแอปพลิเคชันเข้ากับ  ตัวสลับงานของระบบปฏิบัติการและ/หรือการตั้งค่าระบบ

- -

ตัวอย่าง

- -
"ไอคอน": [
-  {
-    "src": "ไอคอน/lowres.webp",
-    "ขนาด": "48x48",
-    "type": "image/webp"
-  }
-  {
-    "src": "ไอคอน/lowres",
-    "ขนาด": "48x48"
-  }
-  {
-    "src": "ไอคอน/hd_hi.ico",
-    "ขนาด": "72x72 96x96 128x128 256x256"
-  }
-  {
-    "src": "ไอคอน/hd_hi.svg",
-    "ขนาด": "72x72"
-  }
-]
- -

ค่า

- -

วัตถุรูปภาพอาจมีค่าต่อไปนี้:

- - - - - - - - - - - - - - - - - - - - - - - - - - -
สมาชิกลักษณะ
sizesสตริงที่มีมิติข้อมูลคั่นด้วยช่องว่าง 
srcเส้นทางไปยังไฟล์รูปภาพ หากsrcเป็น URL สัมพัทธ์ URL หลักจะเป็น URL ของไฟล์ Manifest
typeคำแนะนำเกี่ยวกับประเภทสื่อของภาพ จุดประสงค์ของสมาชิกนี้คือเพื่อให้ตัวแทนผู้ใช้สามารถข้ามรูปภาพที่มีประเภทสื่อที่ไม่รองรับได้อย่างรวดเร็ว
purpose -

กำหนดวัตถุประสงค์ของภาพตัวอย่างเช่นหากภาพมีวัตถุประสงค์เพื่อให้บริการวัตถุประสงค์พิเศษบางอย่างในบริบทของโฮสต์ระบบปฏิบัติการ (เช่นเพื่อการรวมที่ดีขึ้น)

- -

purpose สามารถมีหนึ่งในค่าต่อไปนี้:

- -
    -
  • badge: ตัวแทนผู้ใช้สามารถแสดงไอคอนนี้โดยที่ข้อ จำกัด ด้านพื้นที่และ/หรือข้อกำหนดด้านสีแตกต่างจากไอคอนแอปพลิเคชัน
  • -
  • maskable: รูปภาพได้รับการออกแบบโดยมีไอคอนรูปแบบและเขตปลอดภัยไว้ในใจว่าตัวแทนใด ๆ ของภาพนอกเขตปลอดภัยสามารถถูกละเว้นและถูกปกปิดโดยตัวแทนผู้ใช้
  • -
  • any: ตัวแทนผู้ใช้มีอิสระที่จะแสดงไอคอนในบริบทใด ๆ (นี่คือค่าเริ่มต้น)
  • -
-
- -

ข้อมูลจำเพาะ

- - - - - - - - - - - - - - - - - - -
สเปคสถานะคิดเห็นผลตอบรับ
-

{{SpecName('Manifest', '#icons-member', 'icons')}}

-
-

{{Spec2('Manifest')}}

-
-

คำจำกัดความเบื้องต้น

-
-

ร่างการทำงานของ Web App Manifest

-
- -

ความเข้ากันได้ของเบราว์เซอร์

- - - -

{{compat("html.manifest.icons")}}

diff --git a/files/th/web/manifest/index.html b/files/th/web/manifest/index.html deleted file mode 100644 index 96287f66c5..0000000000 --- a/files/th/web/manifest/index.html +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: Web App Manifest -slug: Web/Manifest -tags: - - App - - Manifest - - NeedsTranslation - - Reference - - TopicStub - - Web -translation_of: Web/Manifest ---- -
{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}
-

Web app manifests are part of a collection of web technologies called progressive web apps (PWAs), which are websites that can be installed to a device’s homescreen without an app store. Unlike regular web apps with simple homescreen links or bookmarks, PWAs can be downloaded in advance and can work offline, as well as use regular web apps APIs to, for example receiving push notifications.

- -

The web app manifest provides information about a web application in a JSON text file, necessary for the web app to be downloaded and be presented to the user similarly to a native app (e.g., be installed on the homescreen of a device, providing users with quicker access and a richer experience). PWA manifests include its name, author, icon(s), version, description, and list of all the necessary resources (among other things).

- - - -

Members

- -

Web manifests can contain the following keys. Click on each one to link through to more information about it:

- -

{{ListSubpages("/en-US/docs/Web/Manifest")}}

- -

Example manifest

- -
{
-  "name": "HackerWeb",
-  "short_name": "HackerWeb",
-  "start_url": ".",
-  "display": "standalone",
-  "background_color": "#fff",
-  "description": "A simply readable Hacker News app.",
-  "icons": [{
-    "src": "images/touch/homescreen48.png",
-    "sizes": "48x48",
-    "type": "image/png"
-  }, {
-    "src": "images/touch/homescreen72.png",
-    "sizes": "72x72",
-    "type": "image/png"
-  }, {
-    "src": "images/touch/homescreen96.png",
-    "sizes": "96x96",
-    "type": "image/png"
-  }, {
-    "src": "images/touch/homescreen144.png",
-    "sizes": "144x144",
-    "type": "image/png"
-  }, {
-    "src": "images/touch/homescreen168.png",
-    "sizes": "168x168",
-    "type": "image/png"
-  }, {
-    "src": "images/touch/homescreen192.png",
-    "sizes": "192x192",
-    "type": "image/png"
-  }],
-  "related_applications": [{
-    "platform": "play",
-    "url": "https://play.google.com/store/apps/details?id=cheeaun.hackerweb"
-  }]
-}
- - - -

Web app manifests are deployed in your HTML pages using a {{HTMLElement("link")}} element in the {{HTMLElement("head")}} of a document:

- -
<link rel="manifest" href="/manifest.webmanifest">
- -
-

Note: The .webmanifest extension is specified in the Media type registration section of the specification (the response of the manifest file should return Content-Type: application/manifest+json). Browsers generally support manifests with other appropriate extensions like .json (Content-Type: application/json).

-
- -
-

Note: If the manifest requires credentials to fetch - the crossorigin attribute must be set to "use-credentials", even if the manifest file is in the same orgin of the current page.

-
- - - -

Splash screens

- -

In Chrome 47 and later, a splash screen is displayed for sites launched from a homescreen. This splashscreen is auto-generated from properties in the web app manifest, specifically:

- - - -

Mime type

- -

Manifests should be served using the application/manifest+json MIME type. However, it is optional to do so.  

- -

Specifications

- - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('Manifest')}}{{Spec2('Manifest')}}Initial definition.
- -

Browser compatibility

- -

{{Compat("html.manifest")}}

-- cgit v1.2.3-54-g00ecf