From ade08459b7da00918e983d6c39e81902a42e9210 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Tue, 1 Aug 2017 13:18:38 -0400
Subject: [PATCH] Tokenize Past X Days in search newitem

---
 languages/ar.ini                                 | 3 +--
 languages/bn.ini                                 | 3 +--
 languages/ca.ini                                 | 3 +--
 languages/cs.ini                                 | 3 +--
 languages/cy.ini                                 | 3 +--
 languages/da.ini                                 | 3 +--
 languages/de.ini                                 | 3 +--
 languages/el.ini                                 | 3 +--
 languages/en.ini                                 | 3 +--
 languages/es.ini                                 | 3 +--
 languages/eu.ini                                 | 3 +--
 languages/fi.ini                                 | 3 +--
 languages/fr.ini                                 | 3 +--
 languages/ga.ini                                 | 3 +--
 languages/he.ini                                 | 3 +--
 languages/it.ini                                 | 3 +--
 languages/ja.ini                                 | 3 +--
 languages/nl.ini                                 | 3 +--
 languages/pl.ini                                 | 3 +--
 languages/pt-br.ini                              | 3 +--
 languages/pt.ini                                 | 3 +--
 languages/ru.ini                                 | 3 +--
 languages/sl.ini                                 | 3 +--
 languages/sv.ini                                 | 3 +--
 languages/tr.ini                                 | 3 +--
 languages/zh-cn.ini                              | 3 +--
 languages/zh.ini                                 | 3 +--
 themes/bootstrap3/templates/search/newitem.phtml | 2 +-
 28 files changed, 28 insertions(+), 55 deletions(-)

diff --git a/languages/ar.ini b/languages/ar.ini
index b010a51ca09..6b19dfc0ae7 100644
--- a/languages/ar.ini
+++ b/languages/ar.ini
@@ -253,7 +253,6 @@ date_from = "من"
 date_month_placeholder = "الشهر"
 date_to = "إلى"
 date_year_placeholder = "السنة"
-Days = "أيام"
 Debug Information = "معلومات التنقيح"
 del_search = "حذف مجموعة البحث"
 Delete = "حذف"
@@ -729,7 +728,7 @@ password_minimum_length = "الحد الأدنى لطول كلمة المرور
 password_only_alphanumeric = "أرقام وحروف من A-Z فقط"
 password_only_numeric = "أرقام فقط"
 Passwords do not match = "كلمة المرور غير متطابقة"
-Past = "Past"
+past_days = "Past %%range%% أيام"
 PDF Full Text = "PDF النص الكامل"
 peer_reviewed = "مراجعة النظير"
 peer_reviewed_limit = "تحديد إلى المقالات من دوريات تمت مراجعتها بالنظير"
diff --git a/languages/bn.ini b/languages/bn.ini
index 19dcb7fc7ef..6aff6183f39 100644
--- a/languages/bn.ini
+++ b/languages/bn.ini
@@ -253,7 +253,6 @@ date_from = "থেকে"
 date_month_placeholder = "মাস"
 date_to = "অবধি"
 date_year_placeholder = "বছর"
-Days = "দিনগুলি"
 Debug Information = "ত্রুটি মুক্ত তথ্য"
 del_search = "অনুসন্ধীত দল অপসারণ করুন"
 Delete = "মুছুন"
@@ -728,7 +727,7 @@ password_minimum_length = "Minimum password length is %%minlength%% characters"
 password_only_alphanumeric = "সংখ্যা এবং বর্ণ (A-Z)"
 password_only_numeric = "শুধুমাত্র সংখ্যা"
 Passwords do not match = "পাসওয়ার্ড মিলছে না"
-Past = "অতীত"
+past_days = "অতীত %%range%% দিনগুলি"
 PDF Full Text = "পিডিএফ এ সম্পূর্ন পাঠ"
 peer_reviewed = "পর্যালোচনা"
 peer_reviewed_limit = "পাক্ষিক পর্যালোচনা পত্রিকা থেকে নিবন্ধগুলি সীমিত"
