Project

General

Profile

Patch #43701 » Patch__override_search_limit_due_to_Redmine__Search__Tokenizer.patch

Jan Catrysse, 2026-01-21 15:00

View differences:

app/views/settings/_issues.html.erb (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → app/views/settings/_issues.html.erb (date 1769003808059)
<p><%= setting_text_field :issues_export_limit, :size => 6 %></p>
<p><%= setting_text_field :search_token_limit, :size => 6 %>
<em class="info"><%= l(:text_search_token_limit_info) %></em></p>
<p><%= setting_text_field :gantt_items_limit, :size => 6 %></p>
<p><%= setting_text_field :gantt_months_limit, :size => 6 %></p>
config/locales/ar.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ar.yml (date 1769003808079)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "الحد الأقصى من الرموز المميزة لتصفية الكلمات الرئيسية"
text_search_token_limit_info: "استخدم 0 لعدد غير محدود من الرموز (قد يؤثر على الأداء)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/az.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/az.yml (date 1769003808116)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Filtr açar sözləri üçün maksimum işarələr"
text_search_token_limit_info: "Limitsiz token üçün 0 istifadə edin (performans təsir göstərə bilər)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/bg.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/bg.yml (date 1769003808152)
setting_email_domains_allowed: Разрешени имейл домейни
setting_email_domains_denied: Забранени имейл домейни
setting_search_results_per_page: Резултати от търсене на страница
setting_search_token_limit: "Максимален брой токени за филтриране на ключови думи"
text_search_token_limit_info: "Използвайте 0 за неограничени токени (може да повлияе на производителността)"
setting_attachment_extensions_allowed: Позволени типове на файлове
setting_attachment_extensions_denied: Разрешени типове на файлове
setting_new_item_menu_tab: Меню-елемент за добавяне на нови обекти (+)
config/locales/bs.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/bs.yml (date 1769003808172)
label_enable_notifications: Omogući notifikacije
label_disable_notifications: Onemogući notifikacije
setting_search_results_per_page: Broj rezultata po stranici
setting_search_token_limit: "Maksimalan broj tokena za ključne riječi filtera"
text_search_token_limit_info: "Koristite 0 za neograničene tokene (može utjecati na performanse)"
label_blank_value: prazno
permission_copy_issues: Kopiraj tikete
error_password_expired: Vaša šifra je istekla i administrator od vas traži njenu promjenu.
config/locales/ca.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ca.yml (date 1769003808195)
label_enable_notifications: "Activar notificacions"
label_disable_notifications: "Desactivar notificacions"
setting_search_results_per_page: "Cercar resultats per pàgina"
setting_search_token_limit: "Nombre màxim de fitxes per a paraules clau de filtre"
text_search_token_limit_info: "Utilitzeu 0 per a fitxes il·limitades (pot afectar el rendiment)"
label_blank_value: "blanc"
permission_copy_issues: "Copiar incidència"
error_password_expired: "La teva contrasenya ha expirat, és necessari canviar-la"
config/locales/cs.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/cs.yml (date 1769003808242)
label_enable_notifications: Povolit notifikace
label_disable_notifications: Zakázat notifikace
setting_search_results_per_page: Vyhledaných výsledků na stránku
setting_search_token_limit: "Maximální počet tokenů pro klíčová slova filtru"
text_search_token_limit_info: "Použijte 0 pro neomezený počet tokenů (může ovlivnit výkon)"
label_blank_value: prázdný
permission_copy_issues: Kopírovat úkoly
error_password_expired: Platnost vašeho hesla vypršela a administrátor vás žádá o jeho změnu.
config/locales/da.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/da.yml (date 1769003808264)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maksimalt antal tokens for filtersøgeord"
text_search_token_limit_info: "Brug 0 for ubegrænsede tokens (kan påvirke ydeevnen)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/de.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/de.yml (date 1769003808286)
label_enable_notifications: Benachrichtigungen aktivieren
label_disable_notifications: Benachrichtigungen deaktivieren
setting_search_results_per_page: Suchergebnisse pro Seite
setting_search_token_limit: "Maximale Token für Filterschlüsselwörter"
text_search_token_limit_info: "Verwenden Sie 0 für unbegrenzte Token (kann sich auf die Leistung auswirken)"
label_blank_value: leer
permission_copy_issues: Tickets kopieren
error_password_expired: Ihr Passwort ist abgelaufen oder der Administrator verlangt eine Passwortänderung.
config/locales/el.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/el.yml (date 1769003808312)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Μέγιστα διακριτικά για λέξεις-κλειδιά φιλτραρίσματος"
text_search_token_limit_info: "Χρησιμοποιήστε το 0 για απεριόριστα διακριτικά (μπορεί να επηρεάσει την απόδοση)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/en.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/en.yml (date 1769003808339)
setting_email_domains_allowed: Allowed email domains
setting_email_domains_denied: Disallowed email domains
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maximum tokens for filter keywords"
text_search_token_limit_info: "Use 0 for unlimited tokens (may impact performance)"
setting_attachment_extensions_allowed: Allowed extensions
setting_attachment_extensions_denied: Disallowed extensions
setting_new_item_menu_tab: Project menu tab for creating new objects
config/locales/en-GB.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/en-GB.yml (date 1769003808362)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maximum tokens for filter keywords"
text_search_token_limit_info: "Use 0 for unlimited tokens (may impact performance)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/es.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/es.yml (date 1769003808392)
label_enable_notifications: Permitir Notificaciones
label_disable_notifications: No Permitir Notificaciones
setting_search_results_per_page: Buscar resultados por página
setting_search_token_limit: "Tokens máximos para palabras clave de filtro"
text_search_token_limit_info: "Utilice 0 para tokens ilimitados (puede afectar el rendimiento)"
label_blank_value: blanco
permission_copy_issues: Copiar petición
error_password_expired: Tu contraseña ha expirado o tu administrador requiere que la cambies.
config/locales/es-PA.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/es-PA.yml (date 1769003808418)
label_enable_notifications: Permitir Notificaciones
label_disable_notifications: No Permitir Notificaciones
setting_search_results_per_page: Buscar resultados por página
setting_search_token_limit: "Tokens máximos para palabras clave de filtro"
text_search_token_limit_info: "Utilice 0 para tokens ilimitados (puede afectar el rendimiento)"
label_blank_value: blanco
permission_copy_issues: Copiar incidencias
error_password_expired: Tu contraseña ha expirado o tu administrador requiere que la cambies.
config/locales/et.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/et.yml (date 1769003808447)
label_enable_notifications: "Saada teavitusi"
label_disable_notifications: "Ära saada teavitusi"
setting_search_results_per_page: "Otsitulemusi lehe kohta"
setting_search_token_limit: "Maksimaalne lubade arv filtri märksõnade jaoks"
text_search_token_limit_info: "Kasutage piiramatute märkide jaoks 0 (võib mõjutada jõudlust)"
label_blank_value: "tühi"
permission_copy_issues: "Kopeeri teemad"
error_password_expired: "Su parool on aegunud või administraator nõuab sult selle vahetamist"
config/locales/eu.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/eu.yml (date 1769003808468)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Iragazki-hitzetarako gehienezko tokenak"
text_search_token_limit_info: "Erabili 0 token mugagabeetarako (errendimenduan eragina izan dezake)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/fa.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/fa.yml (date 1769003808501)
setting_email_domains_allowed: دامنه‌های مجاز برای نشانی رایانامه
setting_email_domains_denied: دامنه‌های غیرمجاز برای نشانی رایانامه
setting_search_results_per_page: تعداد نتایج جستجو در صفحه
setting_search_token_limit: "حداکثر توکن برای فیلتر کردن کلمات کلیدی"
text_search_token_limit_info: "از 0 برای توکن های نامحدود استفاده کنید (ممکن است بر عملکرد تأثیر بگذارد)"
setting_attachment_extensions_allowed: پسوندهای مجاز
setting_attachment_extensions_denied: پسوندهای غیرمجاز
setting_new_item_menu_tab: منوی پروژه برای ساخت اجزاء جدید
config/locales/fi.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/fi.yml (date 1769003808533)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Suodattimen avainsanojen enimmäismäärä"
text_search_token_limit_info: "Käytä 0 rajoittamattomille tunnuksille (voi vaikuttaa suorituskykyyn)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/fr.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/fr.yml (date 1769003808566)
setting_link_copied_issue: Lier les demandes lors de la copie
setting_max_additional_emails: Nombre maximal d'adresses email additionnelles
setting_search_results_per_page: Résultats de recherche affichés par page
setting_search_token_limit: "Nombre maximal de jetons pour les mots-clés de filtre"
text_search_token_limit_info: "Utilisez 0 pour un nombre illimité de jetons (peut avoir un impact sur les performances)"
setting_attachment_extensions_allowed: Extensions autorisées
setting_attachment_extensions_denied: Extensions non autorisées
setting_sys_api_key: Clé de protection de l'API
config/locales/gl.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/gl.yml (date 1769003808594)
label_enable_notifications: Activar notificacións
label_disable_notifications: Desactivar notificacións
setting_search_results_per_page: Resultados da busca por páxina
setting_search_token_limit: "Fichas máximas para palabras clave de filtro"
text_search_token_limit_info: "Usa 0 para tokens ilimitados (pode afectar o rendemento)"
label_blank_value: En branco
permission_copy_issues: Copiar peticións
error_password_expired: A túa contrasinal caducou ou o administrador obrígate
config/locales/he.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/he.yml (date 1769003808628)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "מקסימום אסימונים עבור מילות מפתח מסנן"
text_search_token_limit_info: "השתמש ב-0 עבור אסימונים ללא הגבלה (עשוי להשפיע על הביצועים)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/hr.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/hr.yml (date 1769003808687)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maksimalan broj tokena za ključne riječi filtra"
text_search_token_limit_info: "Koristite 0 za neograničene tokene (može utjecati na izvedbu)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/hu.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/hu.yml (date 1769003808731)
label_enable_notifications: Értesítések engedélyezése
label_disable_notifications: Értesítések letiltása
setting_search_results_per_page: Találati eredmények száma oldalanként
setting_search_token_limit: "Maximális tokenek a szűrő kulcsszavaihoz"
text_search_token_limit_info: "Használjon 0-t korlátlan számú tokenhez (befolyásolhatja a teljesítményt)"
label_blank_value: üres
permission_copy_issues: Feladatok másolása
error_password_expired: "A jelszava lejárt, vagy az adminisztrátor kérte a megváltoztatását."
config/locales/id.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/id.yml (date 1769003808756)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Token maksimum untuk kata kunci filter"
text_search_token_limit_info: "Gunakan 0 untuk token tanpa batas (dapat memengaruhi kinerja)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/it.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/it.yml (date 1769003808797)
setting_email_domains_allowed: Domini di posta elettronica consentiti
setting_email_domains_denied: Domini di posta elettronica non consentiti
setting_search_results_per_page: Risultati per pagina
setting_search_token_limit: "Token massimi per le parole chiave del filtro"
text_search_token_limit_info: "Utilizza 0 per token illimitati (potrebbe influire sulle prestazioni)"
setting_attachment_extensions_allowed: Estensioni abilitate
setting_attachment_extensions_denied: Estensioni disabilitate
setting_new_item_menu_tab: Scheda di creazione oggetti nel menu del progetto
config/locales/ja.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ja.yml (date 1769003808834)
label_enable_notifications: 通知を有効にする
label_disable_notifications: 通知を無効にする
setting_search_results_per_page: ページごとの検索結果表示件数
setting_search_token_limit: "フィルタキーワードの最大トークン"
text_search_token_limit_info: "トークンを無制限にするには 0 を使用します (パフォーマンスに影響を与える可能性があります)"
label_blank_value: 空
permission_copy_issues: チケットのコピー
error_password_expired: パスワードの有効期限が過ぎたか、システム管理者より変更を求められています。
config/locales/ko.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ko.yml (date 1769003808882)
label_enable_notifications: 알림 켜기
label_disable_notifications: 알림 끄기
setting_search_results_per_page: 페이지당 검색 결과
setting_search_token_limit: "필터 키워드의 최대 토큰"
text_search_token_limit_info: "토큰을 무제한으로 사용하려면 0을 사용하세요(성능에 영향을 미칠 수 있음)."
label_blank_value: blank
permission_copy_issues: 일감 복사
error_password_expired: 암호가 만료되었거나 관리자가 변경하도록 설정하였습니다.
config/locales/lt.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/lt.yml (date 1769003808931)
setting_link_copied_issue: Susieti darbus kopijavimo metu
setting_max_additional_emails: Maksimalus skaičius papildomų elektronikių laiškų adresų
setting_search_results_per_page: Paieškos rezultatai puslapyje
setting_search_token_limit: "Maksimalus filtro raktinių žodžių prieigos raktų skaičius"
text_search_token_limit_info: "Naudokite 0 neribotam žetonų kiekiui (gali turėti įtakos našumui)"
setting_attachment_extensions_allowed: Leistini plėtiniai
setting_attachment_extensions_denied: Neleistini plėtiniai
config/locales/lv.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/lv.yml (date 1769003808977)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maksimālais marķieru skaits filtra atslēgvārdiem"
text_search_token_limit_info: "Izmantojiet 0 neierobežotiem marķieriem (var ietekmēt veiktspēju)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/mk.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/mk.yml (date 1769003809017)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Максимални токени за филтрирање на клучни зборови"
text_search_token_limit_info: "Користете 0 за неограничени токени (може да влијае на перформансите)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/mn.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/mn.yml (date 1769003809058)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Шүүлтүүрийн түлхүүр үгсэд зориулсан хамгийн их жетон"
text_search_token_limit_info: "Хязгааргүй тэмдэгтийн хувьд 0-г ашиглана уу (гүйцэтгэлд нөлөөлж болзошгүй)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/nl.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/nl.yml (date 1769003809079)
label_enable_notifications: Notificaties inschakelen
label_disable_notifications: Notificaties uitschakelen
setting_search_results_per_page: Zoekresultaten per pagina
setting_search_token_limit: "Maximale tokens voor filterzoekwoorden"
text_search_token_limit_info: "Gebruik 0 voor onbeperkte tokens (kan van invloed zijn op de prestaties)"
label_blank_value: leeg
permission_copy_issues: Issues kopiëren
error_password_expired: Uw wachtwoord is verlopen of moet gewijzigd worden op vraag van een beheerder.
config/locales/no.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/no.yml (date 1769003809121)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maksimalt antall tokens for filtersøkeord"
text_search_token_limit_info: "Bruk 0 for ubegrensede tokens (kan påvirke ytelsen)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/pl.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/pl.yml (date 1769003809150)
setting_email_domains_allowed: Dozwolone domeny adresów e-mail
setting_email_domains_denied: Niedozwolone domeny adresów e-mail
setting_search_results_per_page: Limit wyników wyszukiwania na stronie
setting_search_token_limit: "Maksymalna liczba tokenów dla słów kluczowych filtra"
text_search_token_limit_info: "Użyj 0, aby uzyskać nieograniczoną liczbę tokenów (może mieć wpływ na wydajność)"
setting_attachment_extensions_allowed: Dozwolone rozszerzenia
setting_attachment_extensions_denied: Niedozwolone rozszerzenia
setting_new_item_menu_tab: Zakładka w menu do tworzenia nowych obiektów
config/locales/pt.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/pt.yml (date 1769003809201)
label_enable_notifications: Ativar notificações
label_disable_notifications: Desativar notificações
setting_search_results_per_page: Resultados de pesquisa por página
setting_search_token_limit: "Máximo de tokens para palavras-chave de filtro"
text_search_token_limit_info: "Use 0 para tokens ilimitados (pode afetar o desempenho)"
label_blank_value: vazio
permission_copy_issues: Copiar tarefas
error_password_expired: A sua palavra-chave expirou ou o administrador exige que a altere.
config/locales/pt-BR.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/pt-BR.yml (date 1769003809244)
label_enable_notifications: Habilitar notificações
label_disable_notifications: Desabilitar notificações
setting_search_results_per_page: Resultados de pesquisa por página
setting_search_token_limit: "Máximo de tokens para palavras-chave de filtro"
text_search_token_limit_info: "Use 0 para tokens ilimitados (pode afetar o desempenho)"
label_blank_value: Branco
permission_copy_issues: Copiar tarefas
error_password_expired: Sua senha expirou ou requer atualização
config/locales/ro.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ro.yml (date 1769003809278)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Numărul maxim de simboluri pentru cuvintele cheie de filtrare"
text_search_token_limit_info: "Utilizați 0 pentru jetoane nelimitate (poate afecta performanța)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/ru.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ru.yml (date 1769003809312)
label_enable_notifications: Включить уведомления
label_disable_notifications: Выключить уведомления
setting_search_results_per_page: Количество найденных результатов на страницу
setting_search_token_limit: "Максимальное количество токенов для ключевых слов фильтра"
text_search_token_limit_info: "Используйте 0 для неограниченного количества токенов (может повлиять на производительность)."
label_blank_value: пусто
permission_copy_issues: Копирование задач
error_password_expired: Время действия вашего пароля истекло или администратор потребовал сменить его.
config/locales/sk.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sk.yml (date 1769003809356)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Maximálny počet tokenov pre kľúčové slová filtra"
text_search_token_limit_info: "Použite 0 pre neobmedzený počet tokenov (môže ovplyvniť výkon)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/sl.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sl.yml (date 1769003809394)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Največje število žetonov za ključne besede filtra"
text_search_token_limit_info: "Uporabite 0 za neomejene žetone (lahko vpliva na zmogljivost)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/sq.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sq.yml (date 1769003809417)
setting_email_domains_allowed: Përkatësi email të lejuara
setting_email_domains_denied: Përkatësi email të palejuara
setting_search_results_per_page: Përfundime kërkimi për faqe
setting_search_token_limit: "Shenjat maksimale për filtrimin e fjalëve kyçe"
text_search_token_limit_info: "Përdorni 0 për shenja të pakufizuara (mund të ndikojë në performancën)"
setting_attachment_extensions_allowed: Zgjatime të lejuara
setting_attachment_extensions_denied: Zgjatime të palejuara
setting_new_item_menu_tab: Skedë menuje projekti për krijim objektesh të rinj
config/locales/sr.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sr.yml (date 1769003809444)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Максималан број токена за кључне речи филтера"
text_search_token_limit_info: "Користите 0 за неограничене токене (може утицати на перформансе)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/sr-YU.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sr-YU.yml (date 1769003809473)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "Максималан број токена за кључне речи филтера"
text_search_token_limit_info: "Користите 0 за неограничене токене (може утицати на перформансе)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/sv.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/sv.yml (date 1769003809507)
label_enable_notifications: Aktivera aviseringar
label_disable_notifications: Avaktivera aviseringar
setting_search_results_per_page: Sökresultat per sida
setting_search_token_limit: "Maximalt antal tokens för filtersökord"
text_search_token_limit_info: "Använd 0 för obegränsade tokens (kan påverka prestandan)"
label_blank_value: blank
permission_copy_issues: Kopiera ärenden
error_password_expired: Ditt lösenord har gått ut eller administratören kräver att du ändrar det.
config/locales/ta-IN.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/ta-IN.yml (date 1769003809534)
label_enable_notifications: அறிவிப்புகளை இயக்கு
label_disable_notifications: அறிவிப்புகளை முடக்கு
setting_search_results_per_page: ஒரு பக்கத்திற்கு தேடல் முடிவுகள்
setting_search_token_limit: "வடிகட்டி முக்கிய வார்த்தைகளுக்கான அதிகபட்ச டோக்கன்கள்"
text_search_token_limit_info: "வரம்பற்ற டோக்கன்களுக்கு 0 ஐப் பயன்படுத்தவும் (செயல்திறனை பாதிக்கலாம்)"
label_blank_value: வெற்று
permission_copy_issues: சிக்கல்களை நகலெடுக்கவும்
error_password_expired: உங்கள் கடவுச்சொல் காலாவதியானது அல்லது நிர்வாகி உங்களுக்குத் தேவை
config/locales/th.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/th.yml (date 1769003809560)
label_enable_notifications: Enable notifications
label_disable_notifications: Disable notifications
setting_search_results_per_page: Search results per page
setting_search_token_limit: "โทเค็นสูงสุดสำหรับคำหลักกรอง"
text_search_token_limit_info: "ใช้ 0 สำหรับโทเค็นไม่จำกัด (อาจส่งผลต่อประสิทธิภาพ)"
label_blank_value: blank
permission_copy_issues: Copy issues
error_password_expired: Your password has expired or the administrator requires you
config/locales/tr.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/tr.yml (date 1769003809583)
label_enable_notifications: Bildirimleri aç
label_disable_notifications: Bildirimleri kapat
setting_search_results_per_page: Sayfa başına arama sonucu sayısı
setting_search_token_limit: "Filtre anahtar kelimeleri için maksimum belirteçler"
text_search_token_limit_info: "Sınırsız jeton için 0 kullanın (performansı etkileyebilir)"
label_blank_value: boş
permission_copy_issues: İşleri kopyala
error_password_expired: Parolanızın süresi dolmuş veya yönetici parolanızı değiştirmenizi
config/locales/uk.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/uk.yml (date 1769003809608)
label_enable_notifications: Увімкнути сповіщення
label_disable_notifications: Вимкнути сповіщення
setting_search_results_per_page: Кількість знайдених результатів на сторінку
setting_search_token_limit: "Максимальна кількість токенів для ключових слів фільтра"
text_search_token_limit_info: "Використовуйте 0 для необмеженої кількості токенів (може вплинути на продуктивність)"
label_blank_value: пусто
permission_copy_issues: Копіювання задач
error_password_expired: Термін дії вашого паролю закінчився або адміністратор запросив поміняти його.
config/locales/vi.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/vi.yml (date 1769003809642)
label_enable_notifications: Bật thông báo
label_disable_notifications: Vô hiệu hóa thông báo
setting_search_results_per_page: Kết quả tìm kiếm trên mỗi trang
setting_search_token_limit: "Mã thông báo tối đa cho từ khóa lọc"
text_search_token_limit_info: "Sử dụng 0 để nhận mã thông báo không giới hạn (có thể ảnh hưởng đến hiệu suất)"
label_blank_value: trống
permission_copy_issues: Sao chép vấn đề
error_password_expired: Mật khẩu của bạn đã hết hạn hoặc quản trị viên yêu cầu bạn thay đổi nó.
config/locales/zh.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/zh.yml (date 1769003809679)
label_enable_notifications: 启用通知
label_disable_notifications: 禁用通知
setting_search_results_per_page: 每一页的搜索结果数
setting_search_token_limit: "过滤关键字的最大标记数"
text_search_token_limit_info: "使用 0 表示无限令牌(可能会影响性能)"
label_blank_value: 空白
permission_copy_issues: 复制问题
error_password_expired: 您的密码已经过期或是管理员要求您修改密码.
config/locales/zh-TW.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/locales/zh-TW.yml (date 1769003809722)
setting_link_copied_issue: 複製時連結議題
setting_max_additional_emails: 其他電子郵件地址的最大值
setting_search_results_per_page: 每一頁的搜尋結果數目
setting_search_token_limit: "過濾關鍵字的最大標記數"
text_search_token_limit_info: "使用 0 表示無限令牌(可能會影響性能)"
setting_attachment_extensions_allowed: 允許使用的附檔名
setting_attachment_extensions_denied: 禁止使用的副檔名
setting_new_item_menu_tab: 建立新物件的專案功能分頁
config/settings.yml (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → config/settings.yml (date 1769003809750)
default: '25,50,100'
search_results_per_page:
default: 10
search_token_limit:
format: int
# Use 0 for unlimited tokens (may impact performance on large queries)
default: 5
mail_from:
default: redmine@example.net
plain_text_mail:
lib/redmine/search.rb (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → lib/redmine/search.rb (date 1769003809784)
end
class Tokenizer
def initialize(question)
def initialize(question, max_tokens: nil)
@question = question.to_s
@max_tokens = max_tokens
end
def tokens
......
end
# tokens must be at least 2 characters long
# but for Chinese characters (Chinese HANZI/Japanese KANJI), tokens can be one character
# no more than 5 tokens to search for
tokens.uniq.select{|w| w.length > 1 || w =~ /\p{Han}/}.first 5
# no more than max_tokens to search for
tokens = tokens.uniq.select{|w| w.length > 1 || w =~ /\p{Han}/}
max_tokens ? tokens.first(max_tokens) : tokens
end
private
def max_tokens
limit = (@max_tokens.nil? ? Setting.search_token_limit : @max_tokens).to_i
return if limit <= 0
limit
end
end
test/unit/lib/redmine/search_test.rb (revision 71de111e4f41dcd33be148be2241f5d49a73faa5) → test/unit/lib/redmine/search_test.rb (date 1769003809813)
value = '"phrase one" "phrase two"'
assert_equal ["phrase one", "phrase two"], Redmine::Search::Tokenizer.new(value).tokens
end
def test_tokenize_respects_search_token_limit_setting
value = "one two three four five six"
with_settings :search_token_limit => '10' do
assert_equal %w[one two three four five six], Redmine::Search::Tokenizer.new(value).tokens
end
end
def test_tokenize_allows_unlimited_tokens
value = "one two three four five six"
with_settings :search_token_limit => '0' do
assert_equal %w[one two three four five six], Redmine::Search::Tokenizer.new(value).tokens
end
end
end
    (1-1/1)