Twitter Widget Pro - Version 1.4.6

Version Description

  • Added ability to hide @replies from your widget
Download this release

Release Info

Developer aaroncampbell
Plugin Icon wp plugin Twitter Widget Pro
Version 1.4.6
Comparing to
See all releases

Code changes from version 1.4.5 to 1.4.6

languages/twitter-widget-pro-da_DK.mo CHANGED
Binary file
languages/twitter-widget-pro-da_DK.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Twitter Widget Pro 1.4.3\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-07-07 22:39+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
@@ -17,138 +17,191 @@ msgstr ""
17
  "X-Poedit-Basepath: d:\\wordpress\\plugins\\twitter-widget-pro\n"
18
  "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\twitter-widget-pro\n"
19
 
20
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:48
21
  msgid "Twitter Widget Pro"
22
  msgstr "Twitter Widget Pro"
23
 
24
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:64
25
  msgid "Twitter Widget Pro Options"
26
  msgstr "Indstiller for Twitter Widget Pro"
27
 
28
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:70
29
  msgid "Click for Help!"
30
  msgstr "Klik for hjælp"
31
 
32
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:71
33
  msgid "System Information:"
34
  msgstr "System Information:"
35
 
36
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:76
37
  msgid "I agree to send anonymous system information"
38
  msgstr "Jeg accepterer at sende anonyme system-informationer"
39
 
40
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:78
41
  msgid "You can help by sending anonymous system information that will help Xavisys make better decisions about new features."
42
  msgstr "Du kan hjælpe ved at sende anonyme system-informationer, som vil hjælpe Xavisys med at træffe bedre beslutninger om nye funktioner."
43
 
44
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:79
45
  msgid "The information will be sent anonymously, but a unique identifier will be sent to prevent duplicate entries from the same installation."
46
  msgstr "Informationerne sendes anonymt, men en unik id vil blive sendt med for at sikre, at alle registreringer fra samme installation er unikke."
47
 
48
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:85
49
  msgid "Update Options &raquo;"
50
  msgstr "Opdatér indstillinger &raquo;"
51
 
52
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:114
53
  msgid "Could not connect to Twitter"
54
  msgstr "Kunne ikke få forbindelse til Twitter"
55
 
56
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:273
57
  msgid "Syndicate this content"
58
  msgstr "Følg dette indhold via RSS"
59
 
60
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:286
61
  msgid "No Tweets Available"
62
  msgstr "Ingen tilgængelige Tweets"
63
 
64
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:307
65
  #, php-format
66
  msgid "from %s"
67
  msgstr "fra %s"
68
 
69
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:311
70
  #, php-format
71
  msgid "in reply to %s"
72
  msgstr "som svar på %s"
73
 
74
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:331
75
  #, php-format
76
  msgid "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site\">WordPress Twitter Widget Pro</a>"
77
  msgstr "Kører på <a href=\"%s\" title=\"Få Twitter Widget til din WordPress-site\">WordPress-Twitter Widget Pro</a>"
78
 
79
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:441
80
  msgid "Follow a Twitter Feed"
81
  msgstr "Følg et Twitter-feed"
82
 
83
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:443
84
  msgid "Twitter Feed"
85
  msgstr "Twitter-feed"
86
 
87
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:485
88
  msgid "Twitter username:"
89
  msgstr "Twitter-brugernavn:"
90
 
91
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:489
92
  msgid "Give the feed a title (optional):"
93
  msgstr "Giv feedet en titel (valgfri):"
94
 
95
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:493
96
  msgid "How many items would you like to display?"
97
  msgstr "Hvor mange tweets vil du vise?"
98
 
99
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:503
100
  msgid "What to display when Twitter is down (optional):"
101
  msgstr "Hvad skal der vises, hvis Twitter er nede (valgfri):"
102
 
103
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:507
104
  msgid "Number of seconds to wait for a response from Twitter (default 2):"
105
  msgstr "Antal sekunder at vente på svar fra Twitter (standard: 2):"
106
 
107
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:511
108
  msgid "Show date/time of Tweet (rather than 2 ____ ago):"
109
  msgstr "Vis Tweetets dato/klokkeslæt (i st. f. 2 ___ siden):"
110
 
111
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:513
112
  msgid "Always"
113
  msgstr "Altid"
114
 
115
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:514
116
  msgid "If over an hour old"
117
  msgstr "Hvis over end en time gammelt"
118
 
119
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:515
120
  msgid "If over a day old"
121
  msgstr "Hvis over en dag gammelt"
122
 
123
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:516
124
  msgid "If over a week old"
125
  msgstr "Hvis over en uge gammelt"
126
 
127
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:517
128
  msgid "If over a month old"
129
  msgstr "Hvis over en måned gammelt"
130
 
131
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:518
132
  msgid "If over a year old"
133
  msgstr "Hvis over et år gammelt"
134
 
135
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:519
136
  msgid "Never"
137
  msgstr "Aldrig"
138
 
139
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:523
140
  msgid "Hide RSS Icon and Link"
141
  msgstr "Skjul RSS-ikon og -link"
142
 
143
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:526
144
  msgid "Show Profile Image"
145
  msgstr "Vis profilbillede"
146
 
147
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:530
148
  msgid "Show Link to Twitter Widget Pro"
149
  msgstr "Vis link til Twitter Widget Pro"
150
 
