Minor text fixes.

merge-requests/218/head
None 10 years ago
parent 2db7536d5d
commit d431df8f96
  1. 9
      data/weather-settings.ui
  2. 2
      src/extension.js

@ -993,7 +993,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">end</property> <property name="halign">end</property>
<property name="label" translatable="yes">version: </property> <property name="label" translatable="yes">Version: </property>
<property name="track_visited_links">False</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1006,7 +1007,8 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="halign">start</property> <property name="halign">start</property>
<property name="label">unknown (self-build ?)</property> <property name="label" translatable="yes">unknown (self-build ?)</property>
<property name="ellipsize">end</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1078,11 +1080,12 @@
</child> </child>
<child> <child>
<object class="GtkLinkButton" id="github-link"> <object class="GtkLinkButton" id="github-link">
<property name="label">Webpage</property> <property name="label" translatable="yes">Webpage</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="events"/> <property name="events"/>
<property name="opacity">0.99999999977648257</property>
<property name="halign">center</property> <property name="halign">center</property>
<property name="relief">none</property> <property name="relief">none</property>
<property name="uri">https://github.com/jenslody/gnome-shell-extension-openweather</property> <property name="uri">https://github.com/jenslody/gnome-shell-extension-openweather</property>

@ -750,7 +750,7 @@ const OpenweatherMenuButton = new Lang.Class({
coords = arguments[0].split(">")[0]; coords = arguments[0].split(">")[0];
if ((coords.search(",") == -1) || isNaN(coords.split(",")[0]) || isNaN(coords.split(",")[1])) { if ((coords.search(",") == -1) || isNaN(coords.split(",")[0]) || isNaN(coords.split(",")[1])) {
Main.notify("Openweathermap", _("Invalid location, please try to recreate it")); Main.notify("Openweathermap", _("Invalid location! Please try to recreate it."));
return 0; return 0;
} }

Loading…
Cancel
Save