diff --git a/languages/ca.ini b/languages/ca.ini
index 3995a658b90..bbb232d79cb 100644
--- a/languages/ca.ini
+++ b/languages/ca.ini
@@ -263,7 +263,6 @@ date_from = "Des de"
 date_month_placeholder = "M"
 date_to = "A"
 date_year_placeholder = "Y"
-Days = "Días"
 Debug Information = "Informació de depuració"
 del_search = "Eliminar cerca de grup"
 Delete = "Eliminar"
@@ -738,7 +737,7 @@ password_minimum_length = "El password ha tenor almenys %%minlength%% caracters"
 password_only_alphanumeric = "Números i lletres A-Z només"
 password_only_numeric = "Només números"
 Passwords do not match = "Les contrasenyes no coincideixen"
-Past = "Anterior"
+past_days = "Anterior %%range%% Días"
 PDF Full Text = "PDF a text complet"
 peer_reviewed = "Peer Reviewed"
 peer_reviewed_limit = "Limitar a articles de revistes revisades per experts"
diff --git a/languages/cs.ini b/languages/cs.ini
index 464eaba001c..183676bdc37 100644
--- a/languages/cs.ini
+++ b/languages/cs.ini
@@ -250,7 +250,6 @@ date_from = "Od"
 date_month_placeholder = "m"
 date_to = "do"
 date_year_placeholder = "y"
-Days = "dnů"
 Debug Information = "Informace o chybÄ›"
 del_search = "Odstranit vyhledávací skupinu"
 Delete = "Odstranit"
@@ -725,7 +724,7 @@ password_minimum_length = "Heslo musí být dlouhé alespoň %%minlength%% znak
 password_only_alphanumeric = "Pouze čísla a písmena A-Z"
 password_only_numeric = "Pouze čísla"
 Passwords do not match = "Hesla se neshodují"
-Past = "Za posledních"
+past_days = "Za posledních %%range%% dnů"
 PDF Full Text = "Plný text ve formátu PDF"
 peer_reviewed = "Recenzováno"
 peer_reviewed_limit = "Omezit na články z recenzovaných časopisů"
diff --git a/languages/cy.ini b/languages/cy.ini
index 1b7addf864c..b370adfd94d 100644
--- a/languages/cy.ini
+++ b/languages/cy.ini
@@ -252,7 +252,6 @@ date_from = "o"
 date_month_placeholder = "M"
 date_to = "i"
 date_year_placeholder = "C"
-Days = "Dyddiau"
 Debug Information = "Dadfygio Gwybodaeth"
 del_search = "Gwaredu Grŵp Chwilio"
 Delete = "Dileu"
@@ -727,7 +726,7 @@ password_minimum_length = "Rhaid i'r cyfrinair gynnwys o leiaf %%minlength%% nod
 password_only_alphanumeric = "Rhifau a llythrennau, A-Z yn unig"
 password_only_numeric = "Rhifau yn unig"
 Passwords do not match = "Nid yw'r cyfrineiriau yr un peth"
-Past = "Gorffennol"
+past_days = "Gorffennol %%range%% Dyddiau"
 PDF Full Text = "Testun PDF llawn"
 peer_reviewed = "Adolygwyd gan Gydweithwyr"
 peer_reviewed_limit = "Cyfyngu i erthyglau o gylchgronau a adolygwyd gan gymheiriaid"
diff --git a/languages/da.ini b/languages/da.ini
index 670886a811e..696096ac54e 100644
--- a/languages/da.ini
+++ b/languages/da.ini
@@ -182,7 +182,6 @@ date_from = "Fra"
 date_month_placeholder = "M"
 date_to = "Til"
 date_year_placeholder = "Ã…"
-Days = "Dage"
 Debug Information = "Debug Information"
 del_search = "Fjern søgegruppe"
 Delete = "Slet"