151
- #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:645
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  msgid "Settings"
153
  msgstr "Indstillinger"
154
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Twitter Widget Pro 1.4.5\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-07-18 00:03+0100\n"
6
  "PO-Revision-Date: \n"
7
  "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
  "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
17
  "X-Poedit-Basepath: d:\\wordpress\\plugins\\twitter-widget-pro\n"
18
  "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\twitter-widget-pro\n"
19
 
20
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:67
21
  msgid "Twitter Widget Pro"
22
  msgstr "Twitter Widget Pro"
23
 
24
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:83
25
  msgid "Twitter Widget Pro Options"
26
  msgstr "Indstiller for Twitter Widget Pro"
27
 
28
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:89
29
  msgid "Click for Help!"
30
  msgstr "Klik for hjælp"
31
 
32
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:90
33
  msgid "System Information:"
34
  msgstr "System Information:"
35
 
36
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:95
37
  msgid "I agree to send anonymous system information"
38
  msgstr "Jeg accepterer at sende anonyme system-informationer"
39
 
40
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:97
41
  msgid "You can help by sending anonymous system information that will help Xavisys make better decisions about new features."
42
  msgstr "Du kan hjælpe ved at sende anonyme system-informationer, som vil hjælpe Xavisys med at træffe bedre beslutninger om nye funktioner."
43
 
44
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:98
45
  msgid "The information will be sent anonymously, but a unique identifier will be sent to prevent duplicate entries from the same installation."
46
  msgstr "Informationerne sendes anonymt, men en unik id vil blive sendt med for at sikre, at alle registreringer fra samme installation er unikke."
47
 
48
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:104
49
  msgid "Update Options &raquo;"
50
  msgstr "Opdatér indstillinger &raquo;"
51
 
52
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:142
53
  msgid "Could not connect to Twitter"
54
  msgstr "Kunne ikke få forbindelse til Twitter"
55
 
56
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:301
57
  msgid "Syndicate this content"
58
  msgstr "Følg dette indhold via RSS"
59
 
60
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:314
61
  msgid "No Tweets Available"
62
  msgstr "Ingen tilgængelige Tweets"
63
 
64
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:335
65
  #, php-format
66
  msgid "from %s"
67
  msgstr "fra %s"
68
 
69
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:339
70
  #, php-format
71
  msgid "in reply to %s"
72
  msgstr "som svar på %s"
73
 
74
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:359
75
  #, php-format
76
  msgid "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site\">WordPress Twitter Widget Pro</a>"
77
  msgstr "Kører på <a href=\"%s\" title=\"Få Twitter Widget til din WordPress-site\">WordPress-Twitter Widget Pro</a>"
78
 
79
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:473
80
  msgid "Follow a Twitter Feed"
81
  msgstr "Følg et Twitter-feed"
82
 
83
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:475
84
  msgid "Twitter Feed"
85
  msgstr "Twitter-feed"
86
 
87
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:517
88
  msgid "Twitter username:"
89
  msgstr "Twitter-brugernavn:"
90
 
91
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:521
92
  msgid "Give the feed a title (optional):"
93
  msgstr "Giv feedet en titel (valgfri):"
94
 
95
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:525
96
  msgid "How many items would you like to display?"
97
  msgstr "Hvor mange tweets vil du vise?"
98
 
99
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:535
100
  msgid "What to display when Twitter is down (optional):"
101
  msgstr "Hvad skal der vises, hvis Twitter er nede (valgfri):"
102
 
103
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:539
104
  msgid "Number of seconds to wait for a response from Twitter (default 2):"
105
  msgstr "Antal sekunder at vente på svar fra Twitter (standard: 2):"
106
 
107
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:543
108
  msgid "Show date/time of Tweet (rather than 2 ____ ago):"
109
  msgstr "Vis Tweetets dato/klokkeslæt (i st. f. 2 ___ siden):"
110
 
111
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:545
112
  msgid "Always"
113
  msgstr "Altid"
114
 
115
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:546
116
  msgid "If over an hour old"
117
  msgstr "Hvis over end en time gammelt"
118
 
119
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:547
120
  msgid "If over a day old"
121
  msgstr "Hvis over en dag gammelt"
122
 
123
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:548
124
  msgid "If over a week old"
125
  msgstr "Hvis over en uge gammelt"
126
 
127
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:549
128
  msgid "If over a month old"
129
  msgstr "Hvis over en måned gammelt"
130
 
131
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:550
132
  msgid "If over a year old"
133
  msgstr "Hvis over et år gammelt"
134
 
135
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:551
136
  msgid "Never"
137
  msgstr "Aldrig"
138
 
139
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:555
140
  msgid "Hide RSS Icon and Link"
141
  msgstr "Skjul RSS-ikon og -link"
142
 
143
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:558
144
  msgid "Show Profile Image"
145
  msgstr "Vis profilbillede"
146
 
147
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:562
148
  msgid "Show Link to Twitter Widget Pro"
149
  msgstr "Vis link til Twitter Widget Pro"
150
 
