diff --git a/src/app/app.css b/src/app/app.css index 0baf657..d030e16 100644 --- a/src/app/app.css +++ b/src/app/app.css @@ -250,4 +250,23 @@ body::-webkit-scrollbar-thumb { background-color: darkgrey; outline: 1px solid slategrey; border-radius: 8px; +} + +.hint { + margin-top: 10px; + font-size: 0.8em; + padding: 14px; + background: #F0F0F0; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0,0,0,0.2); + color: #888888; + display: flex; + align-items: center; + justify-content: center; +} + +.hint svg { + fill: #888888; + height: 26px; + margin-right: 8px; } \ No newline at end of file diff --git a/src/app/db-extend-hint.js b/src/app/db-extend-hint.js new file mode 100644 index 0000000..4c9e3f7 --- /dev/null +++ b/src/app/db-extend-hint.js @@ -0,0 +1,179 @@ +import React from 'react'; + +export default () => { + return ( +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{__('You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab.')}
+
+ ) +} \ No newline at end of file diff --git a/src/app/feed-page.js b/src/app/feed-page.js index 7475a2a..a072276 100644 --- a/src/app/feed-page.js +++ b/src/app/feed-page.js @@ -3,6 +3,8 @@ import Page from './page'; import Feed from './feed'; +import DBExtendHint from './db-extend-hint' + export default class FeedPage extends Page { constructor(props) { super(props) @@ -11,6 +13,9 @@ export default class FeedPage extends Page { render() { return (
+
+ +
diff --git a/translations/cn.json b/translations/cn.json index c1cbff4..2b08d3d 100644 --- a/translations/cn.json +++ b/translations/cn.json @@ -193,6 +193,7 @@ "P2P settings": "P2P settings", "Performance settings": "Performance settings", "Start application minimized": "Start application minimized", - "Magnet": "磁鐵鍊接" + "Magnet": "磁鐵鍊接", + "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab.": "您可以使用自己的.torrent文件擴展收集的搜索數據庫。 只需將它們拖放到Rats窗口(或帶有它們的文件夾)即可。 它們將立即顯示在活動選項卡上。" } } \ No newline at end of file diff --git a/translations/en.json b/translations/en.json index acbffb7..857c758 100644 --- a/translations/en.json +++ b/translations/en.json @@ -193,6 +193,7 @@ "P2P settings": "P2P settings", "Performance settings": "Performance settings", "Start application minimized": "Start application minimized", - "Magnet": "Magnet" + "Magnet": "Magnet", + "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab.": "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab." } } \ No newline at end of file diff --git a/translations/ru.json b/translations/ru.json index 9c4a5d9..4006a20 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -193,6 +193,7 @@ "P2P settings": "Настройки P2P", "Performance settings": "Настройки производительности", "Start application minimized": "Запусть приложение свернутым", - "Magnet": "Магнет-ссылка" + "Magnet": "Магнет-ссылка", + "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab.": "Вы можете расшириться вашу базу поиска вашими .torrent файлами. Просто переместите их в окно программы (или папку с ними). Они сразу же появятся во вкладке активности." } } \ No newline at end of file diff --git a/translations/ua.json b/translations/ua.json index 60a7dc8..1d5f612 100644 --- a/translations/ua.json +++ b/translations/ua.json @@ -193,6 +193,7 @@ "P2P settings": "P2P settings", "Performance settings": "Performance settings", "Start application minimized": "Start application minimized", - "Magnet": "Magnet" + "Magnet": "Magnet", + "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab.": "You can extend your collected search DB with your own .torrent files. Just drag and drop them into the Rats window (or folder with them). They will immediately appear on activity tab." } } \ No newline at end of file