@@ -461,7 +460,7 @@ Password = "Password"
 Password Again = "Password igen"
 Password cannot be blank = "Password skal udfyldes"
 Passwords do not match = "Passwords er ikke ens"
-Past = "Tidligere"
+past_days = "Tidligere %%range%% Dage"
 peer_reviewed_limit = "Afgræns til artikler fra peer-reviewed tidsskrifter"
 Phone Number = "Telefonnummer"
 Photo = "Foto"
diff --git a/languages/de.ini b/languages/de.ini
index 41756a1b014..4b021e61d6b 100644
--- a/languages/de.ini
+++ b/languages/de.ini
@@ -251,7 +251,6 @@ date_from = "Von"
 date_month_placeholder = "M"
 date_to = "Bis"
 date_year_placeholder = "J"
-Days = "Tagen"
 Debug Information = "Debug Information"
 del_search = "Suchgruppe entfernen"
 Delete = "Löschen"
@@ -727,7 +726,7 @@ password_minimum_length = "Die minimale Länge des Passowrts beträgt %%minlengt
 password_only_alphanumeric = "Nur Zahlen und Buchstaben A-Z"
 password_only_numeric = "Nur Zahlen"
 Passwords do not match = "Die Passwörter stimmen nicht überein"
-Past = "seit"
+past_days = "seit %%range%% Tagen"
 PDF Full Text = "PDF-Volltext"
 peer_reviewed = "Peer Reviewed"
 peer_reviewed_limit = "Auf Artikel aus peer-reviewed Zeitschriften einschränken"
diff --git a/languages/el.ini b/languages/el.ini
index eeb9ba9fff9..1dd90f25f8d 100644
--- a/languages/el.ini
+++ b/languages/el.ini
@@ -252,7 +252,6 @@ date_from = "από"
 date_month_placeholder = "Μ"
 date_to = "έως"
 date_year_placeholder = "Ε"
-Days = "Ημέρες"
 Debug Information = "Πληροφορίες Debug"
 del_search = "Κατάργηση ομάδας"
 Delete = "Διαγραφή"
@@ -727,7 +726,7 @@ password_minimum_length = "Ο ελάχιστος αριθμός χαρακτήρ
 password_only_alphanumeric = "Αριθμοί και γράμματα A-Z μόνο"
 password_only_numeric = "Αριθμοί μόνο"
 Passwords do not match = "Οι κωδικοί δε συμφωνούν"
-Past = "Προηγούμενες"
+past_days = "Προηγούμενες %%range%% Ημέρες"
 PDF Full Text = "Πλήρες κείμενο PDF"
 peer_reviewed = "με αξιολόγηση από κριτές"
 peer_reviewed_limit = "Περιορισμός σε άρθρα από έγκριτα περιοδικά"
diff --git a/languages/en.ini b/languages/en.ini
index 5274d0bf6ac..7761bc11bcb 100644
--- a/languages/en.ini
+++ b/languages/en.ini
@@ -253,7 +253,6 @@ date_from = "From"
 date_month_placeholder = "M"
 date_to = "To"
 date_year_placeholder = "Y"
-Days = "Days"
 Debug Information = "Debug Information"
 del_search = "Remove Search Group"
 Delete = "Delete"
@@ -730,7 +729,7 @@ password_minimum_length = "Minimum password length is %%minlength%% characters"
 password_only_alphanumeric = "Numbers and letters A-Z only"
 password_only_numeric = "Numbers only"
 Passwords do not match = "Passwords do not match"
-Past = "Past"
+past_days = "Past %%range%% Days"
 PDF Full Text = "PDF Full Text"
 peer_reviewed = "Peer Reviewed"
 peer_reviewed_limit = "Limit to articles from peer-reviewed journals"
diff --git a/languages/es.ini b/languages/es.ini
index 978063f1071..a7b21f96384 100644
--- a/languages/es.ini
+++ b/languages/es.ini
@@ -252,7 +252,6 @@ date_from = "De"
 date_month_placeholder = "M"
 date_to = "a"
 date_year_placeholder = "A"