151
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:592
152
+ msgid "h:i:s A F d, Y"
153
+ msgstr "j. F Y H.i.s"
154
+
155
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:603
156
+ #, php-format
157
+ msgid "about %s year ago"
158
+ msgid_plural "about %s years ago"
159
+ msgstr[0] "ca. %s år siden"
160
+ msgstr[1] "ca. %s år siden"
161
+
162
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:604
163
+ #, php-format
164
+ msgid "about %s month ago"
165
+ msgid_plural "about %s months ago"
166
+ msgstr[0] "ca %s måned siden"
167
+ msgstr[1] "ca. %s måneder siden"
168
+
169
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:605
170
+ #, php-format
171
+ msgid "about %s week ago"
172
+ msgid_plural "about %s weeks ago"
173
+ msgstr[0] "ca. %s uge siden"
174
+ msgstr[1] "ca. %s uger siden"
175
+
176
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:606
177
+ #, php-format
178
+ msgid "about %s day ago"
179
+ msgid_plural "about %s days ago"
180
+ msgstr[0] "ca. %s dag siden"
181
+ msgstr[1] "ca. %s dage siden"
182
+
183
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:607
184
+ #, php-format
185
+ msgid "about %s hour ago"
186
+ msgid_plural "about %s hours ago"
187
+ msgstr[0] "ca. %s time siden"
188
+ msgstr[1] "ca. %s timer siden"
189
+
190
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:608
191
+ #, php-format
192
+ msgid "about %s minute ago"
193
+ msgid_plural "about %s minutes ago"
194
+ msgstr[0] "ca. %s minut siden"
195
+ msgstr[1] "ca. %s minutter siden"
196
+
197
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:609
198
+ #, php-format
199
+ msgid "about %s second ago"
200
+ msgid_plural "about %s seconds ago"
201
+ msgstr[0] "ca. %s sekund siden"
202
+ msgstr[1] "ca. %s sekunder siden"
203
+
204
+ #: d:\wordpress\plugins\twitter-widget-pro/wp-twitter-widget.php:677
205
  msgid "Settings"
206
  msgstr "Indstillinger"
207
 
