[gnome-calculator] Added weeks as available conversion option.
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Added weeks as available conversion option.
- Date: Mon, 1 Feb 2021 07:42:32 +0000 (UTC)
commit a4bee3bd0bfac5fa7a22c5f29fc2ae1a5744456c
Author: dave90dave <dave hulst gmail com>
Date: Sun Jan 31 17:58:10 2021 +0100
Added weeks as available conversion option.
lib/unit.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/lib/unit.vala b/lib/unit.vala
index 68ff836c..59e72027 100644
--- a/lib/unit.vala
+++ b/lib/unit.vala
@@ -86,6 +86,7 @@ public class UnitManager : Object
weight_category.add_unit (new Unit ("stone", _("Stone"), dpgettext2 (null, "unit-format", "%s st"),
"6.350293x", "x/6.350293", dpgettext2 (null, "unit-symbols", "stone,st,stones")));
duration_category.add_unit (new Unit ("year", _("Years"), dpgettext2 (null, "unit-format", "%s
years"), "31557600x", "x/31557600", dpgettext2 (null, "unit-symbols", "year,years")));
duration_category.add_unit (new Unit ("month", _("Months"), dpgettext2 (null, "unit-format", "%s
months"), "2629800x", "x/2629800", dpgettext2 (null, "unit-symbols", "month,months")));
+ duration_category.add_unit (new Unit ("week", _("Weeks"), dpgettext2 (null, "unit-format", "%s
weeks"), "604800x", "x/604800", dpgettext2 (null, "unit-symbols", "week,weeks")));
duration_category.add_unit (new Unit ("day", _("Days"), dpgettext2 (null, "unit-format", "%s days"),
"86400x", "x/86400", dpgettext2 (null, "unit-symbols", "day,days")));
duration_category.add_unit (new Unit ("hour", _("Hours"), dpgettext2 (null, "unit-format", "%s
hours"), "3600x", "x/3600", dpgettext2 (null, "unit-symbols", "hour,hours")));
duration_category.add_unit (new Unit ("minute", _("Minutes"), dpgettext2 (null, "unit-format", "%s
minutes"), "60x", "x/60", dpgettext2 (null, "unit-symbols", "minute,minutes")));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]