Bläddra i källkod

Merge branch 'master' of github.com:asciimoo/searx

Adam Tauber 10 år sedan
förälder
incheckning
d6b1ff08ad
29 ändrade filer med 408 tillägg och 134 borttagningar
  1. 11
    4
      searx/engines/dailymotion.py
  2. 61
    0
      searx/engines/deezer.py
  3. 12
    2
      searx/engines/soundcloud.py
  4. 17
    7
      searx/engines/vimeo.py
  5. 11
    2
      searx/engines/youtube.py
  6. 4
    0
      searx/settings.yml
  7. 2
    2
      searx/static/themes/oscar/js/searx.min.js
  8. 12
    0
      searx/static/themes/oscar/js/searx_src/element_modifiers.js
  9. 12
    0
      searx/templates/oscar/result_templates/default.html
  10. 12
    0
      searx/templates/oscar/result_templates/videos.html
  11. Binär
      searx/translations/de/LC_MESSAGES/messages.mo
  12. 25
    9
      searx/translations/de/LC_MESSAGES/messages.po
  13. Binär
      searx/translations/en/LC_MESSAGES/messages.mo
  14. 25
    9
      searx/translations/en/LC_MESSAGES/messages.po
  15. Binär
      searx/translations/es/LC_MESSAGES/messages.mo
  16. 25
    15
      searx/translations/es/LC_MESSAGES/messages.po
  17. Binär
      searx/translations/fr/LC_MESSAGES/messages.mo
  18. 25
    9
      searx/translations/fr/LC_MESSAGES/messages.po
  19. Binär
      searx/translations/hu/LC_MESSAGES/messages.mo
  20. 25
    9
      searx/translations/hu/LC_MESSAGES/messages.po
  21. Binär
      searx/translations/it/LC_MESSAGES/messages.mo
  22. 25
    15
      searx/translations/it/LC_MESSAGES/messages.po
  23. Binär
      searx/translations/ja/LC_MESSAGES/messages.mo
  24. 25
    15
      searx/translations/ja/LC_MESSAGES/messages.po
  25. Binär
      searx/translations/nl/LC_MESSAGES/messages.mo
  26. 25
    9
      searx/translations/nl/LC_MESSAGES/messages.po
  27. Binär
      searx/translations/tr/LC_MESSAGES/messages.mo
  28. 53
    26
      searx/translations/tr/LC_MESSAGES/messages.po
  29. 1
    1
      utils/update-translations.sh

+ 11
- 4
searx/engines/dailymotion.py Visa fil

@@ -6,12 +6,14 @@
6 6
 # @using-api   yes
7 7
 # @results     JSON
8 8
 # @stable      yes
9
-# @parse       url, title, thumbnail
9
+# @parse       url, title, thumbnail, publishedDate, embedded
10 10
 #
11 11
 # @todo        set content-parameter with correct data
12 12
 
13 13
 from urllib import urlencode
14 14
 from json import loads
15
+from cgi import escape
16
+from datetime import datetime
15 17
 
16 18
 # engine dependent config
17 19
 categories = ['videos']
@@ -20,7 +22,9 @@ language_support = True
20 22
 
21 23
 # search-url
22 24
 # see http://www.dailymotion.com/doc/api/obj-video.html
23
-search_url = 'https://api.dailymotion.com/videos?fields=title,description,duration,url,thumbnail_360_url&sort=relevance&limit=5&page={pageno}&{query}'  # noqa
25
+search_url = 'https://api.dailymotion.com/videos?fields=created_time,title,description,duration,url,thumbnail_360_url,id&sort=relevance&limit=5&page={pageno}&{query}'  # noqa
26
+embedded_url = '<iframe frameborder="0" width="540" height="304" ' +\
27
+    'data-src="//www.dailymotion.com/embed/video/{videoid}" allowfullscreen></iframe>'
24 28
 
25 29
 
26 30
 # do search-request
@@ -51,14 +55,17 @@ def response(resp):
51 55
     for res in search_res['list']:
52 56
         title = res['title']
53 57
         url = res['url']
54
-        #content = res['description']
55
-        content = ''
58
+        content = escape(res['description'])
56 59
         thumbnail = res['thumbnail_360_url']
60
+        publishedDate = datetime.fromtimestamp(res['created_time'], None)
61
+        embedded = embedded_url.format(videoid=res['id'])
57 62
 
58 63
         results.append({'template': 'videos.html',
59 64
                         'url': url,
60 65
                         'title': title,
61 66
                         'content': content,
67
+                        'publishedDate': publishedDate,
68
+                        'embedded': embedded,
62 69
                         'thumbnail': thumbnail})
63 70
 
64 71
     # return results

+ 61
- 0
searx/engines/deezer.py Visa fil

@@ -0,0 +1,61 @@
1
+## Deezer (Music)
2
+#
3
+# @website     https://deezer.com
4
+# @provide-api yes (http://developers.deezer.com/api/)
5
+#
6
+# @using-api   yes
7
+# @results     JSON
8
+# @stable      yes
9
+# @parse       url, title, content, embedded
10
+
11
+from json import loads
12
+from urllib import urlencode
13
+
14
+# engine dependent config
15
+categories = ['music']
16
+paging = True
17
+
18
+# search-url
19
+url = 'http://api.deezer.com/'
20
+search_url = url + 'search?{query}&index={offset}'
21
+
22
+embedded_url = '<iframe scrolling="no" frameborder="0" allowTransparency="true" ' +\
23
+    'data-src="http://www.deezer.com/plugins/player?type=tracks&id={audioid}" ' +\
24
+    'width="540" height="80"></iframe>'
25
+
26
+
27
+# do search-request
28
+def request(query, params):
29
+    offset = (params['pageno'] - 1) * 25
30
+
31
+    params['url'] = search_url.format(query=urlencode({'q': query}),
32
+                                      offset=offset)
33
+
34
+    return params
35
+
36
+
37
+# get response from search-request
38
+def response(resp):
39
+    results = []
40
+
41
+    search_res = loads(resp.text)
42
+
43
+    # parse results
44
+    for result in search_res.get('data', []):
45
+        if result['type'] == 'track':
46
+            title = result['title']
47
+            url = result['link']
48
+            content = result['artist']['name'] +\
49
+                " &bull; " +\
50
+                result['album']['title'] +\
51
+                " &bull; " + result['title']
52
+            embedded = embedded_url.format(audioid=result['id'])
53
+
54
+            # append result
55
+            results.append({'url': url,
56
+                            'title': title,
57
+                            'embedded': embedded,
58
+                            'content': content})
59
+
60
+    # return results
61
+    return results

+ 12
- 2
searx/engines/soundcloud.py Visa fil

@@ -6,10 +6,11 @@
6 6
 # @using-api   yes
7 7
 # @results     JSON
8 8
 # @stable      yes
9
-# @parse       url, title, content
9
+# @parse       url, title, content, publishedDate, embedded
10 10
 
11 11
 from json import loads
12
-from urllib import urlencode
12
+from urllib import urlencode, quote_plus
13
+from dateutil import parser
13 14
 
14 15
 # engine dependent config
15 16
 categories = ['music']
@@ -27,6 +28,10 @@ search_url = url + 'search?{query}'\
27 28
                          '&linked_partitioning=1'\
28 29
                          '&client_id={client_id}'   # noqa
29 30
 
31
+embedded_url = '<iframe width="100%" height="166" ' +\
32
+    'scrolling="no" frameborder="no" ' +\
33
+    'data-src="https://w.soundcloud.com/player/?url={uri}"></iframe>'
34
+
30 35
 
31 36
 # do search-request
32 37
 def request(query, params):
