[gcalctool] Support both μs and us for entering microseconds
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Support both μs and us for entering microseconds
- Date: Wed, 20 Apr 2011 02:44:56 +0000 (UTC)
commit b4a31ae7e11d3cb7cc5856a5095b5b4597cd7cce
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Apr 20 12:44:44 2011 +1000
Support both μs and us for entering microseconds
NEWS | 1 +
src/unit-manager.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index f7b57f7..c40e1af 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,7 @@ Overview of changes in gcalctool 6.1.0
* Use K for kelvin, not Ë?K (Bug #643585)
* Add space between number and Ë?C
* Fix 0^n generating error for fractional n (Bug #634066)
+ * Support both μs and us for entering microseconds
Overview of changes in gcalctool 6.0.0
diff --git a/src/unit-manager.c b/src/unit-manager.c
index 2f5e1bd..8e24e14 100644
--- a/src/unit-manager.c
+++ b/src/unit-manager.c
@@ -93,7 +93,7 @@ unit_manager_get_default(void)
{NULL, "minute", N_("Minutes"), NC_("unit-format", "%s minutes"), "60x", "x/60", NC_("unit-symbols", "minute,minutes")},
{NULL, "second", N_("Seconds"), NC_("unit-format", "%s s"), "x", "x", NC_("unit-symbols", "second,seconds,s")},
{NULL, "millisecond", N_("Milliseconds"), NC_("unit-format", "%s ms"), "0.001x", "1000x", NC_("unit-symbols", "millisecond,milliseconds,ms")},
- {NULL, "microsecond", N_("Microseconds"), NC_("unit-format", "%s μs"), "0.000001x", "1000000x", NC_("unit-symbols", "microsecond,microseconds,us")},
+ {NULL, "microsecond", N_("Microseconds"), NC_("unit-format", "%s μs"), "0.000001x", "1000000x", NC_("unit-symbols", "microsecond,microseconds,us,μs")},
{"temperature", "degree-celcius", N_("Celcius"), NC_("unit-format", "%s Ë?C"), "x+273.15", "x-273.15", NC_("unit-symbols", "degC,Ë?C")},
{NULL, "degree-farenheit", N_("Farenheit"), NC_("unit-format", "%s Ë?F"), "(x+459.67)*5/9", "x*9/5-459.67", NC_("unit-symbols", "degF,Ë?F")},
{NULL, "degree-kelvin", N_("Kelvin"), NC_("unit-format", "%s K"), "x", "x", NC_("unit-symbols", "K")},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]