mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 20:06:35 +11:00
Further cleanup of all „One-Time snippet“ strings.
This commit is contained in:
parent
d8056a83ea
commit
7821056b64
14 changed files with 94 additions and 94 deletions
|
@ -36,7 +36,7 @@ Changelog
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
* IRC lexer is now in the default lexer list.
|
* IRC lexer is now in the default lexer list.
|
||||||
* One-time snippet support. Snippets get automatically deleted after the
|
* One-Time snippet support. Snippets get automatically deleted after the
|
||||||
another user looks at it.
|
another user looks at it.
|
||||||
* Toggle wordwrap for code snippets.
|
* Toggle wordwrap for code snippets.
|
||||||
* General UI and readability improvements.
|
* General UI and readability improvements.
|
||||||
|
|
|
@ -61,7 +61,7 @@ behavior without touching the code:
|
||||||
(3600 * 24 * 30 * 12 * 100, ugettext(u'100 Years')),
|
(3600 * 24 * 30 * 12 * 100, ugettext(u'100 Years')),
|
||||||
)
|
)
|
||||||
|
|
||||||
**One-time snippets** are supported. One-Time snippets are automatically
|
**One-Time snippets** are supported. One-Time snippets are automatically
|
||||||
deleted once a defined view count has reached (Default: ``2``). To
|
deleted once a defined view count has reached (Default: ``2``). To
|
||||||
enable one-time snippets you have to add a choice ``onetime`` to the
|
enable one-time snippets you have to add a choice ``onetime`` to the
|
||||||
expire choices::
|
expire choices::
|
||||||
|
|
|
@ -8,7 +8,7 @@ from dpaste.models import Snippet
|
||||||
from dpaste.highlight import LEXER_LIST, LEXER_DEFAULT, LEXER_KEYS
|
from dpaste.highlight import LEXER_LIST, LEXER_DEFAULT, LEXER_KEYS
|
||||||
|
|
||||||
EXPIRE_CHOICES = getattr(settings, 'DPASTE_EXPIRE_CHOICES', (
|
EXPIRE_CHOICES = getattr(settings, 'DPASTE_EXPIRE_CHOICES', (
|
||||||
('onetime', _(u'One Time Snippet')),
|
('onetime', _(u'One-Time snippet')),
|
||||||
(3600, _(u'In one hour')),
|
(3600, _(u'In one hour')),
|
||||||
(3600 * 24 * 7, _(u'In one week')),
|
(3600 * 24 * 7, _(u'In one week')),
|
||||||
(3600 * 24 * 30, _(u'In one month')),
|
(3600 * 24 * 30, _(u'In one month')),
|
||||||
|
|
Binary file not shown.
|
@ -7,7 +7,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: dpaste\n"
|
"Project-Id-Version: dpaste\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2014-10-25 10:06+0000\n"
|
"POT-Creation-Date: 2014-10-28 11:00+0000\n"
|
||||||
"PO-Revision-Date: 2014-10-28 11:20+0100\n"
|
"PO-Revision-Date: 2014-10-28 11:20+0100\n"
|
||||||
"Last-Translator: Martin Mahner <martin@mahner.org>\n"
|
"Last-Translator: Martin Mahner <martin@mahner.org>\n"
|
||||||
"Language-Team: DE <LL@li.org>\n"
|
"Language-Team: DE <LL@li.org>\n"
|
||||||
|
@ -18,8 +18,8 @@ msgstr ""
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"X-Generator: Poedit 1.6.10\n"
|
"X-Generator: Poedit 1.6.10\n"
|
||||||
|
|
||||||
#: forms.py:11
|
#: forms.py:11 models.py:38 templates/dpaste/snippet_details.html:59
|
||||||
msgid "One Time Snippet"
|
msgid "One-Time snippet"
|
||||||
msgstr "One-Time snippet"
|
msgstr "One-Time snippet"
|
||||||
|
|
||||||
#: forms.py:12
|
#: forms.py:12
|
||||||
|
@ -74,10 +74,6 @@ msgstr "Nach Zeitstempel auslaufen lassen"
|
||||||
msgid "Keep Forever"
|
msgid "Keep Forever"
|
||||||
msgstr "Für immer behalten"
|
msgstr "Für immer behalten"
|
||||||
|
|
||||||
#: models.py:38
|
|
||||||
msgid "One-Time snippet"
|
|
||||||
msgstr "One-Time snippet"
|
|
||||||
|
|
||||||
#: models.py:41
|
#: models.py:41
|
||||||
msgid "Secret ID"
|
msgid "Secret ID"
|
||||||
msgstr "Geheime ID"
|
msgstr "Geheime ID"
|
||||||
|
@ -94,15 +90,11 @@ msgstr "Auslauftyp"
|
||||||
msgid "View count"
|
msgid "View count"
|
||||||
msgstr "Anzahl der Besuche"
|
msgstr "Anzahl der Besuche"
|
||||||
|
|
||||||
#: views.py:200
|
#: templates/dpaste/about.html:59
|
||||||
msgid "No changes were made between this two files."
|
|
||||||
msgstr "Zwischen diesen beiden Dateien wurden keine Änderungen gemacht."
|
|
||||||
|
|
||||||
#: templates/dpaste/about.html:44
|
|
||||||
msgid "Statistics"
|
msgid "Statistics"
|
||||||
msgstr "Statistiken"
|
msgstr "Statistiken"
|
||||||
|
|
||||||
#: templates/dpaste/about.html:46
|
#: templates/dpaste/about.html:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are %(total)s snippets in the database. The most popular languages are:"
|
"There are %(total)s snippets in the database. The most popular languages are:"
|
||||||
|
@ -139,10 +131,6 @@ msgstr "Erlischt in: %(date)s"
|
||||||
msgid "Snippet never expires"
|
msgid "Snippet never expires"
|
||||||
msgstr "Snippet erlischt niemals"
|
msgstr "Snippet erlischt niemals"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:59
|
|
||||||
msgid "One-time snippet"
|
|
||||||
msgstr "One-Time snippet"
|
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:63
|
#: templates/dpaste/snippet_details.html:63
|
||||||
msgid "Really delete this snippet?"
|
msgid "Really delete this snippet?"
|
||||||
msgstr "Dieses Snippet wirklich löschen?"
|
msgstr "Dieses Snippet wirklich löschen?"
|
||||||
|
@ -165,7 +153,7 @@ msgstr "Gist"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:82
|
#: templates/dpaste/snippet_details.html:82
|
||||||
msgid "This is a one-time snippet."
|
msgid "This is a one-time snippet."
|
||||||
msgstr "Dies ist ein One-Time snippet"
|
msgstr "Dies ist ein One-Time Snippet."
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:84
|
#: templates/dpaste/snippet_details.html:84
|
||||||
#, python-format
|
#, python-format
|
||||||
|
@ -205,6 +193,10 @@ msgstr "Erlischt in"
|
||||||
msgid "Paste it"
|
msgid "Paste it"
|
||||||
msgstr "Paste"
|
msgstr "Paste"
|
||||||
|
|
||||||
|
#: templates/dpaste/snippet_form.html:39
|
||||||
|
msgid "or"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/snippet_list.html:16
|
#: templates/dpaste/snippet_list.html:16
|
||||||
msgid "DATETIME_FORMAT"
|
msgid "DATETIME_FORMAT"
|
||||||
msgstr "DATETIME_FORMAT"
|
msgstr "DATETIME_FORMAT"
|
||||||
|
@ -212,7 +204,7 @@ msgstr "DATETIME_FORMAT"
|
||||||
#: templates/dpaste/snippet_list.html:17
|
#: templates/dpaste/snippet_list.html:17
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%(since)s ago"
|
msgid "%(since)s ago"
|
||||||
msgstr "seit %(since)s"
|
msgstr "Vor %(since)s"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_list.html:23
|
#: templates/dpaste/snippet_list.html:23
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -222,6 +214,10 @@ msgstr ""
|
||||||
"Keine Snippets gespeichert. Entweder sind alle deine Snippets erloschen oder "
|
"Keine Snippets gespeichert. Entweder sind alle deine Snippets erloschen oder "
|
||||||
"dein Cookie hat sich geändert."
|
"dein Cookie hat sich geändert."
|
||||||
|
|
||||||
|
#: views.py:200
|
||||||
|
msgid "No changes were made between this two files."
|
||||||
|
msgstr "Zwischen diesen beiden Dateien wurden keine Änderungen gemacht."
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
#~ msgid "Please fill out this field."
|
#~ msgid "Please fill out this field."
|
||||||
#~ msgstr "Bitte dieses Feld ausfüllen."
|
#~ msgstr "Bitte dieses Feld ausfüllen."
|
||||||
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2014-10-25 10:08+0000\n"
|
"POT-Creation-Date: 2014-10-28 11:01+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -17,8 +17,8 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: forms.py:11
|
#: forms.py:11 models.py:38 templates/dpaste/snippet_details.html:59
|
||||||
msgid "One Time Snippet"
|
msgid "One-Time snippet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: forms.py:12
|
#: forms.py:12
|
||||||
|
@ -73,10 +73,6 @@ msgstr ""
|
||||||
msgid "Keep Forever"
|
msgid "Keep Forever"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: models.py:38
|
|
||||||
msgid "One-Time snippet"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: models.py:41
|
#: models.py:41
|
||||||
msgid "Secret ID"
|
msgid "Secret ID"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -93,15 +89,11 @@ msgstr ""
|
||||||
msgid "View count"
|
msgid "View count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: views.py:200
|
#: templates/dpaste/about.html:59
|
||||||
msgid "No changes were made between this two files."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/dpaste/about.html:44
|
|
||||||
msgid "Statistics"
|
msgid "Statistics"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/about.html:46
|
#: templates/dpaste/about.html:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are %(total)s snippets in the database. The most popular languages are:"
|
"There are %(total)s snippets in the database. The most popular languages are:"
|
||||||
|
@ -138,10 +130,6 @@ msgstr ""
|
||||||
msgid "Snippet never expires"
|
msgid "Snippet never expires"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:59
|
|
||||||
msgid "One-time snippet"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:63
|
#: templates/dpaste/snippet_details.html:63
|
||||||
msgid "Really delete this snippet?"
|
msgid "Really delete this snippet?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -200,6 +188,10 @@ msgstr ""
|
||||||
msgid "Paste it"
|
msgid "Paste it"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: templates/dpaste/snippet_form.html:39
|
||||||
|
msgid "or"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/snippet_list.html:16
|
#: templates/dpaste/snippet_list.html:16
|
||||||
msgid "DATETIME_FORMAT"
|
msgid "DATETIME_FORMAT"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -214,3 +206,7 @@ msgid ""
|
||||||
"No snippets saved. Either all your snippets are expired or your cookie has "
|
"No snippets saved. Either all your snippets are expired or your cookie has "
|
||||||
"changed."
|
"changed."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: views.py:200
|
||||||
|
msgid "No changes were made between this two files."
|
||||||
|
msgstr ""
|
||||||
|
|
Binary file not shown.
|
@ -9,18 +9,19 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: dpaste\n"
|
"Project-Id-Version: dpaste\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2014-10-25 10:08+0000\n"
|
"POT-Creation-Date: 2014-10-28 11:02+0000\n"
|
||||||
"PO-Revision-Date: 2014-10-27 17:05+0000\n"
|
"PO-Revision-Date: 2014-10-27 17:05+0000\n"
|
||||||
"Last-Translator: Leonardo J. Caballero G. <leonardocaballero@gmail.com>\n"
|
"Last-Translator: Leonardo J. Caballero G. <leonardocaballero@gmail.com>\n"
|
||||||
"Language-Team: Spanish (http://www.transifex.com/projects/p/dpaste/language/es/)\n"
|
"Language-Team: Spanish (http://www.transifex.com/projects/p/dpaste/language/"
|
||||||
|
"es/)\n"
|
||||||
|
"Language: es\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Language: es\n"
|
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: forms.py:11
|
#: forms.py:11 models.py:38 templates/dpaste/snippet_details.html:59
|
||||||
msgid "One Time Snippet"
|
msgid "One-Time snippet"
|
||||||
msgstr "Apenas una visualización"
|
msgstr "Apenas una visualización"
|
||||||
|
|
||||||
#: forms.py:12
|
#: forms.py:12
|
||||||
|
@ -75,10 +76,6 @@ msgstr "Caduca por fecha y hora"
|
||||||
msgid "Keep Forever"
|
msgid "Keep Forever"
|
||||||
msgstr "Guarde por siempre"
|
msgstr "Guarde por siempre"
|
||||||
|
|
||||||
#: models.py:38
|
|
||||||
msgid "One-Time snippet"
|
|
||||||
msgstr "Apenas una visualización"
|
|
||||||
|
|
||||||
#: models.py:41
|
#: models.py:41
|
||||||
msgid "Secret ID"
|
msgid "Secret ID"
|
||||||
msgstr "ID secreto"
|
msgstr "ID secreto"
|
||||||
|
@ -95,20 +92,17 @@ msgstr "Tipo de Caducidad "
|
||||||
msgid "View count"
|
msgid "View count"
|
||||||
msgstr "Visualizaciones"
|
msgstr "Visualizaciones"
|
||||||
|
|
||||||
#: views.py:200
|
#: templates/dpaste/about.html:59
|
||||||
msgid "No changes were made between this two files."
|
|
||||||
msgstr "No hay cambios entre estos dos archivos."
|
|
||||||
|
|
||||||
#: templates/dpaste/about.html:44
|
|
||||||
msgid "Statistics"
|
msgid "Statistics"
|
||||||
msgstr " Estadísticas"
|
msgstr " Estadísticas"
|
||||||
|
|
||||||
#: templates/dpaste/about.html:46
|
#: templates/dpaste/about.html:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are %(total)s snippets in the database. The most popular languages "
|
"There are %(total)s snippets in the database. The most popular languages are:"
|
||||||
"are:"
|
msgstr ""
|
||||||
msgstr "Hay %(total)s fragmentos en la base de datos. Los lenguajes más populares son:"
|
"Hay %(total)s fragmentos en la base de datos. Los lenguajes más populares "
|
||||||
|
"son:"
|
||||||
|
|
||||||
#: templates/dpaste/base.html:8 templates/dpaste/base.html.py:21
|
#: templates/dpaste/base.html:8 templates/dpaste/base.html.py:21
|
||||||
#: templates/dpaste/snippet_new.html:6 templates/dpaste/snippet_new.html:7
|
#: templates/dpaste/snippet_new.html:6 templates/dpaste/snippet_new.html:7
|
||||||
|
@ -141,10 +135,6 @@ msgstr "Caduca en: %(date)s"
|
||||||
msgid "Snippet never expires"
|
msgid "Snippet never expires"
|
||||||
msgstr "El fragmento nunca caduca"
|
msgstr "El fragmento nunca caduca"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:59
|
|
||||||
msgid "One-time snippet"
|
|
||||||
msgstr "Apenas una visualización"
|
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:63
|
#: templates/dpaste/snippet_details.html:63
|
||||||
msgid "Really delete this snippet?"
|
msgid "Really delete this snippet?"
|
||||||
msgstr "¿Realmente desea eliminar este fragmento?"
|
msgstr "¿Realmente desea eliminar este fragmento?"
|
||||||
|
@ -172,7 +162,8 @@ msgstr "Este fragmento podrá ser visualizado apenas sólo una vez."
|
||||||
#: templates/dpaste/snippet_details.html:84
|
#: templates/dpaste/snippet_details.html:84
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "It is automatically removed after %(remaining)s further views."
|
msgid "It is automatically removed after %(remaining)s further views."
|
||||||
msgstr "Automáticamente eliminado después de más %(remaining)s visualizaciones."
|
msgstr ""
|
||||||
|
"Automáticamente eliminado después de más %(remaining)s visualizaciones."
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:86
|
#: templates/dpaste/snippet_details.html:86
|
||||||
msgid "It is automatically removed after the next view."
|
msgid "It is automatically removed after the next view."
|
||||||
|
@ -190,9 +181,13 @@ msgstr "Responder fragmento"
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
" Diff between <a href=\"%(filea_url)s\">#%(filea_id)s</a> and <a href=\"%(fileb_url)s\">#%(fileb_id)s</a>\n"
|
" Diff between <a href=\"%(filea_url)s\">#%(filea_id)s</a> and <a href="
|
||||||
|
"\"%(fileb_url)s\">#%(fileb_id)s</a>\n"
|
||||||
" "
|
" "
|
||||||
msgstr "\nComparar entre <a href=\"%(filea_url)s\">#%(filea_id)s</a> y <a href=\"%(fileb_url)s\">#%(fileb_id)s</a>"
|
msgstr ""
|
||||||
|
"\n"
|
||||||
|
"Comparar entre <a href=\"%(filea_url)s\">#%(filea_id)s</a> y <a href="
|
||||||
|
"\"%(fileb_url)s\">#%(fileb_id)s</a>"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_form.html:32
|
#: templates/dpaste/snippet_form.html:32
|
||||||
msgid "Expire in"
|
msgid "Expire in"
|
||||||
|
@ -202,6 +197,10 @@ msgstr "Caduca en"
|
||||||
msgid "Paste it"
|
msgid "Paste it"
|
||||||
msgstr "Pegarlo"
|
msgstr "Pegarlo"
|
||||||
|
|
||||||
|
#: templates/dpaste/snippet_form.html:39
|
||||||
|
msgid "or"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/snippet_list.html:16
|
#: templates/dpaste/snippet_list.html:16
|
||||||
msgid "DATETIME_FORMAT"
|
msgid "DATETIME_FORMAT"
|
||||||
msgstr "DATETIME_FORMAT"
|
msgstr "DATETIME_FORMAT"
|
||||||
|
@ -215,4 +214,10 @@ msgstr "%(since)s atrás"
|
||||||
msgid ""
|
msgid ""
|
||||||
"No snippets saved. Either all your snippets are expired or your cookie has "
|
"No snippets saved. Either all your snippets are expired or your cookie has "
|
||||||
"changed."
|
"changed."
|
||||||
msgstr "No hay fragmentos guardados. O sus fragmentos han caducado o su cookie cambió."
|
msgstr ""
|
||||||
|
"No hay fragmentos guardados. O sus fragmentos han caducado o su cookie "
|
||||||
|
"cambió."
|
||||||
|
|
||||||
|
#: views.py:200
|
||||||
|
msgid "No changes were made between this two files."
|
||||||
|
msgstr "No hay cambios entre estos dos archivos."
|
||||||
|
|
Binary file not shown.
|
@ -8,18 +8,19 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: dpaste\n"
|
"Project-Id-Version: dpaste\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2014-10-25 10:08+0000\n"
|
"POT-Creation-Date: 2014-10-28 11:03+0000\n"
|
||||||
"PO-Revision-Date: 2014-10-25 14:25+0000\n"
|
"PO-Revision-Date: 2014-10-25 14:25+0000\n"
|
||||||
"Last-Translator: Sergio Oliveira <seocam@seocam.com>\n"
|
"Last-Translator: Sergio Oliveira <seocam@seocam.com>\n"
|
||||||
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/dpaste/language/pt_BR/)\n"
|
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
|
||||||
|
"dpaste/language/pt_BR/)\n"
|
||||||
|
"Language: pt_BR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Language: pt_BR\n"
|
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
#: forms.py:11
|
#: forms.py:11 models.py:38 templates/dpaste/snippet_details.html:59
|
||||||
msgid "One Time Snippet"
|
msgid "One-Time snippet"
|
||||||
msgstr "Uma única visualização"
|
msgstr "Uma única visualização"
|
||||||
|
|
||||||
#: forms.py:12
|
#: forms.py:12
|
||||||
|
@ -74,10 +75,6 @@ msgstr "Expira por tempo"
|
||||||
msgid "Keep Forever"
|
msgid "Keep Forever"
|
||||||
msgstr "Não expira"
|
msgstr "Não expira"
|
||||||
|
|
||||||
#: models.py:38
|
|
||||||
msgid "One-Time snippet"
|
|
||||||
msgstr "Uma única visualização"
|
|
||||||
|
|
||||||
#: models.py:41
|
#: models.py:41
|
||||||
msgid "Secret ID"
|
msgid "Secret ID"
|
||||||
msgstr "ID secreto"
|
msgstr "ID secreto"
|
||||||
|
@ -94,19 +91,14 @@ msgstr "Tipo de validade"
|
||||||
msgid "View count"
|
msgid "View count"
|
||||||
msgstr "Visualizações"
|
msgstr "Visualizações"
|
||||||
|
|
||||||
#: views.py:200
|
#: templates/dpaste/about.html:59
|
||||||
msgid "No changes were made between this two files."
|
|
||||||
msgstr "Nenhuma alterção feita entre esses dois arquivos."
|
|
||||||
|
|
||||||
#: templates/dpaste/about.html:44
|
|
||||||
msgid "Statistics"
|
msgid "Statistics"
|
||||||
msgstr "Estatísticas"
|
msgstr "Estatísticas"
|
||||||
|
|
||||||
#: templates/dpaste/about.html:46
|
#: templates/dpaste/about.html:61
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are %(total)s snippets in the database. The most popular languages "
|
"There are %(total)s snippets in the database. The most popular languages are:"
|
||||||
"are:"
|
|
||||||
msgstr "Existem %(total)s pastes no banco de dados. A linguagem mais popular é"
|
msgstr "Existem %(total)s pastes no banco de dados. A linguagem mais popular é"
|
||||||
|
|
||||||
#: templates/dpaste/base.html:8 templates/dpaste/base.html.py:21
|
#: templates/dpaste/base.html:8 templates/dpaste/base.html.py:21
|
||||||
|
@ -140,10 +132,6 @@ msgstr "Expira em: %(date)s"
|
||||||
msgid "Snippet never expires"
|
msgid "Snippet never expires"
|
||||||
msgstr "Paste nunca expira"
|
msgstr "Paste nunca expira"
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:59
|
|
||||||
msgid "One-time snippet"
|
|
||||||
msgstr "Uma única visualização"
|
|
||||||
|
|
||||||
#: templates/dpaste/snippet_details.html:63
|
#: templates/dpaste/snippet_details.html:63
|
||||||
msgid "Really delete this snippet?"
|
msgid "Really delete this snippet?"
|
||||||
msgstr "Deseja realmente remover esse paste?"
|
msgstr "Deseja realmente remover esse paste?"
|
||||||
|
@ -189,9 +177,14 @@ msgstr "Responder paste"
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"\n"
|
"\n"
|
||||||
" Diff between <a href=\"%(filea_url)s\">#%(filea_id)s</a> and <a href=\"%(fileb_url)s\">#%(fileb_id)s</a>\n"
|
" Diff between <a href=\"%(filea_url)s\">#%(filea_id)s</a> and <a href="
|
||||||
|
"\"%(fileb_url)s\">#%(fileb_id)s</a>\n"
|
||||||
|
" "
|
||||||
|
msgstr ""
|
||||||
|
"\n"
|
||||||
|
" Diff entre <a href=\"%(filea_url)s\">#%(filea_id)s</a> e <a href="
|
||||||
|
"\"%(fileb_url)s\">#%(fileb_id)s</a>\n"
|
||||||
" "
|
" "
|
||||||
msgstr "\n Diff entre <a href=\"%(filea_url)s\">#%(filea_id)s</a> e <a href=\"%(fileb_url)s\">#%(fileb_id)s</a>\n "
|
|
||||||
|
|
||||||
#: templates/dpaste/snippet_form.html:32
|
#: templates/dpaste/snippet_form.html:32
|
||||||
msgid "Expire in"
|
msgid "Expire in"
|
||||||
|
@ -201,6 +194,10 @@ msgstr "Expira em"
|
||||||
msgid "Paste it"
|
msgid "Paste it"
|
||||||
msgstr "Criar paste"
|
msgstr "Criar paste"
|
||||||
|
|
||||||
|
#: templates/dpaste/snippet_form.html:39
|
||||||
|
msgid "or"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: templates/dpaste/snippet_list.html:16
|
#: templates/dpaste/snippet_list.html:16
|
||||||
msgid "DATETIME_FORMAT"
|
msgid "DATETIME_FORMAT"
|
||||||
msgstr "DATETIME_FORMAT"
|
msgstr "DATETIME_FORMAT"
|
||||||
|
@ -214,4 +211,10 @@ msgstr "%(since)s atrás"
|
||||||
msgid ""
|
msgid ""
|
||||||
"No snippets saved. Either all your snippets are expired or your cookie has "
|
"No snippets saved. Either all your snippets are expired or your cookie has "
|
||||||
"changed."
|
"changed."
|
||||||
msgstr "Nenhum paste salvo. Ou todos os seus pastes expiraram ou seu cookie foi alterado."
|
msgstr ""
|
||||||
|
"Nenhum paste salvo. Ou todos os seus pastes expiraram ou seu cookie foi "
|
||||||
|
"alterado."
|
||||||
|
|
||||||
|
#: views.py:200
|
||||||
|
msgid "No changes were made between this two files."
|
||||||
|
msgstr "Nenhuma alterção feita entre esses dois arquivos."
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
{% elif snippet.expire_type == 2 %}
|
{% elif snippet.expire_type == 2 %}
|
||||||
{% trans "Snippet never expires" %}
|
{% trans "Snippet never expires" %}
|
||||||
{% elif snippet.expire_type == 3 %}
|
{% elif snippet.expire_type == 3 %}
|
||||||
{% trans "One-time snippet" %}
|
{% trans "One-Time snippet" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
{% if snippet.pk|in_list:request.session.snippet_list %}
|
{% if snippet.pk|in_list:request.session.snippet_list %}
|
||||||
|
|
|
@ -36,6 +36,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<input tabindex="0" type="submit"class="btn btn-primary" value="{% trans "Paste it" %}">
|
<input tabindex="0" type="submit"class="btn btn-primary" value="{% trans "Paste it" %}">
|
||||||
<span class="shortcut">⌘+⏎ or Ctrl+⏎</span>
|
<span class="shortcut">⌘+⏎ {% trans "or" %} Ctrl+⏎</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -108,7 +108,7 @@ class SnippetTestCase(TestCase):
|
||||||
|
|
||||||
def test_new_snippet_onetime(self):
|
def test_new_snippet_onetime(self):
|
||||||
"""
|
"""
|
||||||
One-time snippets get deleted after two views.
|
One-Time snippets get deleted after two views.
|
||||||
"""
|
"""
|
||||||
# POST data
|
# POST data
|
||||||
data = self.valid_form_data()
|
data = self.valid_form_data()
|
||||||
|
|
Loading…
Reference in a new issue