@@ -50,10 +55,15 @@ def response(resp):
50 55
         if result['kind'] in ('track', 'playlist'):
51 56
             title = result['title']
52 57
             content = result['description']
58
+            publishedDate = parser.parse(result['last_modified'])
59
+            uri = quote_plus(result['uri'])
60
+            embedded = embedded_url.format(uri=uri)
53 61
 
54 62
             # append result
55 63
             results.append({'url': result['permalink_url'],
56 64
                             'title': title,
65
+                            'publishedDate': publishedDate,
66
+                            'embedded': embedded,
57 67
                             'content': content})
58 68
 
59 69
     # return results

+ 17
- 7
searx/engines/vimeo.py Visa fil

@@ -1,4 +1,4 @@
1
-## Vimeo (Videos)
1
+#  Vimeo (Videos)
2 2
 #
3 3
 # @website     https://vimeo.com/
4 4
 # @provide-api yes (http://developer.vimeo.com/api),
@@ -7,15 +7,16 @@
7 7
 # @using-api   no (TODO, rewrite to api)
8 8
 # @results     HTML (using search portal)
9 9
 # @stable      no (HTML can change)
10
-# @parse       url, title, publishedDate,  thumbnail
10
+# @parse       url, title, publishedDate,  thumbnail, embedded
11 11
 #
12 12
 # @todo        rewrite to api
13 13
 # @todo        set content-parameter with correct data
14 14
 
15 15
 from urllib import urlencode
16 16
 from lxml import html
17
+from HTMLParser import HTMLParser
18
+from searx.engines.xpath import extract_text
17 19
 from dateutil import parser
18
-from cgi import escape
19 20
 
20 21
 # engine dependent config
21 22
 categories = ['videos']
@@ -32,6 +33,10 @@ title_xpath = './a/div[@class="data"]/p[@class="title"]'
32 33
 content_xpath = './a/img/@src'
33 34
 publishedDate_xpath = './/p[@class="meta"]//attribute::datetime'
34 35
 
36
+embedded_url = '<iframe data-src="//player.vimeo.com/video{videoid}" ' +\
37
+    'width="540" height="304" frameborder="0" ' +\
38
+    'webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'
39
+
35 40
 
36 41
 # do search-request
37 42
 def request(query, params):
@@ -46,13 +51,17 @@ def response(resp):
46 51
     results = []
47 52
 
48 53
     dom = html.fromstring(resp.text)
54
+    p = HTMLParser()
49 55
 
50 56
     # parse results
51 57
     for result in dom.xpath(results_xpath):
52
-        url = base_url + result.xpath(url_xpath)[0]
53
-        title = escape(html.tostring(result.xpath(title_xpath)[0], method='text', encoding='UTF-8').decode("utf-8"))
54
-        thumbnail = result.xpath(content_xpath)[0]
55
-        publishedDate = parser.parse(result.xpath(publishedDate_xpath)[0])
58
+        videoid = result.xpath(url_xpath)[0]
59
+        url = base_url + videoid
60
+        title = p.unescape(extract_text(result.xpath(title_xpath)))
61
+        thumbnail = extract_text(result.xpath(content_xpath)[0])
62
+        publishedDate = parser.parse(extract_text(
63
+            result.xpath(publishedDate_xpath)[0]))
64
+        embedded = embedded_url.format(videoid=videoid)
56 65
 
57 66
         # append result
58 67
         results.append({'url': url,
@@ -60,6 +69,7 @@ def response(resp):
60 69
                         'content': '',
61 70
                         'template': 'videos.html',
62 71
                         'publishedDate': publishedDate,
72
+                        'embedded': embedded,
63 73
                         'thumbnail': thumbnail})
64 74
 
65 75
     # return results

+ 11
- 2
searx/engines/youtube.py Visa fil

@@ -6,7 +6,7 @@
6 6
 # @using-api   yes
7 7
 # @results     JSON
8 8
 # @stable      yes
9
-# @parse       url, title, content, publishedDate, thumbnail
9
+# @parse       url, title, content, publishedDate, thumbnail, embedded
10 10
 
11 11
 from json import loads
12 12
 from urllib import urlencode
@@ -19,7 +19,11 @@ language_support = True
19 19
 
20 20
 # search-url
21 21
 base_url = 'https://gdata.youtube.com/feeds/api/videos'
22
-search_url = base_url + '?alt=json&{query}&start-index={index}&max-results=5'  # noqa
22
+search_url = base_url + '?alt=json&{query}&start-index={index}&max-results=5'
23
+
24
+embedded_url = '<iframe width="540" height="304" ' +\
25
+    'data-src="//www.youtube-nocookie.com/embed/{videoid}" ' +\
26
+    'frameborder="0" allowfullscreen></iframe>'
23 27
 
24 28
 
25 29
 # do search-request
@@ -60,6 +64,8 @@ def response(resp):
60 64
         if url.endswith('&'):
61 65
             url = url[:-1]
62 66
 
67
+        videoid = url[32:]
68
+
63 69
         title = result['title']['$t']
64 70
         content = ''
65 71
         thumbnail = ''
@@ -72,12 +78,15 @@ def response(resp):
72 78
 
73 79
         content = result['content']['$t']
74 80
 
81
+        embedded = embedded_url.format(videoid=videoid)
82
+
75 83
         # append result
76 84
         results.append({'url': url,
77 85
                         'title': title,
78 86
                         'content': content,
79 87
                         'template': 'videos.html',
80 88
                         'publishedDate': publishedDate,
89
+                        'embedded': embedded,
81 90
                         'thumbnail': thumbnail})
82 91
 
83 92
     # return results

+ 4
- 0
searx/settings.yml Visa fil

@@ -35,6 +35,10 @@ engines:
35 35
     engine : currency_convert
36 36
     categories : general
37 37
     shortcut : cc
38
+    
39
+  - name : deezer
40
+    engine : deezer
41
+    shortcut : dz
38 42
 
39 43
   - name : deviantart
40 44
     engine : deviantart

+ 2
- 2
searx/static/themes/oscar/js/searx.min.js
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil


+ 12
- 0
searx/static/themes/oscar/js/searx_src/element_modifiers.js Visa fil

@@ -63,6 +63,18 @@ $(document).ready(function(){
63 63
         $(this).toggleClass(btnClass);
64 64
         $(this).toggleClass('btn-default');
65 65
     });
66
+	
67
+	/**
68
+     * change text during btn-toggle click if possible
69
+     */
70
+    $('.media-loader').click(function() {
71
+        var target = $(this).data('target');
72
+        var iframe_load = $(target + ' > iframe');
73
+        var srctest = iframe_load.attr('src');
74
+        if(srctest === undefined || srctest === false){
75
+            iframe_load.attr('src', iframe_load.data('src'));
76
+        }
77
+    });
66 78
     
