Trad: Update french translate.

setup.py
Pierre-Antoine Rouby 2024-05-17 09:15:37 +02:00
parent 3b1f135fdb
commit 783d83e4cc
37 changed files with 741 additions and 628 deletions

View File

@ -206,11 +206,11 @@ class MageGeometryGuideLineChecker(StudyGeometryChecker):
def __init__(self, version="mage8"): def __init__(self, version="mage8"):
super(MageGeometryGuideLineChecker, self).__init__() super(MageGeometryGuideLineChecker, self).__init__()
self._name = _translate("Checker", "Mage geometry guide line checker") self._name = _translate("Checker", "Mage geometry guideline checker")
self._description = _translate( self._description = _translate(
"Checker", "Checker",
"Check if exists geometry guide line is correctly defined \ "Check if exists geometry guidelines are correctly defined \
for each reaches of the study" for each reach"
) )
self._solver = version self._solver = version
self._modules = Modules.GEOMETRY self._modules = Modules.GEOMETRY
@ -241,7 +241,7 @@ for each reaches of the study"
for profile in profiles: for profile in profiles:
if not profile.has_standard_named_points(): if not profile.has_standard_named_points():
self._status = STATUS.WARNING self._status = STATUS.WARNING
self._summary = "no_standard_guileline_defined" self._summary = "no_standard_guideline_defined"
return False return False
for gl in gls[1:]: for gl in gls[1:]:

View File

@ -34,9 +34,9 @@ class StudyNetworkReachChecker(AbstractModelChecker):
def __init__(self): def __init__(self):
super(StudyNetworkReachChecker, self).__init__() super(StudyNetworkReachChecker, self).__init__()
self._name = _translate("Checker", "Study network reach checker") self._name = _translate("Checker", "Study reach network checker")
self._description = _translate( self._description = _translate(
"Checker", "Check if exists at least one reach for study" "Checker", "Check if exists at least one reach exists"
) )
self._modules = Modules.NETWORK self._modules = Modules.NETWORK
@ -63,7 +63,7 @@ class StudyGeometryChecker(AbstractModelChecker):
self._name = _translate("Checker", "Study geometry checker") self._name = _translate("Checker", "Study geometry checker")
self._description = _translate( self._description = _translate(
"Checker", "Check if exists geometry for each reach of study" "Checker", "Check if the geometry of each reach exists"
) )
self._modules = Modules.GEOMETRY self._modules = Modules.GEOMETRY

View File

