Skip to content

Commit dd42060

Browse files
committed
add tips
1 parent ee53966 commit dd42060

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

_locales/en/messages.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"newTabsLoadInBackgroundSetting": {
3333
"message": "When a search result is opened in a new tab, switch to it immediately"
3434
},
35+
"tipsRightClick": {
36+
"message": "tips: You can right-click on an image on the website and search for that image in the menu."
37+
},
3538
"extensionName": {
3639
"message": "Search on Google Lens"
3740
},

_locales/ja/messages.json

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"donate": {
3333
"message": "寄付"
3434
},
35+
"tipsRightClick": {
36+
"message": "ヒント: ウェブサイト上の画像を右クリックしてメニューからその画像を検索できます。"
37+
},
3538
"extensionName": {
3639
"message": "Googleレンズで検索"
3740
},

image-right-click.png

18.2 KB
Loading

popup.css

+6
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,9 @@ iframe {
137137
width: 100%;
138138
border: 0;
139139
}
140+
141+
.primary-zone {
142+
padding: 25px;
143+
border-radius: 18px;
144+
background-color: var(--background-color);
145+
}

popup.html

+7
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ <h3 class="i18n-text" data-i18n-id="dragAndDrop"></h3>
4747
<div class="preview"></div>
4848
<br>
4949
<a href="javascript:void(0)" class="i18n-text search_button primary-button" data-i18n-id="search"></a>
50+
<br>
51+
<br>
52+
<div class="primary-zone">
53+
<div class="i18n-text" data-i18n-id="tipsRightClick"></div>
54+
<br>
55+
<img src="image-right-click.png">
56+
</div>
5057
</div>
5158
<div data-page-id="settings" class="inactive-page">
5259
<h2 class="i18n-text" data-i18n-id="settings"></h2>

0 commit comments

Comments
 (0)