summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-01-14 20:52:40 +0100
committerPablo Barciela <[email protected]>2020-01-14 20:52:40 +0100
commit6ee694c389d0d6daf7108054d9b4b751571cad66 (patch)
tree1e03bd0e9b91a1b0a20e4ffa8edc78331a1d2805
parentbca0f12e41cf7f278bd7e289ced045b14ec1cdd0 (diff)
downloadmate-calc-6ee694c389d0d6daf7108054d9b4b751571cad66.tar.bz2
mate-calc-6ee694c389d0d6daf7108054d9b4b751571cad66.tar.xz
Fix typo: 'Avogadro' instead 'Avogrado'
-rw-r--r--src/math-buttons.c2
-rw-r--r--src/mp-equation.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math-buttons.c b/src/math-buttons.c
index 7437369..4e6e6da 100644
--- a/src/math-buttons.c
+++ b/src/math-buttons.c
@@ -1062,7 +1062,7 @@ const_cb(GtkWidget *widget, MathButtons *buttons)
{ /* Tooltip for the mₚ button */
N_("Proton mass"), "mₚ", N_("1.672621898(21)×10⁻²⁷ kg") },
{ /* Tooltip for the Nₐ button */
- N_("Avogrado constant"), "Nₐ", N_("6.02214086×10²³ mol⁻¹") },
+ N_("Avogadro constant"), "Nₐ", N_("6.02214086×10²³ mol⁻¹") },
{ NULL, NULL, NULL }
};
diff --git a/src/mp-equation.c b/src/mp-equation.c
index c50646e..4778298 100644
--- a/src/mp-equation.c
+++ b/src/mp-equation.c
@@ -66,7 +66,7 @@ get_variable(ParserState *state, const char *name, MPNumber *z)
else if (strcmp(name, "mₚ") == 0)
mp_set_from_string("0.000000000000000000000000001672621898", 10, z); /* proton mass */
else if (strcmp(name, "Nₐ") == 0)
- mp_set_from_string("602214086000000000000000", 10, z); /* Avogrado constant */
+ mp_set_from_string("602214086000000000000000", 10, z); /* Avogadro constant */
else if (state->options->get_variable)
result = state->options->get_variable(name, z, state->options->callback_data);
else