languages/twitter-widget-pro-sv_SE.mo ADDED
Binary file
languages/twitter-widget-pro-sv_SE.po ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Twitter Widget Pro 1.4.5\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
5
+ "POT-Creation-Date: 2009-07-07 22:39+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Hugo Krantz <poedit@hugokrantz.se>\n"
8
+ "Language-Team: Hugo Krantz <poedit@hugokrantz.se>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2;plural=n != 1;\n"
13
+ "X-Poedit-Language: Swedish\n"
14
+ "X-Poedit-Country: SWEDEN\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_c;_e;__ngettext:1,2;__ngettext_noop:1,2\n"
17
+
18
+ #: wp-twitter-widget.php:48
19
+ msgid "Twitter Widget Pro"
20
+ msgstr "Twitter Widget Pro"
21
+
22
+ #: wp-twitter-widget.php:64
23
+ msgid "Twitter Widget Pro Options"
24
+ msgstr "Inställningar för Twitter Widget Pro"
25
+
26
+ #: wp-twitter-widget.php:70
27
+ msgid "Click for Help!"
28
+ msgstr "Klicka för hjälp"
29
+
30
+ #: wp-twitter-widget.php:71
31
+ msgid "System Information:"
32
+ msgstr "Systeminformation:"
33
+
34
+ #: wp-twitter-widget.php:76
35
+ msgid "I agree to send anonymous system information"
36
+ msgstr "Jag accepterer att sända anonym systeminformation"
37
+
38
+ #: wp-twitter-widget.php:78
39
+ msgid "You can help by sending anonymous system information that will help Xavisys make better decisions about new features."
40
+ msgstr "Du kan hjälpa genom att sända anonym systeminformation, som hjälper Xavisys att fatta bättre beslut om nya funktioner."
41
+
42
+ #: wp-twitter-widget.php:79
43
+ msgid "The information will be sent anonymously, but a unique identifier will be sent to prevent duplicate entries from the same installation."
44
+ msgstr "Informationen sänds anonymt, men ett unikt id skickas med för att säkerställa att alla registreringar från samma installation är unika."
45
+
46
+ #: wp-twitter-widget.php:85
47
+ msgid "Update Options &raquo;"
48
+ msgstr "Uppdatera inställningar &raquo;"
49
+
50
+ #: wp-twitter-widget.php:114
51
+ msgid "Could not connect to Twitter"
52
+ msgstr "Kunde inte få förbindelse till Twitter"
53
+
54
+ #: wp-twitter-widget.php:273
55
+ msgid "Syndicate this content"
56
+ msgstr "Följ detta innehåll via RSS"
57
+
58
+ #: wp-twitter-widget.php:286
59
+ msgid "No Tweets Available"
60
+ msgstr "Inga Tweets tillgängliga"
61
+
62
+ #: wp-twitter-widget.php:307
63
+ #, php-format
64
+ msgid "from %s"
65
+ msgstr "via %s"
66
+
67
+ #: wp-twitter-widget.php:311
68
+ #, php-format
69
+ msgid "in reply to %s"
70
+ msgstr "som svar på %s"
71
+
72
+ #: wp-twitter-widget.php:331
73
+ #, php-format
74
+ msgid "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site\">WordPress Twitter Widget Pro</a>"
75
+ msgstr "Använder <a href=\"%s\" title=\"Få Twitter Widget till din WordPress-site\">WordPress-Twitter Widget Pro</a>"
76
+
77
+ #: wp-twitter-widget.php:441
78
+ msgid "Follow a Twitter Feed"
79
+ msgstr "Följ ett Twitter-flöde"
80
+
81
+ #: wp-twitter-widget.php:443
82
+ msgid "Twitter Feed"
83
+ msgstr "Twitter-flöde"
84
+
85
+ #: wp-twitter-widget.php:485
86
+ msgid "Twitter username:"
87
+ msgstr "Twitter-användarnamn:"
88
+
89
+ #: wp-twitter-widget.php:489
90
+ msgid "Give the feed a title (optional):"
91
+ msgstr "Ge flödet en titel (valfritt):"
92
+
93
+ #: wp-twitter-widget.php:493
94
+ msgid "How many items would you like to display?"
95
+ msgstr "Hur många tweets vill du visa?"
96
+
97
+ #: wp-twitter-widget.php:503
98
+ msgid "What to display when Twitter is down (optional):"
99
+ msgstr "Vad skall visas om Twitter är nere (valfritt):"
100
+
101
+ #: wp-twitter-widget.php:507
102
+ msgid "Number of seconds to wait for a response from Twitter (default 2):"
103
+ msgstr "Antal sekunder att vänta på svar från Twitter (standard: 2):"
104
+
105
+ #: wp-twitter-widget.php:511
106
+ msgid "Show date/time of Tweet (rather than 2 ____ ago):"
107
+ msgstr "Visa Tweetens datum/klockslag (istf. 2 ___ sedan):"
108
+
109
+ #: wp-twitter-widget.php:513
110
+ msgid "Always"
111
+ msgstr "Alltid"
112
+
113
+ #: wp-twitter-widget.php:514
114
+ msgid "If over an hour old"
115
+ msgstr "Om över en timme gammalt"
116
+
117
+ #: wp-twitter-widget.php:515
118
+ msgid "If over a day old"
119
+ msgstr "Om över en dag gammalt"
120
+
121
+ #: wp-twitter-widget.php:516
122
+ msgid "If over a week old"
123
+ msgstr "Om över en vecka gammalt"
124
+
125
+ #: wp-twitter-widget.php:517
126
+ msgid "If over a month old"
127
+ msgstr "Om över en månad gammalt"
128
+
129
+ #: wp-twitter-widget.php:518
130
+ msgid "If over a year old"
131
+ msgstr "Om över ett år gammalt"
132
+
133
+ #: wp-twitter-widget.php:519
134
+ msgid "Never"
135
+ msgstr "Aldrig"
136
+
137
+ #: wp-twitter-widget.php:523
138
+ msgid "Hide RSS Icon and Link"
139
+ msgstr "Göm RSS-ikon och -länk"
140
+
141
+ #: wp-twitter-widget.php:526
142
+ msgid "Show Profile Image"
143
+ msgstr "Visa profilbild"
144
+
145
+ #: wp-twitter-widget.php:530
146
+ msgid "Show Link to Twitter Widget Pro"
147
+ msgstr "Visa länk till Twitter Widget Pro"
148
+
149
+ #: wp-twitter-widget.php:571
150
+ #, php-format
151
+ msgid "about %s year ago"
152
+ msgid_plural "about %s years ago"
153
+ msgstr[0] "ca %s år sedan"
154
+ msgstr[1] "ca %s år sedan"
155
+
156
+ #: wp-twitter-widget.php:572
157
+ #, php-format
158
+ msgid "about %s month ago"
159
+ msgid_plural "about %s months ago"
160
+ msgstr[0] "ca %s månad sedan"
161
+ msgstr[1] "ca %s månader sedan"
162
+
163
+ #: wp-twitter-widget.php:573
164
+ #, php-format
165
+ msgid "about %s week ago"
166
+ msgid_plural "about %s weeks ago"
167
+ msgstr[0] "ca %s vecka sedan"
168
+ msgstr[1] "ca %s veckor sedan"
169
+
170
+ #: wp-twitter-widget.php:574
171
+ #, php-format
172
+ msgid "about %s day ago"
173
+ msgid_plural "about %s days ago"
174
+ msgstr[0] "ca %s dag sedan"
175
+ msgstr[1] "ca %s dagar sedan"
176
+
177
+ #: wp-twitter-widget.php:575
178
+ #, php-format
179
+ msgid "about %s hour ago"
180
+ msgid_plural "about %s hours ago"
181
+ msgstr[0] "ca %s timme sedan"
182
+ msgstr[1] "ca %s timmar sedan"
183
+
184
+ #: wp-twitter-widget.php:576
185
+ #, php-format
186
+ msgid "about %s minute ago"
187
+ msgid_plural "about %s minutes ago"
188
+ msgstr[0] "ca %s minut sedan"
189
+ msgstr[1] "ca %s minuter sedan"
190
+
191
+ #: wp-twitter-widget.php:577
192
+ #, php-format
193
+ msgid "about %s second ago"
194
+ msgid_plural "about %s seconds ago"
195
+ msgstr[0] "ca %s sekund sedan"
196
+ msgstr[1] "ca %s sekunder sedan"
197
+
198
+ #: wp-twitter-widget.php:645
199
+ msgid "Settings"
200
+ msgstr "Inställningar"
201
+
languages/twitter-widget-pro.pot CHANGED
@@ -7,7 +7,7 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
10
- "POT-Creation-Date: 2009-07-06 15:44+0000\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,192 +16,196 @@ msgstr ""
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
18
 
