| @@ -1,156 +1,162 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * This is the gettext list of abbreviations from the various weather providers | |
| 4 | + * | |
| 5 | + * @package wp-forecast | |
| 6 | + */ | |
| 2 | 7 | |
| 3 | -function xgettext_dummy() | |
| 4 | -{ | |
| 5 | - __( "loc" ); | |
| 6 | -__( "01" ); | |
| 7 | -__( "02" ); | |
| 8 | -__( "03" ); | |
| 9 | -__( "04" ); | |
| 10 | -__( "05" ); | |
| 11 | -__( "06" ); | |
| 12 | -__( "07" ); | |
| 13 | -__( "08" ); | |
| 14 | -__( "11" ); | |
| 15 | -__( "12" ); | |
| 16 | -__( "13" ); | |
| 17 | -__( "14" ); | |
| 18 | -__( "15" ); | |
| 19 | -__( "16" ); | |
| 20 | -__( "17" ); | |
| 21 | -__( "18" ); | |
| 22 | -__( "19" ); | |
| 23 | -__( "20" ); | |
| 24 | -__( "21" ); | |
| 25 | -__( "22" ); | |
| 26 | -__( "23" ); | |
| 27 | -__( "24" ); | |
| 28 | -__( "25" ); | |
| 29 | -__( "26" ); | |
| 30 | -__( "29" ); | |
| 31 | -__( "30" ); | |
| 32 | -__( "31" ); | |
| 33 | -__( "32" ); | |
| 34 | -__( "33" ); | |
| 35 | -__( "34" ); | |
| 36 | -__( "35" ); | |
| 37 | -__( "36" ); | |
| 38 | -__( "37" ); | |
| 39 | -__( "38" ); | |
| 40 | -__( "39" ); | |
| 41 | -__( "40" ); | |
| 42 | -__( "41" ); | |
| 43 | -__( "42" ); | |
| 44 | -__( "43" ); | |
| 45 | -__( "44" ); | |
| 46 | -__( "Monday" ); | |
| 47 | -__( "Tuesday" ); | |
| 48 | -__( "Wednesday" ); | |
| 49 | -__( "Thursday" ); | |
| 50 | -__( "Friday" ); | |
| 51 | -__( "Saturday" ); | |
| 52 | -__( "Sunday" ); | |
| 53 | -__( "N" ); | |
| 54 | -__( "E" ); | |
| 55 | -__( "W" ); | |
| 56 | -__( "S" ); | |
| 57 | -__( "30% Chance Drizzle" ); | |
| 58 | -__( "30% Chance Freezing Drizzle" ); | |
| 59 | -__( "30% Chance Freezing Rain" ); | |
| 60 | -__( "30% Chance Frozen Drizzle" ); | |
| 61 | -__( "30% Chance Frozen Mix" ); | |
| 62 | -__( "30% Chance Rain Shower" ); | |
| 63 | -__( "30% Chance Snow Shower" ); | |
| 64 | -__( "30% Chance of Drizzle" ); | |
| 65 | -__( "30% Chance of Flurry" ); | |
| 66 | -__( "30% Chance of Flurry" ); | |
| 67 | -__( "30% Chance of Frozen Mix" ); | |
| 68 | -__( "30% Chance of Light Snow" ); | |
| 69 | -__( "30% Chance of Rain" ); | |
| 70 | -__( "30% Chance of Sleet" ); | |
| 71 | -__( "30% Chance of Snow" ); | |
| 72 | -__( "30% Chance of Storms" ); | |
| 73 | -__( "40% Chance Drizzle" ); | |
| 74 | -__( "40% Chance Fozen Drizzle" ); | |
| 75 | -__( "40% Chance Freezing Drizzle" ); | |
| 76 | -__( "40% Chance Freezing Rain" ); | |
| 77 | -__( "40% Chance Frozen Drizzle" ); | |
| 78 | -__( "40% Chance Frozen Mix" ); | |
| 79 | -__( "40% Chance Rain Shower" ); | |
| 80 | -__( "40% Chance Snow Shower" ); | |
| 81 | -__( "40% Chance of Drizzle" ); | |
| 82 | -__( "40% Chance of Flurry" ); | |
| 83 | -__( "40% Chance of Frozen Mix" ); | |
| 84 | -__( "40% Chance of Light Snow" ); | |
| 85 | -__( "40% Chance of Rain" ); | |
| 86 | -__( "40% Chance of Sleet" ); | |
| 87 | -__( "40% Chance of Snow" ); | |
| 88 | -__( "40% Chance of Storms" ); | |
| 89 | -__( "50% Chance Freezing Drizzle" ); | |
| 90 | -__( "50% Chance Freezing Rain" ); | |
| 91 | -__( "50% Chance Rain Shower" ); | |
| 92 | -__( "50% Chance Snow Shower" ); | |
| 93 | -__( "50% Chance of Drizzle" ); | |
| 94 | -__( "50% Chance of Flurry" ); | |
| 95 | -__( "50% Chance of Frozen Mix" ); | |
| 96 | -__( "50% Chance of Light Snow" ); | |
| 97 | -__( "50% Chance of Rain" ); | |
| 98 | -__( "50% Chance of Sleet" ); | |
| 99 | -__( "50% Chance of Snow" ); | |
| 100 | -__( "50% Chance of Storms" ); | |
| 101 | -__( "Chance Freezing Drizzle" ); | |
| 102 | -__( "Chance Freezing Rain" ); | |
| 103 | -__( "Chance Rain Shower" ); | |
| 104 | -__( "Chance Snow Shower" ); | |
| 105 | -__( "Chance of Drizzle" ); | |
| 106 | -__( "Chance of Flurry" ); | |
| 107 | -__( "Chance of Freezing Drizzle" ); | |
| 108 | -__( "Chance of Frozen Drizzle" ); | |
| 109 | -__( "Chance of Frozen Mix" ); | |
| 110 | -__( "Chance of Light Snow" ); | |
| 111 | -__( "Chance of Rain" ); | |
| 112 | -__( "Chance of Rain Showers" ); | |
| 113 | -__( "Chance of Sleet " ); | |
| 114 | -__( "Chance of Snow" ); | |
| 115 | -__( "Chance of Snow Showers" ); | |
| 116 | -__( "Chance of Storms" ); | |
| 117 | -__( "Clear" ); | |
| 118 | -__( "Clearing" ); | |
| 119 | -__( "Cloudy" ); | |
| 120 | -__( "Drizzle" ); | |
| 121 | -__( "Fair" ); | |
| 122 | -__( "Flurries" ); | |
| 123 | -__( "Fog" ); | |
| 124 | -__( "Foggy" ); | |
| 125 | -__( "Freezing Drizzle" ); | |
| 126 | -__( "Freezing Rain" ); | |
| 127 | -__( "Frozen Mix" ); | |
| 128 | -__( "Hazy" ); | |
| 129 | -__( "Headline" ); | |
| 130 | -__( "Heavy Rain" ); | |
| 131 | -__( "Heavy Snow" ); | |
| 132 | -__( "Hot and Humid" ); | |
| 133 | -__( "Increasing Clouds" ); | |
| 134 | -__( "Light Snow" ); | |
| 135 | -__( "Mostly Clear" ); | |
| 136 | -__( "Mostly Cloudy" ); | |
| 137 | -__( "Mostly Sunny" ); | |
| 138 | -__( "Nowcast" ); | |
| 139 | -__( "Partly Cloudy" ); | |
| 140 | -__( "Partly Sunny" ); | |
| 141 | -__( "Rain" ); | |
| 142 | -__( "Rain Showers" ); | |
| 143 | -__( "Scattered Showers" ); | |
| 144 | -__( "Scattered Thunderstorms" ); | |
| 145 | -__( "Sleet" ); | |
| 146 | -__( "Snow" ); | |
| 147 | -__( "Snow Showers" ); | |
| 148 | -__( "Sunny" ); | |
| 149 | -__( "Thunderstorms" ); | |
| 150 | -__( "Unknown" ); | |
| 151 | -__( "Very Cold" ); | |
| 152 | -__( "Very Hot" ); | |
| 153 | -__( "Warm and Humid" ); | |
| 154 | -__( "Windy" ); | |
| 155 | - } | |
| 156 | -?> | |
| 8 | +/** | |
| 9 | + * Defines gettext array of necessary translations for each weather provider | |
| 10 | + */ | |
| 11 | +function xgettext_dummy() { | |
| 12 | + __( 'loc' ); | |
| 13 | + __( '01' ); | |
| 14 | + __( '02' ); | |
| 15 | + __( '03' ); | |
| 16 | + __( '04' ); | |
| 17 | + __( '05' ); | |
| 18 | + __( '06' ); | |
| 19 | + __( '07' ); | |
| 20 | + __( '08' ); | |
| 21 | + __( '11' ); | |
| 22 | + __( '12' ); | |
| 23 | + __( '13' ); | |
| 24 | + __( '14' ); | |
| 25 | + __( '15' ); | |
| 26 | + __( '16' ); | |
| 27 | + __( '17' ); | |
| 28 | + __( '18' ); | |
| 29 | + __( '19' ); | |
| 30 | + __( '20' ); | |
| 31 | + __( '21' ); | |
| 32 | + __( '22' ); | |
| 33 | + __( '23' ); | |
| 34 | + __( '24' ); | |
| 35 | + __( '25' ); | |
| 36 | + __( '26' ); | |
| 37 | + __( '29' ); | |
| 38 | + __( '30' ); | |
| 39 | + __( '31' ); | |
| 40 | + __( '32' ); | |
| 41 | + __( '33' ); | |
| 42 | + __( '34' ); | |
| 43 | + __( '35' ); | |
| 44 | + __( '36' ); | |
| 45 | + __( '37' ); | |
| 46 | + __( '38' ); | |
| 47 | + __( '39' ); | |
| 48 | + __( '40' ); | |
| 49 | + __( '41' ); | |
| 50 | + __( '42' ); | |
| 51 | + __( '43' ); | |
| 52 | + __( '44' ); | |
| 53 | + __( 'Monday' ); | |
| 54 | + __( 'Tuesday' ); | |
| 55 | + __( 'Wednesday' ); | |
| 56 | + __( 'Thursday' ); | |
| 57 | + __( 'Friday' ); | |
| 58 | + __( 'Saturday' ); | |
| 59 | + __( 'Sunday' ); | |
| 60 | + __( 'N' ); | |
| 61 | + __( 'E' ); | |
| 62 | + __( 'W' ); | |
| 63 | + __( 'S' ); | |
| 64 | + __( '30% Chance Drizzle' ); | |
| 65 | + __( '30% Chance Freezing Drizzle' ); | |
| 66 | + __( '30% Chance Freezing Rain' ); | |
| 67 | + __( '30% Chance Frozen Drizzle' ); | |
| 68 | + __( '30% Chance Frozen Mix' ); | |
| 69 | + __( '30% Chance Rain Shower' ); | |
| 70 | + __( '30% Chance Snow Shower' ); | |
| 71 | + __( '30% Chance of Drizzle' ); | |
| 72 | + __( '30% Chance of Flurry' ); | |
| 73 | + __( '30% Chance of Flurry' ); | |
| 74 | + __( '30% Chance of Frozen Mix' ); | |
| 75 | + __( '30% Chance of Light Snow' ); | |
| 76 | + __( '30% Chance of Rain' ); | |
| 77 | + __( '30% Chance of Sleet' ); | |
| 78 | + __( '30% Chance of Snow' ); | |
| 79 | + __( '30% Chance of Storms' ); | |
| 80 | + __( '40% Chance Drizzle' ); | |
| 81 | + __( '40% Chance Fozen Drizzle' ); | |
| 82 | + __( '40% Chance Freezing Drizzle' ); | |
| 83 | + __( '40% Chance Freezing Rain' ); | |
| 84 | + __( '40% Chance Frozen Drizzle' ); | |
| 85 | + __( '40% Chance Frozen Mix' ); | |
| 86 | + __( '40% Chance Rain Shower' ); | |
| 87 | + __( '40% Chance Snow Shower' ); | |
| 88 | + __( '40% Chance of Drizzle' ); | |
| 89 | + __( '40% Chance of Flurry' ); | |
| 90 | + __( '40% Chance of Frozen Mix' ); | |
| 91 | + __( '40% Chance of Light Snow' ); | |
| 92 | + __( '40% Chance of Rain' ); | |
| 93 | + __( '40% Chance of Sleet' ); | |
| 94 | + __( '40% Chance of Snow' ); | |
| 95 | + __( '40% Chance of Storms' ); | |
| 96 | + __( '50% Chance Freezing Drizzle' ); | |
| 97 | + __( '50% Chance Freezing Rain' ); | |
| 98 | + __( '50% Chance Rain Shower' ); | |
| 99 | + __( '50% Chance Snow Shower' ); | |
| 100 | + __( '50% Chance of Drizzle' ); | |
| 101 | + __( '50% Chance of Flurry' ); | |
| 102 | + __( '50% Chance of Frozen Mix' ); | |
| 103 | + __( '50% Chance of Light Snow' ); | |
| 104 | + __( '50% Chance of Rain' ); | |
| 105 | + __( '50% Chance of Sleet' ); | |
| 106 | + __( '50% Chance of Snow' ); | |
| 107 | + __( '50% Chance of Storms' ); | |
| 108 | + __( 'Chance Freezing Drizzle' ); | |
| 109 | + __( 'Chance Freezing Rain' ); | |
| 110 | + __( 'Chance Rain Shower' ); | |
| 111 | + __( 'Chance Snow Shower' ); | |
| 112 | + __( 'Chance of Drizzle' ); | |
| 113 | + __( 'Chance of Flurry' ); | |
| 114 | + __( 'Chance of Freezing Drizzle' ); | |
| 115 | + __( 'Chance of Frozen Drizzle' ); | |
| 116 | + __( 'Chance of Frozen Mix' ); | |
| 117 | + __( 'Chance of Light Snow' ); | |
| 118 | + __( 'Chance of Rain' ); | |
| 119 | + __( 'Chance of Rain Showers' ); | |
| 120 | + __( 'Chance of Sleet ' ); | |
| 121 | + __( 'Chance of Snow' ); | |
| 122 | + __( 'Chance of Snow Showers' ); | |
| 123 | + __( 'Chance of Storms' ); | |
| 124 | + __( 'Clear' ); | |
| 125 | + __( 'Clearing' ); | |
| 126 | + __( 'Cloudy' ); | |
| 127 | + __( 'Drizzle' ); | |
| 128 | + __( 'Fair' ); | |
| 129 | + __( 'Flurries' ); | |
| 130 | + __( 'Fog' ); | |
| 131 | + __( 'Foggy' ); | |
| 132 | + __( 'Freezing Drizzle' ); | |
| 133 | + __( 'Freezing Rain' ); | |
| 134 | + __( 'Frozen Mix' ); | |
| 135 | + __( 'Hazy' ); | |
| 136 | + __( 'Headline' ); | |
| 137 | + __( 'Heavy Rain' ); | |
| 138 | + __( 'Heavy Snow' ); | |
| 139 | + __( 'Hot and Humid' ); | |
| 140 | + __( 'Increasing Clouds' ); | |
| 141 | + __( 'Light Snow' ); | |
| 142 | + __( 'Mostly Clear' ); | |
| 143 | + __( 'Mostly Cloudy' ); | |
| 144 | + __( 'Mostly Sunny' ); | |
| 145 | + __( 'Nowcast' ); | |
| 146 | + __( 'Partly Cloudy' ); | |
| 147 | + __( 'Partly Sunny' ); | |
| 148 | + __( 'Rain' ); | |
| 149 | + __( 'Rain Showers' ); | |
| 150 | + __( 'Scattered Showers' ); | |
| 151 | + __( 'Scattered Thunderstorms' ); | |
| 152 | + __( 'Sleet' ); | |
| 153 | + __( 'Snow' ); | |
| 154 | + __( 'Snow Showers' ); | |
| 155 | + __( 'Sunny' ); | |
| 156 | + __( 'Thunderstorms' ); | |
| 157 | + __( 'Unknown' ); | |
| 158 | + __( 'Very Cold' ); | |
| 159 | + __( 'Very Hot' ); | |
| 160 | + __( 'Warm and Humid' ); | |
| 161 | + __( 'Windy' ); | |
| 162 | +} | |