From 7118dac0b3a40b3e2dc997c2a869b28aba68d552 Mon Sep 17 00:00:00 2001 From: Neroth Date: Mon, 29 Oct 2012 21:18:52 +0100 Subject: [PATCH] Fix Rankine display --- src/extension.js | 2 +- src/weather-settings.js.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension.js b/src/extension.js index c3db99a..1ca6050 100644 --- a/src/extension.js +++ b/src/extension.js @@ -588,7 +588,7 @@ const WeatherMenuButton = new Lang.Class({ else if(this._units == WeatherUnits.KELVIN) return 'K'; else if(this._units == WeatherUnits.RANKINE) - return 'R'; + return '\u00B0\Ra'; else if(this._units == WeatherUnits.REAUMUR) return '\u00B0\R\u00E9'; else if(this._units == WeatherUnits.ROEMER) diff --git a/src/weather-settings.js.in b/src/weather-settings.js.in index 0d0df9b..f8be961 100644 --- a/src/weather-settings.js.in +++ b/src/weather-settings.js.in @@ -691,7 +691,7 @@ WeatherSetting.prototype = this.initConfigWidget(); this.addLabel(_("Temperature Unit")); - this.addComboBox(["°C","°F","K","R","°Ré","°Rø","°De","°N"],"units"); + this.addComboBox(["°C","°F","K","°Ra","°Ré","°Rø","°De","°N"],"units"); this.addLabel(_("Wind Speed Unit")); this.addComboBox(["km/h","mph","m/s","kn","ft/s","Beaufort"],"wind_speed_unit"); this.addLabel(_("Pressure Unit"));