@ -48,7 +48,7 @@ class BCTranslate(MainTranslate):
self._sub_dict["long_types"] = { self._sub_dict["long_types"] = {
"ND": self._dict["not_defined"], "ND": self._dict["not_defined"],
"PC": _translate("BoundaryCondition", "Ponctual contribution"), "PC": _translate("BoundaryCondition", "Point sources"),
"TZ": _translate("BoundaryCondition", "Z(t)"), "TZ": _translate("BoundaryCondition", "Z(t)"),
"TD": _translate("BoundaryCondition", "Q(t)"), "TD": _translate("BoundaryCondition", "Q(t)"),
"ZD": _translate("BoundaryCondition", "Q(Z)"), "ZD": _translate("BoundaryCondition", "Q(Z)"),

View File

@ -39,8 +39,8 @@ class FrictionsTranslate(MainTranslate):
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {
# "name": self._dict["name"], # "name": self._dict["name"],
# "edge": self._dict["reach"], # "edge": self._dict["reach"],
"begin_kp": _translate("Frictions", "Begin kp (m)"), "begin_kp": _translate("Frictions", "Start (m)"),
"end_kp": _translate("Frictions", "End kp (m)"), "end_kp": _translate("Frictions", "End (m)"),
"begin_strickler": _translate("Frictions", "Begin strickler"), "begin_strickler": _translate("Frictions", "Start coefficient"),
"end_strickler": _translate("Frictions", "End strickler"), "end_strickler": _translate("Frictions", "End coefficient"),
} }

View File

@ -82,16 +82,6 @@ class GeometryProfileTableModel(PamhyrTableModel):
elif value == self._data.z_max(): elif value == self._data.z_max():
return QColor("blue") return QColor("blue")
if role == Qt.ToolTipRole:
if value == self._data.z_min():
return _translate("MainWindowProfile",
"La cote du fond",
"Z minimale")
elif value == self._data.z_max():
return _translate("MainWindowProfile",
"La cote maximale",
"Z maximale")
if index.column() == 3: if index.column() == 3:
value = self._data.point(index.row()).name value = self._data.point(index.row()).name
@ -104,16 +94,6 @@ class GeometryProfileTableModel(PamhyrTableModel):
if role == Qt.ForegroundRole: if role == Qt.ForegroundRole:
return QColor("darkRed") return QColor("darkRed")
if role == Qt.ToolTipRole:
if value.strip().upper() == "RG":
return _translate(
"MainWindowProfile", "Rive gauche"
)
else:
return _translate(
"MainWindowProfile", "Rive droite"
)
return QVariant() return QVariant()
def setData(self, index, value, role=Qt.EditRole): def setData(self, index, value, role=Qt.EditRole):

View File

@ -33,12 +33,12 @@ class GeometryTranslate(MainTranslate):
self._dict["open_file"] = _translate("Geometry", "Open a file") self._dict["open_file"] = _translate("Geometry", "Open a file")
self._dict["file_st"] = _translate( self._dict["file_st"] = _translate(
"Geometry", "File mage geometry (*.ST *.st)") "Geometry", "Mage geometry file (*.ST *.st)")
self._dict["file_m"] = _translate( self._dict["file_m"] = _translate(
"Geometry", "File mage meshed geometry (*.M *.m)") "Geometry", "Mage meshed geometry file (*.M *.m)")
self._dict["file_shp"] = _translate( self._dict["file_shp"] = _translate(
"Geometry", "Shapefile (*.SHP *.shp)") "Geometry", "Shapefile (*.SHP *.shp)")
self._dict["file_all"] = _translate("Geometry", "All file (*)") self._dict["file_all"] = _translate("Geometry", "All files (*)")
self._dict["cross_section"] = _translate("Geometry", "cross-section") self._dict["cross_section"] = _translate("Geometry", "cross-section")
self._dict["cross_sections"] = _translate("Geometry", "cross-sections") self._dict["cross_sections"] = _translate("Geometry", "cross-sections")
@ -70,7 +70,7 @@ class GeometryTranslate(MainTranslate):
"2": _translate("Geometry", "the second guide-line"), "2": _translate("Geometry", "the second guide-line"),
"3": _translate( "3": _translate(
"Geometry", "Geometry",
"the means between the two guide-lines" "the mean over the two guide-lines"
), ),
} }

View File

@ -28,7 +28,7 @@ class BasicHydraulicStructuresTranslate(MainTranslate):
super(BasicHydraulicStructuresTranslate, self).__init__() super(BasicHydraulicStructuresTranslate, self).__init__()
self._dict["Basic Hydraulic Structures"] = _translate( self._dict["Basic Hydraulic Structures"] = _translate(
"BasicHydraulicStructures", "Basic Hydraulic Structures" "BasicHydraulicStructures", "Basic Hydraulic Structure"
) )
self._dict['msg_type_change_title'] = _translate( self._dict['msg_type_change_title'] = _translate(
@ -138,7 +138,7 @@ hydraulic structure values?"
"BasicHydraulicStructures", "Check valve" "BasicHydraulicStructures", "Check valve"
), ),
"UD": _translate( "UD": _translate(
"BasicHydraulicStructures", "User defined" "BasicHydraulicStructures", "User-defined"
), ),
} }

View File

