From c6be012ce10c5bd2c2c5a6640a5d7d4feed733ef Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Wed, 25 Jan 2023 19:11:28 +0100 Subject: [PATCH] Make categories translatable and remove pg=1 as canonical parameter --- common_config.php | 30 +++- locale/de_DE/LC_MESSAGES/onion-link-list.mo | Bin 7205 -> 7204 bytes locale/de_DE/LC_MESSAGES/onion-link-list.po | 172 ++++++++++++++------ locale/fa_IR/LC_MESSAGES/onion-link-list.po | 166 +++++++++++++------ locale/ja_JP/LC_MESSAGES/onion-link-list.po | 166 +++++++++++++------ locale/onion-link-list.pot | 166 +++++++++++++------ locale/pt_PT/LC_MESSAGES/onion-link-list.po | 166 +++++++++++++------ locale/ru_RU/LC_MESSAGES/onion-link-list.mo | Bin 7980 -> 7967 bytes locale/ru_RU/LC_MESSAGES/onion-link-list.po | 172 ++++++++++++++------ locale/tr_TR/LC_MESSAGES/onion-link-list.po | 166 +++++++++++++------ www/index.php | 13 +- www/test.php | 6 +- 12 files changed, 854 insertions(+), 369 deletions(-) diff --git a/common_config.php b/common_config.php index 436bffa..b6ac0c7 100644 --- a/common_config.php +++ b/common_config.php @@ -20,7 +20,26 @@ const CANONICAL_URL = 'https://onions.danwin1210.de'; // our preferred domain fo const CAPTCHA = 0; // Captcha difficulty (0=off, 1=simple, 2=moderate, 3=extreme) //Categories - new links will always be put into the first one, leave it to Unsorted //once configured, only add new categories at the end or you have to manually adjust the database. -$categories=['Unsorted', 'Adult/Porn', 'Communication/Social', 'Forums', 'Hacking/Programming/Software', 'Hosting', 'Libraries/Wikis', 'Link Lists', 'Market/Shop/Store', 'Other', 'Personal Sites/Blogs', 'Security/Privacy/Encryption', 'Whistleblowing', 'Empty/Error/Unknown', 'Cryptocurrencies', 'Scams', 'Fun/Games/Joke', 'Search']; +$categories=[ + 0 => _('Unsorted'), + 1 => _('Adult/Porn'), + 2 => _('Communication/Social'), + 3 => _('Forums'), + 4 => _('Hacking/Programming/Software'), + 5 => _('Hosting'), + 6 => _('Libraries/Wikis'), + 7 => _('Link Lists'), + 8 => _('Market/Shop/Store'), + 9 => _('Other'), + 10 => _('Personal Sites/Blogs'), + 11 => _('Security/Privacy/Encryption'), + 12 => _('Whistleblowing'), + 13 => _('Empty/Error/Unknown'), + 14 => _('Cryptocurrencies'), + 15 => _('Scams'), + 16 => _('Fun/Games/Joke'), + 17 => _('Search'), +]; // Language selection const LANGUAGES = [ @@ -156,14 +175,7 @@ function set_curl_options($ch): void function alt_links(): void { - global $language; - $canonical_query = []; - if(isset($_REQUEST['cat'])) { - $canonical_query['cat'] = $_REQUEST['cat']; - } - if(isset($_REQUEST['pg'])) { - $canonical_query['pg'] = $_REQUEST['pg']; - } + global $language, $canonical_query; foreach(LANGUAGES as $lang => $data) { if($lang === $language){ continue; diff --git a/locale/de_DE/LC_MESSAGES/onion-link-list.mo b/locale/de_DE/LC_MESSAGES/onion-link-list.mo index 519e645ad2be03b290b84d26e86c350b9ca22e9b..c950643dca97c9450b1e05fdd45d34c5a4fcbe92 100644 GIT binary patch delta 872 zcmXZaO=uHQ5Ww*%3AIMem#wi{WvRu2H8s1dP>U3U8bvKyS_tZ)#ALxhO|=Oaz3fR; z1hMAOd$1@HP$`J$p{U?Z>`4$Sc&qKjn<9AVf7};Bes5;q$Gq9h4?P}w(HZh*+eB{1 zMfQqFDk;)|BN)SzxB>IH6(=!_Rg7XCH{l%+@YA?oc2RbGm#qGq`Pz$_g;#n*bKSPg;MLR{hiECZK!4Hs>%%NVO z)#V2pyd|Lpd@vK2Fhu+nb%XDy1^huRFu6@+7g{)mBbdO4s2ev?=eVIP#`|%d;!KU#e+Qe%(h&{ARpPxZ}b<-w(gf8(b z?8CJn?@Nrn>H#il2QH!(a2>N)$27jd9R5U|cVK7GfgEa~=TTdJ3G-M+E%+U3=T?!W z@(=Y@r+P%%WFgvqKhk&_-*?){IBq&)rybX_4-X$YIFR8JIa{dK(i1aGT6u|K(mf4o>u77H^jH#q7-6-@RB5YGTt_!of`47uFG^9{bTdga&beJxI z)gf{_)Oibn5+n~1b%+YOMV*2up_}QYn-K(kU-N@yKfm|p_viiI%%k4Ny^BrN{(P0l z&4|c85s5X3)M5g|IEb6@BsSt%+<--_#}aPAITPQ<&BPUxUoi1Y43U3_y8lO$|I#4- z|HKaxTY0dGb-0eYU?ZpQ!3efuw~4bDBff@O;B6Dn<2mA|IK{=nO(HGCGtI%lcafAl zK)t|1vmb2mnuHec-c0H&{k3;5TZ4joU=pa5oNN0;6~jb>j-^yyvK$e1qDl zPsVSkg|GMwv}M1LpZwuZTNK?MY|x6jumfp|^q@XZp{_e&oIt(VB-UUFb>0o!g||=- ze1cuLh}vQQJA>m4R*=g{7k$+Yj-gISqkbEsxF4_MUaS~D;1S|AJcMnuOP{-_ukNae z%h*l)0^4yd$omqZuX;caY6niE7EnMNOBlyjIDkJ<=N;Y=bRdOV=n!hl&)_&-L@oF& zYUfswrScc`RmXOURLN3(&7Dv\n" -"Language-Team: German \n" +"Language-Team: German \n" "Language: de_DE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,24 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.15\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "Alle legitimen" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "Zuletzt hinzugefügt" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "Offline > 1 Woche" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "Onion Linkliste" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." @@ -44,11 +44,11 @@ msgstr "" "Große Liste von Tor hidden service onion links. Alle Darknet Links, die du " "brauchst, in einem Ort." -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "Fehler: Keine Datenbankverbindung!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -62,161 +62,161 @@ msgstr "" "von Menschen, die verzweifelt versuchten Geld zu machen, und stattdessen auf " "Betrüger hereingefallen sind. Sei nicht auch einer von denen!" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "Onion-Adresse:" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "Beschreibung:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "Kategorie:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "Aktualisieren" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "Suchen:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "Suchwort" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "Alle" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "Gesperrte nicht anzeigen" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "Suchen" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "Format:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "Spezielle Kategorien:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "Phishingklone" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "Entfernt/Kinderporno" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "Genehmigung ausstehend" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "Abgelehnt" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "Kategorien:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "Ungültige Onion-Adresse!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "Eine gültige Adresse sieht so aus: %s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "Fehler: Falsches Captcha" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "Fehler: Captcha abgelaufen" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "Onion-Adresse erfolgreich hinzugefügt!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "Entschuldigung, das Bearbeiten dieser Onion-Adresse wurde gesperrt!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "Beschreibung erfolgreich aktualisiert!" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "Kategorie erfolgreich aktualisiert!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "Danke, aber ich kannte diese Adresse bereits!" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "Suche nach \"%1$s\", %2$d Ergebnisse gefunden:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "Onion-Adresse" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "Beschreibung" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "Zuletzt online" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "Hinzugefügt am" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "Aktionen" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "Nie" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "Testen" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "Bearbeiten" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "Klon von" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "Unbekannt" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "Seiten:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "Kopiere:" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "Captcha Bild" @@ -256,7 +256,7 @@ msgstr "Warnung: Dies ist ein bekannter Betrug!" msgid "Yes, the service is online!" msgstr "Ja, der Dienst ist online!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "Nein, der Dienst ist offline!" @@ -413,7 +413,75 @@ msgstr "Fehler beim Erstellen der Sitemap!" msgid "Search the onion link list" msgstr "Durchsuche die Onion Linkliste" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "Sprache:" diff --git a/locale/fa_IR/LC_MESSAGES/onion-link-list.po b/locale/fa_IR/LC_MESSAGES/onion-link-list.po index c93725a..4df3f82 100644 --- a/locale/fa_IR/LC_MESSAGES/onion-link-list.po +++ b/locale/fa_IR/LC_MESSAGES/onion-link-list.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: 2023-01-06 20:36+0000\n" "Last-Translator: Daniel Winzen \n" "Language-Team: Persian 1 week" msgstr "غیر فعال > 1 هفته" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "پیوندهای پیازی" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." msgstr "" -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "خطا: مشکل در اتصال به دیتابیس!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -55,161 +55,161 @@ msgid "" "scammers, don't be one of them!" msgstr "" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "توضیح:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "دسته بندی:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "بروزرسانی" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "جستجو:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "جستجوی اصطلاح" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "همه" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "پنهان کردن قفل" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "جستجو" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "فرمت:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "دسته بندی های خاص:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "کلاهبرداری فیشینگ" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "حذف/ پورن کودکان" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "در انتضار تایید" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "رد شد" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "دسته بندی ها:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "آدرس پیازی غیر مجاز!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "آدرس معتبری به این شکل است: %s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "آدرس پیازی با موفقیت اضافه شد!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "متاسفیم، این آدرس قفل شده است نمیتوانید ویرایش کنید!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "توضیحات با موفقیت بروزرسانی شد !" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "دسته بندی به موفقیت بروزرسانی شد!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "با تشکر ، اما این آدرس موجود است !" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "جستجو برای \"%1$s\", %2$d نتیجه یافت شد:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "پیوند پیازی" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "توضیح" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "آخرین بازدید" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "اضافه شده در" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "اقدامات" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "هرگز" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "آزمون" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "ویرایش" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "کلون از" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "ناشناخته" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "صفحه:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "" @@ -247,7 +247,7 @@ msgstr "" msgid "Yes, the service is online!" msgstr "بله، سرویس انلاین است!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "خیر، سرویس افلاین است!" @@ -402,7 +402,75 @@ msgstr "" msgid "Search the onion link list" msgstr "" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "زبان:" diff --git a/locale/ja_JP/LC_MESSAGES/onion-link-list.po b/locale/ja_JP/LC_MESSAGES/onion-link-list.po index bb0d4c5..ba31320 100644 --- a/locale/ja_JP/LC_MESSAGES/onion-link-list.po +++ b/locale/ja_JP/LC_MESSAGES/onion-link-list.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: 2023-01-01 17:57+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -18,34 +18,34 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Poedit 3.1.1\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "最近の追加" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "1週間以上オフライン" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "Onionリンクの一覧" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." msgstr "" -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "エラー:データベースの接続がありません!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -54,161 +54,161 @@ msgid "" "scammers, don't be one of them!" msgstr "" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "Onion アドレス:" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "詳細:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "カテゴリ:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "更新" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "検索:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "検索キーワード" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "全て" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "検索" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "形式:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "特別な分類:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "詐欺サイト(クローン)" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "削除済" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "カテゴリ:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "Onionアドレスが不正です!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "正しいアドレスはこんな感じのはず:%s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "Onionアドレスを追加しました!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "ごめん、このOnionアドレスはロックされていて編集できない!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "説明の更新に成功しました!" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "カテゴリの変更に成功しました!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "ありがとう、でも、このアドレスはもう知ってるんだ!" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "検索キーワード \"%1$s\" - %2$d 件見つかりました:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "Onion リンク" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "説明" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "最後に見た日" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "追加された日" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "操作" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "なし" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "テスト" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "編集" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "クローン元(オリジナル)" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "不明" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "ページ:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "" @@ -246,7 +246,7 @@ msgstr "" msgid "Yes, the service is online!" msgstr "対象はオンラインです!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "対象はオフラインです!" @@ -401,7 +401,75 @@ msgstr "" msgid "Search the onion link list" msgstr "" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "言語:" diff --git a/locale/onion-link-list.pot b/locale/onion-link-list.pot index afe77c5..e312a0c 100644 --- a/locale/onion-link-list.pot +++ b/locale/onion-link-list.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,34 +17,34 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." msgstr "" -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -53,161 +53,161 @@ msgid "" "scammers, don't be one of them!" msgstr "" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "" @@ -245,7 +245,7 @@ msgstr "" msgid "Yes, the service is online!" msgstr "" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "" @@ -400,7 +400,75 @@ msgstr "" msgid "Search the onion link list" msgstr "" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "" diff --git a/locale/pt_PT/LC_MESSAGES/onion-link-list.po b/locale/pt_PT/LC_MESSAGES/onion-link-list.po index ee3c935..29596a5 100644 --- a/locale/pt_PT/LC_MESSAGES/onion-link-list.po +++ b/locale/pt_PT/LC_MESSAGES/onion-link-list.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: 2023-01-01 17:58+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -18,34 +18,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.1.1\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "Últimos adicionados" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "Offline > 1 semana" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "Lista de links onion" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." msgstr "" -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "Erro: Sem conexão com a database!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -54,161 +54,161 @@ msgid "" "scammers, don't be one of them!" msgstr "" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "Endereço onion:" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "Descrição:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "Categoria:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "Atualizar" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "Pesquisar:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "Termo de pesquisa" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "Todos" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "Esconder bloqueado" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "Pesquisar" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "Formato:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "Categorias especiais:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "Clone com phishing" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "Removidos/Pornografia infantil" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "Aprovação pendente" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "Categorias:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "Endereço onion inválido!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "Um endereço válido é parecido com este: %s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "Endereço onion adicionado com sucesso!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "Desculpe, a edição deste endereço onion foi bloqueada!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "Descrição atualizada com sucesso!" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "Categoria atualizada com sucesso!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "Obrigado, mas já conhecia este endereço!" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "Procurando por \"%1$s\", %2$d resultados encontrados:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "Onion link" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "Descrição" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "Visto pela última vez" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "Adicionado em" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "Ações" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "Nunca" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "Testar" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "Editar" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "Clone de" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "Desconhecido" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "Páginas:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "" @@ -248,7 +248,7 @@ msgstr "" msgid "Yes, the service is online!" msgstr "Sim, o serviço está online!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "Não, o serviço está offline!" @@ -404,7 +404,75 @@ msgstr "" msgid "Search the onion link list" msgstr "" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "Linguagem:" diff --git a/locale/ru_RU/LC_MESSAGES/onion-link-list.mo b/locale/ru_RU/LC_MESSAGES/onion-link-list.mo index 3b2a732dd89260111e78465d7682764d1d793862..63f472768daf050020dda5855b22864533c6ef1f 100644 GIT binary patch delta 784 zcmXZaUr19?9Ki9PPBWJ^o3oYqXA%Y5oNaem!}9tMS%MF;416-if}9Mm%#r#amqC!& zOJoGmgHQHkBKi~+`KAxT@L6Ay@Tn&QArSKWo4Z`@=bXbizjJ=Sb63q}bA7km-YXMn zb%~6L$lqEKUP)XPabpUd_!3Rb;|1Kp8@P=+{}+1j7zrg+EUrT@YMfxHZ{kh*iIS6U zv5Nr~8DOn^!Up_;4{-;(u!3j<*oS^xz{|LSLEOR>{DXt#BJVg&BmIMGBGvd0Z==I2 zatHm`jKf}Aj0cGHTO*oGPGz>lcw3V074P3M)3 z;UN89?8i5#|4IRwYRGRI`V*CLA@k_Q`}h|1j<)#}uK+c3&*og^_v)nqSD@Pn8_`fW z5{krpkw~Y}5e)MwC~Z2qCHbqHf23;Pg_fCuC(J> L;_0Thw%&CHr#N3r delta 797 zcmXZaO-K}B7{Ku-BWX8vXHDJGY-h0|wLz%-z-)DBCtTdwh1KW-(&o4jtGG%?#Sqms z2ot@SgcKe;2z%-Sx>R$Meood^NtdUg7^aCK3yY zj0#U!#DFoZ#R&}JON`?iti%mGi<_wNf3Xhtk*TDPq8=zr z{dM6U>_Fe4p(UI~=9Uk54ZkAQlwIVNsWsOXF`NCswYJ9TSynQE?GSjx}n0=0G WCsPAbxgA36X-5Mng| diff --git a/locale/ru_RU/LC_MESSAGES/onion-link-list.po b/locale/ru_RU/LC_MESSAGES/onion-link-list.po index 7d2ac4f..a84c6be 100644 --- a/locale/ru_RU/LC_MESSAGES/onion-link-list.po +++ b/locale/ru_RU/LC_MESSAGES/onion-link-list.po @@ -6,12 +6,12 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: daniel@danwin1210.de\n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: 2023-01-18 11:25+0000\n" "Last-Translator: Goatli \n" -"Language-Team: Russian \n" +"Language-Team: Russian \n" "Language: ru_RU\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,24 +20,24 @@ msgstr "" "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.15\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "Все легальные" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "Недавно добавленные" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "Офлайн больше недели" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "Список ссылок Onion" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." @@ -45,11 +45,11 @@ msgstr "" "Огромный список ссылок на скрытые сервисы Tor. Все onion ссылки что вам " "нужны, находятся здесь." -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "Ошибка: Нет подключения к базе данных!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -63,161 +63,161 @@ msgstr "" "письма от людей, которые хотели заработать, но стали жертвами мошенников, не " "попадитесь на их удочку!" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "Адрес onion:" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "Описание:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "Категория:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "Обновить" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "Поиск:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "Поисковый запрос" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "Все" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "Скрыть заблокированные" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "Поиск" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "Формат:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "Отдельные категории:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "Фишинг" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "Удалено/запрещенка" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "Ожидают подтверждение" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "Отклонено" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "Категории:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "Неверный адрес!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "Действительный адрес выглядит следующим образом: %s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "Ошибка: Неверная капча" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "Ошибка: Срок действия капчи истек" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "Адрес успешно добавлен!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "Редактирование этого адреса запрещено!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "Описание успешно обновлено!" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "Категория успешно обновлена!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "Спасибо, этот адрес мне уже известен!" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "По запросу \"%1$s\", %2$d найдены следующие результаты:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "Ссылка" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "Описание" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "Последний раз онлайн" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "Добавлено" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "Действие" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "Никогда" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "Тест" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "Редактировать" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "Клонировать из" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "Неизвестно" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "Страницы:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "Код с картинки:" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "Капча" @@ -255,7 +255,7 @@ msgstr "Внимание: Мошеннический сайт!" msgid "Yes, the service is online!" msgstr "Сервис находится онлайн!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "Сервис находится офлайн!" @@ -410,7 +410,75 @@ msgstr "Ошибка при создании карты сайта!" msgid "Search the onion link list" msgstr "Поиск по списку" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "Язык:" diff --git a/locale/tr_TR/LC_MESSAGES/onion-link-list.po b/locale/tr_TR/LC_MESSAGES/onion-link-list.po index 0a09dc8..dec06ad 100644 --- a/locale/tr_TR/LC_MESSAGES/onion-link-list.po +++ b/locale/tr_TR/LC_MESSAGES/onion-link-list.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-01-13 14:54+0100\n" +"POT-Creation-Date: 2023-01-25 19:12+0100\n" "PO-Revision-Date: 2023-01-01 17:58+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -18,34 +18,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.1.1\n" -#: www/index.php:36 +#: www/index.php:37 msgid "All legitimate" msgstr "" -#: www/index.php:37 www/index.php:71 +#: www/index.php:38 www/index.php:70 msgid "Last added" msgstr "Son eklenen" -#: www/index.php:38 +#: www/index.php:39 msgid "Offline > 1 week" msgstr "Çevrimdışı > 1 hafta" -#: www/index.php:100 www/index.php:105 www/index.php:110 www/index.php:118 +#: www/index.php:99 www/index.php:104 www/index.php:109 www/index.php:117 #: www/opensearch.php:6 msgid "Onion link list" msgstr "Onion bağlantı listesi" -#: www/index.php:104 www/index.php:111 +#: www/index.php:103 www/index.php:110 msgid "" "Huge link list of Tor hidden service onions. All the darknet links you need " "in one place." msgstr "" -#: www/index.php:120 www/index.php:424 www/index.php:441 +#: www/index.php:119 www/index.php:423 www/index.php:440 msgid "Error: No database connection!" msgstr "Hata: Veritabanı bağlantısı yok!" -#: www/index.php:122 +#: www/index.php:121 #, php-format msgid "" "I'm not responsible for any content of websites linked here. 99% of darkweb " @@ -54,161 +54,161 @@ msgid "" "scammers, don't be one of them!" msgstr "" -#: www/index.php:127 +#: www/index.php:126 msgid "Onion address:" msgstr "Onion-Adresi:" -#: www/index.php:132 www/admin.php:184 +#: www/index.php:131 www/admin.php:184 msgid "Description:" msgstr "Açıklama:" -#: www/index.php:147 www/index.php:167 www/admin.php:200 +#: www/index.php:146 www/index.php:166 www/admin.php:200 msgid "Category:" msgstr "Kategori:" -#: www/index.php:157 www/admin.php:81 www/admin.php:221 +#: www/index.php:156 www/admin.php:81 www/admin.php:221 msgid "Update" msgstr "Güncelle" -#: www/index.php:162 +#: www/index.php:161 msgid "Search:" msgstr "Ara:" -#: www/index.php:162 +#: www/index.php:161 msgid "Search term" msgstr "Arama terimi" -#: www/index.php:172 www/index.php:464 +#: www/index.php:171 www/index.php:463 msgid "All" msgstr "Tümü" -#: www/index.php:185 +#: www/index.php:184 msgid "Hide locked" msgstr "Kilitlileri gizle" -#: www/index.php:186 +#: www/index.php:185 common_config.php:41 msgid "Search" msgstr "Ara" -#: www/index.php:188 +#: www/index.php:187 msgid "Format:" msgstr "Biçim:" -#: www/index.php:191 +#: www/index.php:190 msgid "Special categories:" msgstr "Özel kategoriler:" -#: www/index.php:197 +#: www/index.php:196 msgid "Phishing Clones" msgstr "Phishing Klonları" -#: www/index.php:198 +#: www/index.php:197 msgid "Removed/Child porn" msgstr "Kaldırıldı/Çocuk pornografisi" -#: www/index.php:200 +#: www/index.php:199 msgid "Pending approval" msgstr "" -#: www/index.php:201 +#: www/index.php:200 msgid "Rejected" msgstr "" -#: www/index.php:205 +#: www/index.php:204 msgid "Categories:" msgstr "Kategoriler:" -#: www/index.php:212 www/test.php:46 www/admin.php:51 www/admin.php:111 +#: www/index.php:211 www/test.php:46 www/admin.php:51 www/admin.php:111 msgid "Invalid onion address!" msgstr "Geçersiz onion-Adresi!" -#: www/index.php:213 +#: www/index.php:212 #, php-format msgid "A valid address looks like this: %s" msgstr "Geçerli bir adres şöyle gözükür: %s" -#: www/index.php:217 www/index.php:230 +#: www/index.php:216 www/index.php:229 msgid "Error: Wrong captcha" msgstr "" -#: www/index.php:223 +#: www/index.php:222 msgid "Error: Captcha expired" msgstr "" -#: www/index.php:252 www/admin.php:97 +#: www/index.php:251 www/admin.php:97 msgid "Successfully added onion address!" msgstr "Onion-Adresi başarıyla eklendi!" -#: www/index.php:254 +#: www/index.php:253 msgid "Sorry, editing this onion address has been locked!" msgstr "Üzgünüm, bu onion-Adresini düzenlemek kilitli!" -#: www/index.php:258 www/admin.php:101 +#: www/index.php:257 www/admin.php:101 msgid "Successfully updated description!" msgstr "Açıklama başarılı bir şekilde güncellendi!" -#: www/index.php:262 www/admin.php:105 +#: www/index.php:261 www/admin.php:105 msgid "Successfully updated category!" msgstr "Kategori başarılı bir şekilde güncellendi!" -#: www/index.php:264 www/admin.php:107 +#: www/index.php:263 www/admin.php:107 msgid "Thanks, but I already knew this address!" msgstr "Teşekkürler, ama bu adresi zaten biliyorum!" -#: www/index.php:290 +#: www/index.php:289 #, php-format msgid "Searching for \"%1$s\", %2$d results found:" msgstr "\"%1$s\" için aranıyor, %2$d sonuç bulundu:" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Onion link" msgstr "Onion bağlantısı" -#: www/index.php:337 www/admin.php:166 +#: www/index.php:336 www/admin.php:166 msgid "Description" msgstr "Açıklama" -#: www/index.php:337 www/index.php:397 +#: www/index.php:336 www/index.php:396 msgid "Last seen" msgstr "Son görülme" -#: www/index.php:337 +#: www/index.php:336 msgid "Added at" msgstr "Şu tarihte eklendi" -#: www/index.php:337 +#: www/index.php:336 msgid "Actions" msgstr "Eylemler" -#: www/index.php:349 www/index.php:367 www/index.php:406 +#: www/index.php:348 www/index.php:366 www/index.php:405 msgid "Never" msgstr "Asla" -#: www/index.php:357 www/index.php:383 www/test.php:34 +#: www/index.php:356 www/index.php:382 www/test.php:34 msgid "Test" msgstr "Dene" -#: www/index.php:381 +#: www/index.php:380 msgid "Edit" msgstr "Düzenle" -#: www/index.php:397 +#: www/index.php:396 msgid "Clone of" msgstr "Klonu" -#: www/index.php:413 +#: www/index.php:412 msgid "Unknown" msgstr "Bilinmiyor" -#: www/index.php:463 +#: www/index.php:462 msgid "Pages:" msgstr "Sayfalar:" -#: www/index.php:488 +#: www/index.php:487 msgid "Copy:" msgstr "" -#: www/index.php:495 www/index.php:510 www/index.php:562 +#: www/index.php:494 www/index.php:509 www/index.php:561 msgid "captcha image" msgstr "" @@ -247,7 +247,7 @@ msgstr "" msgid "Yes, the service is online!" msgstr "Evet, bu servis çevrimiçi!" -#: www/test.php:112 +#: www/test.php:110 msgid "No, the service is offline!" msgstr "Hayır, bu servis çevrimdışı!" @@ -402,7 +402,75 @@ msgstr "" msgid "Search the onion link list" msgstr "" -#: common_config.php:76 +#: common_config.php:24 +msgid "Unsorted" +msgstr "" + +#: common_config.php:25 +msgid "Adult/Porn" +msgstr "" + +#: common_config.php:26 +msgid "Communication/Social" +msgstr "" + +#: common_config.php:27 +msgid "Forums" +msgstr "" + +#: common_config.php:28 +msgid "Hacking/Programming/Software" +msgstr "" + +#: common_config.php:29 +msgid "Hosting" +msgstr "" + +#: common_config.php:30 +msgid "Libraries/Wikis" +msgstr "" + +#: common_config.php:31 +msgid "Link Lists" +msgstr "" + +#: common_config.php:32 +msgid "Market/Shop/Store" +msgstr "" + +#: common_config.php:33 +msgid "Other" +msgstr "" + +#: common_config.php:34 +msgid "Personal Sites/Blogs" +msgstr "" + +#: common_config.php:35 +msgid "Security/Privacy/Encryption" +msgstr "" + +#: common_config.php:36 +msgid "Whistleblowing" +msgstr "" + +#: common_config.php:37 +msgid "Empty/Error/Unknown" +msgstr "" + +#: common_config.php:38 +msgid "Cryptocurrencies" +msgstr "" + +#: common_config.php:39 +msgid "Scams" +msgstr "" + +#: common_config.php:40 +msgid "Fun/Games/Joke" +msgstr "" + +#: common_config.php:95 msgid "Language:" msgstr "Dil:" diff --git a/www/index.php b/www/index.php index 0359b33..0dc31fa 100644 --- a/www/index.php +++ b/www/index.php @@ -2,6 +2,7 @@ if($_SERVER['REQUEST_METHOD']==='HEAD'){ exit; // ignore headers, no further processing needed } +global $canonical_query; require_once(__DIR__.'/../common_config.php'); try{ $db=new PDO('mysql:host=' . DBHOST . ';dbname=' . DBNAME . ';charset=utf8mb4', DBUSER, DBPASS, [PDO::ATTR_ERRMODE=>PDO::ERRMODE_WARNING, PDO::ATTR_PERSISTENT=>PERSISTENT]); @@ -37,10 +38,14 @@ function send_html(): void _('Last added')=>"address!='' AND id NOT IN (SELECT onion_id FROM " . PREFIX . 'phishing)', _('Offline > 1 week')=>"address!='' AND id NOT IN (SELECT onion_id FROM " . PREFIX . 'phishing) AND timediff>604800' ]; + $canonical_query = []; if(!isset($_REQUEST['pg'])){ $_REQUEST['pg']=1; }else{ settype($_REQUEST['pg'], 'int'); + if($_REQUEST['pg'] !== 1) { + $canonical_query[ 'pg' ] = $_REQUEST[ 'pg' ]; + } } if($_REQUEST['pg']>0){ $_REQUEST['newpg']=1; @@ -51,13 +56,7 @@ function send_html(): void if(isset($_REQUEST['cat']) && $_REQUEST['cat']<(count($categories)+count($special)+1) && $_REQUEST['cat']>=0){ settype($_REQUEST['cat'], 'int'); $category=$_REQUEST['cat']; - } - $canonical_query = []; - if(isset($_REQUEST['cat'])) { - $canonical_query['cat'] = intval($_REQUEST['cat']); - } - if(isset($_REQUEST['pg'])) { - $canonical_query['pg'] = $_REQUEST['pg']; + $canonical_query['cat'] = $category; } $pages=1; $admin_approval = ''; diff --git a/www/test.php b/www/test.php index 108f630..37704ef 100644 --- a/www/test.php +++ b/www/test.php @@ -105,10 +105,8 @@ if(!empty($_REQUEST['addr'])){ } echo ''; }else{ - if(isset($db)){ - $time=time(); - $db->prepare('UPDATE ' . PREFIX . 'onions SET lasttest=?, timediff=lasttest-lastup WHERE md5sum=? AND lasttestexecute([$time, $md5, $time]); - } + $time=time(); + $db->prepare('UPDATE ' . PREFIX . 'onions SET lasttest=?, timediff=lasttest-lastup WHERE md5sum=? AND lasttestexecute([$time, $md5, $time]); echo ''; } curl_close($ch);