-Days = "Días"
 Debug Information = "Información Depurada"
 del_search = "Borrar Grupo de Búsqueda"
 Delete = "Borrar"
@@ -727,7 +726,7 @@ password_minimum_length = "Longitud mínima de la contraeña son %%minlength%% c
 password_only_alphanumeric = "Sólo números y letras A-Z"
 password_only_numeric = "Sólo números"
 Passwords do not match = "La Contraseña no coincide"
-Past = "Pasado"
+past_days = "Pasado %%range%% Días"
 PDF Full Text = "Texto Completo PDF"
 peer_reviewed = "Revisado por Pares"
 peer_reviewed_limit = "Limitar a articulos de revistas revisadas"
diff --git a/languages/eu.ini b/languages/eu.ini
index 7e0c75a911b..a1b139970c6 100644
--- a/languages/eu.ini
+++ b/languages/eu.ini
@@ -872,7 +872,6 @@ date_from = "De"
 date_month_placeholder = "M"
 date_to = "a"
 date_year_placeholder = "A"
-Days = "Egunak"
 Debug Information = "Arazketa-informazioa"
 del_search = "Ezabatu"
 Delete = "Ezabatu"
@@ -1347,7 +1346,7 @@ password_minimum_length = "Pasahitzarako gutxieneko luzapena da %%minlength%% ka
 password_only_alphanumeric = "Pasahitzak bakarrik A-Z onartzen du"
 password_only_numeric = "Bakarrik zenbakiak"
 Passwords do not match = "Pasahitza ez da egokia"
-Past = "Azken"
+past_days = "Azken %%range%% Egunak"
 PDF Full Text = "PDF testu osoa"
 peer_reviewed = "Pareek aztertuta"
 peer_reviewed_limit = "Limitar a árticulos de revistas revisadas"
diff --git a/languages/fi.ini b/languages/fi.ini
index 9dd8ee1de6e..486e795dea1 100644
--- a/languages/fi.ini
+++ b/languages/fi.ini
@@ -256,7 +256,6 @@ date_from = "Alkaen"
 date_month_placeholder = "K"
 date_to = "Päättyen"
 date_year_placeholder = "V"
-Days = "päivää"
 Debug Information = "Virheraportti"
 del_search = "Poista hakuryhmä"
 Delete = "Poista"
@@ -732,7 +731,7 @@ password_minimum_length = "Salasanan vähimmäispituus on %%minlength%% merkkiä
 password_only_alphanumeric = "Vain numerot ja kirjaimet a-z"
 password_only_numeric = "Vain numerot"
 Passwords do not match = "Salasanat eivät täsmää"
-Past = "Viimeiset"
+past_days = "Viimeiset %%range%% päivää"
 PDF Full Text = "PDF-kokoteksti"
 peer_reviewed = "Vertaisarvioitu"
 peer_reviewed_limit = "Rajaa artikkeleihin vertaisarvioiduista lehdistä"
diff --git a/languages/fr.ini b/languages/fr.ini
index 1aa149e44ba..e7617f58d4a 100644
--- a/languages/fr.ini
+++ b/languages/fr.ini
@@ -251,7 +251,6 @@ date_from = "De"
 date_month_placeholder = "M"
 date_to = "À"
 date_year_placeholder = "A"
-Days = "Jours"
 Debug Information = "Debug informations"
 del_search = "Effacer un groupe de recherche"
 Delete = "Supprimer"
@@ -726,7 +725,7 @@ password_minimum_length = "Longueur minimum du mot de passe : %%minlength%% cara
 password_only_alphanumeric = "Chiffres et lettres A-Z seulement"
 password_only_numeric = "Chiffres seulement"
 Passwords do not match = "Les mots de passe ne correspondent pas"