@ -28,7 +28,7 @@ class LCETranslate(LCTranslate):
def __init__(self): def __init__(self):
super(LCETranslate, self).__init__() super(LCETranslate, self).__init__()
self._dict["Edit lateral contribution"] = _translate( self._dict["Edit lateral contribution"] = _translate(
"LateralContribution", "Edit lateral contribution" "LateralContribution", "Edit lateral sources"
) )
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {

View File

@ -39,12 +39,12 @@ class LCTranslate(MainTranslate):
super(LCTranslate, self).__init__() super(LCTranslate, self).__init__()
self._dict["Lateral contribution"] = _translate( self._dict["Lateral contribution"] = _translate(
"LateralContribution", "Lateral contribution" "LateralContribution", "Lateral sources"
) )
self._sub_dict["long_types"] = { self._sub_dict["long_types"] = {
"ND": self._dict["not_defined"], "ND": self._dict["not_defined"],
"LC": _translate("LateralContribution", "Lateral contribution"), "LC": _translate("LateralContribution", "Lateral sources"),
"RA": _translate("LateralContribution", "Rain"), "RA": _translate("LateralContribution", "Rain"),
"EV": _translate("LateralContribution", "Evaporation"), "EV": _translate("LateralContribution", "Evaporation"),
} }
@ -57,6 +57,6 @@ class LCTranslate(MainTranslate):
"name": self._dict["name"], "name": self._dict["name"],
"type": self._dict["type"], "type": self._dict["type"],
"edge": self._dict["reach"], "edge": self._dict["reach"],
"begin_kp": _translate("LateralContribution", "Begin kp (m)"), "begin_kp": _translate("LateralContribution", "Start (m)"),
"end_kp": _translate("LateralContribution", "End kp (m)") "end_kp": _translate("LateralContribution", "End (m)")
} }

View File

@ -28,7 +28,7 @@ class CustomPlotTranslate(ResultsTranslate):
super(CustomPlotTranslate, self).__init__() super(CustomPlotTranslate, self).__init__()
self._dict["Custom Plot Selection"] = _translate( self._dict["Custom Plot Selection"] = _translate(
"CustomPlot", "Custom Plot Selection" "CustomPlot", "Custom plot selection"
) )
# Value type # Value type
@ -38,13 +38,13 @@ class CustomPlotTranslate(ResultsTranslate):
self._dict['water_elevation'] = self._dict["unit_water_elevation"] self._dict['water_elevation'] = self._dict["unit_water_elevation"]
self._dict['discharge'] = self._dict["unit_discharge"] self._dict['discharge'] = self._dict["unit_discharge"]
self._dict['elevation'] = _translate( self._dict['elevation'] = _translate(
"CustomPlot", "Bed load elevation (m)" "CustomPlot", "Bed elevation (m)"
) )
# Unit corresponding long name (plot axes display) # Unit corresponding long name (plot axes display)
self._dict['0-meter'] = _translate( self._dict['0-meter'] = _translate(
"CustomPlot", "Bed load elevation (m)" "CustomPlot", "Bed elevation (m)"
) )
self._dict['1-m3s'] = self._dict["unit_discharge"] self._dict['1-m3s'] = self._dict["unit_discharge"]

View File

@ -231,7 +231,7 @@ class PlotSedReach(PamhyrPlot):
return return
self.canvas.axes.set_xlabel( self.canvas.axes.set_xlabel(
_translate("MainWindow_reach", "Kp (m)"), _translate("MainWindow_reach", "Position (m)"),
color='black', fontsize=10 color='black', fontsize=10
) )
self.canvas.axes.set_ylabel( self.canvas.axes.set_ylabel(

View File

@ -99,7 +99,7 @@ class ParamTranslate(MainTranslate):
"Minimum water height (meter)"), "Minimum water height (meter)"),
"mage_max_niter": "mage_max_niter":
_translate("SolverParameters", _translate("SolverParameters",
"Maximun number of iterations (< 100)"), "Maximum number of iterations (< 100)"),
"mage_timestep_reduction_factor": "mage_timestep_reduction_factor":
_translate("SolverParameters", _translate("SolverParameters",
"Timestep reduction factor"), "Timestep reduction factor"),
@ -114,10 +114,10 @@ class ParamTranslate(MainTranslate):
"Reduction precision factor of residue"), "Reduction precision factor of residue"),
"mage_niter_max_precision": "mage_niter_max_precision":
_translate("SolverParameters", _translate("SolverParameters",
"Number of iteration at maximum precision"), "Number of iterations at maximum precision"),
"mage_niter_before_switch": "mage_niter_before_switch":
_translate("SolverParameters", _translate("SolverParameters",
"Number of iteration before switch"), "Number of iterations before switch"),
"mage_max_froude": "mage_max_froude":
_translate("SolverParameters", _translate("SolverParameters",
"Maximum accepted Froude number"), "Maximum accepted Froude number"),
@ -152,7 +152,7 @@ class ParamTranslate(MainTranslate):
"mage_methode_modification_geometrie": "mage_methode_modification_geometrie":
_translate("SolverParameters", "Geometry modification method"), _translate("SolverParameters", "Geometry modification method"),
"mage_shields_critique": "mage_shields_critique":
_translate("SolverParameters", "Critic shields"), _translate("SolverParameters", "Critical Shields number"),
"mage_shields_correction": "mage_shields_correction":
_translate("SolverParameters", "Shields correction"), _translate("SolverParameters", "Shields correction"),
"mage_capacite_solide": "mage_capacite_solide":

