[LyX/master] Check for invalid indexes in Module selection

2023-03-07 Thread Juergen Spitzmueller
commit c227a4af41771771f87fd073ebaba2572d668ab3
Author: Juergen Spitzmueller 
Date:   Wed Mar 8 08:24:38 2023 +0100

Check for invalid indexes in Module selection

This should fix crashes when moving with pressed mouse buttons on
category nods
---
 src/frontends/qt/GuiDocument.cpp |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 8af5606..3a8ae85 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -324,6 +324,9 @@ void ModuleSelectionManager::updateAddPB()
}
 
QModelIndex const & idx = availableLV->selectionModel()->currentIndex();
+   
+   if (!idx.isValid())
+   return;
 
if (getAvailableModel()->itemFromIndex(idx)->hasChildren()) {
// This is a category header
@@ -3337,6 +3340,9 @@ void GuiDocument::updateModuleInfo()
}
QModelIndex const & idx = lv->selectionModel()->currentIndex();
 
+   if (!idx.isValid())
+   return;
+
if (!focus_on_selected
&& modules_av_model_.itemFromIndex(idx)->hasChildren()) {
// This is a category header
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] * cs.po

2023-03-07 Thread Pavel Sanda
commit 56a3a909553c705e01f753a3e52be8189878d2c4
Author: Pavel Sanda 
Date:   Tue Mar 7 20:40:41 2023 +0100

* cs.po
---
 po/cs.po |  207 +++--
 1 files changed, 78 insertions(+), 129 deletions(-)

diff --git a/po/cs.po b/po/cs.po
index 679bc70..b816d1b 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -16994,7 +16994,7 @@ msgstr "Hypotéza*"
 #: lib/layouts/theorems-ams-extended-chap-bytype.module:144
 #: lib/layouts/theorems-ams-extended.module:96
 msgid "Algorithm*"
-msgstr "Algoritm*"
+msgstr "Algoritmus*"
 
 #: lib/layouts/siamltex.layout:138
 msgid "AMS"
@@ -17717,14 +17717,12 @@ msgstr ""
 "např. 'Table 2.1'"
 
 #: lib/layouts/tarticle.layout:3
-#, fuzzy
 msgid "Japanese Article (Standard Class, vertical Writing)"
-msgstr "Japanese Article (Standard Class: Vertical Writing)"
+msgstr "Japanese Article (Standard Class, vertical Writing)"
 
 #: lib/layouts/tbook.layout:3
-#, fuzzy
 msgid "Japanese Book (Standard Class, vertical Writing)"
-msgstr "Japanese Book (Standard Class: Vertical Writing)"
+msgstr "Japanese Book (Standard Class, vertical Writing)"
 
 #: lib/layouts/tcolorbox.module:2 lib/examples/Articles:0
 msgid "Fancy Colored Boxes"
@@ -17943,7 +17941,6 @@ msgid "AMS Theorems (Extended, Numbered by Type)"
 msgstr "AMS Teorémy (rozšířené, čísla dle typu)"
 
 #: lib/layouts/theorems-ams-extended-bytype.module:13
-#, fuzzy
 msgid ""
 "Defines some additional theorem environments for use with the AMS theorems "
 "packages. Includes Criterion, Algorithm, Axiom, Condition, Note, Notation, "
@@ -17955,8 +17952,8 @@ msgid ""
 msgstr ""
 "Definuje některá přídavná prostředí pro použití mat. teorémů s balíčky AMS. "
 "Zahrnuje Criterion, Algorithm, Axiom, Condition, Note, Notation, Summary, "
-"Acknowledgement, Conclusion, Assumption, Case v obou formách (číslované/"
-"nečíslované). verzi. Na rozdíl od obyčejných modulů pro AMS rozšíření, "
+"Conclusion, Assumption, Case v obou formách (číslované/"
+"nečíslované) verzi. Na rozdíl od obyčejných modulů pro AMS rozšíření, "
 "rozdílné typy teorémů zde mají vlastní číslování (např. criterion 1, "
 "criterion 2, axiom 1, assumption 1,criterion 3, ..., na rozdíl od criterion "
 "1, criterion 2, axiom 3, assumption 4, ...)."