-Past = "Depuis"
+past_days = "Depuis %%range%% Jours"
 PDF Full Text = "Texte intégral en PDF"
 peer_reviewed = "Validé par les pairs"
 peer_reviewed_limit = "Limiter aux articles de revues à comité de lecture"
diff --git a/languages/ga.ini b/languages/ga.ini
index 3230374a37a..ac06a1e5e25 100644
--- a/languages/ga.ini
+++ b/languages/ga.ini
@@ -169,7 +169,6 @@ date_from = "Ó"
 date_month_placeholder = "M"
 date_to = "Chuig"
 date_year_placeholder = "B"
-Days = "Laethanta"
 Debug Information = "Faisnéis Dífhabhtúcháin"
 del_search = "Bain an Grúpa Cuardaigh"
 Delete = "Scrios"
@@ -448,7 +447,7 @@ Password = "Pasfhocal"
 Password Again = "Cuir isteach an pasfhocal arís"
 Password cannot be blank = "Ní féidir an pasfhocal a fhágáil folamh"
 Passwords do not match = "Ní hionann na pasfhocail"
-Past = "Roimhe seo"
+past_days = "Roimhe seo %%range%% Laethanta"
 peer_reviewed_limit = "Teorannaigh d'ailt ó iriseáin a bhfuil piarmheasúnú déanta orthu"
 Phone Number = "Uimhir Theileafóin"
 Photo = "Grianghraf"
diff --git a/languages/he.ini b/languages/he.ini
index 76ef98283d9..55a886ef306 100644
--- a/languages/he.ini
+++ b/languages/he.ini
@@ -194,7 +194,6 @@ date_from = "מ"
 date_month_placeholder = "חודש"
 date_to = "אל"
 date_year_placeholder = "שנה"
-Days = "ימים"
 Debug Information = "מידע דיבג"
 del_search = "הסרת קבוצת החיפוש"
 Delete = "מחק"
@@ -528,7 +527,7 @@ Password = "סיסמה"
 Password Again = "סיסמה שוב"
 Password cannot be blank = "סיסמה לא יכולה להיות ריקה"
 Passwords do not match = "סיסמאות לא תואמות"
-Past = "עבר"
+past_days = "עבר %%range%% ימים"
 peer_reviewed_limit = "הגבלה לפריטים מכתבי עת "
 Phone Number = "מספר טלפון"
 Photo = "תמונה"
diff --git a/languages/it.ini b/languages/it.ini
index 8921598f7c8..37adbf27e3c 100644
--- a/languages/it.ini
+++ b/languages/it.ini
@@ -251,7 +251,6 @@ date_from = "Da"
 date_month_placeholder = "M"
 date_to = "A"
 date_year_placeholder = "Y"
-Days = "Giorni"
 Debug Information = "Informazione di debug"
 del_search = "Rimuovi il gruppo di ricerca"
 Delete = "Cancella"
@@ -727,7 +726,7 @@ password_minimum_length = "La lunghezza minima della password è di %%maxlength%
 password_only_alphanumeric = "Solo numeri e lettere A-Z"
 password_only_numeric = "Solo numeri"
 Passwords do not match = "Le password non coincidono"
-Past = "Ultimi"
+past_days = "Ultimi %%range%% Giorni"
 PDF Full Text = "PDF Full Text"
 peer_reviewed = "Peer Reviewed"
 peer_reviewed_limit = "Limita ad articloli da riviste peer-reviewed"
diff --git a/languages/ja.ini b/languages/ja.ini
index 969fe8437b8..620f4906467 100644
--- a/languages/ja.ini
+++ b/languages/ja.ini
@@ -247,7 +247,6 @@ date_from = "From"
 date_month_placeholder = "M"
 date_to = "To"
 date_year_placeholder = "Y"
-Days = "日以内"
 Debug Information = "デバッグ情報"
 del_search = "検索グループを削除"
 Delete = "削除"
@@ -714,7 +713,7 @@ password_minimum_length = "パスワードは最低%%minlength%%文字必要で
 password_only_alphanumeric = "番号および A-Zの文字のみ"
 password_only_numeric = "番号のみ"
 Passwords do not match = "パスワードが間違っています"
