Skip to content

Commit

Permalink
Fix typos in the function descriptions (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Aug 20, 2019
1 parent 9ceca32 commit bd74b2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/App.vala
Expand Up @@ -23,7 +23,7 @@ public class Spreadsheet.App : Gtk.Application {
functions.add (new Function ("sum", Functions.sum, _("Add numbers")));
functions.add (new Function ("mul", Functions.mul, _("Multiply numbers")));
functions.add (new Function ("div", Functions.div, _("Divide numbers")));
functions.add (new Function ("sub", Functions.sub, _("Substract numbers")));
functions.add (new Function ("sub", Functions.sub, _("Subtract numbers")));
functions.add (new Function ("mod", Functions.mod, _("Gives the modulo of numbers")));

functions.add (new Function ("pow", Functions.pow, _("Elevate a number to the power of a second one")));
Expand All @@ -34,12 +34,12 @@ public class Spreadsheet.App : Gtk.Application {
functions.add (new Function ("max", Functions.max, _("Return the biggest value")));
functions.add (new Function ("mean", Functions.mean, _("Gives the mean of a list of numbers")));

functions.add (new Function ("cos", Functions.cos, _("Gives the cosinus of a number (in radians)")));
functions.add (new Function ("sin", Functions.sin, _("Gives the sinus of an angle (in radians)")));
functions.add (new Function ("cos", Functions.cos, _("Gives the cosine of a number (in radians)")));
functions.add (new Function ("sin", Functions.sin, _("Gives the sine of an angle (in radians)")));
functions.add (new Function ("tan", Functions.tan, _("Gives the tangent of a number (in radians)")));
functions.add (new Function ("arccos", Functions.arccos, _("Gives the arc cosinus of a number")));
functions.add (new Function ("arcsin", Functions.arcsin, _("Gives the arc sinus of a number")));
functions.add (new Function ("arctan", Functions.arctan, _("Gives the arg tangent of a number")));
functions.add (new Function ("arccos", Functions.arccos, _("Gives the arc cosine of a number")));
functions.add (new Function ("arcsin", Functions.arcsin, _("Gives the arc sine of a number")));
functions.add (new Function ("arctan", Functions.arctan, _("Gives the arc tangent of a number")));
}

public override void activate () {
Expand Down

0 comments on commit bd74b2b

Please sign in to comment.