19
- #: wp-twitter-widget.php:48
20
  msgid "Twitter Widget Pro"
21
  msgstr ""
22
 
23
- #: wp-twitter-widget.php:64
24
  msgid "Twitter Widget Pro Options"
25
  msgstr ""
26
 
27
- #: wp-twitter-widget.php:70
28
  msgid "Click for Help!"
29
  msgstr ""
30
 
31
- #: wp-twitter-widget.php:71
32
  msgid "System Information:"
33
  msgstr ""
34
 
35
- #: wp-twitter-widget.php:76
36
  msgid "I agree to send anonymous system information"
37
  msgstr ""
38
 
39
- #: wp-twitter-widget.php:78
40
  msgid ""
41
  "You can help by sending anonymous system information that will help Xavisys "
42
  "make better decisions about new features."
43
  msgstr ""
44
 
45
- #: wp-twitter-widget.php:79
46
  msgid ""
47
  "The information will be sent anonymously, but a unique identifier will be "
48
  "sent to prevent duplicate entries from the same installation."
49
  msgstr ""
50
 
51
- #: wp-twitter-widget.php:85
52
  msgid "Update Options &raquo;"
53
  msgstr ""
54
 
55
- #: wp-twitter-widget.php:114
56
  msgid "Could not connect to Twitter"
57
  msgstr ""
58
 
59
- #: wp-twitter-widget.php:273
60
  msgid "Syndicate this content"
61
  msgstr ""
62
 
63
- #: wp-twitter-widget.php:286
64
  msgid "No Tweets Available"
65
  msgstr ""
66
 
67
- #: wp-twitter-widget.php:307
68
  #, php-format
69
  msgid "from %s"
70
  msgstr ""
71
 
72
- #: wp-twitter-widget.php:311
73
  #, php-format
74
  msgid "in reply to %s"
75
  msgstr ""
76
 
77
- #: wp-twitter-widget.php:331
78
  #, php-format
79
  msgid ""
80
  "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site"
81
  "\">WordPress Twitter Widget Pro</a>"
82
  msgstr ""
83
 
84
- #: wp-twitter-widget.php:441
85
  msgid "Follow a Twitter Feed"
86
  msgstr ""
87
 
88
- #: wp-twitter-widget.php:443
89
  msgid "Twitter Feed"
90
  msgstr ""
91
 
92
- #: wp-twitter-widget.php:485
93
  msgid "Twitter username:"
94
  msgstr ""
95
 
96
- #: wp-twitter-widget.php:489
97
  msgid "Give the feed a title (optional):"
98
  msgstr ""
99
 
100
- #: wp-twitter-widget.php:493
101
  msgid "How many items would you like to display?"
102
  msgstr ""
103
 
104
- #: wp-twitter-widget.php:503
 
 
 
 
105
  msgid "What to display when Twitter is down (optional):"
106
  msgstr ""
107
 
108
- #: wp-twitter-widget.php:507
109
  msgid "Number of seconds to wait for a response from Twitter (default 2):"
110
  msgstr ""
111
 
112
- #: wp-twitter-widget.php:511
113
  msgid "Show date/time of Tweet (rather than 2 ____ ago):"
114
  msgstr ""
115
 
116
- #: wp-twitter-widget.php:513
117
  msgid "Always"
118
  msgstr ""
119
 
120
- #: wp-twitter-widget.php:514
121
  msgid "If over an hour old"
122
  msgstr ""
123
 
124
- #: wp-twitter-widget.php:515
125
  msgid "If over a day old"
126
  msgstr ""
127
 
128
- #: wp-twitter-widget.php:516
129
  msgid "If over a week old"
130
  msgstr ""
131
 
132
- #: wp-twitter-widget.php:517
133
  msgid "If over a month old"
134
  msgstr ""
135
 
136
- #: wp-twitter-widget.php:518
137
  msgid "If over a year old"
138
  msgstr ""
139
 
140
- #: wp-twitter-widget.php:519
141
  msgid "Never"
142
  msgstr ""
143
 
144
- #: wp-twitter-widget.php:523
145
  msgid "Hide RSS Icon and Link"
146
  msgstr ""
147
 
148
- #: wp-twitter-widget.php:526
149
  msgid "Show Profile Image"
150
  msgstr ""
151
 
152
- #: wp-twitter-widget.php:530
153
  msgid "Show Link to Twitter Widget Pro"
154
  msgstr ""
155
 
156
- #: wp-twitter-widget.php:571
157
  #, php-format
158
  msgid "about %s year ago"
159
  msgid_plural "about %s years ago"
160
  msgstr[0] ""
161
  msgstr[1] ""
162
 
163
- #: wp-twitter-widget.php:572
164
  #, php-format
165
  msgid "about %s month ago"
166
  msgid_plural "about %s months ago"
167
  msgstr[0] ""
168
  msgstr[1] ""
169
 
170
- #: wp-twitter-widget.php:573
171
  #, php-format
172
  msgid "about %s week ago"
173
  msgid_plural "about %s weeks ago"
174
  msgstr[0] ""
175
  msgstr[1] ""
176
 
177
- #: wp-twitter-widget.php:574
178
  #, php-format
179
  msgid "about %s day ago"
180
  msgid_plural "about %s days ago"
181
  msgstr[0] ""
182
  msgstr[1] ""
183
 
184
- #: wp-twitter-widget.php:575
185
  #, php-format
