Skip to content

Commit 9290363

Browse files
committed
EditPointTool/InsertionDataSet: added missing translations
1 parent 1a1ba23 commit 9290363

4 files changed

Lines changed: 41 additions & 23 deletions

File tree

110 Bytes
Binary file not shown.

plotpy/locale/fr/LC_MESSAGES/plotpy.po

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
9-
"POT-Creation-Date: 2024-01-31 17:00+0100\n"
9+
"POT-Creation-Date: 2024-02-01 16:50+0100\n"
1010
"PO-Revision-Date: 2019-02-20 14:42+0100\n"
1111
"Last-Translator: \n"
1212
"Language-Team: \n"
@@ -1425,7 +1425,7 @@ msgid "Right-click on the curve to enable/disable downsampling"
14251425
msgstr ""
14261426
"Clic droit sur la courbe pour activer/désactiver le sous-échantillonnage"
14271427

1428-
#: plotpy\tests\tools\test_edit_point.py:47 plotpy\tools\curve.py:834
1428+
#: plotpy\tests\tools\test_edit_point.py:47 plotpy\tools\curve.py:836
14291429
msgid "Insert point"
14301430
msgstr "Insérer un point"
14311431

@@ -1619,39 +1619,47 @@ msgstr "Index d'insertion"
16191619
msgid "New value"
16201620
msgstr "Nouvelle valeur"
16211621

1622-
#: plotpy\tools\curve.py:632
1622+
#: plotpy\tools\curve.py:633
1623+
msgid "After"
1624+
msgstr "Après"
1625+
1626+
#: plotpy\tools\curve.py:633
1627+
msgid "Before"
1628+
msgstr "Avant"
1629+
1630+
#: plotpy\tools\curve.py:633
16231631
msgid "Location"
16241632
msgstr "Position"
16251633

1626-
#: plotpy\tools\curve.py:659
1634+
#: plotpy\tools\curve.py:661
16271635
msgid "Edit point"
16281636
msgstr "Modifier le point"
16291637

1630-
#: plotpy\tools\curve.py:835
1638+
#: plotpy\tools\curve.py:837
16311639
msgid "Before inserting a new point, please select an existing curve point."
16321640
msgstr "Avant d'insérer un nouveau point, sélectionner un point existant."
16331641

1634-
#: plotpy\tools\curve.py:842
1642+
#: plotpy\tools\curve.py:844
16351643
msgid "Insert new value"
16361644
msgstr "Insérer une nouvelle valeur"
16371645

1638-
#: plotpy\tools\curve.py:1089
1646+
#: plotpy\tools\curve.py:1091
16391647
msgid "Downsample"
16401648
msgstr "Sous-échantillonner"
16411649

1642-
#: plotpy\tools\curve.py:1136 plotpy\tools\curve.py:1148
1650+
#: plotpy\tools\curve.py:1138 plotpy\tools\curve.py:1150
16431651
msgid "Export"
16441652
msgstr "Exporter"
16451653

1646-
#: plotpy\tools\curve.py:1140
1654+
#: plotpy\tools\curve.py:1142
16471655
msgid "Text file"
16481656
msgstr "Fichier texte"
16491657

1650-
#: plotpy\tools\curve.py:1149
1658+
#: plotpy\tools\curve.py:1151
16511659
msgid "Unable to export item data."
16521660
msgstr "Impossible d'exporter les données de l'objet sélectionné."
16531661

1654-
#: plotpy\tools\curve.py:1151
1662+
#: plotpy\tools\curve.py:1153
16551663
msgid "Error message:"
16561664
msgstr "Message d'erreur :"
16571665

plotpy/locale/plotpy.pot

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: PACKAGE VERSION\n"
8-
"POT-Creation-Date: 2024-01-31 17:00+0100\n"
8+
"POT-Creation-Date: 2024-02-01 16:50+0100\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1388,7 +1388,7 @@ msgstr ""
13881388
msgid "Right-click on the curve to enable/disable downsampling"
13891389
msgstr ""
13901390

1391-
#: plotpy\tests\tools\test_edit_point.py:47 plotpy\tools\curve.py:834
1391+
#: plotpy\tests\tools\test_edit_point.py:47 plotpy\tools\curve.py:836
13921392
msgid "Insert point"
13931393
msgstr ""
13941394

@@ -1578,39 +1578,47 @@ msgstr ""
15781578
msgid "New value"
15791579
msgstr ""
15801580

1581-
#: plotpy\tools\curve.py:632
1581+
#: plotpy\tools\curve.py:633
1582+
msgid "After"
1583+
msgstr ""
1584+
1585+
#: plotpy\tools\curve.py:633
1586+
msgid "Before"
1587+
msgstr ""
1588+
1589+
#: plotpy\tools\curve.py:633
15821590
msgid "Location"
15831591
msgstr ""
15841592

1585-
#: plotpy\tools\curve.py:659
1593+
#: plotpy\tools\curve.py:661
15861594
msgid "Edit point"
15871595
msgstr ""
15881596

1589-
#: plotpy\tools\curve.py:835
1597+
#: plotpy\tools\curve.py:837
15901598
msgid "Before inserting a new point, please select an existing curve point."
15911599
msgstr ""
15921600

1593-
#: plotpy\tools\curve.py:842
1601+
#: plotpy\tools\curve.py:844
15941602
msgid "Insert new value"
15951603
msgstr ""
15961604

1597-
#: plotpy\tools\curve.py:1089
1605+
#: plotpy\tools\curve.py:1091
15981606
msgid "Downsample"
15991607
msgstr ""
16001608

1601-
#: plotpy\tools\curve.py:1136 plotpy\tools\curve.py:1148
1609+
#: plotpy\tools\curve.py:1138 plotpy\tools\curve.py:1150
16021610
msgid "Export"
16031611
msgstr ""
16041612

1605-
#: plotpy\tools\curve.py:1140
1613+
#: plotpy\tools\curve.py:1142
16061614
msgid "Text file"
16071615
msgstr ""
16081616

1609-
#: plotpy\tools\curve.py:1149
1617+
#: plotpy\tools\curve.py:1151
16101618
msgid "Unable to export item data."
16111619
msgstr ""
16121620

1613-
#: plotpy\tools\curve.py:1151
1621+
#: plotpy\tools\curve.py:1153
16141622
msgid "Error message:"
16151623
msgstr ""
16161624

plotpy/tools/curve.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,9 @@ class InsertionDataSet(DataSet):
629629
__index = IntItem(_("Insertion index"), min=0)
630630
index = __index
631631
value = FloatItem(_("New value"))
632-
index_offset = ChoiceItem(_("Location"), choices=["Before", "After"], default=0)
632+
index_offset = ChoiceItem(
633+
_("Location"), choices=[_("Before"), _("After")], default=0
634+
)
633635

634636
@classmethod
635637
def set_max_index(cls, max_index: int):

0 commit comments

Comments
 (0)