67 79
     /**
68 80
      * Select or deselect every categories on double clic

+ 12
- 0
searx/templates/oscar/result_templates/default.html Visa fil

@@ -5,6 +5,18 @@
5 5
 {% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
6 6
 <small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
7 7
 
8
+{% if result.embedded %}
9
+    <small> &bull; <a class="text-info btn-collapse collapsed cursor-pointer media-loader" data-toggle="collapse" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music') }} {{ _('show media') }}</a></small>
10
+{% endif %}
11
+
12
+{% if result.embedded %}
13
+<div id="result-media-{{ index }}" class="collapse">
14
+{% autoescape false %}
15
+   {{ result.embedded }}
16
+{% endautoescape %}
17
+</div>
18
+{% endif %}
19
+
8 20
 {% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
9 21
 
10 22
 <div class="clearfix"></div>

+ 12
- 0
searx/templates/oscar/result_templates/videos.html Visa fil

@@ -5,6 +5,18 @@
5 5
 {% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
6 6
 <small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
7 7
 
8
+{% if result.embedded %}
9
+    <small> &bull; <a class="text-info btn-collapse collapsed cursor-pointer media-loader" data-toggle="collapse" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film') }} {{ _('show video') }}</a></small>
10
+{% endif %}
11
+
12
+{% if result.embedded %}
13
+<div id="result-video-{{ index }}" class="collapse">
14
+{% autoescape false %}
15
+   {{ result.embedded }}
16
+{% endautoescape %}
17
+</div>
18
+{% endif %}
19
+
8 20
 <div class="container-fluid">
9 21
     <div class="row">
10 22
         <a href="{{ result.url }}"><img class="thumbnail col-xs-6 col-sm-4 col-md-4 result-content" src="{{ result.thumbnail|safe }}" alt="{{ result.title|striptags }} {{ result.engine }}" /></a>

Binär
searx/translations/de/LC_MESSAGES/messages.mo Visa fil


+ 25
- 9
searx/translations/de/LC_MESSAGES/messages.po Visa fil

@@ -10,7 +10,7 @@ msgid ""
10 10
 msgstr ""
11 11
 "Project-Id-Version:  searx\n"
12 12
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
13
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
13
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
14 14
 "PO-Revision-Date: 2014-12-27 10:30+0000\n"
15 15
 "Last-Translator: pointhi\n"
16 16
 "Language-Team: German "
@@ -21,11 +21,11 @@ msgstr ""
21 21
 "Content-Transfer-Encoding: 8bit\n"
22 22
 "Generated-By: Babel 1.3\n"
23 23
 
24
-#: searx/webapp.py:247
24
+#: searx/webapp.py:263
25 25
 msgid "{minutes} minute(s) ago"
26 26
 msgstr "vor {minutes} Minute(n)"
27 27
 
28
-#: searx/webapp.py:249
28
+#: searx/webapp.py:265
29 29
 msgid "{hours} hour(s), {minutes} minute(s) ago"
30 30
 msgstr "vor {hours} Stunde(n), {minutes} Minute(n)"
31 31
 
@@ -173,31 +173,31 @@ msgstr "Zurück"
173 173
 
174 174
 #: searx/templates/courgette/results.html:12
175 175
 #: searx/templates/default/results.html:12
176
-#: searx/templates/oscar/results.html:83
176
+#: searx/templates/oscar/results.html:87
177 177
 msgid "Search URL"
178 178
 msgstr "Such-URL"
179 179
 
180 180
 #: searx/templates/courgette/results.html:16
181 181
 #: searx/templates/default/results.html:16
182
-#: searx/templates/oscar/results.html:88
182
+#: searx/templates/oscar/results.html:92
183 183
 msgid "Download results"
184 184
 msgstr "Ergebnisse herunterladen"
185 185
 
186 186
 #: searx/templates/courgette/results.html:34
187 187
 #: searx/templates/default/results.html:42
188
-#: searx/templates/oscar/results.html:63
188
+#: searx/templates/oscar/results.html:67
189 189
 msgid "Suggestions"
190 190
 msgstr "Vorschläge"
191 191
 
192 192
 #: searx/templates/courgette/results.html:62
193 193
 #: searx/templates/default/results.html:78
194
-#: searx/templates/oscar/results.html:37
194
+#: searx/templates/oscar/results.html:41
195 195
 msgid "previous page"
196 196
 msgstr "vorherige Seite"
197 197
 
198 198
 #: searx/templates/courgette/results.html:73
199 199
 #: searx/templates/default/results.html:89
200
-#: searx/templates/oscar/results.html:45
200
+#: searx/templates/oscar/results.html:49
201 201
 msgid "next page"
202 202
 msgstr "nächste Seite"
203 203
 
@@ -276,7 +276,7 @@ msgstr "ändere das Aussehen von searx"
276 276
 msgid "Search results"
277 277
 msgstr "Suchergebnisse"
278 278
 
279
-#: searx/templates/oscar/results.html:78
279
+#: searx/templates/oscar/results.html:82
280 280
 msgid "Links"
281 281
 msgstr "Links"
282 282
 
@@ -360,6 +360,14 @@ msgstr "Irgendetwas ist falsch gelaufen."
360 360
 msgid "cached"
361 361
 msgstr "Im Cache"
362 362
 
363
+#: searx/templates/oscar/result_templates/default.html:9
364
+msgid "show media"
365
+msgstr ""
366
+
367
+#: searx/templates/oscar/result_templates/default.html:9
368
+msgid "hide media"
369
+msgstr ""
370
+
363 371
 #: searx/templates/oscar/result_templates/images.html:21
364 372
 msgid "Get image"
365 373
 msgstr "Bild ansehen"
@@ -392,6 +400,14 @@ msgstr "Seeder"
392 400
 msgid "Leecher"
393 401
 msgstr "Leecher"
394 402
 
403
+#: searx/templates/oscar/result_templates/videos.html:9
404
+msgid "show video"
405
+msgstr ""
406
+
407
+#: searx/templates/oscar/result_templates/videos.html:9
408
+msgid "hide video"
409
+msgstr ""
410
+
395 411
 msgid "Localization"
396 412
 msgstr "Übersetzung"
397 413
 

Binär
searx/translations/en/LC_MESSAGES/messages.mo Visa fil


+ 25
- 9
searx/translations/en/LC_MESSAGES/messages.po Visa fil

@@ -7,7 +7,7 @@ msgid ""
7 7
 msgstr ""
8 8
 "Project-Id-Version: PROJECT VERSION\n"
9 9
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
10
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
11 11
 "PO-Revision-Date: 2014-01-30 15:22+0100\n"
12 12
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 13
 "Language-Team: en <LL@li.org>\n"
@@ -17,11 +17,11 @@ msgstr ""
17 17
 "Content-Transfer-Encoding: 8bit\n"
18 18
 "Generated-By: Babel 1.3\n"
19 19
 
20
-#: searx/webapp.py:247
20
+#: searx/webapp.py:263
21 21
 msgid "{minutes} minute(s) ago"
22 22
 msgstr ""
23 23
 
24
-#: searx/webapp.py:249
24
+#: searx/webapp.py:265
25 25
 msgid "{hours} hour(s), {minutes} minute(s) ago"
26 26
 msgstr ""
27 27
 
@@ -165,31 +165,31 @@ msgstr ""
165 165
 
166 166
 #: searx/templates/courgette/results.html:12
167 167
 #: searx/templates/default/results.html:12
168
-#: searx/templates/oscar/results.html:83
168
+#: searx/templates/oscar/results.html:87
169 169
 msgid "Search URL"
170 170
 msgstr ""
171 171
 
172 172
 #: searx/templates/courgette/results.html:16
173 173
 #: searx/templates/default/results.html:16
174
-#: searx/templates/oscar/results.html:88
174
+#: searx/templates/oscar/results.html:92
175 175
 msgid "Download results"
176 176
 msgstr ""
177 177
 
178 178
 #: searx/templates/courgette/results.html:34
179 179
 #: searx/templates/default/results.html:42
180
-#: searx/templates/oscar/results.html:63
180
+#: searx/templates/oscar/results.html:67
181 181
 msgid "Suggestions"
182 182
 msgstr ""
183 183
 
184 184
 #: searx/templates/courgette/results.html:62
185 185
 #: searx/templates/default/results.html:78
186
-#: searx/templates/oscar/results.html:37
186
+#: searx/templates/oscar/results.html:41
187 187
 msgid "previous page"
188 188
 msgstr ""
189 189
 
190 190
 #: searx/templates/courgette/results.html:73
191 191
 #: searx/templates/default/results.html:89
192
-#: searx/templates/oscar/results.html:45
192
+#: searx/templates/oscar/results.html:49
193 193
 msgid "next page"
194 194
 msgstr ""
195 195
 
@@ -265,7 +265,7 @@ msgstr ""
265 265
 msgid "Search results"
266 266
 msgstr ""
267 267
 
268
-#: searx/templates/oscar/results.html:78
268
+#: searx/templates/oscar/results.html:82
269 269
 msgid "Links"
270 270
 msgstr ""
271 271
 
@@ -346,6 +346,14 @@ msgstr ""
346 346
 msgid "cached"
347 347
 msgstr ""
348 348
 
349
+#: searx/templates/oscar/result_templates/default.html:9
350
+msgid "show media"
351
+msgstr ""
352
+
353
+#: searx/templates/oscar/result_templates/default.html:9
354
+msgid "hide media"
355
+msgstr ""
356
+
349 357
 #: searx/templates/oscar/result_templates/images.html:21
350 358
 msgid "Get image"
351 359
 msgstr ""
@@ -378,6 +386,14 @@ msgstr ""
378 386
 msgid "Leecher"
379 387
 msgstr ""
380 388
 
389
+#: searx/templates/oscar/result_templates/videos.html:9
390
+msgid "show video"
391
+msgstr ""
392
+
393
+#: searx/templates/oscar/result_templates/videos.html:9
394
+msgid "hide video"
395
+msgstr ""
396
+
381 397
 msgid "Localization"
382 398
 msgstr ""
383 399
 

Binär
searx/translations/es/LC_MESSAGES/messages.mo Visa fil


+ 25
- 15
searx/translations/es/LC_MESSAGES/messages.po Visa fil

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version:  searx\n"
10 10
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
11
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
12 12
 "PO-Revision-Date: 2014-11-26 20:38+0000\n"
13 13
 "Last-Translator: Adam Tauber <asciimoo@gmail.com>\n"
14 14
 "Language-Team: Spanish "
@@ -19,11 +19,11 @@ msgstr ""
19 19
 "Content-Transfer-Encoding: 8bit\n"
20 20
 "Generated-By: Babel 1.3\n"
21 21
 
22
-#: searx/webapp.py:247
22
+#: searx/webapp.py:263
23 23
 msgid "{minutes} minute(s) ago"
24 24
 msgstr "hace {minutes} minuto(s)"
25 25
 
26
-#: searx/webapp.py:249
26
+#: searx/webapp.py:265
27 27
 msgid "{hours} hour(s), {minutes} minute(s) ago"
28 28
 msgstr "hace {hours} hora(s) y {minutes} minuto(s)"
29 29
 
@@ -171,31 +171,31 @@ msgstr "Atrás"
171 171
 
172 172
 #: searx/templates/courgette/results.html:12
173 173
 #: searx/templates/default/results.html:12
174
-#: searx/templates/oscar/results.html:83
174
+#: searx/templates/oscar/results.html:87
175 175
 msgid "Search URL"
176 176
 msgstr "Buscar URL"
177 177
 
178 178
 #: searx/templates/courgette/results.html:16
179 179
 #: searx/templates/default/results.html:16
180
-#: searx/templates/oscar/results.html:88
180
+#: searx/templates/oscar/results.html:92
181 181
 msgid "Download results"
182 182
 msgstr "Descargar resultados"
183 183
 
184 184
 #: searx/templates/courgette/results.html:34
185 185
 #: searx/templates/default/results.html:42
186
-#: searx/templates/oscar/results.html:63
186
+#: searx/templates/oscar/results.html:67
187 187
 msgid "Suggestions"
188 188
 msgstr "Sugerencias"
189 189
 
190 190
 #: searx/templates/courgette/results.html:62
191 191
 #: searx/templates/default/results.html:78
192
-#: searx/templates/oscar/results.html:37
192
+#: searx/templates/oscar/results.html:41
193 193
 msgid "previous page"
194 194
 msgstr "Página anterior"
195 195
 
196 196
 #: searx/templates/courgette/results.html:73
197 197
 #: searx/templates/default/results.html:89
198
-#: searx/templates/oscar/results.html:45
198
+#: searx/templates/oscar/results.html:49
199 199
 msgid "next page"
200 200
 msgstr "Página siguiente"
201 201
 
@@ -271,7 +271,7 @@ msgstr ""
271 271
 msgid "Search results"
272 272
 msgstr ""
273 273
 
274
-#: searx/templates/oscar/results.html:78
274
+#: searx/templates/oscar/results.html:82
275 275
 msgid "Links"
276 276
 msgstr ""
277 277
 
@@ -352,6 +352,14 @@ msgstr ""
352 352
 msgid "cached"
353 353
 msgstr ""
354 354
 
355
+#: searx/templates/oscar/result_templates/default.html:9
356
+msgid "show media"
357
+msgstr ""
358
+
359
+#: searx/templates/oscar/result_templates/default.html:9
360
+msgid "hide media"
361
+msgstr ""
362
+
355 363
 #: searx/templates/oscar/result_templates/images.html:21
356 364
 msgid "Get image"
357 365
 msgstr ""
@@ -384,6 +392,14 @@ msgstr ""
384 392
 msgid "Leecher"
385 393
 msgstr ""
386 394
 
395
+#: searx/templates/oscar/result_templates/videos.html:9
396
+msgid "show video"
397
+msgstr ""
398
+
399
+#: searx/templates/oscar/result_templates/videos.html:9
400
+msgid "hide video"
401
+msgstr ""
402
+
387 403
 msgid "Localization"
388 404
 msgstr ""
389 405
 
@@ -404,15 +420,9 @@ msgstr "General"
404 420
 msgid "music"
405 421
 msgstr "Música"
406 422
 
407
-msgid "social media"
408
-msgstr "Medios sociales"
409
-
410 423
 msgid "images"
411 424
 msgstr "Imágenes"
412 425
 
413
-msgid "videos"
414
-msgstr "Vídeos"
415
-
416 426
 msgid "it"
417 427
 msgstr "TIC"
418 428
 

Binär
searx/translations/fr/LC_MESSAGES/messages.mo Visa fil


+ 25
- 9
searx/translations/fr/LC_MESSAGES/messages.po Visa fil

@@ -11,7 +11,7 @@ msgid ""
11 11
 msgstr ""
12 12
 "Project-Id-Version:  searx\n"
13 13
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
14
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
14
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
15 15
 "PO-Revision-Date: 2014-12-14 21:00+0000\n"
16 16
 "Last-Translator: Cqoicebordel <david.barouh@wanadoo.fr>\n"
17 17
 "Language-Team: French "
@@ -22,11 +22,11 @@ msgstr ""
22 22
 "Content-Transfer-Encoding: 8bit\n"
23 23
 "Generated-By: Babel 1.3\n"
24 24
 
25
-#: searx/webapp.py:247
25
+#: searx/webapp.py:263
26 26
 msgid "{minutes} minute(s) ago"
27 27
 msgstr "il y a {minutes} minute(s)"
28 28
 
29
-#: searx/webapp.py:249
29
+#: searx/webapp.py:265
30 30
 msgid "{hours} hour(s), {minutes} minute(s) ago"
31 31
 msgstr "il y a {hours} heure(s), {minutes} minute(s)"
32 32
 
@@ -174,31 +174,31 @@ msgstr "retour"
174 174
 
175 175
 #: searx/templates/courgette/results.html:12
176 176
 #: searx/templates/default/results.html:12
177
-#: searx/templates/oscar/results.html:83
177
+#: searx/templates/oscar/results.html:87
178 178
 msgid "Search URL"
179 179
 msgstr "URL de recherche"
180 180
 
181 181
 #: searx/templates/courgette/results.html:16
182 182
 #: searx/templates/default/results.html:16
183
-#: searx/templates/oscar/results.html:88
183
+#: searx/templates/oscar/results.html:92
184 184
 msgid "Download results"
185 185
 msgstr "Télécharger les résultats"
186 186
 
187 187
 #: searx/templates/courgette/results.html:34
188 188
 #: searx/templates/default/results.html:42
189
-#: searx/templates/oscar/results.html:63
189
+#: searx/templates/oscar/results.html:67
190 190
 msgid "Suggestions"
191 191
 msgstr "Suggestions"
192 192
 
193 193
 #: searx/templates/courgette/results.html:62
194 194
 #: searx/templates/default/results.html:78
195
-#: searx/templates/oscar/results.html:37
195
+#: searx/templates/oscar/results.html:41
196 196
 msgid "previous page"
197 197
 msgstr "page précédente"
198 198
 
199 199
 #: searx/templates/courgette/results.html:73
200 200
 #: searx/templates/default/results.html:89
201
-#: searx/templates/oscar/results.html:45
201
+#: searx/templates/oscar/results.html:49
202 202
 msgid "next page"
203 203
 msgstr "page suivante"
204 204
 
@@ -277,7 +277,7 @@ msgstr "Modifier l'affichage de searx"
277 277
 msgid "Search results"
278 278
 msgstr "Résultats de recherche"
279 279
 
280
-#: searx/templates/oscar/results.html:78
280
+#: searx/templates/oscar/results.html:82
281 281
 msgid "Links"
282 282
 msgstr "Liens"
283 283
 
@@ -362,6 +362,14 @@ msgstr "Il y a un problème."
362 362
 msgid "cached"
363 363
 msgstr "en cache"
364 364
 
365
+#: searx/templates/oscar/result_templates/default.html:9
366
+msgid "show media"
367
+msgstr "afficher le média"
368
+
369
+#: searx/templates/oscar/result_templates/default.html:9
370
+msgid "hide media"
371
+msgstr "cacher le media"
372
+
365 373
 #: searx/templates/oscar/result_templates/images.html:21
366 374
 msgid "Get image"
367 375
 msgstr "Voir l'image"
@@ -394,6 +402,14 @@ msgstr "Sources"
394 402
 msgid "Leecher"
395 403
 msgstr "Téléchargeurs"
396 404
 
405
+#: searx/templates/oscar/result_templates/videos.html:9
406
+msgid "show video"
407
+msgstr "afficher la vidéo"
408
+
409
+#: searx/templates/oscar/result_templates/videos.html:9
410
+msgid "hide video"
411
+msgstr "cacher la vidéo"
412
+
397 413
 msgid "Localization"
398 414
 msgstr "Localisation"
399 415
 

Binär
searx/translations/hu/LC_MESSAGES/messages.mo Visa fil


+ 25
- 9
searx/translations/hu/LC_MESSAGES/messages.po Visa fil

@@ -9,7 +9,7 @@ msgid ""
9 9
 msgstr ""
10 10
 "Project-Id-Version:  searx\n"
11 11
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
12
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
12
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
13 13
 "PO-Revision-Date: 2014-12-22 16:11+0000\n"
14 14
 "Last-Translator: Adam Tauber <asciimoo@gmail.com>\n"
15 15
 "Language-Team: Hungarian "
@@ -20,11 +20,11 @@ msgstr ""
20 20
 "Content-Transfer-Encoding: 8bit\n"
21 21
 "Generated-By: Babel 1.3\n"
22 22
 
23
-#: searx/webapp.py:247
23
+#: searx/webapp.py:263
24 24
 msgid "{minutes} minute(s) ago"
25 25
 msgstr "{minutes} perce"
26 26
 
27
-#: searx/webapp.py:249
27
+#: searx/webapp.py:265
28 28
 msgid "{hours} hour(s), {minutes} minute(s) ago"
29 29
 msgstr "{hours} óra, {minutes} perce"
30 30
 
@@ -170,31 +170,31 @@ msgstr "vissza"
170 170
 
171 171
 #: searx/templates/courgette/results.html:12
172 172
 #: searx/templates/default/results.html:12
173
-#: searx/templates/oscar/results.html:83
173
+#: searx/templates/oscar/results.html:87
174 174
 msgid "Search URL"
175 175
 msgstr "Keresési URL"
176 176
 
177 177
 #: searx/templates/courgette/results.html:16
178 178
 #: searx/templates/default/results.html:16
179
-#: searx/templates/oscar/results.html:88
179
+#: searx/templates/oscar/results.html:92
180 180
 msgid "Download results"
181 181
 msgstr "Találatok letöltése"
182 182
 
183 183
 #: searx/templates/courgette/results.html:34
184 184
 #: searx/templates/default/results.html:42
185
-#: searx/templates/oscar/results.html:63
185
+#: searx/templates/oscar/results.html:67
186 186
 msgid "Suggestions"
187 187
 msgstr "Javaslatok"
188 188
 
189 189
 #: searx/templates/courgette/results.html:62
190 190
 #: searx/templates/default/results.html:78
191
-#: searx/templates/oscar/results.html:37
191
+#: searx/templates/oscar/results.html:41
192 192
 msgid "previous page"
193 193
 msgstr "előző oldal"
194 194
 
195 195
 #: searx/templates/courgette/results.html:73
196 196
 #: searx/templates/default/results.html:89
197
-#: searx/templates/oscar/results.html:45
197
+#: searx/templates/oscar/results.html:49
198 198
 msgid "next page"
199 199
 msgstr "következő oldal"
200 200
 
@@ -273,7 +273,7 @@ msgstr "Megjelenés"
273 273
 msgid "Search results"
274 274
 msgstr "Keresési eredmények"
275 275
 
276
-#: searx/templates/oscar/results.html:78
276
+#: searx/templates/oscar/results.html:82
277 277
 msgid "Links"
278 278
 msgstr "Linkek"
279 279
 
@@ -354,6 +354,14 @@ msgstr "Hiba történt"
354 354
 msgid "cached"
355 355
 msgstr "tárolt"
356 356
 
357
+#: searx/templates/oscar/result_templates/default.html:9
358
+msgid "show media"
359
+msgstr ""
360
+
361
+#: searx/templates/oscar/result_templates/default.html:9
362
+msgid "hide media"
363
+msgstr ""
364
+
357 365
 #: searx/templates/oscar/result_templates/images.html:21
358 366
 msgid "Get image"
359 367
 msgstr "Kép megjelenítése"
@@ -386,6 +394,14 @@ msgstr "Seeder"
386 394
 msgid "Leecher"
387 395
 msgstr "Leecher"
388 396
 
397
+#: searx/templates/oscar/result_templates/videos.html:9
398
+msgid "show video"
399
+msgstr ""
400
+
401
+#: searx/templates/oscar/result_templates/videos.html:9
402
+msgid "hide video"
403
+msgstr ""
404
+
389 405
 msgid "Localization"
390 406
 msgstr "Nyelv"
391 407
 

Binär
searx/translations/it/LC_MESSAGES/messages.mo Visa fil


+ 25
- 15
searx/translations/it/LC_MESSAGES/messages.po Visa fil

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version:  searx\n"
10 10
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
11
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
12 12
 "PO-Revision-Date: 2014-11-26 20:38+0000\n"
13 13
 "Last-Translator: Adam Tauber <asciimoo@gmail.com>\n"
14 14
 "Language-Team: Italian "
@@ -19,11 +19,11 @@ msgstr ""
19 19
 "Content-Transfer-Encoding: 8bit\n"
20 20
 "Generated-By: Babel 1.3\n"
21 21
 
22
-#: searx/webapp.py:247
22
+#: searx/webapp.py:263
23 23
 msgid "{minutes} minute(s) ago"
24 24
 msgstr "di {minutes} minuti fa"
25 25
 
26
-#: searx/webapp.py:249
26
+#: searx/webapp.py:265
27 27
 msgid "{hours} hour(s), {minutes} minute(s) ago"
28 28
 msgstr "di {ore} h e {minutes} minuti fa"
29 29
 
@@ -171,31 +171,31 @@ msgstr "indietro"
171 171
 
172 172
 #: searx/templates/courgette/results.html:12
173 173
 #: searx/templates/default/results.html:12
174
-#: searx/templates/oscar/results.html:83
174
+#: searx/templates/oscar/results.html:87
175 175
 msgid "Search URL"
176 176
 msgstr "URL della ricerca"
177 177
 
178 178
 #: searx/templates/courgette/results.html:16
179 179
 #: searx/templates/default/results.html:16
180
-#: searx/templates/oscar/results.html:88
180
+#: searx/templates/oscar/results.html:92
181 181
 msgid "Download results"
182 182
 msgstr "Scarica i risultati"
183 183
 
184 184
 #: searx/templates/courgette/results.html:34
185 185
 #: searx/templates/default/results.html:42
186
-#: searx/templates/oscar/results.html:63
186
+#: searx/templates/oscar/results.html:67
187 187
 msgid "Suggestions"
188 188
 msgstr "Suggerimenti"
189 189
 
190 190
 #: searx/templates/courgette/results.html:62
191 191
 #: searx/templates/default/results.html:78
192
-#: searx/templates/oscar/results.html:37
192
+#: searx/templates/oscar/results.html:41
193 193
 msgid "previous page"
194 194
 msgstr "pagina precedente"
195 195
 
196 196
 #: searx/templates/courgette/results.html:73
197 197
 #: searx/templates/default/results.html:89
198
-#: searx/templates/oscar/results.html:45
198
+#: searx/templates/oscar/results.html:49
199 199
 msgid "next page"
200 200
 msgstr "pagina successiva"
201 201
 
@@ -271,7 +271,7 @@ msgstr ""
271 271
 msgid "Search results"
272 272
 msgstr ""
273 273
 
274
-#: searx/templates/oscar/results.html:78
274
+#: searx/templates/oscar/results.html:82
275 275
 msgid "Links"
276 276
 msgstr ""
277 277
 
@@ -352,6 +352,14 @@ msgstr ""
352 352
 msgid "cached"
353 353
 msgstr ""
354 354
 
355
+#: searx/templates/oscar/result_templates/default.html:9
356
+msgid "show media"
357
+msgstr ""
358
+
359
+#: searx/templates/oscar/result_templates/default.html:9
360
+msgid "hide media"
361
+msgstr ""
362
+
355 363
 #: searx/templates/oscar/result_templates/images.html:21
356 364
 msgid "Get image"
357 365
 msgstr ""
@@ -384,6 +392,14 @@ msgstr ""
384 392
 msgid "Leecher"
385 393
 msgstr ""
386 394
 
395
+#: searx/templates/oscar/result_templates/videos.html:9
396
+msgid "show video"
397
+msgstr ""
398
+
399
+#: searx/templates/oscar/result_templates/videos.html:9
400
+msgid "hide video"
401
+msgstr ""
402
+
387 403
 msgid "Localization"
388 404
 msgstr ""
389 405
 
@@ -404,15 +420,9 @@ msgstr "generale"
404 420
 msgid "music"
405 421
 msgstr "musica"
406 422
 
407
-msgid "social media"
408
-msgstr "social media"
409
-
410 423
 msgid "images"
411 424
 msgstr "immagini"
412 425
 
413
-msgid "videos"
414
-msgstr "video"
415
-
416 426
 msgid "it"
417 427
 msgstr "it"
418 428
 

Binär
searx/translations/ja/LC_MESSAGES/messages.mo Visa fil


+ 25
- 15
searx/translations/ja/LC_MESSAGES/messages.po Visa fil

@@ -9,7 +9,7 @@ msgid ""
9 9
 msgstr ""
10 10
 "Project-Id-Version:  searx\n"
11 11
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
12
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
12
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
13 13
 "PO-Revision-Date: 2014-11-26 20:38+0000\n"
14 14
 "Last-Translator: Adam Tauber <asciimoo@gmail.com>\n"
15 15
 "Language-Team: Japanese "
@@ -20,11 +20,11 @@ msgstr ""
20 20
 "Content-Transfer-Encoding: 8bit\n"
21 21
 "Generated-By: Babel 1.3\n"
22 22
 
23
-#: searx/webapp.py:247
23
+#: searx/webapp.py:263
24 24
 msgid "{minutes} minute(s) ago"
25 25
 msgstr "{minutes}分前"
26 26
 
27
-#: searx/webapp.py:249
27
+#: searx/webapp.py:265
28 28
 msgid "{hours} hour(s), {minutes} minute(s) ago"
29 29
 msgstr "{hours}時間と{minutes}分前"
30 30
 
@@ -168,31 +168,31 @@ msgstr "バック"
168 168
 
169 169
 #: searx/templates/courgette/results.html:12
170 170
 #: searx/templates/default/results.html:12
171
-#: searx/templates/oscar/results.html:83
171
+#: searx/templates/oscar/results.html:87
172 172
 msgid "Search URL"
173 173
 msgstr ""
174 174
 
175 175
 #: searx/templates/courgette/results.html:16
176 176
 #: searx/templates/default/results.html:16
177
-#: searx/templates/oscar/results.html:88
177
+#: searx/templates/oscar/results.html:92
178 178
 msgid "Download results"
179 179
 msgstr "ダウンロードの結果"
180 180
 
181 181
 #: searx/templates/courgette/results.html:34
182 182
 #: searx/templates/default/results.html:42
183
-#: searx/templates/oscar/results.html:63
183
+#: searx/templates/oscar/results.html:67
184 184
 msgid "Suggestions"
185 185
 msgstr "提案"
186 186
 
187 187
 #: searx/templates/courgette/results.html:62
188 188
 #: searx/templates/default/results.html:78
189
-#: searx/templates/oscar/results.html:37
189
+#: searx/templates/oscar/results.html:41
190 190
 msgid "previous page"
191 191
 msgstr "前のページ"
192 192
 
193 193
 #: searx/templates/courgette/results.html:73
194 194
 #: searx/templates/default/results.html:89
195
-#: searx/templates/oscar/results.html:45
195
+#: searx/templates/oscar/results.html:49
196 196
 msgid "next page"
197 197
 msgstr "次のページ"
198 198
 
@@ -268,7 +268,7 @@ msgstr ""
268 268
 msgid "Search results"
269 269
 msgstr ""
270 270
 
271
-#: searx/templates/oscar/results.html:78
271
+#: searx/templates/oscar/results.html:82
272 272
 msgid "Links"
273 273
 msgstr ""
274 274
 
@@ -349,6 +349,14 @@ msgstr ""
349 349
 msgid "cached"
350 350
 msgstr ""
351 351
 
352
+#: searx/templates/oscar/result_templates/default.html:9
353
+msgid "show media"
354
+msgstr ""
355
+
356
+#: searx/templates/oscar/result_templates/default.html:9
357
+msgid "hide media"
358
+msgstr ""
359
+
352 360
 #: searx/templates/oscar/result_templates/images.html:21
353 361
 msgid "Get image"
354 362
 msgstr ""
@@ -381,6 +389,14 @@ msgstr ""
381 389
 msgid "Leecher"
382 390
 msgstr ""
383 391
 
392
+#: searx/templates/oscar/result_templates/videos.html:9
393
+msgid "show video"
394
+msgstr ""
395
+
396
+#: searx/templates/oscar/result_templates/videos.html:9
397
+msgid "hide video"
398
+msgstr ""
399
+
384 400
 msgid "Localization"
385 401
 msgstr ""
386 402
 
@@ -401,15 +417,9 @@ msgstr "ウェブ"
401 417
 msgid "music"
402 418
 msgstr "音楽"
403 419
 
404
-msgid "social media"
405
-msgstr "ソーシャルメディア"
406
-
407 420
 msgid "images"
408 421
 msgstr "画像"
409 422
 
410
-msgid "videos"
411
-msgstr "動画"
412
-
413 423
 msgid "it"
414 424
 msgstr "情報技術"
415 425
 

Binär
searx/translations/nl/LC_MESSAGES/messages.mo Visa fil


+ 25
- 9
searx/translations/nl/LC_MESSAGES/messages.po Visa fil

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version:  searx\n"
10 10
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
11
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
11
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
12 12
 "PO-Revision-Date: 2014-12-11 13:50+0000\n"
13 13
 "Last-Translator: André Koot <meneer@tken.net>\n"
14 14
 "Language-Team: Dutch "
@@ -19,11 +19,11 @@ msgstr ""
19 19
 "Content-Transfer-Encoding: 8bit\n"
20 20
 "Generated-By: Babel 1.3\n"
21 21
 
22
-#: searx/webapp.py:247
22
+#: searx/webapp.py:263
23 23
 msgid "{minutes} minute(s) ago"
24 24
 msgstr "{minutes} min geleden"
25 25
 
26
-#: searx/webapp.py:249
26
+#: searx/webapp.py:265
27 27
 msgid "{hours} hour(s), {minutes} minute(s) ago"
28 28
 msgstr "{hours} uur, {minutes} min geleden"
29 29
 
@@ -171,31 +171,31 @@ msgstr "terug"
171 171
 
172 172
 #: searx/templates/courgette/results.html:12
173 173
 #: searx/templates/default/results.html:12
174
-#: searx/templates/oscar/results.html:83
174
+#: searx/templates/oscar/results.html:87
175 175
 msgid "Search URL"
176 176
 msgstr "Zoek URL"
177 177
 
178 178
 #: searx/templates/courgette/results.html:16
179 179
 #: searx/templates/default/results.html:16
180
-#: searx/templates/oscar/results.html:88
180
+#: searx/templates/oscar/results.html:92
181 181
 msgid "Download results"
182 182
 msgstr "Downloaden zoekresultaten"
183 183
 
184 184
 #: searx/templates/courgette/results.html:34
185 185
 #: searx/templates/default/results.html:42
186
-#: searx/templates/oscar/results.html:63
186
+#: searx/templates/oscar/results.html:67
187 187
 msgid "Suggestions"
188 188
 msgstr "Suggesties"
189 189
 
190 190
 #: searx/templates/courgette/results.html:62
191 191
 #: searx/templates/default/results.html:78
192
-#: searx/templates/oscar/results.html:37
192
+#: searx/templates/oscar/results.html:41
193 193
 msgid "previous page"
194 194
 msgstr "vorige pagina"
195 195
 
196 196
 #: searx/templates/courgette/results.html:73
197 197
 #: searx/templates/default/results.html:89
198
-#: searx/templates/oscar/results.html:45
198
+#: searx/templates/oscar/results.html:49
199 199
 msgid "next page"
200 200
 msgstr "volgende pagina"
201 201
 
@@ -274,7 +274,7 @@ msgstr "Wijzig searx layout"
274 274
 msgid "Search results"
275 275
 msgstr "Zoekresultaten"
276 276
 
277
-#: searx/templates/oscar/results.html:78
277
+#: searx/templates/oscar/results.html:82
278 278
 msgid "Links"
279 279
 msgstr "Links"
280 280
 
@@ -357,6 +357,14 @@ msgstr "Er ging iets fout."
357 357
 msgid "cached"
358 358
 msgstr "gecached"
359 359
 
360
+#: searx/templates/oscar/result_templates/default.html:9
361
+msgid "show media"
362
+msgstr ""
363
+
364
+#: searx/templates/oscar/result_templates/default.html:9
365
+msgid "hide media"
366
+msgstr ""
367
+
360 368
 #: searx/templates/oscar/result_templates/images.html:21
361 369
 msgid "Get image"
362 370
 msgstr "Toon afbeelding"
@@ -389,6 +397,14 @@ msgstr "Aanbieder"
389 397
 msgid "Leecher"
390 398
 msgstr "Ophaler"
391 399
 
400
+#: searx/templates/oscar/result_templates/videos.html:9
401
+msgid "show video"
402
+msgstr ""
403
+
404
+#: searx/templates/oscar/result_templates/videos.html:9
405
+msgid "hide video"
406
+msgstr ""
407
+
392 408
 msgid "Localization"
393 409
 msgstr "Vertaling"
394 410
 

Binär
searx/translations/tr/LC_MESSAGES/messages.mo Visa fil


+ 53
- 26
searx/translations/tr/LC_MESSAGES/messages.po Visa fil

@@ -1,30 +1,30 @@
1
-# English translations for PROJECT.
1
+# English translations for .
2 2
 # Copyright (C) 2014 ORGANIZATION
3
-# This file is distributed under the same license as the PROJECT project.
4
-# 
3
+# This file is distributed under the same license as the  project.
4
+#
5 5
 # Translators:
6 6
 # Caner Başaran <basaran.caner@gmail.com>, 2014
7 7
 # FIRST AUTHOR <EMAIL@ADDRESS>, 2014
8 8
 msgid ""
9 9
 msgstr ""
10
-"Project-Id-Version: searx\n"
10
+"Project-Id-Version:  searx\n"
11 11
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
12
-"POT-Creation-Date: 2014-12-27 14:39+0100\n"
12
+"POT-Creation-Date: 2015-01-05 20:54+0100\n"
13 13
 "PO-Revision-Date: 2014-12-28 08:20+0000\n"
14 14
 "Last-Translator: Caner Başaran <basaran.caner@gmail.com>\n"
15
-"Language-Team: Turkish (http://www.transifex.com/projects/p/searx/language/tr/)\n"
15
+"Language-Team: Turkish "
16
+"(http://www.transifex.com/projects/p/searx/language/tr/)\n"
17
+"Plural-Forms: nplurals=2; plural=(n > 1)\n"
16 18
 "MIME-Version: 1.0\n"
17
-"Content-Type: text/plain; charset=UTF-8\n"
19
+"Content-Type: text/plain; charset=utf-8\n"
18 20
 "Content-Transfer-Encoding: 8bit\n"
19 21
 "Generated-By: Babel 1.3\n"
20
-"Language: tr\n"
21
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
22 22
 
23
-#: searx/webapp.py:247
23
+#: searx/webapp.py:263
24 24
 msgid "{minutes} minute(s) ago"
25 25
 msgstr "{minutes} dakika() önce"
26 26
 
27
-#: searx/webapp.py:249
27
+#: searx/webapp.py:265
28 28
 msgid "{hours} hour(s), {minutes} minute(s) ago"
29 29
 msgstr "{hours} saat(), {minutes} dakika() önce"
30 30
 
@@ -142,9 +142,11 @@ msgstr "Engelle"
142 142
 #: searx/templates/default/preferences.html:92
143 143
 #: searx/templates/oscar/preferences.html:132
144 144
 msgid ""
145
-"These settings are stored in your cookies, this allows us not to store this "
146
-"data about you."
147
-msgstr "Ayarlar çerezlerinizde saklanır. Verdiğiniz izinler, sizin hakkınızda veri saklamak için değil."
145
+"These settings are stored in your cookies, this allows us not to store "
146
+"this data about you."
147
+msgstr ""
148
+"Ayarlar çerezlerinizde saklanır. Verdiğiniz izinler, sizin hakkınızda "
149
+"veri saklamak için değil."
148 150
 
149 151
 #: searx/templates/courgette/preferences.html:94
150 152
 #: searx/templates/default/preferences.html:94
@@ -168,31 +170,31 @@ msgstr "geri"
168 170
 
169 171
 #: searx/templates/courgette/results.html:12
170 172
 #: searx/templates/default/results.html:12
171
-#: searx/templates/oscar/results.html:83
173
+#: searx/templates/oscar/results.html:87
172 174
 msgid "Search URL"
173 175
 msgstr "Arama Bağlantısı"
174 176
 
175 177
 #: searx/templates/courgette/results.html:16
176 178
 #: searx/templates/default/results.html:16
177
-#: searx/templates/oscar/results.html:88
179
+#: searx/templates/oscar/results.html:92
178 180
 msgid "Download results"
179 181
 msgstr "Arama sonuçlarını indir"
180 182
 
181 183
 #: searx/templates/courgette/results.html:34
182 184
 #: searx/templates/default/results.html:42
183
-#: searx/templates/oscar/results.html:63
185
+#: searx/templates/oscar/results.html:67
184 186
 msgid "Suggestions"
185 187
 msgstr "Öneriler"
186 188
 
187 189
 #: searx/templates/courgette/results.html:62
188 190
 #: searx/templates/default/results.html:78
189
-#: searx/templates/oscar/results.html:37
191
+#: searx/templates/oscar/results.html:41
190 192
 msgid "previous page"
191 193
 msgstr "önceki sayfa"
192 194
 
193 195
 #: searx/templates/courgette/results.html:73
194 196
 #: searx/templates/default/results.html:89
195
-#: searx/templates/oscar/results.html:45
197
+#: searx/templates/oscar/results.html:49
196 198
 msgid "next page"
197 199
 msgstr "sonraki sayfa"
198 200
 
@@ -221,7 +223,9 @@ msgstr "Gücümün kaynağı"
221 223
 
222 224
 #: searx/templates/oscar/base.html:69
223 225
 msgid "a privacy-respecting, hackable metasearch engine"
224
-msgstr "kişisel gizliliğe saygılı ve merak edenlerin kurcalayabildiği bir meta arama motoru"
226
+msgstr ""
227
+"kişisel gizliliğe saygılı ve merak edenlerin kurcalayabildiği bir meta "
228
+"arama motoru"
225 229
 
226 230
 #: searx/templates/oscar/navbar.html:6
227 231
 msgid "Toggle navigation"
@@ -258,7 +262,10 @@ msgid ""
258 262
 "Change how forms are submited, <a "
259 263
 "href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\""
260 264
 " rel=\"external\">learn more about request methods</a>"
261
-msgstr "Aramaların nasıl gönderildiğini değiştir, <a href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\" rel=\"external\">istek yöntemleri hakkında daha fazla bilgi</a>"
265
+msgstr ""
266
+"Aramaların nasıl gönderildiğini değiştir, <a "
267
+"href=\"http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods\""
268
+" rel=\"external\">istek yöntemleri hakkında daha fazla bilgi</a>"
262 269
 
263 270
 #: searx/templates/oscar/preferences.html:84
264 271
 msgid "Change searx layout"
@@ -268,12 +275,11 @@ msgstr "searx yerleşim düzenini değiştir"
268 275
 msgid "Search results"
269 276
 msgstr "Arama sonuçları"
270 277
 
271
-#: searx/templates/oscar/results.html:78
278
+#: searx/templates/oscar/results.html:82
272 279
 msgid "Links"
273 280
 msgstr "Bağlantılar"
274 281
 
275
-#: searx/templates/oscar/search.html:6
276
-#: searx/templates/oscar/search_full.html:7
282
+#: searx/templates/oscar/search.html:6 searx/templates/oscar/search_full.html:7
277 283
 msgid "Start search"
278 284
 msgstr "Aramayı başlat"
279 285
 
@@ -311,7 +317,9 @@ msgstr "Uyarı!"
311 317
 
312 318
 #: searx/templates/oscar/messages/js_disabled.html:3
313 319
 msgid "Please enable JavaScript to use full functionality of this site."
314
-msgstr "Lütfen, bu sitenin tüm işlevlerini kullanmak için JavaScript'i etkinleştirin."
320
+msgstr ""
321
+"Lütfen, bu sitenin tüm işlevlerini kullanmak için JavaScript'i "
322
+"etkinleştirin."
315 323
 
316 324
 #: searx/templates/oscar/messages/no_data_available.html:4
317 325
 msgid "There is currently no data available. "
@@ -325,7 +333,9 @@ msgstr "Üzgünüz!"
325 333
 msgid ""
326 334
 "we didn't find any results. Please use another query or search in more "
327 335
 "categories."
328
-msgstr "herhangi bir sonuç bulamadık. Lütfen, başka sorgu kullanın veya daha fazla kategoride arama yapın."
336
+msgstr ""
337
+"herhangi bir sonuç bulamadık. Lütfen, başka sorgu kullanın veya daha "
338
+"fazla kategoride arama yapın."
329 339
 
330 340
 #: searx/templates/oscar/messages/save_settings_successfull.html:7
331 341
 msgid "Well done!"
@@ -350,6 +360,14 @@ msgstr "Bazı bazı şeylerde problem olmuş."
350 360
 msgid "cached"
351 361
 msgstr "önbellek"
352 362
 
363
+#: searx/templates/oscar/result_templates/default.html:9
364
+msgid "show media"
365
+msgstr ""
366
+
367
+#: searx/templates/oscar/result_templates/default.html:9
368
+msgid "hide media"
369
+msgstr ""
370
+
353 371
 #: searx/templates/oscar/result_templates/images.html:21
354 372
 msgid "Get image"
355 373
 msgstr "Görseli indir"
@@ -382,6 +400,14 @@ msgstr "Besleyenler"
382 400
 msgid "Leecher"
383 401
 msgstr "Sömürenler"
384 402
 
403
+#: searx/templates/oscar/result_templates/videos.html:9
404
+msgid "show video"
405
+msgstr ""
406
+
407
+#: searx/templates/oscar/result_templates/videos.html:9
408
+msgid "hide video"
409
+msgstr ""
410
+
385 411
 msgid "Localization"
386 412
 msgstr ""
387 413
 
@@ -419,3 +445,4 @@ msgstr "haberler"
419 445
 
420 446
 msgid "map"
421 447
 msgstr "harita"
448
+

+ 1
- 1
utils/update-translations.sh Visa fil

@@ -9,7 +9,7 @@ SEARX_DIR='searx'
9 9
 
10 10
 pybabel extract -F babel.cfg -o messages.pot $SEARX_DIR
11 11
 for f in `ls $SEARX_DIR'/translations/'`; do
12
-    pybabel update -i messages.pot -d $SEARX_DIR'/translations/' -l $f
12
+    pybabel update -N -i messages.pot -d $SEARX_DIR'/translations/' -l $f
13 13
     # TODO - need to fix category translations
14 14
     sed -i 's/#~ //' $SEARX_DIR'/translations/'$f'/LC_MESSAGES/messages.po'
15 15
 done