186
  msgid "about %s hour ago"
187
  msgid_plural "about %s hours ago"
188
  msgstr[0] ""
189
  msgstr[1] ""
190
 
191
- #: wp-twitter-widget.php:576
192
  #, php-format
193
  msgid "about %s minute ago"
194
  msgid_plural "about %s minutes ago"
195
  msgstr[0] ""
196
  msgstr[1] ""
197
 
198
- #: wp-twitter-widget.php:577
199
  #, php-format
200
  msgid "about %s second ago"
201
  msgid_plural "about %s seconds ago"
202
  msgstr[0] ""
203
  msgstr[1] ""
204
 
205
- #: wp-twitter-widget.php:645
206
  msgid "Settings"
207
  msgstr ""
7
  msgstr ""
8
  "Project-Id-Version: PACKAGE VERSION\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/twitter-widget-pro\n"
10
+ "POT-Creation-Date: 2009-07-21 01:09+0000\n"
11
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
18
 
19
+ #: wp-twitter-widget.php:67
20
  msgid "Twitter Widget Pro"
21
  msgstr ""
22
 
23
+ #: wp-twitter-widget.php:83
24
  msgid "Twitter Widget Pro Options"
25
  msgstr ""
26
 
27
+ #: wp-twitter-widget.php:89
28
  msgid "Click for Help!"
29
  msgstr ""
30
 
31
+ #: wp-twitter-widget.php:90
32
  msgid "System Information:"
33
  msgstr ""
34
 
35
+ #: wp-twitter-widget.php:95
36
  msgid "I agree to send anonymous system information"
37
  msgstr ""
38
 
39
+ #: wp-twitter-widget.php:97
40
  msgid ""
41
  "You can help by sending anonymous system information that will help Xavisys "
42
  "make better decisions about new features."
43
  msgstr ""
44
 
45
+ #: wp-twitter-widget.php:98
46
  msgid ""
47
  "The information will be sent anonymously, but a unique identifier will be "
48
  "sent to prevent duplicate entries from the same installation."
49
  msgstr ""
50
 
51
+ #: wp-twitter-widget.php:104
52
  msgid "Update Options &raquo;"
53
  msgstr ""
54
 
55
+ #: wp-twitter-widget.php:142
56
  msgid "Could not connect to Twitter"
57
  msgstr ""
58
 
59
+ #: wp-twitter-widget.php:306
60
  msgid "Syndicate this content"
61
  msgstr ""
62
 
63
+ #: wp-twitter-widget.php:319
64
  msgid "No Tweets Available"
65
  msgstr ""
66
 
67
+ #: wp-twitter-widget.php:342
68
  #, php-format
69
  msgid "from %s"
70
  msgstr ""
71
 
72
+ #: wp-twitter-widget.php:346
73
  #, php-format
74
  msgid "in reply to %s"
75
  msgstr ""
76
 
77
+ #: wp-twitter-widget.php:370
78
  #, php-format
79
  msgid ""
80
  "Powered by <a href=\"%s\" title=\"Get Twitter Widget for your WordPress site"
81
  "\">WordPress Twitter Widget Pro</a>"
82
  msgstr ""
83
 
84
+ #: wp-twitter-widget.php:485
85
  msgid "Follow a Twitter Feed"
86
  msgstr ""
87
 
88
+ #: wp-twitter-widget.php:487
89
  msgid "Twitter Feed"
90
  msgstr ""
91
 
92
+ #: wp-twitter-widget.php:530
93
  msgid "Twitter username:"
94
  msgstr ""
95
 
96
+ #: wp-twitter-widget.php:534
97
  msgid "Give the feed a title (optional):"
98
  msgstr ""
99
 
100
+ #: wp-twitter-widget.php:538
101
  msgid "How many items would you like to display?"
102
  msgstr ""
103
 
104
+ #: wp-twitter-widget.php:548
105
+ msgid "Hide @replies"
106
+ msgstr ""
107
+
108
+ #: wp-twitter-widget.php:551
109
  msgid "What to display when Twitter is down (optional):"
110
  msgstr ""
111
 
112
+ #: wp-twitter-widget.php:555
113
  msgid "Number of seconds to wait for a response from Twitter (default 2):"
114
  msgstr ""
115
 
116
+ #: wp-twitter-widget.php:559
117
  msgid "Show date/time of Tweet (rather than 2 ____ ago):"
118
  msgstr ""
119
 
120
+ #: wp-twitter-widget.php:561
121
  msgid "Always"
122
  msgstr ""
123
 
124
+ #: wp-twitter-widget.php:562
125
  msgid "If over an hour old"
126
  msgstr ""
127
 
128
+ #: wp-twitter-widget.php:563
129
  msgid "If over a day old"
130
  msgstr ""
131
 
132
+ #: wp-twitter-widget.php:564
133
  msgid "If over a week old"
134
  msgstr ""
135
 
136
+ #: wp-twitter-widget.php:565
137
  msgid "If over a month old"
138
  msgstr ""
139
 
140
+ #: wp-twitter-widget.php:566
141
  msgid "If over a year old"
142
  msgstr ""
143
 
144
+ #: wp-twitter-widget.php:567
145
  msgid "Never"
146
  msgstr ""
147
 
148
+ #: wp-twitter-widget.php:571
149
  msgid "Hide RSS Icon and Link"
