From e6f15d006f200e5ea99e569bd6ce1a0b4b93755e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 18 Mar 2025 02:23:20 -0400 Subject: [PATCH] Remove hack for `Issue` search condition in French locale https://forums.zotero.org/discussion/comment/473643/#Comment_473643 --- chrome/content/zotero/xpcom/data/searchConditions.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/searchConditions.js b/chrome/content/zotero/xpcom/data/searchConditions.js index 6ffd44a745..c3b8305e11 100644 --- a/chrome/content/zotero/xpcom/data/searchConditions.js +++ b/chrome/content/zotero/xpcom/data/searchConditions.js @@ -662,17 +662,9 @@ Zotero.SearchConditions = new function(){ continue; } - let localized = self.getLocalizedName(i); - // Hack to use a different name for "issue" in French locale, - // where 'number' and 'issue' are translated the same - // https://forums.zotero.org/discussion/14942/ - if (Zotero.ItemFields.getName(fieldID) == 'issue' && locale.substr(0, 2) == 'fr') { - localized = "Num\u00E9ro (p\u00E9riodique)"; - } - _standardConditions.push({ name: i, - localized: localized, + localized: self.getLocalizedName(i), operators: _conditions[i]['operators'], flags: _conditions[i]['flags'] });