View File

@ -28,7 +28,7 @@ class StricklersTranslate(MainTranslate):
super(StricklersTranslate, self).__init__() super(StricklersTranslate, self).__init__()
self._dict["Stricklers"] = _translate( self._dict["Stricklers"] = _translate(
"Stricklers", "Stricklers" "Stricklers", "Strickler coefficients"
) )
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {

View File

@ -112,7 +112,7 @@ class PamhyrPlotToolbar(NavigationToolbar2QT):
self.toolitems.append( self.toolitems.append(
( (
'Forward', 'Forward',
_translate("Toolbar", 'Return to next view'), _translate("Toolbar", 'Back to next view'),
'forward', 'forward' 'forward', 'forward'
) )
) )
@ -121,7 +121,7 @@ class PamhyrPlotToolbar(NavigationToolbar2QT):
self.toolitems.append( self.toolitems.append(
( (
'Pan', 'Pan',
_translate("Toolbar", 'Axes panoramic'), _translate("Toolbar", 'Panoramic axes'),
'move', 'pan' 'move', 'pan'
) )
) )
@ -184,7 +184,7 @@ class PamhyrPlotToolbar(NavigationToolbar2QT):
self.toolitems.append( self.toolitems.append(
( (
'Save', 'Save',
_translate("Toolbar", 'Save the figure'), _translate("Toolbar", 'Save figure'),
'filesave', 'save_figure' 'filesave', 'save_figure'
) )
) )
@ -253,12 +253,12 @@ class PamhyrPlotToolbar(NavigationToolbar2QT):
self._actions['back'].setToolTip( self._actions['back'].setToolTip(
_translate("Toolbar", "Back to previous view")) _translate("Toolbar", "Back to previous view"))
self._actions['forward'].setToolTip( self._actions['forward'].setToolTip(
_translate("Toolbar", "Return to next view")) _translate("Toolbar", "Back to next view"))
self._actions['pan'].setToolTip( self._actions['pan'].setToolTip(
_translate("Toolbar", "Axes panoramic")) _translate("Toolbar", "Panoramic axes"))
self._actions['zoom'].setToolTip(_translate("Toolbar", "Zoom")) self._actions['zoom'].setToolTip(_translate("Toolbar", "Zoom"))
self._actions['save_figure'].setToolTip( self._actions['save_figure'].setToolTip(
_translate("Toolbar", "Save the figure")) _translate("Toolbar", "Save figure"))
self.action_isometric_view.setToolTip( self.action_isometric_view.setToolTip(
_translate("Toolbar", "Isometric view (Shift+W)")) _translate("Toolbar", "Isometric view (Shift+W)"))
self.action_auto_global_view.setToolTip( self.action_auto_global_view.setToolTip(

View File

@ -52,7 +52,7 @@ class UnitTranslate(CommonWordTranslate):
def __init__(self): def __init__(self):
super(UnitTranslate, self).__init__() super(UnitTranslate, self).__init__()
self._dict["unit_kp"] = _translate("Unit", "KP (m)") self._dict["unit_kp"] = _translate("Unit", "Position (m)")
self._dict["unit_width"] = _translate("Unit", "Width (m)") self._dict["unit_width"] = _translate("Unit", "Width (m)")
self._dict["unit_height"] = _translate("Unit", "Height (m)") self._dict["unit_height"] = _translate("Unit", "Height (m)")
self._dict["unit_diameter"] = _translate("Unit", "Diameter (m)") self._dict["unit_diameter"] = _translate("Unit", "Diameter (m)")
@ -90,5 +90,5 @@ class MainTranslate(UnitTranslate):
"MainWindow", "Open SQLite debuging tool ('sqlitebrowser')" "MainWindow", "Open SQLite debuging tool ('sqlitebrowser')"
) )
self._dict["active_window"] = _translate( self._dict["active_window"] = _translate(
"MainWindow", "Activate this window" "MainWindow", "Enable this window"
) )

View File

@ -37,7 +37,7 @@
</size> </size>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="tab_liquid"> <widget class="QWidget" name="tab_liquid">
<attribute name="title"> <attribute name="title">
@ -61,7 +61,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_suspenssion"> <widget class="QWidget" name="tab_suspenssion">
<attribute name="title"> <attribute name="title">
<string>Suspenssion</string> <string>Suspension</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0"> <item row="0" column="0">
@ -114,7 +114,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a new boundary condition or punctual contribution</string> <string>Add a new boundary condition or point source</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
@ -144,7 +144,7 @@
<string>Edit</string> <string>Edit</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit boundary condition or punctual contribution</string> <string>Edit boundary condition or point source</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+E</string> <string>Ctrl+E</string>
@ -159,7 +159,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort boundary condition by name</string> <string>Sort by names</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -25,7 +25,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>4</number>
</property> </property>
<property name="documentMode"> <property name="documentMode">
<bool>false</bool> <bool>false</bool>
@ -164,7 +164,7 @@
<item> <item>
<widget class="QLabel" name="label_9"> <widget class="QLabel" name="label_9">
<property name="text"> <property name="text">
<string>Frequence</string> <string>Frequency</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -349,7 +349,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>This value must be used for reading or editing files in speficic case.</string> <string>This value must be used for reading or editing files in speficic cases.</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -374,7 +374,7 @@
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="label_12"> <widget class="QLabel" name="label_12">
<property name="text"> <property name="text">
<string> - The &quot;@file&quot; keyworkd is replace by the path of file to open.</string> <string> - The &quot;@file&quot; keyword is replaced by the path of file to open.</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -382,7 +382,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_language"> <widget class="QWidget" name="tab_language">
<attribute name="title"> <attribute name="title">
<string>Language</string> <string>Langue</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_6"> <layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0"> <item row="0" column="0">

View File

@ -23,7 +23,7 @@
<item> <item>
<widget class="QPushButton" name="pushButton"> <widget class="QPushButton" name="pushButton">
<property name="text"> <property name="text">
<string>Eval</string> <string>Evaluate</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset> <iconset>

View File

@ -86,7 +86,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a new point in boundary condition or punctual contribution</string> <string>Add a new point</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
@ -116,7 +116,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort boundary condition points</string> <string>Sort points</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -79,7 +79,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a new point in boundary condition or lateral contribution</string> <string>Add a new point in boundary condition or lateral source</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
@ -109,7 +109,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort boundary condition point</string> <string>Sort points</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -98,7 +98,10 @@
<normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset> <normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Edit stricklers</string> <string>Edit Strickler coefficients</string>
</property>
<property name="toolTip">
<string>Edit Strickler coefficients</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+E</string> <string>Ctrl+E</string>

View File

@ -67,10 +67,10 @@
<normaloff>ressources/add.png</normaloff>ressources/add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a point on cross-section</string> <string>Add a point to cross-section</string>
</property> </property>
</action> </action>
<action name="action_delete"> <action name="action_delete">
@ -91,7 +91,7 @@
<normaloff>ressources/up.png</normaloff>ressources/up.png</iconset> <normaloff>ressources/up.png</normaloff>ressources/up.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>up</string> <string>Up</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Move up selected point(s)</string> <string>Move up selected point(s)</string>
@ -103,10 +103,10 @@
<normaloff>ressources/down.png</normaloff>ressources/down.png</iconset> <normaloff>ressources/down.png</normaloff>ressources/down.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>down</string> <string>Down</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Mode down selected point(s)</string> <string>Move down selected point(s)</string>
</property> </property>
</action> </action>
<action name="action_sort_asc"> <action name="action_sort_asc">

View File

@ -166,7 +166,7 @@
<normaloff>ressources/add.png</normaloff>ressources/add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a cross-section</string> <string>Add a cross-section</string>
@ -190,7 +190,7 @@
<normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset> <normaloff>ressources/edit.png</normaloff>ressources/edit.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>edit</string> <string>Edit</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit selected cross section(s)</string> <string>Edit selected cross section(s)</string>
@ -205,7 +205,7 @@
<string>sort_asc</string> <string>sort_asc</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort cross-sections by ascending KP</string> <string>Sort cross-sections by ascending position</string>
</property> </property>
</action> </action>
<action name="action_sort_des"> <action name="action_sort_des">
@ -217,7 +217,7 @@
<string>sort_des</string> <string>sort_des</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort cross-sections by descending KP</string> <string>Sort cross-sections by descending position</string>
</property> </property>
</action> </action>
<action name="action_up"> <action name="action_up">
@ -226,7 +226,7 @@
<normaloff>ressources/up.png</normaloff>ressources/up.png</iconset> <normaloff>ressources/up.png</normaloff>ressources/up.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>up</string> <string>Up</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Move up selected cross-section(s)</string> <string>Move up selected cross-section(s)</string>
@ -238,7 +238,7 @@
<normaloff>ressources/down.png</normaloff>ressources/down.png</iconset> <normaloff>ressources/down.png</normaloff>ressources/down.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>down</string> <string>Down</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Move down selected cross-section(s)</string> <string>Move down selected cross-section(s)</string>

View File

@ -119,7 +119,7 @@
<string>sort</string> <string>sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort inital condition</string> <string>Sort inital conditions</string>
</property> </property>
</action> </action>
<action name="action_import"> <action name="action_import">

View File

@ -37,7 +37,7 @@
</size> </size>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="tab_liquid"> <widget class="QWidget" name="tab_liquid">
<attribute name="title"> <attribute name="title">
@ -61,7 +61,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_suspenssion"> <widget class="QWidget" name="tab_suspenssion">
<attribute name="title"> <attribute name="title">
<string>Suspenssion</string> <string>Suspension</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0"> <item row="0" column="0">
@ -114,7 +114,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add a new boundary condition or lateral contribution</string> <string>Add a new boundary condition or lateral source</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
@ -144,7 +144,7 @@
<string>Edit</string> <string>Edit</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit boundary condition or lateral contribution</string> <string>Edit boundary condition or lateral source</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+E</string> <string>Ctrl+E</string>
@ -159,7 +159,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort boundary condition by name</string> <string>Sort by names</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -115,7 +115,7 @@
<locale language="English" country="Europe"/> <locale language="English" country="Europe"/>
</property> </property>
<property name="title"> <property name="title">
<string>&amp;River Network</string> <string>&amp;River network</string>
</property> </property>
<addaction name="action_menu_edit_network"/> <addaction name="action_menu_edit_network"/>
</widget> </widget>
@ -408,7 +408,7 @@
</action> </action>
<action name="action_menu_config"> <action name="action_menu_config">
<property name="text"> <property name="text">
<string>Pamhyr configuration</string> <string>Pamhyr2 configuration</string>
</property> </property>
</action> </action>
<action name="action_menu_quit"> <action name="action_menu_quit">
@ -446,10 +446,10 @@
</action> </action>
<action name="action_menu_numerical_parameter"> <action name="action_menu_numerical_parameter">
<property name="text"> <property name="text">
<string>Numerical parameter for solvers</string> <string>Numerical parameters of solvers</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Numerical parameter for solvers</string> <string>Numerical parameters of solvers</string>
</property> </property>
</action> </action>
<action name="action_menu_boundary_conditions"> <action name="action_menu_boundary_conditions">
@ -458,7 +458,7 @@
<normaloff>ressources/boundary_condition.png</normaloff>ressources/boundary_condition.png</iconset> <normaloff>ressources/boundary_condition.png</normaloff>ressources/boundary_condition.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Boundary conditions and punctual contributions</string> <string>Boundary conditions and point sources</string>
</property> </property>
<property name="font"> <property name="font">
<font/> <font/>
@ -479,7 +479,7 @@
<normaloff>ressources/friction.png</normaloff>ressources/friction.png</iconset> <normaloff>ressources/friction.png</normaloff>ressources/friction.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Edit friction</string> <string>Edit frictions</string>
</property> </property>
</action> </action>
<action name="action_menu_edit_lateral_contribution"> <action name="action_menu_edit_lateral_contribution">
@ -488,7 +488,7 @@
<normaloff>ressources/lateral_contribution.png</normaloff>ressources/lateral_contribution.png</iconset> <normaloff>ressources/lateral_contribution.png</normaloff>ressources/lateral_contribution.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Edit lateral contributions</string> <string>Edit lateral sources</string>
</property> </property>
</action> </action>
<action name="action_menu_run_solver"> <action name="action_menu_run_solver">
@ -597,7 +597,7 @@
<string>Boundary conditions</string> <string>Boundary conditions</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit boundary conditions and punctual contributions</string> <string>Edit boundary conditions and point sources</string>
</property> </property>
<property name="font"> <property name="font">
<font/> <font/>
@ -609,10 +609,10 @@
<normaloff>ressources/lateral_contribution.png</normaloff>ressources/lateral_contribution.png</iconset> <normaloff>ressources/lateral_contribution.png</normaloff>ressources/lateral_contribution.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Lateral contribution</string> <string>Lateral sources</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit lateral contribution</string> <string>Edit lateral sources</string>
</property> </property>
</action> </action>
<action name="action_toolBar_frictions"> <action name="action_toolBar_frictions">
@ -624,7 +624,7 @@
<string>Friction</string> <string>Friction</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit frictions</string> <string>Edit friction</string>
</property> </property>
</action> </action>
<action name="action_menu_edit"> <action name="action_menu_edit">
@ -669,7 +669,7 @@
<string>Mage</string> <string>Mage</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Open mage documentation</string> <string>Open Mage documentation</string>
</property> </property>
</action> </action>
<action name="action_menu_pamhyr_users_wiki"> <action name="action_menu_pamhyr_users_wiki">
@ -717,12 +717,12 @@
<normaloff>ressources/boundary_condition.png</normaloff>ressources/boundary_condition.png</iconset> <normaloff>ressources/boundary_condition.png</normaloff>ressources/boundary_condition.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Boundary conditions and punctual contributions</string> <string>Boundary conditions and point sources</string>
</property> </property>
</action> </action>
<action name="action_menu_additional_file"> <action name="action_menu_additional_file">
<property name="text"> <property name="text">
<string>&amp;Additional file</string> <string>&amp;Additional files</string>
</property> </property>
</action> </action>
<action name="action_menu_rep_additional_lines"> <action name="action_menu_rep_additional_lines">

View File

@ -33,7 +33,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Section space step (m)</string> <string>Space step (m)</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -111,7 +111,7 @@
<item row="1" column="0"> <item row="1" column="0">
<widget class="QGroupBox" name="groupBox_3"> <widget class="QGroupBox" name="groupBox_3">
<property name="title"> <property name="title">
<string>Distance computation</string> <string>Guideline used for distance computation</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_3"> <layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0"> <item row="1" column="0">
@ -120,7 +120,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Second guide-line</string> <string>Second guideline</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -130,7 +130,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>First guide-line</string> <string>First guideline</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -165,7 +165,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>First cross section</string> <string>First cross-section</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -186,7 +186,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Last cross section</string> <string>Last cross-section</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -127,7 +127,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Staring date</string> <string>Starting date</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -54,7 +54,7 @@
<item row="1" column="1"> <item row="1" column="1">
<widget class="QLineEdit" name="lineEdit_line"> <widget class="QLineEdit" name="lineEdit_line">
<property name="toolTip"> <property name="toolTip">
<string>Comment lines start with '*' char (let see the mage documentation for more details)</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Comment lines start with '*' char (let see Mage documentation for more details)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -37,13 +37,13 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add new additional line</string> <string>Add new line</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string>Ctrl+N</string> <string>Ctrl+N</string>
@ -52,7 +52,7 @@
<action name="action_delete"> <action name="action_delete">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>

View File

@ -35,7 +35,7 @@
<item> <item>
<widget class="QPushButton" name="pushButton_apply"> <widget class="QPushButton" name="pushButton_apply">
<property name="text"> <property name="text">
<string>Apply sediment layers on all reach</string> <string>Apply sediment layers to all reaches</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -80,7 +80,7 @@
<string>Edit profile</string> <string>Edit profile</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit profile sediment layer</string> <string>Edit sediment layers of the profile</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -99,7 +99,7 @@
<string>Edit</string> <string>Edit</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit elevation/surface law</string> <string>Edit stage-area relation</string>
</property> </property>
</action> </action>
<action name="action_sort"> <action name="action_sort">
@ -111,7 +111,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort points by elevation</string> <string>Sort points by elevations</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -75,7 +75,7 @@
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/add.png</normaloff>ressources/gtk-add.png</iconset> <normaloff>ressources/add.png</normaloff>ressources/add.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Add</string> <string>Add</string>
@ -87,7 +87,7 @@
<action name="action_delete"> <action name="action_delete">
<property name="icon"> <property name="icon">
<iconset> <iconset>
<normaloff>ressources/del.png</normaloff>ressources/gtk-remove.png</iconset> <normaloff>ressources/del.png</normaloff>ressources/del.png</iconset>
</property> </property>
<property name="text"> <property name="text">
<string>Delete</string> <string>Delete</string>
@ -105,7 +105,7 @@
<string>Edit</string> <string>Edit</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Edit reservoir law</string> <string>Edit reservoir equations</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -145,7 +145,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>1</number> <number>2</number>
</property> </property>
<widget class="QWidget" name="tab_4"> <widget class="QWidget" name="tab_4">
<attribute name="title"> <attribute name="title">
@ -198,7 +198,7 @@
</widget> </widget>
<widget class="QWidget" name="tab_2"> <widget class="QWidget" name="tab_2">
<attribute name="title"> <attribute name="title">
<string>Hydrograph</string> <string>Discharge time series</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0"> <item row="0" column="0">
@ -251,7 +251,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add custom visualization</string> <string>Add customized visualization</string>
</property> </property>
</action> </action>
<action name="action_reload"> <action name="action_reload">

View File

@ -25,7 +25,7 @@
</property> </property>
<widget class="QGroupBox" name="groupBox_2"> <widget class="QGroupBox" name="groupBox_2">
<property name="title"> <property name="title">
<string>Study stricklers</string> <string>Strickler coefficients of the study</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0"> <item row="0" column="0">
@ -35,7 +35,7 @@
</widget> </widget>
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
<string>Application stricklers</string> <string>Strickler coefficients of the application</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0">
@ -70,7 +70,7 @@
<string>Add</string> <string>Add</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Add new stricklers</string> <string>Add new Strickler coefficients</string>
</property> </property>
</action> </action>
<action name="action_del"> <action name="action_del">
@ -82,7 +82,7 @@
<string>Delete</string> <string>Delete</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Delete selected stricklers</string> <string>Delete selected Strickler coefficients</string>
</property> </property>
</action> </action>
<action name="action_sort"> <action name="action_sort">
@ -94,7 +94,7 @@
<string>Sort</string> <string>Sort</string>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Sort stricklers</string> <string>Sort Strickler coefficients</string>
</property> </property>
</action> </action>
</widget> </widget>

View File

@ -182,7 +182,7 @@
<item row="2" column="3"> <item row="2" column="3">
<widget class="QLabel" name="label_11"> <widget class="QLabel" name="label_11">
<property name="text"> <property name="text">
<string>Lateral contributions:</string> <string>Lateral sources:</string>
</property> </property>
</widget> </widget>
</item> </item>

File diff suppressed because it is too large Load Diff