From 9c97fc5bd914e3c3664d9ff803e9bdc50ce38c12 Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Sun, 16 Oct 2022 00:59:25 +0900 Subject: [PATCH] Options dialog: Change "Number of compare threads (...)" to "Number of CPU cores to use". If the value stored in the registry is negative, the "Number of CPU cores to use" text box will display the value obtained by adding the number of CPU cores. related to PR #1513 --- Src/Merge.rc | 4 +- Src/PropCompareFolder.cpp | 14 +++++- Src/PropCompareFolder.h | 1 + Translations/TranslationsStatus.md | 51 +++++++++++---------- Translations/WinMerge/Arabic.po | 3 +- Translations/WinMerge/Basque.po | 2 +- Translations/WinMerge/Brazilian.po | 4 +- Translations/WinMerge/Bulgarian.po | 8 +--- Translations/WinMerge/Catalan.po | 6 +-- Translations/WinMerge/ChineseSimplified.po | 7 +-- Translations/WinMerge/ChineseTraditional.po | 6 +-- Translations/WinMerge/Corsican.po | 6 +-- Translations/WinMerge/Croatian.po | 2 +- Translations/WinMerge/Czech.po | 2 +- Translations/WinMerge/Danish.po | 2 +- Translations/WinMerge/Dutch.po | 6 +-- Translations/WinMerge/English.pot | 4 +- Translations/WinMerge/Finnish.po | 8 +--- Translations/WinMerge/French.po | 6 +-- Translations/WinMerge/Galician.po | 6 +-- Translations/WinMerge/German.po | 4 +- Translations/WinMerge/Greek.po | 2 +- Translations/WinMerge/Hungarian.po | 6 +-- Translations/WinMerge/Italian.po | 4 +- Translations/WinMerge/Japanese.po | 8 +--- Translations/WinMerge/Korean.po | 6 +-- Translations/WinMerge/Lithuanian.po | 4 +- Translations/WinMerge/Norwegian.po | 5 +- Translations/WinMerge/Persian.po | 2 +- Translations/WinMerge/Polish.po | 4 +- Translations/WinMerge/Portuguese.po | 6 +-- Translations/WinMerge/Romanian.po | 2 +- Translations/WinMerge/Russian.po | 4 +- Translations/WinMerge/Serbian.po | 2 +- Translations/WinMerge/Sinhala.po | 2 +- Translations/WinMerge/Slovak.po | 6 +-- Translations/WinMerge/Slovenian.po | 6 +-- Translations/WinMerge/Spanish.po | 4 +- Translations/WinMerge/Swedish.po | 6 +-- Translations/WinMerge/Turkish.po | 8 +--- Translations/WinMerge/Ukrainian.po | 2 +- 41 files changed, 85 insertions(+), 156 deletions(-) diff --git a/Src/Merge.rc b/Src/Merge.rc index 42f90cd6a54..682ee3531a9 100644 --- a/Src/Merge.rc +++ b/Src/Merge.rc @@ -2180,8 +2180,8 @@ BEGIN EDITTEXT IDC_COMPARE_QUICKC_LIMIT,6,120,30,14,ES_AUTOHSCROLL LTEXT "Threshold for switching to &binary compare (MB):",IDC_STATIC,6,138,279,10 EDITTEXT IDC_COMPARE_BINARYC_LIMIT,6,150,30,14,ES_AUTOHSCROLL - LTEXT "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):",IDC_STATIC,6,166,239,30 - EDITTEXT IDC_COMPARE_THREAD_COUNT,6,198,30,14,ES_AUTOHSCROLL + LTEXT "&Number of CPU cores to use:",IDC_STATIC,6,166,239,30 + EDITTEXT IDC_COMPARE_THREAD_COUNT,6,178,30,14,ES_AUTOHSCROLL PUSHBUTTON "Defaults",IDC_COMPARE_DEFAULTS,191,228,88,14 END diff --git a/Src/PropCompareFolder.cpp b/Src/PropCompareFolder.cpp index 57f1dd7e252..9d1767a0f7c 100644 --- a/Src/PropCompareFolder.cpp +++ b/Src/PropCompareFolder.cpp @@ -9,6 +9,7 @@ #include "OptionsDef.h" #include "OptionsMgr.h" #include "OptionsPanel.h" +#include #ifdef _DEBUG #define new DEBUG_NEW @@ -32,6 +33,7 @@ PropCompareFolder::PropCompareFolder(COptionsMgr *optionsMgr) , m_nQuickCompareLimit(4 * Mega) , m_nBinaryCompareLimit(64 * Mega) , m_nCompareThreads(-1) + , m_nCompareThreadsPrev(-1) { } @@ -78,7 +80,11 @@ void PropCompareFolder::ReadOptions() m_bIgnoreReparsePoints = GetOptionsMgr()->GetBool(OPT_CMP_IGNORE_REPARSE_POINTS); m_nQuickCompareLimit = GetOptionsMgr()->GetInt(OPT_CMP_QUICK_LIMIT) / Mega ; m_nBinaryCompareLimit = GetOptionsMgr()->GetInt(OPT_CMP_BINARY_LIMIT) / Mega ; - m_nCompareThreads = GetOptionsMgr()->GetInt(OPT_CMP_COMPARE_THREADS); + m_nCompareThreadsPrev = GetOptionsMgr()->GetInt(OPT_CMP_COMPARE_THREADS); + m_nCompareThreads = m_nCompareThreadsPrev; + if (m_nCompareThreads <= 0) + m_nCompareThreads = Poco::Environment::processorCount() + m_nCompareThreads; + m_nCompareThreads = std::clamp(m_nCompareThreads, 1, static_cast(Poco::Environment::processorCount())); } /** @@ -102,7 +108,9 @@ void PropCompareFolder::WriteOptions() if (m_nBinaryCompareLimit > 2000) m_nBinaryCompareLimit = 2000; GetOptionsMgr()->SaveOption(OPT_CMP_BINARY_LIMIT, m_nBinaryCompareLimit * Mega); - GetOptionsMgr()->SaveOption(OPT_CMP_COMPARE_THREADS, m_nCompareThreads); + if ((m_nCompareThreadsPrev > 0 && m_nCompareThreads != m_nCompareThreadsPrev) || + (m_nCompareThreadsPrev <= 0 && m_nCompareThreads != static_cast(Poco::Environment::processorCount() + m_nCompareThreadsPrev))) + GetOptionsMgr()->SaveOption(OPT_CMP_COMPARE_THREADS, m_nCompareThreads); } /** @@ -145,6 +153,8 @@ void PropCompareFolder::OnDefaults() m_nQuickCompareLimit = GetOptionsMgr()->GetDefault(OPT_CMP_QUICK_LIMIT) / Mega; m_nBinaryCompareLimit = GetOptionsMgr()->GetDefault(OPT_CMP_BINARY_LIMIT) / Mega; m_nCompareThreads = GetOptionsMgr()->GetDefault(OPT_CMP_COMPARE_THREADS); + if (m_nCompareThreads <= 0) + m_nCompareThreads = Poco::Environment::processorCount() + m_nCompareThreads; UpdateData(FALSE); } diff --git a/Src/PropCompareFolder.h b/Src/PropCompareFolder.h index 29ccdc3d8cc..fd67e6ce543 100644 --- a/Src/PropCompareFolder.h +++ b/Src/PropCompareFolder.h @@ -45,6 +45,7 @@ class PropCompareFolder : public OptionsPanel unsigned m_nQuickCompareLimit; unsigned m_nBinaryCompareLimit; int m_nCompareThreads; + int m_nCompareThreadsPrev; //}}AFX_DATA diff --git a/Translations/TranslationsStatus.md b/Translations/TranslationsStatus.md index 1b6dba4782f..b1bacc58fc1 100644 --- a/Translations/TranslationsStatus.md +++ b/Translations/TranslationsStatus.md @@ -1,47 +1,47 @@ # Translations Status -Status from **2022-10-09**: +Status from **2022-10-16**: ## WinMerge | Language | Total | Translated | Fuzzy | Untranslated | Complete | Last Update | |:---------------------|------:|-----------:|------:|-------------:|---------:|:-----------:| -| Arabic | 1236 | 898 | 0 | 338 | 72 % | 2019-12-30 | +| Arabic | 1236 | 897 | 0 | 339 | 72 % | 2019-12-30 | | Basque | 1236 | 639 | 0 | 597 | 51 % | 2013-02-03 | -| Brazilian | 1236 | 1234 | 0 | 2 | 99 % | 2022-08-19 | -| Bulgarian | 1236 | 1022 | 0 | 214 | 82 % | 2021-06-28 | -| Catalan | 1236 | 1188 | 0 | 48 | 96 % | | -| ChineseSimplified | 1236 | 1229 | 0 | 7 | 99 % | | -| ChineseTraditional | 1236 | 1126 | 0 | 110 | 91 % | 2022-02-19 | -| Corsican | 1236 | 1232 | 0 | 4 | 99 % | 2022-08-07 | +| Brazilian | 1236 | 1235 | 0 | 1 | 99 % | 2022-10-09 | +| Bulgarian | 1236 | 1021 | 0 | 215 | 82 % | 2021-06-28 | +| Catalan | 1236 | 1187 | 0 | 49 | 96 % | | +| ChineseSimplified | 1236 | 1228 | 0 | 8 | 99 % | | +| ChineseTraditional | 1236 | 1125 | 0 | 111 | 91 % | 2022-02-19 | +| Corsican | 1236 | 1235 | 0 | 1 | 99 % | 2022-10-09 | | Croatian | 1236 | 631 | 1 | 604 | 51 % | 2009-02-13 | | Czech | 1236 | 606 | 0 | 630 | 49 % | | | Danish | 1236 | 640 | 0 | 596 | 51 % | 2013-01-13 | -| Dutch | 1236 | 1198 | 0 | 38 | 96 % | 2018-09-06 | -| English | 1236 | 1236 | 0 | 0 | 100 % | 2022-10-09 | -| Finnish | 1236 | 1199 | 0 | 37 | 97 % | | -| French | 1236 | 1234 | 0 | 2 | 99 % | 2022-09-21 | -| Galician | 1236 | 1232 | 0 | 4 | 99 % | 2022-07-10 | -| German | 1236 | 1234 | 0 | 2 | 99 % | 2022-09-12 | +| Dutch | 1236 | 1197 | 0 | 39 | 96 % | 2018-09-06 | +| English | 1236 | 1236 | 0 | 0 | 100 % | 2022-10-16 | +| Finnish | 1236 | 1198 | 0 | 38 | 96 % | | +| French | 1236 | 1233 | 0 | 3 | 99 % | 2022-09-21 | +| Galician | 1236 | 1231 | 0 | 5 | 99 % | 2022-07-10 | +| German | 1236 | 1235 | 0 | 1 | 99 % | 2022-10-09 | | Greek | 1236 | 605 | 0 | 631 | 48 % | | -| Hungarian | 1236 | 1233 | 0 | 3 | 99 % | 2021-03-15 | -| Italian | 1236 | 1107 | 0 | 129 | 89 % | 2022-06-01 | +| Hungarian | 1236 | 1234 | 0 | 2 | 99 % | 2021-03-15 | +| Italian | 1236 | 1106 | 0 | 130 | 89 % | 2022-06-01 | | Japanese | 1236 | 1235 | 0 | 1 | 99 % | 2022-09-14 | -| Korean | 1236 | 1198 | 0 | 38 | 96 % | 2022-02-02 | -| Lithuanian | 1236 | 1191 | 0 | 45 | 96 % | 2022-09-13 | +| Korean | 1236 | 1197 | 0 | 39 | 96 % | 2022-02-02 | +| Lithuanian | 1236 | 1192 | 0 | 44 | 96 % | 2022-10-10 | | Norwegian | 1236 | 731 | 0 | 505 | 59 % | | | Persian | 1236 | 642 | 0 | 594 | 51 % | 2013-08-15 | -| Polish | 1236 | 1205 | 0 | 31 | 97 % | | -| Portuguese | 1236 | 1234 | 0 | 2 | 99 % | 2022-09-14 | +| Polish | 1236 | 1204 | 0 | 32 | 97 % | | +| Portuguese | 1236 | 1233 | 0 | 3 | 99 % | 2022-09-14 | | Romanian | 1236 | 561 | 44 | 631 | 48 % | | -| Russian | 1236 | 1185 | 0 | 51 | 95 % | 2022-07-27 | +| Russian | 1236 | 1184 | 0 | 52 | 95 % | 2022-07-27 | | Serbian | 1236 | 633 | 0 | 603 | 51 % | | | Sinhala | 1236 | 564 | 58 | 614 | 50 % | 2010-12-12 | -| Slovak | 1236 | 1198 | 0 | 38 | 96 % | 2022-02-17 | -| Slovenian | 1236 | 1234 | 0 | 2 | 99 % | 2022-09-12 | +| Slovak | 1236 | 1197 | 0 | 39 | 96 % | 2022-02-17 | +| Slovenian | 1236 | 1235 | 0 | 1 | 99 % | 2022-10-09 | | Spanish | 1236 | 1174 | 1 | 61 | 95 % | 2022-07-30 | -| Swedish | 1236 | 1092 | 0 | 144 | 88 % | 2021-09-15 | -| Turkish | 1236 | 1230 | 0 | 6 | 99 % | 2022-05-10 | +| Swedish | 1236 | 1091 | 0 | 145 | 88 % | 2021-09-15 | +| Turkish | 1236 | 1229 | 0 | 7 | 99 % | 2022-05-10 | | Ukrainian | 1236 | 637 | 0 | 599 | 51 % | 2009-06-13 | ## ShellExtension @@ -207,6 +207,7 @@ Status from **2022-10-09**: * Corsican - [Patriccollu di Santa Maria è Sichè](mailto:patriccollu%20at%20gmail.com) *Maintainer* + - Patriccollu di Santa Maria è Sichè, 2021-2022 * Croatian - [Hasan Osmanagić](mailto:hasan.osmanagic%20at%20public.carnet.hr) diff --git a/Translations/WinMerge/Arabic.po b/Translations/WinMerge/Arabic.po index c5c082026de..ae955055c9c 100644 --- a/Translations/WinMerge/Arabic.po +++ b/Translations/WinMerge/Arabic.po @@ -1975,9 +1975,8 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"عدد سلاسل المقارنة (القيمة السالبة تعني إضافة عدد أنوية المعالج المتوفرة):" msgid "&CSV File Patterns:" msgstr "" diff --git a/Translations/WinMerge/Basque.po b/Translations/WinMerge/Basque.po index 0f040c907fa..134515506bb 100644 --- a/Translations/WinMerge/Basque.po +++ b/Translations/WinMerge/Basque.po @@ -2437,7 +2437,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Brazilian.po b/Translations/WinMerge/Brazilian.po index dc7b6ae9464..9878b368166 100644 --- a/Translations/WinMerge/Brazilian.po +++ b/Translations/WinMerge/Brazilian.po @@ -1966,8 +1966,8 @@ msgstr "Limite para alternar para comparação rápida (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Limite para alternar para comparação binária (MB):" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "\n&Número dos threads de comparação (um valor negativo implica em adição do número de núcleos da CPU disponíveis):" +msgid "&Number of CPU cores to use:" +msgstr "" msgid "&CSV File Patterns:" msgstr "Padrões do Arquivo &CSV:" diff --git a/Translations/WinMerge/Bulgarian.po b/Translations/WinMerge/Bulgarian.po index 3568925e38b..0a394a55f3a 100644 --- a/Translations/WinMerge/Bulgarian.po +++ b/Translations/WinMerge/Bulgarian.po @@ -1977,14 +1977,8 @@ msgstr "Ограничение за превключване към &бързо msgid "Threshold for switching to &binary compare (MB):" msgstr "Ограничение за превключване към &двоично сравняване (МБ):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number " -"of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Брой &нишки извършващи сравняване (отрицателните стойности се добавят към " -"броя налични ядра на CPU):" msgid "&CSV File Patterns:" msgstr "Шаблони за име на файл на &CSV:" diff --git a/Translations/WinMerge/Catalan.po b/Translations/WinMerge/Catalan.po index 3f2342a751a..1da09bdeba0 100644 --- a/Translations/WinMerge/Catalan.po +++ b/Translations/WinMerge/Catalan.po @@ -2441,12 +2441,8 @@ msgstr "Llindar per realitzar una comparació ràpida (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Llindar per realitzar una comparació binària (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Quantitat de fils de comparació (un valor negatiu implica l'increment del nombre de nuclis de CPU disponibles):" msgid "&CSV File Patterns:" msgstr "Patrons del fitxer &CSV:" diff --git a/Translations/WinMerge/ChineseSimplified.po b/Translations/WinMerge/ChineseSimplified.po index c381f45521f..8fe626097ed 100644 --- a/Translations/WinMerge/ChineseSimplified.po +++ b/Translations/WinMerge/ChineseSimplified.po @@ -1978,13 +1978,8 @@ msgstr "切换到快速比较的最小值(&Q) (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "切换到二进制比较的最小值(&B) (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number " -"of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"比较使用的线程数 (负数则使用可用的所有 CPU 核心) (&N):" msgid "&CSV File Patterns:" msgstr "&CSV 文件模式:" diff --git a/Translations/WinMerge/ChineseTraditional.po b/Translations/WinMerge/ChineseTraditional.po index 2926bdaea91..f28ff2ba380 100644 --- a/Translations/WinMerge/ChineseTraditional.po +++ b/Translations/WinMerge/ChineseTraditional.po @@ -2451,12 +2451,8 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"比較進程數 (&N)(負數表示附加可用的CPU內核數量):" msgid "&CSV File Patterns:" msgstr "&CSV 檔案模式:" diff --git a/Translations/WinMerge/Corsican.po b/Translations/WinMerge/Corsican.po index 1b7c0516d6b..7622e1ebcc4 100644 --- a/Translations/WinMerge/Corsican.po +++ b/Translations/WinMerge/Corsican.po @@ -1978,12 +1978,8 @@ msgstr "Sogliu per passà à u paragone &rapidu (Mo) :" msgid "Threshold for switching to &binary compare (MB):" msgstr "Sogliu per passà à u paragone &binariu (Mo) :" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Numeru d’unità d’esecuzione impiegate per u paragone (impiegate un valore nigativu per aghjunghje u numeru di cori CPU dispunibule) :" msgid "&CSV File Patterns:" msgstr "Mudelli di schedariu &CSV :" diff --git a/Translations/WinMerge/Croatian.po b/Translations/WinMerge/Croatian.po index 0b4007de8ac..3d42f9cc653 100644 --- a/Translations/WinMerge/Croatian.po +++ b/Translations/WinMerge/Croatian.po @@ -2435,7 +2435,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Czech.po b/Translations/WinMerge/Czech.po index 2eb9ff7139e..2ab55d6ae71 100644 --- a/Translations/WinMerge/Czech.po +++ b/Translations/WinMerge/Czech.po @@ -2435,7 +2435,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Danish.po b/Translations/WinMerge/Danish.po index e788c96ff3c..364215048a6 100644 --- a/Translations/WinMerge/Danish.po +++ b/Translations/WinMerge/Danish.po @@ -2440,7 +2440,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Dutch.po b/Translations/WinMerge/Dutch.po index 256187a192d..ea406c52851 100644 --- a/Translations/WinMerge/Dutch.po +++ b/Translations/WinMerge/Dutch.po @@ -1986,12 +1986,8 @@ msgstr "Drempel voor overschakelen naar snel vergelijken (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Drempel voor overschakelen naar binair vergelijken (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Aantal vergelijkingsthreads (een negatieve waarde impliceert optelling van het aantal beschikbare CPU-kernen):" msgid "&CSV File Patterns:" msgstr "CSV-bestand-patronen:" diff --git a/Translations/WinMerge/English.pot b/Translations/WinMerge/English.pot index 1eaea84fa1a..710c6b10b18 100644 --- a/Translations/WinMerge/English.pot +++ b/Translations/WinMerge/English.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: WinMerge\n" "Report-Msgid-Bugs-To: https://bugs.winmerge.org/\n" -"POT-Creation-Date: 2022-10-09 11:00+0000\n" +"POT-Creation-Date: 2022-10-16 00:15+0000\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: English \n" @@ -1960,7 +1960,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Finnish.po b/Translations/WinMerge/Finnish.po index e2965a07fee..6fd8923a723 100644 --- a/Translations/WinMerge/Finnish.po +++ b/Translations/WinMerge/Finnish.po @@ -1981,14 +1981,8 @@ msgstr "Kynnysarvo, jossa siirrytään &nopeaan vertailuun (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Kynnysarvo, jossa siirrytään &binaariseen vertailuun (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number " -"of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Vertailusäikeide&n määrä (negatiivinen arvo merkitsee käytettävissä olevien " -"CPU-ytimien määrän lisäämistä):" msgid "&CSV File Patterns:" msgstr "&CSV-tiedostomallit:" diff --git a/Translations/WinMerge/French.po b/Translations/WinMerge/French.po index 998d940ac05..2e11abaff1c 100644 --- a/Translations/WinMerge/French.po +++ b/Translations/WinMerge/French.po @@ -2448,12 +2448,8 @@ msgstr "Seuil de passage en comparaison &rapide (Mo) :" msgid "Threshold for switching to &binary compare (MB):" msgstr "Seuil de passage à la comparaison &binaire (Mo) :" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"&Nombre de threads utilisés pour la comparaison (une valeur négative implique l'utilisation de tous les cœurs CPU disponibles) :" msgid "&CSV File Patterns:" msgstr "Modèles de fichiers &CSV :" diff --git a/Translations/WinMerge/Galician.po b/Translations/WinMerge/Galician.po index aa6535c8a5d..d496f302d79 100644 --- a/Translations/WinMerge/Galician.po +++ b/Translations/WinMerge/Galician.po @@ -2442,12 +2442,8 @@ msgstr "Limiar para cambiar a com¶ción rápida (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Limiar para cambiar a com¶ción binaria (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"&Número de fíos de comparación (valores negativos indican que se engaden ao número de núcleos da CPU)" msgid "&CSV File Patterns:" msgstr "Padróns de ficheiro &CSV:" diff --git a/Translations/WinMerge/German.po b/Translations/WinMerge/German.po index fc38031d924..b5a8e7b516f 100644 --- a/Translations/WinMerge/German.po +++ b/Translations/WinMerge/German.po @@ -2437,8 +2437,8 @@ msgstr "Schwellenwert für den Wechsel zum &Schnellvergleich (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Schwellenwert für den Wechsel zum &Binärvergleich (MB):" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "\nAnzahl der &Vergleichs-Threads\n(negativer Wert bedeutet Summe der verfügbaren CPUs):" +msgid "&Number of CPU cores to use:" +msgstr "" msgid "&CSV File Patterns:" msgstr "&CSV-Dateimuster:" diff --git a/Translations/WinMerge/Greek.po b/Translations/WinMerge/Greek.po index 4836ed78cc2..45daf336c68 100644 --- a/Translations/WinMerge/Greek.po +++ b/Translations/WinMerge/Greek.po @@ -2432,7 +2432,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Hungarian.po b/Translations/WinMerge/Hungarian.po index 2ad54557931..3678d6d756c 100644 --- a/Translations/WinMerge/Hungarian.po +++ b/Translations/WinMerge/Hungarian.po @@ -2443,12 +2443,8 @@ msgstr "A gyors összehasonlítás méretkorlátja (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "A bináris összehasonlítás méretkorlátja (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Összehasonlító szálak száma (egy negatív érték a rendelkezésre álló CPU magok igénybevételét jelenti):" msgid "&CSV File Patterns:" msgstr "CSV típusú fájlok kiterjesztése:" diff --git a/Translations/WinMerge/Italian.po b/Translations/WinMerge/Italian.po index 82b7a81f04c..c2643f85b9e 100644 --- a/Translations/WinMerge/Italian.po +++ b/Translations/WinMerge/Italian.po @@ -1972,10 +1972,8 @@ msgstr "Soglia per passare al confronto &rapido (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Soglia per passare al confronto &binario (MB):" -msgid "" -"\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n&Numero di thread per il confronto (usare valori negativi per aggiungere al numero di core della CPU):" msgid "&CSV File Patterns:" msgstr "Pattern file &CSV:" diff --git a/Translations/WinMerge/Japanese.po b/Translations/WinMerge/Japanese.po index d3c1c16e863..48bc1b5c1b5 100644 --- a/Translations/WinMerge/Japanese.po +++ b/Translations/WinMerge/Japanese.po @@ -1977,12 +1977,8 @@ msgstr "クイック比較切替閾値 (MB)(&Q):" msgid "Threshold for switching to &binary compare (MB):" msgstr "バイナリ比較切替閾値 (MB)(&B):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "" -"比較スレッドの数(&N):\n" -"負の値を指定した場合、スレッド数は使用可能な CPU コア数を加算した値になります。" +msgid "&Number of CPU cores to use:" +msgstr "使用するCPUコアの数(&N):" msgid "&CSV File Patterns:" msgstr "&CSV ファイルとして扱うパターン:" diff --git a/Translations/WinMerge/Korean.po b/Translations/WinMerge/Korean.po index d2b3c699ca2..16b0af4e30a 100644 --- a/Translations/WinMerge/Korean.po +++ b/Translations/WinMerge/Korean.po @@ -2449,12 +2449,8 @@ msgstr "&quick compare로 전환하기 위한 임계값 (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "&binary compare로 전환하기 위한 임계값 (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"비교 쓰레드 개수(&N) (음수값은 사용 가능한 CPU 코어 개수의 추가를 뜻합니다):" msgid "&CSV File Patterns:" msgstr "CSV 파일 패턴(&C)" diff --git a/Translations/WinMerge/Lithuanian.po b/Translations/WinMerge/Lithuanian.po index 44784306364..5330caaf2bb 100644 --- a/Translations/WinMerge/Lithuanian.po +++ b/Translations/WinMerge/Lithuanian.po @@ -1966,8 +1966,8 @@ msgstr "Persijungimo į &spartųjį palyginimą riba (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Persijungimo į &binarinį palyginimą riba (MB):" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "\nLygi&nimo srautų skaičius (neigiama reikšmė reiškia turimų procesoriaus branduolių skaičiaus pridėjimą):" +msgid "&Number of CPU cores to use:" +msgstr "" msgid "&CSV File Patterns:" msgstr "&CSV failų šablonai:" diff --git a/Translations/WinMerge/Norwegian.po b/Translations/WinMerge/Norwegian.po index dd71631f90d..25686378a59 100644 --- a/Translations/WinMerge/Norwegian.po +++ b/Translations/WinMerge/Norwegian.po @@ -1978,10 +1978,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number " -"of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Persian.po b/Translations/WinMerge/Persian.po index 7bd1052e369..796e19fe338 100644 --- a/Translations/WinMerge/Persian.po +++ b/Translations/WinMerge/Persian.po @@ -2442,7 +2442,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Polish.po b/Translations/WinMerge/Polish.po index c20eb3c990d..1d32e46aea6 100644 --- a/Translations/WinMerge/Polish.po +++ b/Translations/WinMerge/Polish.po @@ -1967,8 +1967,8 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "Liczba porównywanych wątków (wartość ujemna oznacza dodanie liczby dostępnych rdzeni procesora):" +msgid "&Number of CPU cores to use:" +msgstr "" msgid "&CSV File Patterns:" msgstr "Szablony pliku &CSV:" diff --git a/Translations/WinMerge/Portuguese.po b/Translations/WinMerge/Portuguese.po index 0d24f6cb198..7dc92952d80 100644 --- a/Translations/WinMerge/Portuguese.po +++ b/Translations/WinMerge/Portuguese.po @@ -1975,12 +1975,8 @@ msgstr "Limite para trocar para comparação &rápida (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Limite para trocar para comparação &binária (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"&Número de tópicos de comparação (um valor negativo implica a adição do número de núcleos de CPU disponíveis)" msgid "&CSV File Patterns:" msgstr "Padrões de ficheiros &CSV:" diff --git a/Translations/WinMerge/Romanian.po b/Translations/WinMerge/Romanian.po index 95069adbf3a..4ce4d7c8b05 100644 --- a/Translations/WinMerge/Romanian.po +++ b/Translations/WinMerge/Romanian.po @@ -2433,7 +2433,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Russian.po b/Translations/WinMerge/Russian.po index b15e966028d..79e0f040d1e 100644 --- a/Translations/WinMerge/Russian.po +++ b/Translations/WinMerge/Russian.po @@ -1968,8 +1968,8 @@ msgstr "Порог для перехода к быстрому сравнени msgid "Threshold for switching to &binary compare (MB):" msgstr "Порог для перехода к двоичному сравнению (MB)" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" -msgstr "\nЧисло потоков сравнения\n(отрицательное значение = ядрам процессора)" +msgid "&Number of CPU cores to use:" +msgstr "" msgid "&CSV File Patterns:" msgstr "Шаблоны CSV-файлов:" diff --git a/Translations/WinMerge/Serbian.po b/Translations/WinMerge/Serbian.po index 67ef9058f84..1c9723528d0 100644 --- a/Translations/WinMerge/Serbian.po +++ b/Translations/WinMerge/Serbian.po @@ -2418,7 +2418,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Sinhala.po b/Translations/WinMerge/Sinhala.po index ed2b85835a2..2288956b1fe 100644 --- a/Translations/WinMerge/Sinhala.po +++ b/Translations/WinMerge/Sinhala.po @@ -2433,7 +2433,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Slovak.po b/Translations/WinMerge/Slovak.po index 63b7c471350..4fffb1bbf87 100644 --- a/Translations/WinMerge/Slovak.po +++ b/Translations/WinMerge/Slovak.po @@ -1974,12 +1974,8 @@ msgstr "Prahová hodnota pre prepnutie pre &rýchle porovnanie (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Prahová hodnota pre prepnutie na &binárne porovnanie (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"&Počet porovnávaných vlákien (záporná hodnota znamená pridanie počtu dostupných jadier CPU):" msgid "&CSV File Patterns:" msgstr "Vzory súborov &CSV:" diff --git a/Translations/WinMerge/Slovenian.po b/Translations/WinMerge/Slovenian.po index 28d9e8223ca..b9b25024893 100644 --- a/Translations/WinMerge/Slovenian.po +++ b/Translations/WinMerge/Slovenian.po @@ -1974,12 +1974,8 @@ msgstr "Prag za preklop na &hitro primerjavo (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "Prag za preklop na &dvojiško primerjavo (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Število primerjalnih &niti (negativna vrednost pomeni dodajanje števila razpoložljivih jeder CPE):" msgid "&CSV File Patterns:" msgstr "Vzorci datotek &CSV:" diff --git a/Translations/WinMerge/Spanish.po b/Translations/WinMerge/Spanish.po index aa36a82ef7b..54f297393e1 100644 --- a/Translations/WinMerge/Spanish.po +++ b/Translations/WinMerge/Spanish.po @@ -1977,9 +1977,7 @@ msgstr "Limite para cambiarse a comparación rápida (MB)" msgid "Threshold for switching to &binary compare (MB):" msgstr "Limite para cambiarse a comparación binaria (MB)" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:" diff --git a/Translations/WinMerge/Swedish.po b/Translations/WinMerge/Swedish.po index e3f5b51dd41..1f3110c17b4 100644 --- a/Translations/WinMerge/Swedish.po +++ b/Translations/WinMerge/Swedish.po @@ -1975,12 +1975,8 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Antal CPU-trådar (ett negativt värde gör fler CPU-kärnor tillgängliga):" msgid "&CSV File Patterns:" msgstr "CSV filnamn:" diff --git a/Translations/WinMerge/Turkish.po b/Translations/WinMerge/Turkish.po index f5771c567af..7c3af970109 100644 --- a/Translations/WinMerge/Turkish.po +++ b/Translations/WinMerge/Turkish.po @@ -1983,14 +1983,8 @@ msgstr "&Hızlı karşılaştırmaya geçilecek eşik değeri (MB):" msgid "Threshold for switching to &binary compare (MB):" msgstr "&Binary karşılaştırmaya geçilecek eşik değeri (MB):" -msgid "" -"\n" -"&Number of compare threads (a negative value implies addition of the number " -"of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" -"\n" -"Karşılaştırma işlemleri&nin sayısı (eksi değerler kullanılabilecek işlemci " -"çekirdeklerine eklenir):" msgid "&CSV File Patterns:" msgstr "&CSV dosya örnekleri:" diff --git a/Translations/WinMerge/Ukrainian.po b/Translations/WinMerge/Ukrainian.po index fa8db32e272..8a78a0706eb 100644 --- a/Translations/WinMerge/Ukrainian.po +++ b/Translations/WinMerge/Ukrainian.po @@ -2436,7 +2436,7 @@ msgstr "" msgid "Threshold for switching to &binary compare (MB):" msgstr "" -msgid "\n&Number of compare threads (a negative value implies addition of the number of available CPU cores):" +msgid "&Number of CPU cores to use:" msgstr "" msgid "&CSV File Patterns:"