-Past = "過去"
+past_days = "過去 %%range%% 日以内"
 PDF Full Text = "PDFフルテキスト"
 peer_reviewed = "査読あり"
 peer_reviewed_limit = "査読雑誌の論文に限定"
diff --git a/languages/nl.ini b/languages/nl.ini
index 74a8df45c30..fda6a9ba97e 100644
--- a/languages/nl.ini
+++ b/languages/nl.ini
@@ -247,7 +247,6 @@ date_from = "Van"
 date_month_placeholder = "M"
 date_to = "Tot"
 date_year_placeholder = "J"
-Days = "Dagen"
 Debug Information = "Debug Informatie"
 del_search = "Verwijder zoekveldengroep"
 Delete = "Verwijderen"
@@ -714,7 +713,7 @@ password_minimum_length = "Het wachtwoord bevat minimaal %%minlength%% karakters
 password_only_alphanumeric = "Enkel nummers en letters A-Z"
 password_only_numeric = "Enkel nummers"
 Passwords do not match = "Wachtwoorden komen niet overeen"
-Past = "Vorige"
+past_days = "Vorige %%range%% Dagen"
 PDF Full Text = "PDF Full text"
 peer_reviewed = "peer reviewed"
 peer_reviewed_limit = "Enkel artikels uit peer-reviewed tijdschriften"
diff --git a/languages/pl.ini b/languages/pl.ini
index 25622a15e21..6f82461678d 100644
--- a/languages/pl.ini
+++ b/languages/pl.ini
@@ -313,7 +313,6 @@ date_from = "od"
 date_month_placeholder = "M"
 date_to = "do"
 date_year_placeholder = "Y"
-Days = "Dni"
 Debug Information = "Informacje Debug"
 del_search = "Usunąć wyszukiwanie"
 Delete = "Usuń"
@@ -788,7 +787,7 @@ password_minimum_length = "Minimalna długość hasła to %%minlength%% znaków"
 password_only_alphanumeric = "Tylko numery oraz literki A-Z"
 password_only_numeric = "Tylko numery"
 Passwords do not match = "Hasła nie są identyczne"
-Past = "od"
+past_days = "od %%range%% Dni"
 PDF Full Text = "PDF pełnotekstowe"
 peer_reviewed = "Peer Reviewed"
 peer_reviewed_limit = "Ogranicz na artykuły z czasopism z peer-review"
diff --git a/languages/pt-br.ini b/languages/pt-br.ini
index 22fe2e9ff6b..7f1480f718e 100644
--- a/languages/pt-br.ini
+++ b/languages/pt-br.ini
@@ -251,7 +251,6 @@ date_from = "De"
 date_month_placeholder = "M"
 date_to = "Até"
 date_year_placeholder = "A"
-Days = "Dias"
 Debug Information = "Debug Information"
 del_search = "Retirar o grupo de busca"
 Delete = "Apagar"
@@ -727,7 +726,7 @@ password_minimum_length = "O tamanho mínimo da senha é %%minlength%% caractere
 password_only_alphanumeric = "Use somente números e letras de a até z"
 password_only_numeric = "Somente números"
 Passwords do not match = "As senhas não coincidem."
-Past = "Últimos"
+past_days = "Últimos %%range%% Dias"
 PDF Full Text = "Texto Completo em Formato PDF"
 peer_reviewed = "Revisados pelos Pares"
 peer_reviewed_limit = "Limitar a artigos de revistas e jornais"
diff --git a/languages/pt.ini b/languages/pt.ini
index ef3c97595f8..c563e6a4660 100644
--- a/languages/pt.ini
+++ b/languages/pt.ini
@@ -228,7 +228,6 @@ date_from = "De"
 date_month_placeholder = "M"
 date_to = "Até"
 date_year_placeholder = "A"
