Skip to content
Snippets Groups Projects
Commit 17cfd622 authored by Vincent Texier's avatar Vincent Texier
Browse files

[fix] fix referentials translation

parent 1b961335
Branches
Tags
1 merge request!7750.50.0
......@@ -14,23 +14,21 @@ class QuantitativeZSum(BaseReferential):
"""Q0 = Q - ( M(t-1) / N(t) )
<br >
<table>
<tr><td>ZS</td><td>Quantitative value at zero sum</td></tr>
<tr><td>Q0</td><td>Quantitative value at zero sum</td></tr>
<tr><td>Q</td><td>Quantitative value</td></tr>
<tr><td>M</td><td>Monetary mass</td></tr>
<tr><td>N</td><td>Members count</td></tr>
<tr><td>t</td><td>Last UD time</td></tr>
<tr><td>t-1</td><td>Penultimate UD time</td></tr>
</table>""",
</table>"""
)
_DESCRIPTION_STR_ = QT_TRANSLATE_NOOP(
"QuantitativeZSum",
"""Quantitative at zero sum is used to display the difference between
the quantitative value and the average quantitative value.
If it is positive, the value is above the average value, and if it is negative,
the value is under the average value.
""".replace(
"\n", "<br >"
),
"""Quantitative at zero sum is used to display the difference between<br />
the quantitative value and the average quantitative value.<br />
If it is positive, the value is above the average value, and if it is negative,<br />
the value is under the average value.<br />
"""
)
def __init__(self, amount, currency, app, block_number=None):
......
......@@ -15,7 +15,7 @@ class Quantitative(BaseReferential):
<table>
<tr><td>Q</td><td>Quantitative value</td></tr>
</table>
""",
"""
)
_DESCRIPTION_STR_ = QT_TRANSLATE_NOOP(
"Quantitative", "Base referential of the money. Units values are used here."
......
......@@ -18,19 +18,17 @@ class Relative(BaseReferential):
<tr><td>Q</td><td>Quantitative value</td></tr>
<tr><td>UD</td><td>Universal Dividend</td></tr>
<tr><td>t</td><td>Last UD time</td></tr>
</table>""",
</table>"""
)
_DESCRIPTION_STR_ = QT_TRANSLATE_NOOP(
"Relative",
"""Relative referential of the money.
Relative value R is calculated by dividing the quantitative value Q by the last
Universal Dividend UD.
This referential is the most practical one to display prices and accounts.
No money creation or destruction is apparent here and every account tend to
"""Relative referential of the money.<br />
Relative value R is calculated by dividing the quantitative value Q by the last<br />
Universal Dividend UD.<br />
This referential is the most practical one to display prices and accounts.<br />
No money creation or destruction is apparent here and every account tend to<br />
the average.
""".replace(
"\n", "<br >"
),
"""
)
def __init__(self, amount, currency, app, block_number=None):
......
......@@ -20,17 +20,15 @@ class RelativeZSum(BaseReferential):
<tr><td>N</td><td>Members count</td></tr>
<tr><td>t</td><td>Last UD time</td></tr>
<tr><td>t-1</td><td>Penultimate UD time</td></tr>
</table>""",
</table>"""
)
_DESCRIPTION_STR_ = QT_TRANSLATE_NOOP(
"RelativeZSum",
"""Relative at zero sum is used to display the difference between
the relative value and the average relative value.
If it is positive, the value is above the average value, and if it is negative,
the value is under the average value.
""".replace(
"\n", "<br >"
),
"""Relative at zero sum is used to display the difference between<br />
the relative value and the average relative value.<br />
If it is positive, the value is above the average value, and if it is negative,<br />
the value is under the average value.<br />
"""
)
def __init__(self, amount, currency, app, block_number=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment