Commit 698987cd3222e160a5c0851e02cb7d9c94e9db2e
1 parent
0fcc133f
Exists in
master
and in
39 other branches
removing search template not used and updating translations
Showing
3 changed files
with
31 additions
and
118 deletions
Show diff stats
src/locale/pt_BR/LC_MESSAGES/django.mo
No preview for this file type
src/locale/pt_BR/LC_MESSAGES/django.po
| @@ -7,7 +7,7 @@ msgid "" | @@ -7,7 +7,7 @@ msgid "" | ||
| 7 | msgstr "" | 7 | msgstr "" |
| 8 | "Project-Id-Version: PACKAGE VERSION\n" | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
| 9 | "Report-Msgid-Bugs-To: \n" | 9 | "Report-Msgid-Bugs-To: \n" |
| 10 | -"POT-Creation-Date: 2013-11-13 11:49-0200\n" | 10 | +"POT-Creation-Date: 2013-11-13 15:58-0200\n" |
| 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 | "Language-Team: LANGUAGE <LL@li.org>\n" | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| @@ -229,7 +229,6 @@ msgstr "Conjunto de mudanças" | @@ -229,7 +229,6 @@ msgstr "Conjunto de mudanças" | ||
| 229 | 229 | ||
| 230 | #: badger/models.py:27 search/views.py:42 | 230 | #: badger/models.py:27 search/views.py:42 |
| 231 | #: search/templates/search/includes/search_filters.html:124 | 231 | #: search/templates/search/includes/search_filters.html:124 |
| 232 | -#: templates/search.html:33 | ||
| 233 | msgid "Ticket" | 232 | msgid "Ticket" |
| 234 | msgstr "Tíquetes" | 233 | msgstr "Tíquetes" |
| 235 | 234 | ||
| @@ -403,7 +402,7 @@ msgid "Latest collaborations" | @@ -403,7 +402,7 @@ msgid "Latest collaborations" | ||
| 403 | msgstr "Últimas colaborações" | 402 | msgstr "Últimas colaborações" |
| 404 | 403 | ||
| 405 | #: search/forms.py:16 search/templates/search/search.html:39 | 404 | #: search/forms.py:16 search/templates/search/search.html:39 |
| 406 | -#: templates/base.html:90 templates/search.html:7 | 405 | +#: templates/base.html:90 |
| 407 | msgid "Search" | 406 | msgid "Search" |
| 408 | msgstr "Busca" | 407 | msgstr "Busca" |
| 409 | 408 | ||
| @@ -500,7 +499,6 @@ msgstr "Tamanho" | @@ -500,7 +499,6 @@ msgstr "Tamanho" | ||
| 500 | 499 | ||
| 501 | #: search/utils.py:7 search/views.py:20 | 500 | #: search/utils.py:7 search/views.py:20 |
| 502 | #: search/templates/search/includes/search_filters.html:116 | 501 | #: search/templates/search/includes/search_filters.html:116 |
| 503 | -#: templates/search.html:25 | ||
| 504 | msgid "Wiki" | 502 | msgid "Wiki" |
| 505 | msgstr "Wiki" | 503 | msgstr "Wiki" |
| 506 | 504 | ||
| @@ -513,12 +511,10 @@ msgid "Attachments" | @@ -513,12 +511,10 @@ msgid "Attachments" | ||
| 513 | msgstr "Anexos" | 511 | msgstr "Anexos" |
| 514 | 512 | ||
| 515 | #: search/views.py:31 search/templates/search/includes/search_filters.html:120 | 513 | #: search/views.py:31 search/templates/search/includes/search_filters.html:120 |
| 516 | -#: templates/search.html:29 | ||
| 517 | msgid "Discussion" | 514 | msgid "Discussion" |
| 518 | msgstr "Discussões" | 515 | msgstr "Discussões" |
| 519 | 516 | ||
| 520 | #: search/views.py:84 search/templates/search/includes/search_filters.html:128 | 517 | #: search/views.py:84 search/templates/search/includes/search_filters.html:128 |
| 521 | -#: templates/search.html:37 | ||
| 522 | msgid "Changeset" | 518 | msgid "Changeset" |
| 523 | msgstr "Conjunto de Mudanças" | 519 | msgstr "Conjunto de Mudanças" |
| 524 | 520 | ||
| @@ -540,11 +536,11 @@ msgid "Search here" | @@ -540,11 +536,11 @@ msgid "Search here" | ||
| 540 | msgstr "Pesquise aqui" | 536 | msgstr "Pesquise aqui" |
| 541 | 537 | ||
| 542 | #: search/templates/search/search.html:67 | 538 | #: search/templates/search/search.html:67 |
| 543 | -#: search/templates/search/search.html:77 templates/search.html:18 | 539 | +#: search/templates/search/search.html:77 |
| 544 | msgid "Filters" | 540 | msgid "Filters" |
| 545 | msgstr "Filtros" | 541 | msgstr "Filtros" |
| 546 | 542 | ||
| 547 | -#: search/templates/search/search.html:98 templates/search.html:48 | 543 | +#: search/templates/search/search.html:98 |
| 548 | msgid "No results for your search." | 544 | msgid "No results for your search." |
| 549 | msgstr "Não há resultados para sua busca." | 545 | msgstr "Não há resultados para sua busca." |
| 550 | 546 | ||
| @@ -552,28 +548,10 @@ msgstr "Não há resultados para sua busca." | @@ -552,28 +548,10 @@ msgstr "Não há resultados para sua busca." | ||
| 552 | msgid "You are searching for" | 548 | msgid "You are searching for" |
| 553 | msgstr "Você está procurando por" | 549 | msgstr "Você está procurando por" |
| 554 | 550 | ||
| 555 | -#: search/templates/search/search.html:110 templates/search.html:57 | ||
| 556 | -msgid "Previous" | ||
| 557 | -msgstr "Anterior" | ||
| 558 | - | ||
| 559 | -#: search/templates/search/search.html:113 templates/search.html:61 | ||
| 560 | -msgid "Page" | ||
| 561 | -msgstr "Página" | ||
| 562 | - | ||
| 563 | -#: search/templates/search/search.html:113 templates/search.html:61 | ||
| 564 | -msgid "of" | ||
| 565 | -msgstr "de" | ||
| 566 | - | ||
| 567 | -#: search/templates/search/search.html:118 templates/search.html:65 | ||
| 568 | -msgid "Next" | ||
| 569 | -msgstr "Pŕoximo" | ||
| 570 | - | ||
| 571 | #: search/templates/search/includes/search_filters.html:5 | 551 | #: search/templates/search/includes/search_filters.html:5 |
| 572 | #: search/templates/search/includes/search_filters.html:33 | 552 | #: search/templates/search/includes/search_filters.html:33 |
| 573 | #: search/templates/search/includes/search_filters.html:51 | 553 | #: search/templates/search/includes/search_filters.html:51 |
| 574 | #: search/templates/search/includes/search_filters.html:69 | 554 | #: search/templates/search/includes/search_filters.html:69 |
| 575 | -#: templates/search.html:23 templates/search.html.py:27 | ||
| 576 | -#: templates/search.html:31 templates/search.html.py:35 | ||
| 577 | msgid "Remove filter" | 555 | msgid "Remove filter" |
| 578 | msgstr "Remover filtro" | 556 | msgstr "Remover filtro" |
| 579 | 557 | ||
| @@ -587,18 +565,7 @@ msgstr "Filtro" | @@ -587,18 +565,7 @@ msgstr "Filtro" | ||
| 587 | msgid "Sort by" | 565 | msgid "Sort by" |
| 588 | msgstr "Ordenar por" | 566 | msgstr "Ordenar por" |
| 589 | 567 | ||
| 590 | -#: search/templates/search/includes/search_filters.html:101 | ||
| 591 | -#, python-format | ||
| 592 | -msgid "<strong>%(name)s</strong>" | ||
| 593 | -msgstr "<strong>%(name)s</strong>" | ||
| 594 | - | ||
| 595 | -#: search/templates/search/includes/search_filters.html:103 | ||
| 596 | -#, python-format | ||
| 597 | -msgid "%(name)s" | ||
| 598 | -msgstr "%(name)s" | ||
| 599 | - | ||
| 600 | #: search/templates/search/includes/search_filters.html:111 | 568 | #: search/templates/search/includes/search_filters.html:111 |
| 601 | -#: templates/search.html:20 | ||
| 602 | msgid "Types" | 569 | msgid "Types" |
| 603 | msgstr "Tipos" | 570 | msgstr "Tipos" |
| 604 | 571 | ||
| @@ -921,17 +888,36 @@ msgstr "RSS - Últimas Discussões" | @@ -921,17 +888,36 @@ msgstr "RSS - Últimas Discussões" | ||
| 921 | msgid "Willing to help" | 888 | msgid "Willing to help" |
| 922 | msgstr "Vontade de ajudar" | 889 | msgstr "Vontade de ajudar" |
| 923 | 890 | ||
| 924 | -#: templates/search.html:10 | ||
| 925 | -msgid "documents found in" | ||
| 926 | -msgstr "documentos encontrados em" | ||
| 927 | - | ||
| 928 | -#: templates/search.html:11 | ||
| 929 | -msgid "seconds" | ||
| 930 | -msgstr "segundos" | ||
| 931 | - | ||
| 932 | #: templates/includes/big_header.html:9 | 891 | #: templates/includes/big_header.html:9 |
| 933 | msgid "INTERLEGIS COMMUNITIES" | 892 | msgid "INTERLEGIS COMMUNITIES" |
| 934 | msgstr "COMUNIDADES INTERLEGIS" | 893 | msgstr "COMUNIDADES INTERLEGIS" |
| 935 | 894 | ||
| 895 | +#~ msgid "documents found in" | ||
| 896 | +#~ msgstr "documentos encontrados em" | ||
| 897 | + | ||
| 898 | +#~ msgid "seconds" | ||
| 899 | +#~ msgstr "segundos" | ||
| 900 | + | ||
| 901 | +#~ msgid "Previous" | ||
| 902 | +#~ msgstr "Anterior" | ||
| 903 | + | ||
| 904 | +#~ msgid "Page" | ||
| 905 | +#~ msgstr "Página" | ||
| 906 | + | ||
| 907 | +#~ msgid "of" | ||
| 908 | +#~ msgstr "de" | ||
| 909 | + | ||
| 910 | +#~ msgid "Next" | ||
| 911 | +#~ msgstr "Pŕoximo" | ||
| 912 | + | ||
| 913 | +#~ msgid "%(option)s" | ||
| 914 | +#~ msgstr "%(option)s" | ||
| 915 | + | ||
| 916 | +#~ msgid "%(name)s" | ||
| 917 | +#~ msgstr "%(name)s" | ||
| 918 | + | ||
| 919 | +#~ msgid "<strong>%(name)s</strong>" | ||
| 920 | +#~ msgstr "<strong>%(name)s</strong>" | ||
| 921 | + | ||
| 936 | #~ msgid "OpenData - Communities Interlegis" | 922 | #~ msgid "OpenData - Communities Interlegis" |
| 937 | #~ msgstr "OpenData - Comunidades Interlegis" | 923 | #~ msgstr "OpenData - Comunidades Interlegis" |
src/templates/search.html
| @@ -1,73 +0,0 @@ | @@ -1,73 +0,0 @@ | ||
| 1 | -{% extends "base.html" %} | ||
| 2 | -{% load i18n superarchives %} | ||
| 3 | - | ||
| 4 | -{% block main-content %} | ||
| 5 | - <div class="row"> | ||
| 6 | - <div class="col-lg-2"> | ||
| 7 | - <h2>{% trans "Search" %}</h2> | ||
| 8 | - </div> | ||
| 9 | - <span class="pull-right quiet"> | ||
| 10 | - {{ docs.numFound }} {% trans "documents found in" %} | ||
| 11 | - {{ docs.QTime|floatformat:3 }} {% trans "seconds" %} | ||
| 12 | - </span> | ||
| 13 | - </div> | ||
| 14 | - <hr/> | ||
| 15 | - | ||
| 16 | - <div class="row"> | ||
| 17 | - <div class="col-lg-2"> | ||
| 18 | - <h3>{% trans "Filters" %}</h3> | ||
| 19 | - | ||
| 20 | - <h4>{% trans "Types" %}</h4> | ||
| 21 | - | ||
| 22 | - <ul class="none indent"> | ||
| 23 | - <li {% ifequal type "wiki" %} title="{% trans "Remove filter" %}" {% endifequal %}> | ||
| 24 | - <span class="glyphicon glyphicon-book"></span> | ||
| 25 | - <a href="{% ifnotequal type "wiki" %} {% append_to_get type='wiki' %} {% else %} {% append_to_get type="" %} {% endifnotequal %}">{% trans "Wiki" %}</a> | ||
| 26 | - </li> | ||
| 27 | - <li {% ifequal type "thread" %} title="{% trans "Remove filter" %}" {% endifequal %}> | ||
| 28 | - <span class="glyphicon glyphicon-envelope"></span> | ||
| 29 | - <a href="{% ifnotequal type "thread" %} {% append_to_get type='thread' %} {% else %} {% append_to_get type="" %} {% endifnotequal %}">{% trans "Discussion" %}</a> | ||
| 30 | - </li> | ||
| 31 | - <li {% ifequal type "ticket" %} title="{% trans "Remove filter" %}" {% endifequal %}> | ||
| 32 | - <span class="glyphicon glyphicon-tag"></span> | ||
| 33 | - <a href="{% ifnotequal type "ticket" %} {% append_to_get type='ticket' %} {% else %} {% append_to_get type="" %} {% endifnotequal %}">{% trans "Ticket" %}</a> | ||
| 34 | - </li> | ||
| 35 | - <li {% ifequal type "changeset" %} title="{% trans "Remove filter" %}" {% endifequal %}> | ||
| 36 | - <span class="glyphicon glyphicon-align-right"></span> | ||
| 37 | - <a href="{% ifnotequal type "changeset" %} {% append_to_get type='changeset' %} {% else %} {% append_to_get type="" %} {% endifnotequal %}">{% trans "Changeset" %}</a> | ||
| 38 | - </li> | ||
| 39 | - </ul> | ||
| 40 | - </div> | ||
| 41 | - | ||
| 42 | - <div class="col-lg-10"> | ||
| 43 | - <ul class="none indent"> | ||
| 44 | - {% for doc in docs %} | ||
| 45 | - {% include "message-preview.html" %} | ||
| 46 | - {% empty %} | ||
| 47 | - <li class="text-center"> | ||
| 48 | - {% trans "No results for your search." %} | ||
| 49 | - </li> | ||
| 50 | - {% endfor %} | ||
| 51 | - </ul> | ||
| 52 | - | ||
| 53 | - {% if docs.numFound %} | ||
| 54 | - <div> | ||
| 55 | - <span> | ||
| 56 | - {% if docs.has_previous %} | ||
| 57 | - <a href="{% append_to_get p=docs.previous_page_number %}">{% trans "Previous" %}</a> | ||
| 58 | - {% endif %} | ||
| 59 | - | ||
| 60 | - <span> | ||
| 61 | - {% trans "Page" %} {{ docs.page_num }} {% trans "of" %} {{ docs.num_of_pages }} | ||
| 62 | - </span> | ||
| 63 | - | ||
| 64 | - {% if docs.has_next %} | ||
| 65 | - <a href="{% append_to_get p=docs.next_page_number %}">{% trans "Next" %}</a> | ||
| 66 | - {% endif %} | ||
| 67 | - </span> | ||
| 68 | - </div> | ||
| 69 | - </div> | ||
| 70 | - {% endif %} | ||
| 71 | - </div> | ||
| 72 | - | ||
| 73 | -{% endblock %} |