示例#1
0
 def get_unit(self):
     l10n = get_l10n()
     unit = l10n.unit_distance if l10n else self._default_unit
     return unit
示例#2
0
 def get_unit(self):
     l10n = get_l10n()
     unit = l10n.unit_precipitation if l10n else self._default_unit
     return unit
示例#3
0
 def get_unit(self):
     l10n = get_l10n()
     unit = l10n.unit_temp if l10n else self._default_unit
     return unit
示例#4
0
 def get_unit(self):
     l10n = get_l10n()
     unit = l10n.unit_windspeed if l10n else self._default_unit
     return unit
示例#5
0
 def get_unit(self):
     l10n = get_l10n()
     unit = l10n.unit_velocity if l10n else self._default_unit
     return unit