150
  msgstr ""
151
 
152
+ #: wp-twitter-widget.php:574
153
  msgid "Show Profile Image"
154
  msgstr ""
155
 
156
+ #: wp-twitter-widget.php:578
157
  msgid "Show Link to Twitter Widget Pro"
158
  msgstr ""
159
 
160
+ #: wp-twitter-widget.php:619
161
  #, php-format
162
  msgid "about %s year ago"
163
  msgid_plural "about %s years ago"
164
  msgstr[0] ""
165
  msgstr[1] ""
166
 
167
+ #: wp-twitter-widget.php:620
168
  #, php-format
169
  msgid "about %s month ago"
170
  msgid_plural "about %s months ago"
171
  msgstr[0] ""
172
  msgstr[1] ""
173
 
174
+ #: wp-twitter-widget.php:621
175
  #, php-format
176
  msgid "about %s week ago"
177
  msgid_plural "about %s weeks ago"
178
  msgstr[0] ""
179
  msgstr[1] ""
180
 
181
+ #: wp-twitter-widget.php:622
182
  #, php-format
183
  msgid "about %s day ago"
184
  msgid_plural "about %s days ago"
185
  msgstr[0] ""
186
  msgstr[1] ""
187
 
188
+ #: wp-twitter-widget.php:623
189
  #, php-format
190
  msgid "about %s hour ago"
191
  msgid_plural "about %s hours ago"
192
  msgstr[0] ""
193
  msgstr[1] ""
194
 
195
+ #: wp-twitter-widget.php:624
196
  #, php-format
197
  msgid "about %s minute ago"
198
  msgid_plural "about %s minutes ago"
199
  msgstr[0] ""
200
  msgstr[1] ""
201
 
202
+ #: wp-twitter-widget.php:625
203
  #, php-format
204
  msgid "about %s second ago"
205
  msgid_plural "about %s seconds ago"
206
  msgstr[0] ""
207
  msgstr[1] ""
208
 
209
+ #: wp-twitter-widget.php:693
210
  msgid "Settings"
211
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%4
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.7
6
  Tested up to: 2.8.1
7
- Stable tag: 1.4.5
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
@@ -46,6 +46,9 @@ Aparently the database queries required to display the friends feed was causing
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = 1.4.5 =
50
  * Switched to using date_i18n so dates are localized
51
 
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.7
6
  Tested up to: 2.8.1
7
+ Stable tag: 1.4.6
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
46
 
47
  == Changelog ==
48
 
49
+ = 1.4.6 =
50
+ * Added ability to hide @replies from your widget
51
+
52
  = 1.4.5 =
53
  * Switched to using date_i18n so dates are localized
54
 
upgrade.html CHANGED
@@ -1,5 +1,4 @@
1
- <a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a>
2
  <ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
3
- <li>Added Danish translation - Props <a href="http://wordpress.blogos.dk/">Georg</a></li>
4
- <li>Add ability to give more information on WHY you should upgrade on the plugins page</li>
5
  </ul>
1
+ <p><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a></p>
2
  <ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
3
+ <li>Added ability to hide @replies from the widget</li>
 
4
  </ul>
wp-twitter-widget.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
- * Version: 1.4.5
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
10
  */
11
 
12
- define('TWP_VERSION', '1.4.5');
13
 
14
  /* Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
15
 
@@ -157,7 +157,12 @@ class wpTwitterWidget
157
  if (!in_array($type, array('rss', 'json'))) {
158
  $type = 'json';
159
  }
160
- $count = ($count)? sprintf('?count=%u', $widgetOptions['items']) : '';
 
 
 
 
 
161
  return sprintf('http://twitter.com/statuses/user_timeline/%1$s.%2$s%3$s', $widgetOptions['username'], $type, $count);
162
  }
163
 
@@ -277,13 +282,13 @@ class wpTwitterWidget
277
  }
278
 
279
  $options[$number]['hiderss'] = (isset($options[$number]['hiderss']) && $options[$number]['hiderss']);
 
280
  $options[$number]['avatar'] = (isset($options[$number]['avatar']) && $options[$number]['avatar']);
281
  $options[$number]['showXavisysLink'] = (!isset($options[$number]['showXavisysLink']) || $options[$number]['showXavisysLink'] != 'false');
282
 
283
 
284
  try {
285
  $tweets = $this->_getTweets($options[$number]);
286
- $tweets = array_slice($tweets, 0, $options[$number]['items']);
287
  } catch (wpTwitterWidgetException $e) {
288
  $tweets = $e;
289
  }
@@ -319,9 +324,11 @@ class wpTwitterWidget
319
  echo '<div class="clear"></div>';
320
  echo '</li>';
321
  }
 
322
  foreach ($tweets as $tweet) {
323
- // Set our "ago" string which converts the date to "# ___(s) ago"
324
- $tweet->ago = $this->_timeSince(strtotime($tweet->created_at), $options[$number]['showts']);
 
325
  ?>
326
  <li>
327
  <span class="entry-content"><?php echo apply_filters( 'widget_twitter_content', $tweet->text ); ?></span>
@@ -349,6 +356,10 @@ replyTo;
349
  </span>
350
  </li>
351
  <?php
 
 
 
 
352
  }
353
  }
354
 
@@ -452,6 +463,7 @@ profileImage;
452
  $options[$number]['fetchTimeOut'] = attribute_escape($options[$number]['fetchTimeOut']);
453
  $options[$number]['username'] = attribute_escape($options[$number]['username']);
454
  $options[$number]['hiderss'] = (bool) $options[$number]['hiderss'];
 
455
  $options[$number]['avatar'] = (bool) $options[$number]['avatar'];
456
  $options[$number]['showXavisysLink'] = (!isset($options[$number]['showXavisysLink']) || $options[$number]['showXavisysLink'] != 'false');
457
  }
@@ -504,6 +516,7 @@ profileImage;
504
  'fetchTimeOut' => '2',
505
  'username' => '',
506
  'hiderss' => false,
 
507
  'avatar' => false,
508
  'showXavisysLink' => true,
509
  'items' => 10,
@@ -531,6 +544,9 @@ profileImage;
531
  ?>
532
  </select>
533
  </p>
 
 
 
534
  <p>
535
  <label for="twitter-errmsg-<?php echo $number; ?>"><?php _e('What to display when Twitter is down (optional):', 'twitter-widget-pro'); ?></label>
536
  <input class="widefat" id="twitter-errmsg-<?php echo $number; ?>" name="widget-twitter[<?php echo $number; ?>][errmsg]" type="text" value="<?php echo $errmsg; ?>" />
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
+ * Version: 1.4.6
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
10
  */