-Days = "Dias"
 Debug Information = "Debug Information"
 del_search = "Retirar o grupo de pesquisa"
 Delete = "Apagar"
@@ -659,7 +658,7 @@ password_error_not_unique = "A senha não foi alterada"
 password_maximum_length = "O comprimento máximo da senha é %%maxlength%% caractéres"
 password_minimum_length = "Tamanho mínimo da senha é %%minlength%% caractéres"
 Passwords do not match = "As senhas não coincidem."
-Past = "Últimos"
+past_days = "Últimos %%range%% Dias"
 PDF Full Text = "Texto integral em PDF"
 peer_reviewed = "Revisto por pares"
 peer_reviewed_limit = "Limitar a artigos de revistas e jornais"
diff --git a/languages/ru.ini b/languages/ru.ini
index ec64b254215..faeaa7ced6f 100644
--- a/languages/ru.ini
+++ b/languages/ru.ini
@@ -257,7 +257,6 @@ date_from = "от"
 date_month_placeholder = "М"
 date_to = "по"
 date_year_placeholder = "Г"
-Days = "дней"
 Debug Information = "Информация по отладке"
 del_search = "Удалить группу поиска"
 Delete = "Удалить"
@@ -714,7 +713,7 @@ password_error_not_unique = "Не был изменен пародь"
 password_maximum_length = "Максимальная длина пароля - %%maxlength%% символов"
 password_minimum_length = "Минимальная длина пароля - %%minlength%% символов"
 Passwords do not match = "Несоответствие паролей"
-Past = "Прошедшие"
+past_days = "Прошедшие %%range%% дней"
 PDF Full Text = "PDF-полный текст"
 peer_reviewed = "Peer-пересмотрен"
 peer_reviewed_limit = "Ограничение на статьи от специализированных журналов"
diff --git a/languages/sl.ini b/languages/sl.ini
index d766e14ba66..b3e7cd1e235 100644
--- a/languages/sl.ini
+++ b/languages/sl.ini
@@ -202,7 +202,6 @@ date_from = "Od"
 date_month_placeholder = "M"
 date_to = "Za"
 date_year_placeholder = "L"
-Days = "Dnevi"
 Debug Information = "Razhrošči Informacije"
 del_search = "Odstrani iskalno skupino"
 Delete = "Zbriši"
@@ -562,7 +561,7 @@ Password = "Geslo"
 Password Again = "Ponovite geslo"
 Password cannot be blank = "Vpišite geslo"
 Passwords do not match = "Geslo se ne ujema"
-Past = "Preteklo"
+past_days = "Preteklo %%range%% Dnevi"
 peer_reviewed_limit = "Omejite na članke iz peer-reviewed revij"
 Phone Number = "Telefonska Å¡tevilka"
 Photo = "Fotografija"
diff --git a/languages/sv.ini b/languages/sv.ini
index 6136eba1699..21bcfd6bfb3 100644
--- a/languages/sv.ini
+++ b/languages/sv.ini
@@ -251,7 +251,6 @@ date_from = "Från och med"
 date_month_placeholder = "M"
 date_to = "Till"
 date_year_placeholder = "Ã…"
-Days = "Dagar"
 Debug Information = "Felrapport"
 del_search = "Radera sökgruppen"
 Delete = "Radera"
@@ -727,7 +726,7 @@ password_minimum_length = "Minsta längd på lösenord är %%minlength%% tecken"
 password_only_alphanumeric = "Bara siffror och bokstäver a-z"
 password_only_numeric = "Bara siffror"
 Passwords do not match = "Lösenorden stämmer inte"
-Past = "Senaste"
+past_days = "Senaste %%range%% Dagar"
 PDF Full Text = "PDF-fulltext"
 peer_reviewed = "Referentgranskad"
 peer_reviewed_limit = "Begränsa till artiklar i referentgranskade tidskrifter"
