diff --git a/public/translations/ar/default.json b/public/translations/ar/default.json index b02afd4e..846cc7f3 100644 --- a/public/translations/ar/default.json +++ b/public/translations/ar/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "تفعيل التمرير اللانهائي", "prev": "السابق", "next": "التالي", - "bottom": "أسفل" + "bottom": "أسفل", + "enable_infinite_scroll_tip": "لا ينطبق على اللوحات المتعددة، التي تستخدم التمرير اللانهائي دائماً." } diff --git a/public/translations/bn/default.json b/public/translations/bn/default.json index 07b0a7d5..1540846b 100644 --- a/public/translations/bn/default.json +++ b/public/translations/bn/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "অসীম স্ক্রল সক্ষম করুন", "prev": "পূর্ববর্তী", "next": "পরবর্তী", - "bottom": "নিচ" + "bottom": "নিচ", + "enable_infinite_scroll_tip": "মাল্টিবোর্ডে প্রযোজ্য নয়, যা সবসময় অসীম স্ক্রল ব্যবহার করে।" } diff --git a/public/translations/cs/default.json b/public/translations/cs/default.json index 0b074793..08f826df 100644 --- a/public/translations/cs/default.json +++ b/public/translations/cs/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Povolit nekonečné posouvání", "prev": "Předchozí", "next": "Další", - "bottom": "Dole" + "bottom": "Dole", + "enable_infinite_scroll_tip": "Netýká se multidesek, které vždy používají nekonečné posouvání." } diff --git a/public/translations/da/default.json b/public/translations/da/default.json index 05cb798b..c8c6c0c2 100644 --- a/public/translations/da/default.json +++ b/public/translations/da/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Aktiver uendelig rulning", "prev": "Forrige", "next": "Næste", - "bottom": "Bund" + "bottom": "Bund", + "enable_infinite_scroll_tip": "Gælder ikke for multiboard, som altid bruger uendelig scroll." } diff --git a/public/translations/de/default.json b/public/translations/de/default.json index 62582ae3..1c0868aa 100644 --- a/public/translations/de/default.json +++ b/public/translations/de/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Unendliches Scrollen aktivieren", "prev": "Zurück", "next": "Weiter", - "bottom": "Unten" + "bottom": "Unten", + "enable_infinite_scroll_tip": "Gilt nicht für Multiboards, die immer Endlos-Scrolling verwenden." } diff --git a/public/translations/el/default.json b/public/translations/el/default.json index ba99249f..e3625b50 100644 --- a/public/translations/el/default.json +++ b/public/translations/el/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Ενεργοποίηση άπειρου κύλισης", "prev": "Προηγ", "next": "Επόμενο", - "bottom": "Κάτω" + "bottom": "Κάτω", + "enable_infinite_scroll_tip": "Δεν ισχύει για τα πολυπίνακες, που χρησιμοποιούν πάντα την ατελείωτη κύλιση." } diff --git a/public/translations/en/default.json b/public/translations/en/default.json index 63d02cdf..1256080f 100644 --- a/public/translations/en/default.json +++ b/public/translations/en/default.json @@ -284,5 +284,6 @@ "media_hosting_all_providers_failed_guidance": "All upload providers failed. Try again or paste a link manually.", "enable_infinite_scroll": "Enable infinite scroll", "prev": "Prev", - "next": "Next" + "next": "Next", + "enable_infinite_scroll_tip": "Does not apply to multiboards, which always use infinite scroll." } diff --git a/public/translations/es/default.json b/public/translations/es/default.json index 8f641a2a..544b8a59 100644 --- a/public/translations/es/default.json +++ b/public/translations/es/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Activar desplazamiento infinito", "prev": "Anterior", "next": "Siguiente", - "bottom": "Abajo" + "bottom": "Abajo", + "enable_infinite_scroll_tip": "No aplica a los multiboard, que siempre usan scroll infinito." } diff --git a/public/translations/fa/default.json b/public/translations/fa/default.json index 047c5fb7..248e94ef 100644 --- a/public/translations/fa/default.json +++ b/public/translations/fa/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "فعال کردن اسکرول بینهایت", "prev": "قبلی", "next": "بعدی", - "bottom": "پایین" + "bottom": "پایین", + "enable_infinite_scroll_tip": "برای تابلوهای چندگانه اعمال نمیشود، که همیشه از اسکرول بینهایت استفاده میکنند." } diff --git a/public/translations/fi/default.json b/public/translations/fi/default.json index db9f2984..70a4a4e4 100644 --- a/public/translations/fi/default.json +++ b/public/translations/fi/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Ota ääretön vieritys käyttöön", "prev": "Edell.", "next": "Seuraava", - "bottom": "Pohja" + "bottom": "Pohja", + "enable_infinite_scroll_tip": "Ei koske monilautalistauksia, jotka aina käyttävät ääretöntä vieritystä." } diff --git a/public/translations/fil/default.json b/public/translations/fil/default.json index ce7cca6c..c64d3556 100644 --- a/public/translations/fil/default.json +++ b/public/translations/fil/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Paganahin ang walang hanggang scroll", "prev": "Nakaraan", "next": "Susunod", - "bottom": "Ibaba" + "bottom": "Ibaba", + "enable_infinite_scroll_tip": "Hindi naaangkop sa mga multiboard, na palaging gumagamit ng walang hanggang scroll." } diff --git a/public/translations/fr/default.json b/public/translations/fr/default.json index 09e102d4..db2742b2 100644 --- a/public/translations/fr/default.json +++ b/public/translations/fr/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Activer le défilement infini", "prev": "Précédent", "next": "Suivant", - "bottom": "Bas" + "bottom": "Bas", + "enable_infinite_scroll_tip": "Ne s'applique pas aux multiboards, qui utilisent toujours le défilement infini." } diff --git a/public/translations/he/default.json b/public/translations/he/default.json index 64944461..b4567f9f 100644 --- a/public/translations/he/default.json +++ b/public/translations/he/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "הפעל גלילה אינסופית", "prev": "הקודם", "next": "הבא", - "bottom": "תחתית" + "bottom": "תחתית", + "enable_infinite_scroll_tip": "לא חל על לוחות מרובים, שתמיד משתמשים בגלילה אינסופית." } diff --git a/public/translations/hi/default.json b/public/translations/hi/default.json index e624a881..fb779c11 100644 --- a/public/translations/hi/default.json +++ b/public/translations/hi/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "अनंत स्क्रॉल सक्षम करें", "prev": "पिछला", "next": "अगला", - "bottom": "नीचे" + "bottom": "नीचे", + "enable_infinite_scroll_tip": "मल्टीबोर्ड पर लागू नहीं होता, जो हमेशा अनंत स्क्रॉल का उपयोग करते हैं।" } diff --git a/public/translations/hu/default.json b/public/translations/hu/default.json index bb378eaf..588a1934 100644 --- a/public/translations/hu/default.json +++ b/public/translations/hu/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Végtelen görgetés engedélyezése", "prev": "Előző", "next": "Következő", - "bottom": "Alul" + "bottom": "Alul", + "enable_infinite_scroll_tip": "A többtáblás nézetekre nem vonatkozik, amelyek mindig végtelen görgetést használnak." } diff --git a/public/translations/id/default.json b/public/translations/id/default.json index 421a6b64..33596916 100644 --- a/public/translations/id/default.json +++ b/public/translations/id/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Aktifkan scroll tak terbatas", "prev": "Sebelumnya", "next": "Berikutnya", - "bottom": "Bawah" + "bottom": "Bawah", + "enable_infinite_scroll_tip": "Tidak berlaku untuk papan ganda, yang selalu menggunakan scroll tak terbatas." } diff --git a/public/translations/it/default.json b/public/translations/it/default.json index 069b4da2..3fc36ee2 100644 --- a/public/translations/it/default.json +++ b/public/translations/it/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Abilita scorrimento infinito", "prev": "Prec.", "next": "Avanti", - "bottom": "In basso" + "bottom": "In basso", + "enable_infinite_scroll_tip": "Non si applica ai multiboard, che usano sempre lo scroll infinito." } diff --git a/public/translations/ja/default.json b/public/translations/ja/default.json index 9debd480..67cc0c3d 100644 --- a/public/translations/ja/default.json +++ b/public/translations/ja/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "無限スクロールを有効にする", "prev": "前へ", "next": "次へ", - "bottom": "下" + "bottom": "下", + "enable_infinite_scroll_tip": "マルチボードには適用されません。マルチボードは常に無限スクロールを使用します。" } diff --git a/public/translations/ko/default.json b/public/translations/ko/default.json index ff9da92c..ad0970f0 100644 --- a/public/translations/ko/default.json +++ b/public/translations/ko/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "무한 스크롤 활성화", "prev": "이전", "next": "다음", - "bottom": "아래" + "bottom": "아래", + "enable_infinite_scroll_tip": "항상 무한 스크롤을 사용하는 멀티보드에는 적용되지 않습니다." } diff --git a/public/translations/mr/default.json b/public/translations/mr/default.json index 8c3f4b94..748c8545 100644 --- a/public/translations/mr/default.json +++ b/public/translations/mr/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "अनंत स्क्रोल सक्षम करा", "prev": "मागील", "next": "पुढे", - "bottom": "तळ" + "bottom": "तळ", + "enable_infinite_scroll_tip": "मल्टीबोर्डवर लागू होत नाही, जे नेहमी अंतहीन स्क्रॉल वापरतात." } diff --git a/public/translations/nl/default.json b/public/translations/nl/default.json index a21968f2..99698178 100644 --- a/public/translations/nl/default.json +++ b/public/translations/nl/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Oneindig scrollen inschakelen", "prev": "Vorige", "next": "Volgende", - "bottom": "Onder" + "bottom": "Onder", + "enable_infinite_scroll_tip": "Geldt niet voor multiboards, die altijd oneindig scrollen gebruiken." } diff --git a/public/translations/no/default.json b/public/translations/no/default.json index c63ae80e..f4cb0956 100644 --- a/public/translations/no/default.json +++ b/public/translations/no/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Aktiver uendelig rulling", "prev": "Forrige", "next": "Neste", - "bottom": "Bunn" + "bottom": "Bunn", + "enable_infinite_scroll_tip": "Gjelder ikke for multiboard, som alltid bruker uendelig scroll." } diff --git a/public/translations/pl/default.json b/public/translations/pl/default.json index 1137fdf5..ed986acb 100644 --- a/public/translations/pl/default.json +++ b/public/translations/pl/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Włącz nieskończone przewijanie", "prev": "Poprz.", "next": "Dalej", - "bottom": "Dół" + "bottom": "Dół", + "enable_infinite_scroll_tip": "Nie dotyczy multiboardów, które zawsze używają nieskończonego przewijania." } diff --git a/public/translations/pt/default.json b/public/translations/pt/default.json index 81ad8d42..25fd865c 100644 --- a/public/translations/pt/default.json +++ b/public/translations/pt/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Ativar rolagem infinita", "prev": "Anterior", "next": "Próximo", - "bottom": "Inferior" + "bottom": "Inferior", + "enable_infinite_scroll_tip": "Não se aplica a multiboard, que sempre usam rolagem infinita." } diff --git a/public/translations/ro/default.json b/public/translations/ro/default.json index fda88e44..912affef 100644 --- a/public/translations/ro/default.json +++ b/public/translations/ro/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Activează derularea infinită", "prev": "Anterior", "next": "Următorul", - "bottom": "Jos" + "bottom": "Jos", + "enable_infinite_scroll_tip": "Nu se aplică la multiboard-urile, care folosesc întotdeauna defilarea infinită." } diff --git a/public/translations/ru/default.json b/public/translations/ru/default.json index 819b66d1..b341f463 100644 --- a/public/translations/ru/default.json +++ b/public/translations/ru/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Включить бесконечную прокрутку", "prev": "Пред.", "next": "Далее", - "bottom": "Вниз" + "bottom": "Вниз", + "enable_infinite_scroll_tip": "Не применяется к мультибордам, которые всегда используют бесконечную прокрутку." } diff --git a/public/translations/sq/default.json b/public/translations/sq/default.json index 569d2611..4a878d6a 100644 --- a/public/translations/sq/default.json +++ b/public/translations/sq/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Aktivizo rrëshqitjen e pafundme", "prev": "Paraprake", "next": "Tjetra", - "bottom": "Poshtë" + "bottom": "Poshtë", + "enable_infinite_scroll_tip": "Nuk aplikohet për multiboard-et, që gjithmonë përdorin rrëshqitje të pafundme." } diff --git a/public/translations/sv/default.json b/public/translations/sv/default.json index 6190f4e9..69cd44c6 100644 --- a/public/translations/sv/default.json +++ b/public/translations/sv/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Aktivera oändlig scrollning", "prev": "Föreg.", "next": "Nästa", - "bottom": "Botten" + "bottom": "Botten", + "enable_infinite_scroll_tip": "Gäller inte multiboard, som alltid använder oändlig scroll." } diff --git a/public/translations/te/default.json b/public/translations/te/default.json index b0f183be..0a708986 100644 --- a/public/translations/te/default.json +++ b/public/translations/te/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "అనంత స్క్రోల్ చేతనం చేయండి", "prev": "మునుపటి", "next": "తదుపరి", - "bottom": "క్రింద" + "bottom": "క్రింద", + "enable_infinite_scroll_tip": "మల్టీబోర్డ్లకు వర్తించదు, అవి ఎల్లప్పుడూ అనంత స్క్రాల్ ఉపయోగిస్తాయి." } diff --git a/public/translations/th/default.json b/public/translations/th/default.json index 36ecbd90..a2734775 100644 --- a/public/translations/th/default.json +++ b/public/translations/th/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "เปิดใช้งานการเลื่อนแบบไม่จำกัด", "prev": "ก่อนหน้า", "next": "ถัดไป", - "bottom": "ล่าง" + "bottom": "ล่าง", + "enable_infinite_scroll_tip": "ไม่ใช้กับมัลติบอร์ด ซึ่งใช้การเลื่อนแบบไม่สิ้นสุดเสมอ" } diff --git a/public/translations/tr/default.json b/public/translations/tr/default.json index fba3d087..5095ff7e 100644 --- a/public/translations/tr/default.json +++ b/public/translations/tr/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Sonsuz kaydırmayı etkinleştir", "prev": "Önceki", "next": "İleri", - "bottom": "Alt" + "bottom": "Alt", + "enable_infinite_scroll_tip": "Her zaman sonsuz kaydırma kullanan çoklu panolar için geçerli değildir." } diff --git a/public/translations/uk/default.json b/public/translations/uk/default.json index 5f2b5d31..6f830101 100644 --- a/public/translations/uk/default.json +++ b/public/translations/uk/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Увімкнути нескінченну прокрутку", "prev": "Попередн.", "next": "Далі", - "bottom": "Вниз" + "bottom": "Вниз", + "enable_infinite_scroll_tip": "Не застосовується до мультибордів, які завжди використовують нескінченне прокручування." } diff --git a/public/translations/ur/default.json b/public/translations/ur/default.json index 704b8512..4a01e5ca 100644 --- a/public/translations/ur/default.json +++ b/public/translations/ur/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "لامحدود سکرول فعال کریں", "prev": "پچھلا", "next": "اگلا", - "bottom": "نیچے" + "bottom": "نیچے", + "enable_infinite_scroll_tip": "ملٹی بورڈز پر لاگو نہیں ہوتا، جو ہمیشہ لامحدود سکرول استعمال کرتے ہیں۔" } diff --git a/public/translations/vi/default.json b/public/translations/vi/default.json index a3aae13d..017d5870 100644 --- a/public/translations/vi/default.json +++ b/public/translations/vi/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "Bật cuộn vô hạn", "prev": "Trước", "next": "Tiếp theo", - "bottom": "Dưới cùng" + "bottom": "Dưới cùng", + "enable_infinite_scroll_tip": "Không áp dụng cho đa bảng, luôn sử dụng cuộn vô hạn." } diff --git a/public/translations/zh/default.json b/public/translations/zh/default.json index 2b44ad44..008ce27c 100644 --- a/public/translations/zh/default.json +++ b/public/translations/zh/default.json @@ -284,5 +284,6 @@ "enable_infinite_scroll": "启用无限滚动", "prev": "上一页", "next": "下一步", - "bottom": "底部" + "bottom": "底部", + "enable_infinite_scroll_tip": "不适用于多板视图,后者始终使用无限滚动。" } diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 8813af7d..33e43501 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -416,7 +416,9 @@ export const MobileBoardButtons = () => { const { filteredCount, searchText } = useCatalogFiltersStore(); const enableInfiniteScroll = useFeedViewSettingsStore((state) => state.enableInfiniteScroll); - const showBottomButton = (isInCatalogView || isInPostView || isInPendingPostPage) && !enableInfiniteScroll; + const isMultiboard = isInAllView || isInSubscriptionsView || isInModView; + const effectiveInfiniteScroll = isMultiboard || enableInfiniteScroll; + const showBottomButton = (isInCatalogView || isInPostView || isInPendingPostPage) && !effectiveInfiniteScroll; // Check if we should show the vote button (only for directory boards) const directories = useDirectories(); @@ -539,7 +541,9 @@ export const DesktopBoardButtons = () => { const { filteredCount, searchText } = useCatalogFiltersStore(); const enableInfiniteScroll = useFeedViewSettingsStore((state) => state.enableInfiniteScroll); - const showBottomButton = (isInCatalogView || isInPostView || isInPendingPostPage) && !enableInfiniteScroll; + const isMultiboard = isInAllView || isInSubscriptionsView || isInModView; + const effectiveInfiniteScroll = isMultiboard || enableInfiniteScroll; + const showBottomButton = (isInCatalogView || isInPostView || isInPendingPostPage) && !effectiveInfiniteScroll; // Check if we should show the vote button (only for directory boards) const directories = useDirectories(); diff --git a/src/components/settings-modal/interface-settings/__tests__/interface-settings.test.tsx b/src/components/settings-modal/interface-settings/__tests__/interface-settings.test.tsx index ecb84f45..0a114a84 100644 --- a/src/components/settings-modal/interface-settings/__tests__/interface-settings.test.tsx +++ b/src/components/settings-modal/interface-settings/__tests__/interface-settings.test.tsx @@ -72,6 +72,11 @@ describe('InterfaceSettings', () => { setItemSpy.mockRestore(); }); + it('renders enable_infinite_scroll_tip under the infinite scroll checkbox', () => { + render(createElement(InterfaceSettings)); + expect(container.textContent).toMatch(/enable_infinite_scroll_tip/i); + }); + it('renders enable_infinite_scroll checkbox unchecked by default', () => { render(createElement(InterfaceSettings)); const label = Array.from(container.querySelectorAll('label')).find((l) => l.textContent?.toLowerCase().includes('enable_infinite_scroll')); diff --git a/src/components/settings-modal/interface-settings/interface-settings.tsx b/src/components/settings-modal/interface-settings/interface-settings.tsx index 4afdc400..a372833b 100644 --- a/src/components/settings-modal/interface-settings/interface-settings.tsx +++ b/src/components/settings-modal/interface-settings/interface-settings.tsx @@ -153,6 +153,7 @@ const InterfaceSettings = () => { setEnableInfiniteScroll(e.target.checked)} /> {capitalize(t('enable_infinite_scroll'))} +