From f4eabaedae7a3456c337e057e620305878a9e10a Mon Sep 17 00:00:00 2001 From: Long Date: Tue, 25 Aug 2020 15:43:14 +0700 Subject: [PATCH] =?UTF-8?q?-=20c=E1=BA=ADp=20nh=E1=BA=ADt=20th=C3=AAm=20th?= =?UTF-8?q?=C3=B4ng=20tin=20-=20xo=C3=A1=20m=E1=BB=A5c=20b=C3=ACnh=20lu?= =?UTF-8?q?=E1=BA=ADn,=20th=C3=ADch,=20chia=20s=E1=BA=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- _locales/en/messages.json | 5 ++--- _locales/vi/messages.json | 9 +++++++++ manifest.json | 4 ++-- scripts/contentscript.js | 1 + 5 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 _locales/vi/messages.json diff --git a/README.md b/README.md index 6cb7ea8..e459548 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

Gái Xinh Chọn Lọc

-

A place to admire the beauty

+

Nơi chia sẻ những bức ảnh đã lưu

# Tính năng - Features diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 566de4b..f6abd69 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,10 +1,9 @@ { "appName": { "message": "Gai Xinh Chon Loc", - "description": "Gái Xinh Chọn Lọc" + "description": "Beatiful Girl" }, "appDescription": { - "message": "A place to admire the beauty", - "description": "A place to admire the beauty" + "message": "A place to share saved photos" } } diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json new file mode 100644 index 0000000..fc2d4db --- /dev/null +++ b/_locales/vi/messages.json @@ -0,0 +1,9 @@ +{ + "appName": { + "message": "Gai Xinh Chon Loc", + "description": "Gái Xinh Chọn Lọc" + }, + "appDescription": { + "message": "Nơi chia sẻ những bức ảnh đã lưu" + } +} diff --git a/manifest.json b/manifest.json index 997a3b1..d7a8eac 100644 --- a/manifest.json +++ b/manifest.json @@ -1,13 +1,13 @@ { "name": "__MSG_appName__", - "version": "0.0.2", + "version": "0.0.3", "manifest_version": 2, "description": "__MSG_appDescription__", "icons": { "16": "images/16.png", "128": "images/128.png" }, - "default_locale": "en", + "default_locale": "vi", "background": { "scripts": [ "libs/polyfill.min.js", diff --git a/scripts/contentscript.js b/scripts/contentscript.js index 8f54652..db9fc6f 100644 --- a/scripts/contentscript.js +++ b/scripts/contentscript.js @@ -29,6 +29,7 @@ div_parent = div.find("a[aria-hidden=\"true\"]").closest('div:not([class])').next(); div_parent.empty(); + div_parent.next().empty(); div_parent.append("\n
\n
\n
\n \n
\n
Qu\u1EA3ng c\xE1o n\xE0y \u0111\u01B0\u1EE3c \u1EA9n b\u1EDFi ti\u1EC7n \xEDch G\xE1i Xinh Ch\u1ECDn L\u1ECDc.
\n
\n
\n
\n
\n
\n "); var background = chrome.runtime.connect({ name: "bg"