on master help sign in
Merge branch 'master' of github.com:asciimoo/searx
d6b1ff0Adam Tauber
searx/engines/dailymotion.py+11−4
@@ -6,12 +6,14 @@
6# @using-api yes
6# @using-api yes
7# @results JSON
7# @results JSON
8# @stable yes
8# @stable yes
9−# @parse url, title, thumbnail
9+# @parse url, title, thumbnail, publishedDate, embedded
10#
10#
11# @todo set content-parameter with correct data
11# @todo set content-parameter with correct data
12
12
13from urllib import urlencode
13from urllib import urlencode
14from json import loads
14from json import loads
15+from cgi import escape
16+from datetime import datetime
15
17
16# engine dependent config
18# engine dependent config
17categories = ['videos']
19categories = ['videos']
@@ -20,7 +22,9 @@ language_support = True
20
22
21# search-url
23# search-url
22# see http://www.dailymotion.com/doc/api/obj-video.html
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# do search-request
30# do search-request
@@ -51,14 +55,17 @@ def response(resp):
51 for res in search_res['list']:
55 for res in search_res['list']:
52 title = res['title']
56 title = res['title']
53 url = res['url']
57 url = res['url']
54− #content = res['description']
58+ content = escape(res['description'])
55− content = ''
56 thumbnail = res['thumbnail_360_url']
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 results.append({'template': 'videos.html',
63 results.append({'template': 'videos.html',
59 'url': url,
64 'url': url,
60 'title': title,
65 'title': title,
61 'content': content,
66 'content': content,
67+ 'publishedDate': publishedDate,
68+ 'embedded': embedded,
62 'thumbnail': thumbnail})
69 'thumbnail': thumbnail})
63
70
64 # return results
71 # return results
searx/engines/deezer.pynew file+61
@@ -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
searx/engines/soundcloud.py+12−2
@@ -6,10 +6,11 @@
6# @using-api yes
6# @using-api yes
7# @results JSON
7# @results JSON
8# @stable yes
8# @stable yes
9−# @parse url, title, content
9+# @parse url, title, content, publishedDate, embedded
10
10
11from json import loads
11from json import loads
12−from urllib import urlencode
12+from urllib import urlencode, quote_plus
13+from dateutil import parser
13
14
14# engine dependent config
15# engine dependent config
15categories = ['music']
16categories = ['music']
@@ -27,6 +28,10 @@ search_url = url + 'search?{query}'\
27 '&linked_partitioning=1'\
28 '&linked_partitioning=1'\
28 '&client_id={client_id}' # noqa
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# do search-request
36# do search-request
32def request(query, params):
37def request(query, params):
@@ -50,10 +55,15 @@ def response(resp):
50 if result['kind'] in ('track', 'playlist'):
55 if result['kind'] in ('track', 'playlist'):
51 title = result['title']
56 title = result['title']
52 content = result['description']
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 # append result
62 # append result
55 results.append({'url': result['permalink_url'],
63 results.append({'url': result['permalink_url'],
56 'title': title,
64 'title': title,
65+ 'publishedDate': publishedDate,
66+ 'embedded': embedded,
57 'content': content})
67 'content': content})
58
68
59 # return results
69 # return results
searx/engines/vimeo.py+17−7
@@ -1,4 +1,4 @@
1−## Vimeo (Videos)
1+# Vimeo (Videos)
2#
2#
3# @website https://vimeo.com/
3# @website https://vimeo.com/
4# @provide-api yes (http://developer.vimeo.com/api),
4# @provide-api yes (http://developer.vimeo.com/api),
@@ -7,15 +7,16 @@
7# @using-api no (TODO, rewrite to api)
7# @using-api no (TODO, rewrite to api)
8# @results HTML (using search portal)
8# @results HTML (using search portal)
9# @stable no (HTML can change)
9# @stable no (HTML can change)
10−# @parse url, title, publishedDate, thumbnail
10+# @parse url, title, publishedDate, thumbnail, embedded
11#
11#
12# @todo rewrite to api
12# @todo rewrite to api
13# @todo set content-parameter with correct data
13# @todo set content-parameter with correct data
14
14
15from urllib import urlencode
15from urllib import urlencode
16from lxml import html
16from lxml import html
17+from HTMLParser import HTMLParser
18+from searx.engines.xpath import extract_text
17from dateutil import parser
19from dateutil import parser
18−from cgi import escape
19
20
20# engine dependent config
21# engine dependent config
21categories = ['videos']
22categories = ['videos']
@@ -32,6 +33,10 @@ title_xpath = './a/div[@class="data"]/p[@class="title"]'
32content_xpath = './a/img/@src'
33content_xpath = './a/img/@src'
33publishedDate_xpath = './/p[@class="meta"]//attribute::datetime'
34publishedDate_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# do search-request
41# do search-request
37def request(query, params):
42def request(query, params):
@@ -46,13 +51,17 @@ def response(resp):
46 results = []
51 results = []
47
52
48 dom = html.fromstring(resp.text)
53 dom = html.fromstring(resp.text)
54+ p = HTMLParser()
49
55
50 # parse results
56 # parse results
51 for result in dom.xpath(results_xpath):
57 for result in dom.xpath(results_xpath):
58+ videoid = result.xpath(url_xpath)[0]
52− url = base_url + result.xpath(url_xpath)[0]
59+ url = base_url + videoid
53− title = escape(html.tostring(result.xpath(title_xpath)[0], method='text', encoding='UTF-8').decode("utf-8"))
60+ title = p.unescape(extract_text(result.xpath(title_xpath)))
54− thumbnail = result.xpath(content_xpath)[0]
61+ thumbnail = extract_text(result.xpath(content_xpath)[0])
62+ publishedDate = parser.parse(extract_text(
55− publishedDate = parser.parse(result.xpath(publishedDate_xpath)[0])
63+ result.xpath(publishedDate_xpath)[0]))
64+ embedded = embedded_url.format(videoid=videoid)
56
65
57 # append result
66 # append result
58 results.append({'url': url,
67 results.append({'url': url,
@@ -60,6 +69,7 @@ def response(resp):
60 'content': '',
69 'content': '',
61 'template': 'videos.html',
70 'template': 'videos.html',
62 'publishedDate': publishedDate,
71 'publishedDate': publishedDate,
72+ 'embedded': embedded,
63 'thumbnail': thumbnail})
73 'thumbnail': thumbnail})
64
74
65 # return results
75 # return results
searx/engines/youtube.py+11−2
@@ -6,7 +6,7 @@
6# @using-api yes
6# @using-api yes
7# @results JSON
7# @results JSON
8# @stable yes
8# @stable yes
9−# @parse url, title, content, publishedDate, thumbnail
9+# @parse url, title, content, publishedDate, thumbnail, embedded
10
10
11from json import loads
11from json import loads
12from urllib import urlencode
12from urllib import urlencode
@@ -19,7 +19,11 @@ language_support = True
19
19
20# search-url
20# search-url
21base_url = 'https://gdata.youtube.com/feeds/api/videos'
21base_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# do search-request
29# do search-request
@@ -60,6 +64,8 @@ def response(resp):
60 if url.endswith('&'):
64 if url.endswith('&'):
61 url = url[:-1]
65 url = url[:-1]
62
66
67+ videoid = url[32:]
68+
63 title = result['title']['$t']
69 title = result['title']['$t']
64 content = ''
70 content = ''
65 thumbnail = ''
71 thumbnail = ''
@@ -72,12 +78,15 @@ def response(resp):
72
78
73 content = result['content']['$t']
79 content = result['content']['$t']
74
80
81+ embedded = embedded_url.format(videoid=videoid)
82+
75 # append result
83 # append result
76 results.append({'url': url,
84 results.append({'url': url,
77 'title': title,
85 'title': title,
78 'content': content,
86 'content': content,
79 'template': 'videos.html',
87 'template': 'videos.html',
80 'publishedDate': publishedDate,
88 'publishedDate': publishedDate,
89+ 'embedded': embedded,
81 'thumbnail': thumbnail})
90 'thumbnail': thumbnail})
82
91
83 # return results
92 # return results
searx/settings.yml+4
@@ -35,6 +35,10 @@ engines:
35 engine : currency_convert
35 engine : currency_convert
36 categories : general
36 categories : general
37 shortcut : cc
37 shortcut : cc
38+
39+ - name : deezer
40+ engine : deezer
41+ shortcut : dz
38
42
39 - name : deviantart
43 - name : deviantart
40 engine : deviantart
44 engine : deviantart
searx/static/themes/oscar/js/searx.min.js+2−2
@@ -1,2 +1,2 @@
1−/*! oscar/searx.min.js | 19-12-2014 | https://github.com/asciimoo/searx */
1+/*! oscar/searx.min.js | 05-01-2015 | https://github.com/asciimoo/searx */
2−requirejs.config({baseUrl:"./static/themes/oscar/js",paths:{app:"../app"}}),searx.autocompleter&&(searx.searchResults=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:"/autocompleter?q=%QUERY"}),searx.searchResults.initialize()),$(document).ready(function(){searx.autocompleter&&$("#q").typeahead(null,{name:"search-results",displayKey:function(a){return a},source:searx.searchResults.ttAdapter()})}),$(document).ready(function(){$("#q.autofocus").focus(),$(".select-all-on-click").click(function(){$(this).select()}),$(".btn-collapse").click(function(){var a=$(this).data("btn-text-collapsed"),b=$(this).data("btn-text-not-collapsed");""!==a&&""!==b&&(new_html=$(this).hasClass("collapsed")?$(this).html().replace(a,b):$(this).html().replace(b,a),$(this).html(new_html))}),$(".btn-toggle .btn").click(function(){var a="btn-"+$(this).data("btn-class"),b=$(this).data("btn-label-default"),c=$(this).data("btn-label-toggled");""!==c&&(new_html=$(this).hasClass("btn-default")?$(this).html().replace(b,c):$(this).html().replace(c,b),$(this).html(new_html)),$(this).toggleClass(a),$(this).toggleClass("btn-default")}),$(".btn-sm").dblclick(function(){var a="btn-"+$(this).data("btn-class");$(this).hasClass("btn-default")?($(".btn-sm > input").attr("checked","checked"),$(".btn-sm > input").prop("checked",!0),$(".btn-sm").addClass(a),$(".btn-sm").addClass("active"),$(".btn-sm").removeClass("btn-default")):($(".btn-sm > input").attr("checked",""),$(".btn-sm > input").removeAttr("checked"),$(".btn-sm > input").checked=!1,$(".btn-sm").removeClass(a),$(".btn-sm").removeClass("active"),$(".btn-sm").addClass("btn-default"))})}),$(document).ready(function(){$(".searx_overpass_request").on("click",function(a){var b="https://overpass-api.de/api/interpreter?data=",c=b+"[out:json][timeout:25];(",d=");out meta;",e=$(this).data("osm-id"),f=$(this).data("osm-type"),g=$(this).data("result-table"),h="#"+$(this).data("result-table-loadicon"),i=["addr:city","addr:country","addr:housenumber","addr:postcode","addr:street"];if(e&&f&&g){g="#"+g;var j=null;switch(f){case"node":j=c+"node("+e+");"+d;break;case"way":j=c+"way("+e+");"+d;break;case"relation":j=c+"relation("+e+");"+d}if(j){$.ajax(j).done(function(a){if(a&&a.elements&&a.elements[0]){var b=a.elements[0],c=$(g).html();for(var d in b.tags)if(null===b.tags.name||-1==i.indexOf(d)){switch(c+="<tr><td>"+d+"</td><td>",d){case"phone":case"fax":c+='<a href="tel:'+b.tags[d].replace(/ /g,"")+'">'+b.tags[d]+"</a>";break;case"email":c+='<a href="mailto:'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"website":case"url":c+='<a href="'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikidata":c+='<a href="https://www.wikidata.org/wiki/'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikipedia":if(-1!=b.tags[d].indexOf(":")){c+='<a href="https://'+b.tags[d].substring(0,b.tags[d].indexOf(":"))+".wikipedia.org/wiki/"+b.tags[d].substring(b.tags[d].indexOf(":")+1)+'">'+b.tags[d]+"</a>";break}default:c+=b.tags[d]}c+="</td></tr>"}$(g).html(c),$(g).removeClass("hidden"),$(h).addClass("hidden")}}).fail(function(){$(h).html($(h).html()+'<p class="text-muted">could not load data!</p>')})}}$(this).off(a)}),$(".searx_init_map").on("click",function(a){var b=$(this).data("leaflet-target"),c=$(this).data("map-lon"),d=$(this).data("map-lat"),e=$(this).data("map-zoom"),f=$(this).data("map-boundingbox"),g=$(this).data("map-geojson");require(["leaflet-0.7.3.min"],function(){f&&(southWest=L.latLng(f[0],f[2]),northEast=L.latLng(f[1],f[3]),map_bounds=L.latLngBounds(southWest,northEast)),L.Icon.Default.imagePath="./static/oscar/img/map";{var a=L.map(b),h="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",i='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',j=new L.TileLayer(h,{minZoom:1,maxZoom:19,attribution:i}),k="http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg",l='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors | Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png">',m=new L.TileLayer(k,{minZoom:1,maxZoom:18,subdomains:"1234",attribution:l}),n="http://otile{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg",o='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors | Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="https://developer.mapquest.com/content/osm/mq_logo.png"> | Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency';new L.TileLayer(n,{minZoom:1,maxZoom:11,subdomains:"1234",attribution:o})}map_bounds?setTimeout(function(){a.fitBounds(map_bounds,{maxZoom:17})},0):c&&d&&(e?a.setView(new L.LatLng(d,c),e):a.setView(new L.LatLng(d,c),8)),a.addLayer(m);var p={"OSM Mapnik":j,MapQuest:m};L.control.layers(p).addTo(a),g&&L.geoJson(g).addTo(a)}),$(this).off(a)})});
2+requirejs.config({baseUrl:"./static/themes/oscar/js",paths:{app:"../app"}}),searx.autocompleter&&(searx.searchResults=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:"/autocompleter?q=%QUERY"}),searx.searchResults.initialize()),$(document).ready(function(){searx.autocompleter&&$("#q").typeahead(null,{name:"search-results",displayKey:function(a){return a},source:searx.searchResults.ttAdapter()})}),$(document).ready(function(){$("#q.autofocus").focus(),$(".select-all-on-click").click(function(){$(this).select()}),$(".btn-collapse").click(function(){var a=$(this).data("btn-text-collapsed"),b=$(this).data("btn-text-not-collapsed");""!==a&&""!==b&&(new_html=$(this).hasClass("collapsed")?$(this).html().replace(a,b):$(this).html().replace(b,a),$(this).html(new_html))}),$(".btn-toggle .btn").click(function(){var a="btn-"+$(this).data("btn-class"),b=$(this).data("btn-label-default"),c=$(this).data("btn-label-toggled");""!==c&&(new_html=$(this).hasClass("btn-default")?$(this).html().replace(b,c):$(this).html().replace(c,b),$(this).html(new_html)),$(this).toggleClass(a),$(this).toggleClass("btn-default")}),$(".media-loader").click(function(){var a=$(this).data("target"),b=$(a+" > iframe"),c=b.attr("src");(void 0===c||c===!1)&&b.attr("src",b.data("src"))}),$(".btn-sm").dblclick(function(){var a="btn-"+$(this).data("btn-class");$(this).hasClass("btn-default")?($(".btn-sm > input").attr("checked","checked"),$(".btn-sm > input").prop("checked",!0),$(".btn-sm").addClass(a),$(".btn-sm").addClass("active"),$(".btn-sm").removeClass("btn-default")):($(".btn-sm > input").attr("checked",""),$(".btn-sm > input").removeAttr("checked"),$(".btn-sm > input").checked=!1,$(".btn-sm").removeClass(a),$(".btn-sm").removeClass("active"),$(".btn-sm").addClass("btn-default"))})}),$(document).ready(function(){$(".searx_overpass_request").on("click",function(a){var b="https://overpass-api.de/api/interpreter?data=",c=b+"[out:json][timeout:25];(",d=");out meta;",e=$(this).data("osm-id"),f=$(this).data("osm-type"),g=$(this).data("result-table"),h="#"+$(this).data("result-table-loadicon"),i=["addr:city","addr:country","addr:housenumber","addr:postcode","addr:street"];if(e&&f&&g){g="#"+g;var j=null;switch(f){case"node":j=c+"node("+e+");"+d;break;case"way":j=c+"way("+e+");"+d;break;case"relation":j=c+"relation("+e+");"+d}if(j){$.ajax(j).done(function(a){if(a&&a.elements&&a.elements[0]){var b=a.elements[0],c=$(g).html();for(var d in b.tags)if(null===b.tags.name||-1==i.indexOf(d)){switch(c+="<tr><td>"+d+"</td><td>",d){case"phone":case"fax":c+='<a href="tel:'+b.tags[d].replace(/ /g,"")+'">'+b.tags[d]+"</a>";break;case"email":c+='<a href="mailto:'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"website":case"url":c+='<a href="'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikidata":c+='<a href="https://www.wikidata.org/wiki/'+b.tags[d]+'">'+b.tags[d]+"</a>";break;case"wikipedia":if(-1!=b.tags[d].indexOf(":")){c+='<a href="https://'+b.tags[d].substring(0,b.tags[d].indexOf(":"))+".wikipedia.org/wiki/"+b.tags[d].substring(b.tags[d].indexOf(":")+1)+'">'+b.tags[d]+"</a>";break}default:c+=b.tags[d]}c+="</td></tr>"}$(g).html(c),$(g).removeClass("hidden"),$(h).addClass("hidden")}}).fail(function(){$(h).html($(h).html()+'<p class="text-muted">could not load data!</p>')})}}$(this).off(a)}),$(".searx_init_map").on("click",function(a){var b=$(this).data("leaflet-target"),c=$(this).data("map-lon"),d=$(this).data("map-lat"),e=$(this).data("map-zoom"),f=$(this).data("map-boundingbox"),g=$(this).data("map-geojson");require(["leaflet-0.7.3.min"],function(){f&&(southWest=L.latLng(f[0],f[2]),northEast=L.latLng(f[1],f[3]),map_bounds=L.latLngBounds(southWest,northEast)),L.Icon.Default.imagePath="./static/themes/oscar/img/map";{var a=L.map(b),h="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",i='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors',j=new L.TileLayer(h,{minZoom:1,maxZoom:19,attribution:i}),k="http://otile{s}.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg",l='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors | Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png">',m=new L.TileLayer(k,{minZoom:1,maxZoom:18,subdomains:"1234",attribution:l}),n="http://otile{s}.mqcdn.com/tiles/1.0.0/sat/{z}/{x}/{y}.jpg",o='Map data © <a href="https://openstreetmap.org">OpenStreetMap</a> contributors | Tiles Courtesy of <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="https://developer.mapquest.com/content/osm/mq_logo.png"> | Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency';new L.TileLayer(n,{minZoom:1,maxZoom:11,subdomains:"1234",attribution:o})}map_bounds?setTimeout(function(){a.fitBounds(map_bounds,{maxZoom:17})},0):c&&d&&(e?a.setView(new L.LatLng(d,c),e):a.setView(new L.LatLng(d,c),8)),a.addLayer(m);var p={"OSM Mapnik":j,MapQuest:m};L.control.layers(p).addTo(a),g&&L.geoJson(g).addTo(a)}),$(this).off(a)})});
searx/static/themes/oscar/js/searx_src/element_modifiers.js+12
@@ -63,6 +63,18 @@ $(document).ready(function(){
63 $(this).toggleClass(btnClass);
63 $(this).toggleClass(btnClass);
64 $(this).toggleClass('btn-default');
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 * Select or deselect every categories on double clic
80 * Select or deselect every categories on double clic
searx/templates/oscar/result_templates/default.html+12
@@ -5,6 +5,18 @@
5{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
5{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
6<small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
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{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
20{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
9
21
10<div class="clearfix"></div>
22<div class="clearfix"></div>
searx/templates/oscar/result_templates/videos.html+12
@@ -5,6 +5,18 @@
5{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
5{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
6<small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
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<div class="container-fluid">
20<div class="container-fluid">
9 <div class="row">
21 <div class="row">
10 <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>
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>
searx/translations/de/LC_MESSAGES/messages.mo

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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