@@ -18145,7 +18142,6 @@ msgid "AMS Theorems (Extended, Numbered by Type within 
Chapters)"
 msgstr "AMS Teorémy (rozšířené, čísla dle typu uvnitř kapitolách)"
 
 #: lib/layouts/theorems-ams-extended-chap-bytype.module:13
-#, fuzzy
 msgid ""
 "Defines some additional theorem environments for use with the AMS theorems "
 "packages. Includes Criterion, Algorithm, Axiom, Condition, Note, Notation, "
@@ -18158,7 +18154,7 @@ msgid ""
 msgstr ""
 "Definuje některá přídavná prostředí pro použití mat. teorémů s balíčky AMS. "
 "Zahrnuje Criterion, Algorithm, Axiom, Condition, Note, Notation, Summary, "
-"Acknowledgement, Conclusion, Assumption, Case v obou formách (číslované/"
+"Conclusion, Assumption, Case v obou formách (číslované/"
 "nečíslované). Na rozdíl od obyčejných modulů pro AMS rozšíření, rozdílné "
 "typy teorémů zde mají vlastní číslování pro každou kapitolu (např. criterion "
 "1.1, criterion 1.2, axiom 1.1, assumption 1.1, criterion 1.3, ..., na rozdíl "
@@ -18169,7 +18165,6 @@ msgid "AMS Theorems (Extended)"
 msgstr "AMS Teorémy (rozšířené)"
 
 #: lib/layouts/theorems-ams-extended.module:10
-#, fuzzy
 msgid ""
 "Defines some additional theorem environments for use with the AMS theorems "
 "packages. Includes Criterion, Algorithm, Axiom, Condition, Note, Notation, "
@@ -18178,7 +18173,7 @@ msgid ""
 msgstr ""
 "Definuje některá přídavná matematická prostředí pro použití s balíčky AMS "
 "pro teorémy. Zahrnuje Criterion, Algorithm, Axiom, Condition, Note, "
-"Notation, Summary, Acknowledgement, Conclusion, Fact, Assumption,  Case, "
+"Notation, Summary, Conclusion, Fact, Assumption,  Case, "
 "Question v obou formách (číslované/nečíslované)."
 
 #: lib/layouts/theorems-ams-extended.module:39
@@ -18187,7 +18182,7 @@ msgstr "Kritérium \\thetheorem."
 
 #: lib/layouts/theorems-ams-extended.module:79
 msgid "Algorithm \\thetheorem."
-msgstr "Algorithm \\thetheorem."
+msgstr "Algoritmus \\thetheorem."
 
 #: lib/layouts/theorems-ams-extended.module:120
 msgid "Axiom \\thetheorem."
@@ -18246,9 +18241,8 @@ msgid "Claim \\thetheorem."
 msgstr "Tvrzení \\thetheorem."
 
 #: lib/layouts/theorems-ams.module:2
-#, fuzzy
 msgid "AMS Theorems"
-msgstr "Teorémy"
+msgstr "AMS Teorémy"
 
 #: lib/layouts/theorems-ams.module:9
 msgid ""
@@ -18263,9 +18257,8 @@ msgstr ""
 "volbou patřičných teorém. modulů."
 
 #: lib/layouts/theorems-bytype.module:2
-#, fuzzy
 msgid "Standard Theorems (Numbered by Type)"
-msgstr "Teorémy (čísla dle typu)"
+msgstr "Standardní teorémy (čísla dle typu)"
 
 #: lib/layouts/theorems-bytype.module:11
 msgid ""
@@ -18286,7 +18279,7 @@ msgstr ""
 
 #: lib/layouts/theorems-case.inc:12
 msgid "Case (Level 1)"
-msgstr ""
+msgstr "Případ (úroveň 1)"
 
 #: lib/layouts/theorems-case.inc:13

