[horde] New Weather Portal Block
Hiromi Kimura
hiromi at tac.tsukuba.ac.jp
Mon Nov 28 03:29:46 UTC 2011
Please translate the condition strings.
--- lib/Block/Weather.php.orig 2011-11-28 08:36:10.000000000 +0900
+++ lib/Block/Weather.php 2011-11-28 12:12:53.000000000 +0900
@@ -233,7 +233,7 @@
$condition = $current->condition;
$html .= '<br /><strong>' . _("Current condition: ") . '</strong>' .
Horde::img(Horde_Themes::img('weather/32x32/' . $current->icon))
- . ' ' . $condition;
+ . ' ' . _($condition);
// Forecast
if ($this->_params['days'] > 0) {
@@ -302,7 +302,7 @@
// Condition.
$html .= '<td style="border:1px solid #ddd;
text-align:center">'
.
Horde::img(Horde_Themes::img('weather/32x32/' . $day->icon))
- . '<br />' . $condition . '</td>';
+ . '<br />' . _($condition) . '</td>';
// Precipitation chance.
$html .= '<td style="border:1px solid #ddd;
text-align:center">'
Quote: Michael J Rubinsky <mrubinsk at horde.org>:
>
> Quoting cjdl01 <cjdl01 at brokensolstice.com>:
>
>> Hi,
>>
>> I just installed the new weather portal block and created an
>> account at weather underground.
>>
>> It is only alpha software -- but it is looking really good! Thank
>> you! Weather.com kinda screwed us all, and you were right on top
>> of it. You guys are great!
>
> Thanks for the feedback!
>
> --
> mike
>
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
-=-=-=-=-
Hiromi KIMURA http://www.tac.tsukuba.ac.jp/~hiromi/
PGP Fingerprint16 = 2A 27 2E 46 9E 75 4E 3D E3 FD 5A DC 2A AA 3A 2E
More information about the horde
mailing list