11
 
12
+ define('TWP_VERSION', '1.4.6');
13
 
14
  /* Copyright 2006 Aaron D. Campbell (email : wp_plugins@xavisys.com)
15
 
157
  if (!in_array($type, array('rss', 'json'))) {
158
  $type = 'json';
159
  }
160
+ if ( $count ) {
161
+ $num = ($widgetOptions['hidereplies'])? 100:$widgetOptions['items'];
162
+ $count = sprintf('?count=%u', $num);
163
+ } else {
164
+ $count = '';
165
+ }
166
  return sprintf('http://twitter.com/statuses/user_timeline/%1$s.%2$s%3$s', $widgetOptions['username'], $type, $count);
167
  }
168
 
282
  }
283
 
284
  $options[$number]['hiderss'] = (isset($options[$number]['hiderss']) && $options[$number]['hiderss']);
285
+ $options[$number]['hidereplies'] = (isset($options[$number]['hidereplies']) && $options[$number]['hidereplies']);
286
  $options[$number]['avatar'] = (isset($options[$number]['avatar']) && $options[$number]['avatar']);
287
  $options[$number]['showXavisysLink'] = (!isset($options[$number]['showXavisysLink']) || $options[$number]['showXavisysLink'] != 'false');
288
 
289
 
290
  try {
291
  $tweets = $this->_getTweets($options[$number]);
 
292
  } catch (wpTwitterWidgetException $e) {
293
  $tweets = $e;
294
  }
324
  echo '<div class="clear"></div>';
325
  echo '</li>';
326
  }
327
+ $count = 0;
328
  foreach ($tweets as $tweet) {
329
+ if (!$options[$number]['hidereplies'] || empty($tweet->in_reply_to_user_id)) {
330
+ // Set our "ago" string which converts the date to "# ___(s) ago"
331
+ $tweet->ago = $this->_timeSince(strtotime($tweet->created_at), $options[$number]['showts']);
332
  ?>
333
  <li>
334
  <span class="entry-content"><?php echo apply_filters( 'widget_twitter_content', $tweet->text ); ?></span>
356
  </span>
357
  </li>
358
  <?php
359
+ if (++$count >= $options[$number]['items']) {
360
+ break;
361
+ }
362
+ }
363
  }
364
  }
365
 
463
  $options[$number]['fetchTimeOut'] = attribute_escape($options[$number]['fetchTimeOut']);
464
  $options[$number]['username'] = attribute_escape($options[$number]['username']);
465
  $options[$number]['hiderss'] = (bool) $options[$number]['hiderss'];
466
+ $options[$number]['hidereplies'] = (bool) $options[$number]['hidereplies'];
467
  $options[$number]['avatar'] = (bool) $options[$number]['avatar'];
468
  $options[$number]['showXavisysLink'] = (!isset($options[$number]['showXavisysLink']) || $options[$number]['showXavisysLink'] != 'false');
469
  }
516
  'fetchTimeOut' => '2',
517
  'username' => '',
518
  'hiderss' => false,
519
+ 'hidereplies' => false,
520
  'avatar' => false,
521
  'showXavisysLink' => true,
522
  'items' => 10,
544
  ?>
545
  </select>
546
  </p>
547
+ <p>
548
+ <label for="twitter-hidereplies-<?php echo $number; ?>"><input class="checkbox" type="checkbox" id="twitter-hidereplies-<?php echo $number; ?>" name="widget-twitter[<?php echo $number; ?>][hidereplies]"<?php checked($hidereplies, true); ?> /> <?php _e('Hide @replies', 'twitter-widget-pro'); ?></label>
549
+ </p>
550
  <p>
551
  <label for="twitter-errmsg-<?php echo $number; ?>"><?php _e('What to display when Twitter is down (optional):', 'twitter-widget-pro'); ?></label>
552
  <input class="widefat" id="twitter-errmsg-<?php echo $number; ?>" name="widget-twitter[<?php echo $number; ?>][errmsg]" type="text" value="<?php echo $errmsg; ?>" />