diff --git a/languages/tr.ini b/languages/tr.ini
index 7f105168e2f..d13fe13d754 100644
--- a/languages/tr.ini
+++ b/languages/tr.ini
@@ -262,7 +262,6 @@ date_from = "den"
 date_month_placeholder = "A"
 date_to = "Kime"
 date_year_placeholder = "Y"
-Days = "Gün"
 Debug Information = "Hata Bilgisi"
 del_search = "Tarama Alanı Sil"
 Delete = "Sil"
@@ -737,7 +736,7 @@ password_minimum_length = "Minimum ÅŸifre uzunluÄŸu %%minlength%% karakter"
 password_only_alphanumeric = "Sayılar ve Harfler Sadece A-Z"
 password_only_numeric = "Sadece Sayılar"
 Passwords do not match = "Åžifre eÅŸleÅŸmedi"
-Past = "Geçen"
+past_days = "Geçen %%range%% Gün"
 PDF Full Text = "PDF Tam Metin"
 peer_reviewed = "Hakemli"
 peer_reviewed_limit = "Hakemli dergilerdeki makale(ler) limiti"
diff --git a/languages/zh-cn.ini b/languages/zh-cn.ini
index cd7407932f4..8a9e6401942 100644
--- a/languages/zh-cn.ini
+++ b/languages/zh-cn.ini
@@ -169,7 +169,6 @@ date_from = "来自"
 date_month_placeholder = "M"
 date_to = "到"
 date_year_placeholder = "Y"
-Days = "天"
 Debug Information = "调试信息"
 del_search = "删除搜索组"
 Delete = "删除"
@@ -448,7 +447,7 @@ Password = "密码"
 Password Again = "确认密码"
 Password cannot be blank = "密码不能是空的"
 Passwords do not match = "密码不匹配"
-Past = "过去"
+past_days = "过去 %%range%% 天"
 peer_reviewed_limit = "只限制同行评审期刊文章"
 Phone Number = "电话号码"
 Photo = "照片"
diff --git a/languages/zh.ini b/languages/zh.ini
index bd871b1b9ad..dcb8b1af028 100644
--- a/languages/zh.ini
+++ b/languages/zh.ini
@@ -169,7 +169,6 @@ date_from = "來自"
 date_month_placeholder = "M"
 date_to = "到"
 date_year_placeholder = "Y"
-Days = "天"
 Debug Information = "調試信息"
 del_search = "刪除搜索組"
 Delete = "刪除"
@@ -448,7 +447,7 @@ Password = "密碼"
 Password Again = "確認密碼"
 Password cannot be blank = "密碼不能是空的"
 Passwords do not match = "密碼不匹配"
-Past = "過去"
+past_days = "過去 %%range%% 天"
 peer_reviewed_limit = "只限制同行評審期刊文章"
 Phone Number = "電話號碼"
 Photo = "照片"
diff --git a/themes/bootstrap3/templates/search/newitem.phtml b/themes/bootstrap3/templates/search/newitem.phtml
index 96163f91d4a..5f874fddaa1 100644
--- a/themes/bootstrap3/templates/search/newitem.phtml
+++ b/themes/bootstrap3/templates/search/newitem.phtml
@@ -19,7 +19,7 @@
       <? foreach ($this->ranges as $key => $range): ?>
         <label class="btn btn-primary<? if($key == 0): ?> active<? endif ?>">
           <input type="radio" name="range" id="newitem_range_<?=$this->escapeHtmlAttr($key)?>" value="<?=$this->escapeHtmlAttr($range)?>"<?=($key == 0) ? ' checked="checked"' : ''?>/>
-          <?=($range == 1) ? $this->transEsc('Yesterday') : $this->transEsc('Past') . ' ' . $this->escapeHtml($range) . ' ' . $this->transEsc('Days')?>
+          <?=($range == 1) ? $this->transEsc('Yesterday') : $this->transEsc('past_days', ['%%range%%' => $this->escapeHtml($range)])?>
         </label>
       <? endforeach; ?>
     </div>
-- 
GitLab