[LyX/master] Review font names translation (no translation needed)

2023-03-07 Thread jpc
commit 722c0969154527b3f059f97e5d31091934f6b383
Author: jpc 
Date:   Tue Mar 7 14:28:20 2023 +0100

Review font names translation (no translation needed)
---
 po/fr.gmo |  Bin 647609 -> 647605 bytes
 po/fr.po  |   20 ++--
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/po/fr.gmo b/po/fr.gmo
index 0ce4e6e..ae119b4 100644
Binary files a/po/fr.gmo and b/po/fr.gmo differ
diff --git a/po/fr.po b/po/fr.po
index 6fdef2d..5f41a6c 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -363,7 +363,7 @@ msgstr ""
 "Project-Id-Version: LyX 2.4\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
 "POT-Creation-Date: 2023-03-06 10:23+0100\n"
-"PO-Revision-Date: 2023-03-06 10:24+0100\n"
+"PO-Revision-Date: 2023-03-07 14:27+0100\n"
 "Last-Translator: Jean-Pierre Chrétien \n"
 "Language-Team: lyxfr\n"
 "Language: fr\n"
@@ -19632,11 +19632,11 @@ msgstr "Bitstream Charter (PSNFSS)"
 
 #: lib/latexfonts:141
 msgid "Crimson (Cochineal)"
-msgstr "Pourpre (cochenille)"
+msgstr "Crimson (Cochineal)"
 
 #: lib/latexfonts:150
 msgid "Crimson"
-msgstr "Pourpre"
+msgstr "Crimson"
 
 #: lib/latexfonts:156
 msgid "Computer Modern Roman"
@@ -19697,7 +19697,7 @@ msgstr "Libertine"
 
 #: lib/latexfonts:322 lib/latexfonts:333
 msgid "Libertinus"
-msgstr "Libertine"
+msgstr "Libertinus"
 
 #: lib/latexfonts:341 lib/latexfonts:349
 msgid "Latin Modern Roman"
@@ -19802,7 +19802,7 @@ msgstr "Cantarell"
 
 #: lib/latexfonts:705
 msgid "Chivo (Thin)"
-msgstr "Chivo (étroit))"
+msgstr "Chivo (Thin)"
 
 #: lib/latexfonts:716
 msgid "Chivo (Light)"
@@ -19906,7 +19906,7 @@ msgstr "Kurier"
 
 #: lib/latexfonts:943
 msgid "Kurier (Light)"
-msgstr "Kurier (léger)"
+msgstr "Kurier (Light)"
 
 #: lib/latexfonts:950
 msgid "Kurier (Condensed)"
@@ -19918,7 +19918,7 @@ msgstr "Kurier (Light Condensed)"
 
 #: lib/latexfonts:964 lib/latexfonts:974
 msgid "Libertinus Sans"
-msgstr "Libertine Sans"
+msgstr "Libertinus Sans"
 
 #: lib/latexfonts:982
 msgid "Latin Modern Sans"
@@ -19966,7 +19966,7 @@ msgstr "Bera Mono"
 
 #: lib/latexfonts:1082
 msgid "CM Typewriter Light"
-msgstr "CM chasse fixe léger"
+msgstr "CM Typewriter Light"
 
 #: lib/latexfonts:1089
 msgid "Computer Modern Typewriter"
@@ -20010,7 +20010,7 @@ msgstr "Libertine mono"
 
 #: lib/latexfonts:1180
 msgid "Libertinus Mono"
-msgstr "Libertine mono"
+msgstr "Libertinus Mono"
 
 #: lib/latexfonts:1188
 msgid "Latin Modern Typewriter"
@@ -20062,7 +20062,7 @@ msgstr "Libertine (New TX)"
 
 #: lib/latexfonts:1293
 msgid "Libertinus Math"
-msgstr "Libertine Math"
+msgstr "Libertinus Math"
 
 #: lib/latexfonts:1300
 msgid "Minion Pro (New TX)"
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs