mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
text improvement
This commit is contained in:
1 parent
5e018fc8f0
commit
d32baa61a1
4 files changed
+8
-7
No files matched your search
@@ -1334,7 +1334,7 @@ https://gitlab.irstea.fr/theophile.terraz/pamhyr
|
||||
|
||||
You can improve or add translation for the project. To contribute to
|
||||
Pamhyr2 translate, you need to use Qt Linguist[fn:qt-linguist]. Open
|
||||
Qt-linguist and edite the translation ({{{file(.ts)}}}) file, finally,
|
||||
Qt-linguist and edit the translation ({{{file(.ts)}}}) file, finally,
|
||||
commit the new version of file and make a merge request.
|
||||
|
||||
If you want add a new language, edit the script
|
||||
|
||||
@@ -431,6 +431,7 @@ class ProfileXYZ(Profile, SQLSubModel):
|
||||
|
||||
area = 0.0
|
||||
for line in lines:
|
||||
if len(line.coords) > 2:
|
||||
poly = geometry.Polygon(line)
|
||||
area += poly.area
|
||||
return area
|
||||
|
||||
@@ -27,14 +27,14 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_generate_1">
|
||||
<property name="text">
|
||||
<string>Generate from height</string>
|
||||
<string>Generate height</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_generate_2">
|
||||
<property name="text">
|
||||
<string>Generate from discharge</string>
|
||||
<string>Generate discharge</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
+4
-4
@@ -2168,13 +2168,13 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../View/ui/InitialConditions.ui" line="30"/>
|
||||
<source>Generate from height</source>
|
||||
<translation>Générer pour une hauteur donnée</translation>
|
||||
<source>Generate height</source>
|
||||
<translation>Générer une hauteur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../View/ui/InitialConditions.ui" line="37"/>
|
||||
<source>Generate from discharge</source>
|
||||
<translation>Générer pour un débit donné</translation>
|
||||
<source>Generate discharge</source>
|
||||
<translation>Générer un débit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../View/ui/InitialConditions.ui" line="98"/>
|
||||
|
||||
Reference in new issue
Block a user