From ee0fc79a3ec2515b88659d55e8074a214b66265c Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Tue, 19 Mar 2013 13:33:35 +0100 Subject: [PATCH] Renamed pastebin > dpaste. This is a way simpler project structure, its also backwards compatible. Its a huge cleanup and should make further development and also 3rd party integration much easier. --- .gitignore | 4 +- {pastebin => dpaste}/__init__.py | 0 {pastebin/apps/dpaste => dpaste}/admin.py | 2 +- {pastebin => dpaste}/bin/manage.py | 0 {pastebin/apps => dpaste/conf}/__init__.py | 0 {pastebin => dpaste}/conf/settings.py | 13 +- {pastebin => dpaste}/conf/urls.py | 6 +- {pastebin => dpaste}/disable.py | 0 {pastebin/apps/dpaste => dpaste}/forms.py | 4 +- {pastebin/apps/api => dpaste}/handlers.py | 2 +- {pastebin/apps/dpaste => dpaste}/highlight.py | 0 .../api => dpaste/management}/__init__.py | 0 .../management/commands}/__init__.py | 0 .../management/commands/cleanup_snippets.py | 2 +- .../migrations/0001_initial.py | 0 ...snippet_author__del_field_snippet_title.py | 0 .../migrations}/__init__.py | 0 {pastebin/apps/dpaste => dpaste}/models.py | 3 +- {pastebin => dpaste}/smtp.py | 0 {pastebin => dpaste}/static/.gitignore | 0 {pastebin => dpaste}/static/raven-0.4.min.js | 0 {pastebin => dpaste}/static/theme.css | 0 {pastebin => dpaste}/templates/404.html | 0 {pastebin => dpaste}/templates/500.html | 0 {pastebin => dpaste}/templates/about.html | 0 {pastebin => dpaste}/templates/base.html | 0 .../templates/dpaste/base.html | 0 .../templates/dpaste/snippet_details.html | 0 .../templates/dpaste/snippet_details_raw.html | 0 .../templates/dpaste/snippet_diff.html | 0 .../templates/dpaste/snippet_form.html | 0 .../templates/dpaste/snippet_list.html | 0 .../templates/dpaste/snippet_new.html | 0 .../templates/dpaste/userprefs.html | 0 .../templatetags/__init__.py | 0 .../templatetags/dpaste_tags.py | 2 +- {pastebin/apps/dpaste => dpaste}/urls.py | 2 +- {pastebin/apps/dpaste => dpaste}/views.py | 6 +- fabfile.py | 8 +- pastebin/apps/dpaste/__init__.py | 1 - .../dpaste/locale/de/LC_MESSAGES/django.mo | Bin 3419 -> 0 bytes .../dpaste/locale/de/LC_MESSAGES/django.po | 236 ----------------- .../dpaste/locale/en/LC_MESSAGES/django.mo | Bin 1175 -> 0 bytes .../dpaste/locale/en/LC_MESSAGES/django.po | 226 ---------------- pastebin/apps/dpaste/migrations/__init__.py | 0 pastebin/conf/__init__.py | 0 pastebin/locale/en/LC_MESSAGES/django.mo | Bin 748 -> 0 bytes pastebin/locale/en/LC_MESSAGES/django.po | 246 ------------------ setup.py | 8 +- 49 files changed, 31 insertions(+), 740 deletions(-) rename {pastebin => dpaste}/__init__.py (100%) rename {pastebin/apps/dpaste => dpaste}/admin.py (85%) rename {pastebin => dpaste}/bin/manage.py (100%) rename {pastebin/apps => dpaste/conf}/__init__.py (100%) rename {pastebin => dpaste}/conf/settings.py (94%) rename {pastebin => dpaste}/conf/urls.py (76%) rename {pastebin => dpaste}/disable.py (100%) rename {pastebin/apps/dpaste => dpaste}/forms.py (96%) rename {pastebin/apps/api => dpaste}/handlers.py (92%) rename {pastebin/apps/dpaste => dpaste}/highlight.py (100%) rename {pastebin/apps/api => dpaste/management}/__init__.py (100%) rename {pastebin/apps/dpaste/management => dpaste/management/commands}/__init__.py (100%) rename {pastebin/apps/dpaste => dpaste}/management/commands/cleanup_snippets.py (94%) rename {pastebin/apps/dpaste => dpaste}/migrations/0001_initial.py (100%) rename {pastebin/apps/dpaste => dpaste}/migrations/0002_auto__del_spamword__del_field_snippet_author__del_field_snippet_title.py (100%) rename {pastebin/apps/dpaste/management/commands => dpaste/migrations}/__init__.py (100%) rename {pastebin/apps/dpaste => dpaste}/models.py (94%) rename {pastebin => dpaste}/smtp.py (100%) rename {pastebin => dpaste}/static/.gitignore (100%) rename {pastebin => dpaste}/static/raven-0.4.min.js (100%) rename {pastebin => dpaste}/static/theme.css (100%) rename {pastebin => dpaste}/templates/404.html (100%) rename {pastebin => dpaste}/templates/500.html (100%) rename {pastebin => dpaste}/templates/about.html (100%) rename {pastebin => dpaste}/templates/base.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/base.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_details.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_details_raw.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_diff.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_form.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_list.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/snippet_new.html (100%) rename {pastebin/apps/dpaste => dpaste}/templates/dpaste/userprefs.html (100%) rename {pastebin/apps/dpaste => dpaste}/templatetags/__init__.py (100%) rename {pastebin/apps/dpaste => dpaste}/templatetags/dpaste_tags.py (88%) rename {pastebin/apps/dpaste => dpaste}/urls.py (93%) rename {pastebin/apps/dpaste => dpaste}/views.py (96%) delete mode 100644 pastebin/apps/dpaste/__init__.py delete mode 100644 pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.mo delete mode 100644 pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.po delete mode 100644 pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.mo delete mode 100644 pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.po delete mode 100644 pastebin/apps/dpaste/migrations/__init__.py delete mode 100644 pastebin/conf/__init__.py delete mode 100644 pastebin/locale/en/LC_MESSAGES/django.mo delete mode 100644 pastebin/locale/en/LC_MESSAGES/django.po diff --git a/.gitignore b/.gitignore index 1759fa8..a4179b2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,6 @@ *.pyc docs/_build/* uploads -pastebin/conf/local/*.py +dpaste/conf/local/*.py dev.db -pastebin.egg-info +dpaste.egg-info diff --git a/pastebin/__init__.py b/dpaste/__init__.py similarity index 100% rename from pastebin/__init__.py rename to dpaste/__init__.py diff --git a/pastebin/apps/dpaste/admin.py b/dpaste/admin.py similarity index 85% rename from pastebin/apps/dpaste/admin.py rename to dpaste/admin.py index bf80cfa..8057fc0 100644 --- a/pastebin/apps/dpaste/admin.py +++ b/dpaste/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from pastebin.apps.dpaste.models import Snippet +from dpaste.models import Snippet class SnippetAdmin(admin.ModelAdmin): list_display = ('published', 'expires', 'lexer', 'get_absolute_url') diff --git a/pastebin/bin/manage.py b/dpaste/bin/manage.py similarity index 100% rename from pastebin/bin/manage.py rename to dpaste/bin/manage.py diff --git a/pastebin/apps/__init__.py b/dpaste/conf/__init__.py similarity index 100% rename from pastebin/apps/__init__.py rename to dpaste/conf/__init__.py diff --git a/pastebin/conf/settings.py b/dpaste/conf/settings.py similarity index 94% rename from pastebin/conf/settings.py rename to dpaste/conf/settings.py index 3ccbcb3..7b88e74 100644 --- a/pastebin/conf/settings.py +++ b/dpaste/conf/settings.py @@ -33,10 +33,10 @@ LANGUAGES = ( #============================================================================== import os import sys -import pastebin +import dpaste PROJECT_DIR, PROJECT_MODULE_NAME = os.path.split( - os.path.dirname(os.path.realpath(pastebin.__file__)) + os.path.dirname(os.path.realpath(dpaste.__file__)) ) PYTHON_BIN = os.path.dirname(sys.executable) @@ -68,7 +68,7 @@ ADMIN_MEDIA_PREFIX = '/static/admin/' MEDIA_ROOT = os.path.join(VAR_ROOT, 'uploads') -ROOT_URLCONF = 'pastebin.conf.urls' +ROOT_URLCONF = 'dpaste.conf.urls' LOGIN_URL = '/accounts/login/' LOGOUT_URL = '/accounts/logout/' @@ -79,7 +79,7 @@ LOGIN_REDIRECT_URL = '/' #============================================================================== MIDDLEWARE_CLASSES = ( - 'pastebin.disable.DisableCSRF', + 'dpaste.disable.DisableCSRF', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', @@ -103,10 +103,9 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'mptt', 'south', - 'pastebin', - 'pastebin.apps.dpaste', 'gunicorn', - 'raven.contrib.django', + + 'dpaste', ) #============================================================================== diff --git a/pastebin/conf/urls.py b/dpaste/conf/urls.py similarity index 76% rename from pastebin/conf/urls.py rename to dpaste/conf/urls.py index bc9e6b1..22df1a1 100644 --- a/pastebin/conf/urls.py +++ b/dpaste/conf/urls.py @@ -2,7 +2,7 @@ from django.conf.urls.defaults import * from django.conf import settings from django.contrib import admin from piston.resource import Resource -from pastebin.apps.api.handlers import SnippetHandler +from dpaste.handlers import SnippetHandler admin.autodiscover() snippet_resource = Resource(handler=SnippetHandler) @@ -12,6 +12,6 @@ urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^api/(?P[^/]+)/$', snippet_resource), - url(r'^api/$', snippet_resource), - (r'^', include('pastebin.apps.dpaste.urls')), + url(r'^api/$', snippet_resource), + (r'^', include('dpaste.urls')), ) diff --git a/pastebin/disable.py b/dpaste/disable.py similarity index 100% rename from pastebin/disable.py rename to dpaste/disable.py diff --git a/pastebin/apps/dpaste/forms.py b/dpaste/forms.py similarity index 96% rename from pastebin/apps/dpaste/forms.py rename to dpaste/forms.py index 5900a8e..30b8a9f 100644 --- a/pastebin/apps/dpaste/forms.py +++ b/dpaste/forms.py @@ -1,8 +1,8 @@ from django import forms from django.conf import settings from django.utils.translation import ugettext_lazy as _ -from pastebin.apps.dpaste.models import Snippet -from pastebin.apps.dpaste.highlight import LEXER_LIST_ALL, LEXER_LIST, LEXER_DEFAULT +from dpaste.models import Snippet +from dpaste.highlight import LEXER_LIST_ALL, LEXER_LIST, LEXER_DEFAULT import datetime #=============================================================================== diff --git a/pastebin/apps/api/handlers.py b/dpaste/handlers.py similarity index 92% rename from pastebin/apps/api/handlers.py rename to dpaste/handlers.py index 6b4df4c..5a31286 100644 --- a/pastebin/apps/api/handlers.py +++ b/dpaste/handlers.py @@ -2,7 +2,7 @@ import datetime import re from piston.utils import rc from piston.handler import AnonymousBaseHandler -from pastebin.apps.dpaste.models import Snippet +from dpaste.models import Snippet class SnippetHandler(AnonymousBaseHandler): allowed_methods = ('POST',) diff --git a/pastebin/apps/dpaste/highlight.py b/dpaste/highlight.py similarity index 100% rename from pastebin/apps/dpaste/highlight.py rename to dpaste/highlight.py diff --git a/pastebin/apps/api/__init__.py b/dpaste/management/__init__.py similarity index 100% rename from pastebin/apps/api/__init__.py rename to dpaste/management/__init__.py diff --git a/pastebin/apps/dpaste/management/__init__.py b/dpaste/management/commands/__init__.py similarity index 100% rename from pastebin/apps/dpaste/management/__init__.py rename to dpaste/management/commands/__init__.py diff --git a/pastebin/apps/dpaste/management/commands/cleanup_snippets.py b/dpaste/management/commands/cleanup_snippets.py similarity index 94% rename from pastebin/apps/dpaste/management/commands/cleanup_snippets.py rename to dpaste/management/commands/cleanup_snippets.py index 82e643f..113d397 100644 --- a/pastebin/apps/dpaste/management/commands/cleanup_snippets.py +++ b/dpaste/management/commands/cleanup_snippets.py @@ -2,7 +2,7 @@ import datetime import sys from optparse import make_option from django.core.management.base import CommandError, LabelCommand -from pastebin.apps.dpaste.models import Snippet +from dpaste.models import Snippet class Command(LabelCommand): option_list = LabelCommand.option_list + ( diff --git a/pastebin/apps/dpaste/migrations/0001_initial.py b/dpaste/migrations/0001_initial.py similarity index 100% rename from pastebin/apps/dpaste/migrations/0001_initial.py rename to dpaste/migrations/0001_initial.py diff --git a/pastebin/apps/dpaste/migrations/0002_auto__del_spamword__del_field_snippet_author__del_field_snippet_title.py b/dpaste/migrations/0002_auto__del_spamword__del_field_snippet_author__del_field_snippet_title.py similarity index 100% rename from pastebin/apps/dpaste/migrations/0002_auto__del_spamword__del_field_snippet_author__del_field_snippet_title.py rename to dpaste/migrations/0002_auto__del_spamword__del_field_snippet_author__del_field_snippet_title.py diff --git a/pastebin/apps/dpaste/management/commands/__init__.py b/dpaste/migrations/__init__.py similarity index 100% rename from pastebin/apps/dpaste/management/commands/__init__.py rename to dpaste/migrations/__init__.py diff --git a/pastebin/apps/dpaste/models.py b/dpaste/models.py similarity index 94% rename from pastebin/apps/dpaste/models.py rename to dpaste/models.py index 8336dfc..ad654e5 100644 --- a/pastebin/apps/dpaste/models.py +++ b/dpaste/models.py @@ -7,7 +7,7 @@ from django.db import models from django.core.urlresolvers import reverse from django.db.models import permalink from django.utils.translation import ugettext_lazy as _ -from pastebin.apps.dpaste.highlight import LEXER_DEFAULT, pygmentize +from dpaste.highlight import LEXER_DEFAULT, pygmentize t = 'abcdefghijkmnopqrstuvwwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ1234567890' def generate_secret_id(length=5): @@ -24,6 +24,7 @@ class Snippet(models.Model): class Meta: ordering = ('-published',) + db_table = 'dpaste_snippet' def get_linecount(self): return len(self.content.splitlines()) diff --git a/pastebin/smtp.py b/dpaste/smtp.py similarity index 100% rename from pastebin/smtp.py rename to dpaste/smtp.py diff --git a/pastebin/static/.gitignore b/dpaste/static/.gitignore similarity index 100% rename from pastebin/static/.gitignore rename to dpaste/static/.gitignore diff --git a/pastebin/static/raven-0.4.min.js b/dpaste/static/raven-0.4.min.js similarity index 100% rename from pastebin/static/raven-0.4.min.js rename to dpaste/static/raven-0.4.min.js diff --git a/pastebin/static/theme.css b/dpaste/static/theme.css similarity index 100% rename from pastebin/static/theme.css rename to dpaste/static/theme.css diff --git a/pastebin/templates/404.html b/dpaste/templates/404.html similarity index 100% rename from pastebin/templates/404.html rename to dpaste/templates/404.html diff --git a/pastebin/templates/500.html b/dpaste/templates/500.html similarity index 100% rename from pastebin/templates/500.html rename to dpaste/templates/500.html diff --git a/pastebin/templates/about.html b/dpaste/templates/about.html similarity index 100% rename from pastebin/templates/about.html rename to dpaste/templates/about.html diff --git a/pastebin/templates/base.html b/dpaste/templates/base.html similarity index 100% rename from pastebin/templates/base.html rename to dpaste/templates/base.html diff --git a/pastebin/apps/dpaste/templates/dpaste/base.html b/dpaste/templates/dpaste/base.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/base.html rename to dpaste/templates/dpaste/base.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_details.html b/dpaste/templates/dpaste/snippet_details.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_details.html rename to dpaste/templates/dpaste/snippet_details.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_details_raw.html b/dpaste/templates/dpaste/snippet_details_raw.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_details_raw.html rename to dpaste/templates/dpaste/snippet_details_raw.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_diff.html b/dpaste/templates/dpaste/snippet_diff.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_diff.html rename to dpaste/templates/dpaste/snippet_diff.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_form.html b/dpaste/templates/dpaste/snippet_form.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_form.html rename to dpaste/templates/dpaste/snippet_form.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_list.html b/dpaste/templates/dpaste/snippet_list.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_list.html rename to dpaste/templates/dpaste/snippet_list.html diff --git a/pastebin/apps/dpaste/templates/dpaste/snippet_new.html b/dpaste/templates/dpaste/snippet_new.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/snippet_new.html rename to dpaste/templates/dpaste/snippet_new.html diff --git a/pastebin/apps/dpaste/templates/dpaste/userprefs.html b/dpaste/templates/dpaste/userprefs.html similarity index 100% rename from pastebin/apps/dpaste/templates/dpaste/userprefs.html rename to dpaste/templates/dpaste/userprefs.html diff --git a/pastebin/apps/dpaste/templatetags/__init__.py b/dpaste/templatetags/__init__.py similarity index 100% rename from pastebin/apps/dpaste/templatetags/__init__.py rename to dpaste/templatetags/__init__.py diff --git a/pastebin/apps/dpaste/templatetags/dpaste_tags.py b/dpaste/templatetags/dpaste_tags.py similarity index 88% rename from pastebin/apps/dpaste/templatetags/dpaste_tags.py rename to dpaste/templatetags/dpaste_tags.py index d545929..caaff0b 100644 --- a/pastebin/apps/dpaste/templatetags/dpaste_tags.py +++ b/dpaste/templatetags/dpaste_tags.py @@ -1,7 +1,7 @@ from django.template import Library from django.utils.safestring import mark_safe -from pastebin.apps.dpaste.highlight import pygmentize +from dpaste.highlight import pygmentize register = Library() diff --git a/pastebin/apps/dpaste/urls.py b/dpaste/urls.py similarity index 93% rename from pastebin/apps/dpaste/urls.py rename to dpaste/urls.py index 5a31ba8..6e53d64 100644 --- a/pastebin/apps/dpaste/urls.py +++ b/dpaste/urls.py @@ -2,7 +2,7 @@ from django.conf.urls.defaults import patterns, url from django.conf import settings -urlpatterns = patterns('pastebin.apps.dpaste.views', +urlpatterns = patterns('dpaste.views', url(r'^$', 'snippet_new', name='snippet_new'), url(r'^guess/$', 'guess_lexer', name='snippet_guess_lexer'), url(r'^diff/$', 'snippet_diff', name='snippet_diff'), diff --git a/pastebin/apps/dpaste/views.py b/dpaste/views.py similarity index 96% rename from pastebin/apps/dpaste/views.py rename to dpaste/views.py index d57f03f..a3a7258 100644 --- a/pastebin/apps/dpaste/views.py +++ b/dpaste/views.py @@ -8,9 +8,9 @@ from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse from django.utils import simplejson -from pastebin.apps.dpaste.forms import SnippetForm, UserSettingsForm -from pastebin.apps.dpaste.models import Snippet -from pastebin.apps.dpaste.highlight import pygmentize, guess_code_lexer, \ +from dpaste.forms import SnippetForm, UserSettingsForm +from dpaste.models import Snippet +from dpaste.highlight import pygmentize, guess_code_lexer, \ LEXER_WORDWRAP import difflib diff --git a/fabfile.py b/fabfile.py index 8aab621..f7b8063 100644 --- a/fabfile.py +++ b/fabfile.py @@ -11,8 +11,8 @@ env.proj_repo = 'git@github.com:bartTC/dpaste.de.git' env.root = '/opt/webapps/dpaste.de' env.proj_root = env.root + '/src/dpastede' env.pid_file = env.root + '/var/gunicorn.pid' -env.proj_bin = env.proj_root + '/pastebin/bin' -env.local_settings = env.proj_root + '/pastebin/conf/local/settings.py' +env.proj_bin = env.proj_root + '/dpaste/bin' +env.local_settings = env.proj_root + '/dpaste/conf/local/settings.py' env.pip_file = env.proj_root + '/requirements.pip' # ============================================================================ @@ -33,7 +33,7 @@ def push(remote=None, branch=None, reload=False): def pushr(remote=None, branch=None, reload=True): push(remote, branch, reload) - + def switch(branch): """Switch the repo branch which the server is using""" with cd(env.proj_root): @@ -85,7 +85,7 @@ def debugon(): """Turn debug mode on for the production server.""" run("sed -i -e 's/^DEBUG = .*/DEBUG = True/' %s" % env.local_settings) restart() - + def debugoff(): """Turn debug mode on for the production server.""" run("sed -i -e 's/^DEBUG = .*/DEBUG = False/' %s" % env.local_settings) diff --git a/pastebin/apps/dpaste/__init__.py b/pastebin/apps/dpaste/__init__.py deleted file mode 100644 index d93b5b2..0000000 --- a/pastebin/apps/dpaste/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = '0.2.3' diff --git a/pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.mo b/pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index c988c49b601967406920de74323c8752bbe3ec27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3419 zcmbuAO^hQ)6~_w_APgG<3nY9d#V(uKVbiu}BE-hb%&ud5X3TnK9Jgmy$sSDGe(tVJ zyV|O*o-ZU0kP{p@AT9`rLoN{qq8zeF5X8X}oDetQgjfjs5Nc+K^%fS*FU4t^4R&b9A=pF=wYdH(lZ z|Bpbn^HbOUC5WGR#kGIq_&e|^^#2Kb6ub|zojGiR?Op^Q0-pqV-6F_-KLfJ;9q?hW z=iZM&o_`FM!5@M!DgFR{4V-|GO56i^-hV*0e;<4Vd>6a|UVssPzXYy8^PAvL(Eb4i z-vH;}4BP!KI0v>s*5?ig6Cwngpa%aA{@(Tf41;;SUw~}?Wsvvtn(O}yh@bcy{yq)f zb9@JU4DJ7dyuZh=82kGK$m5ERt01qx3F0R@_~UiH2d;q{{1W&&$bS44{4)3t*S-(t zI)GnC{{@Krd9VQT`c)7vh&v$rF$8ad8e~0Q1)m0A2U+JgL5{DtK}aATfHT~F7`zHz z2HF262$_XMW&dY|*S_Q$p5p?@zOlV)sH`8y4j1;3?Q-nqaSghwA|A&x?|B}TW8wb` zwk$q_%J<_Ns86E8t-L&ie{A8TT*edY#=i5upFm|@S(`7S;#!G|sH_pkF>ArPa{1;I zd7OzkiBeO;q3n@8Akulqav&o^!<9={t`1d9K{qq;LV9V{*J?Z_D=*Lb)nFlAE(WXl ztUwRmZ+7nkX7{@1W{a!UWPBu(p**wtI54E`%s_g&yn8XTupla#jS?fOagvg#CLrsMIFrNHnxeG|4E*% z(@Sh6vL6LHq*NY|Avp>LG&^r;Bb7>fkVro1w7`Siyi^AJfr^7(Oa-w$wkpx7Xa%Vy z8AyG`{o%`i5SD_3V4 zbw|PBLV6;Z=pEr@kO$)e)H2D7)VE$^;O&x0;Z|9;D%D$vGr3!D`-ri*HjNWwz0EXK z1Mk@^OubH0mUFG`j#o7l@Ls$cmMzPrQt275^ewOSZMnEqUV8dk2|XC-wP|0m@zZhF zz0!4Wu_Q~2<)zZK(jvw+adKYAU^m!AV#;zeFi;(cGz3^4<;|O;yje(0xQZz{%z}`- z4h5sKY*x0`ci8piX7gsOreii6oAuMpEfz|1E`q(z(HKr!IuP&$7BsyH(Q2KyWT3#-?4p}3<-5dy-Z}9-Y z;c@2(IV0JFbGYE++@i4sF&OhrE#Rgjk?=T-8k`Kk+!WbKk+J9Z6j?hi7mIFoKN%G- zt)4bG*B9`;Ai0Z}C1eZinAYUkGB35768 zAVq-}8y5#JBIpt?_a1An=kIdg^Tpl1gm3Y=3C!T+VVZ?2F?IfB;(mBycRy01Eh@k0exrTf--}7adorB=iapu$TKi2SlfdBvi diff --git a/pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.po b/pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index 8ab1f6f..0000000 --- a/pastebin/apps/dpaste/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,236 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-05-07 12:23+0200\n" -"PO-Revision-Date: 2008-08-10 01:20+0100\n" -"Last-Translator: Martin Mahner \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:13 -msgid "In one hour" -msgstr "In einer Stunde" - -#: forms.py:14 -msgid "In one week" -msgstr "In einer Woche" - -#: forms.py:15 -msgid "In one month" -msgstr "In einem Monat" - -#: forms.py:16 -msgid "Save forever" -msgstr "Für immer speichern" - -#: forms.py:26 models.py:20 -msgid "Lexer" -msgstr "Syntax" - -#: forms.py:32 models.py:22 -msgid "Expires" -msgstr "Erlischt" - -#: forms.py:87 forms.py:96 -msgid "Default" -msgstr "Standard" - -#: forms.py:100 -msgid "Default Name" -msgstr "Standard Name" - -#: forms.py:102 -msgid "Display all lexer" -msgstr "Alle Syntaxformate anzeigen" - -#: forms.py:105 -msgid "This also enables the super secret 'guess lexer' function." -msgstr "Dies aktiviert auch die super geheime 'Syntax erraten' Funktion." - -#: forms.py:107 -msgid "Font Family" -msgstr "Schriftart" - -#: forms.py:108 -msgid "Font Size" -msgstr "Schriftgröße" - -#: forms.py:109 -msgid "Line Height" -msgstr "Zeilenhöhe" - -#: models.py:15 -msgid "Secret ID" -msgstr "Geheime ID" - -#: models.py:16 -msgid "Title" -msgstr "Titel" - -#: models.py:17 -msgid "Author" -msgstr "Autor" - -#: models.py:18 -msgid "Content" -msgstr "Inhalt" - -#: models.py:19 -msgid "Highlighted Content" -msgstr "Gehighlighteter Content" - -#: models.py:21 -msgid "Published" -msgstr "Veröffentlicht" - -#: views.py:145 -msgid "No changes were made between this two files." -msgstr "Zwischen diesen beiden Dateien wurden keine Änderungen durchgeführt." - -#: templates/dpaste/snippet_details.html:18 -#: templates/dpaste/snippet_details.html:21 -#: templates/dpaste/snippet_details.html:44 -#: templates/dpaste/snippet_details.html:81 -#: templates/dpaste/snippet_details.html:83 -#: templates/dpaste/snippet_list.html:4 templates/dpaste/snippet_list.html:13 -msgid "Snippet" -msgstr "Snippet" - -#: templates/dpaste/snippet_details.html:23 -#, python-format -msgid "(Copy of snippet #%(parent_id)s)" -msgstr "(Kopie von Snippet #%(parent_id)s)" - -#: templates/dpaste/snippet_details.html:25 -#: templates/dpaste/snippet_list.html:14 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/dpaste/snippet_details.html:25 -msgid "UTC" -msgstr "UTC" - -#: templates/dpaste/snippet_details.html:35 -msgid "Time to life" -msgstr "" - -#: templates/dpaste/snippet_details.html:38 -msgid "Really delete this snippet?" -msgstr "Wirklich dieses Snippet löschen?" - -#: templates/dpaste/snippet_details.html:41 -msgid "Wordwrap" -msgstr "" - -#: templates/dpaste/snippet_details.html:45 -#, python-format -msgid "by %(author)s" -msgstr "von %(author)s" - -#: templates/dpaste/snippet_details.html:59 -msgid "Write an answer" -msgstr "Schreibe eine Antwort" - -#: templates/dpaste/snippet_details.html:69 -msgid "History" -msgstr "Verlauf" - -#: templates/dpaste/snippet_details.html:89 -msgid "Compare" -msgstr "Vergleichen" - -#: templates/dpaste/snippet_details.html:94 -msgid "Options" -msgstr "Optionen" - -#: templates/dpaste/snippet_details.html:95 -msgid "View raw" -msgstr "Rohformat" - -#: templates/dpaste/snippet_diff.html:4 -msgid "Close" -msgstr "Schließen" - -#: templates/dpaste/snippet_diff.html:5 -#, python-format -msgid "" -"\n" -" Diff between\n" -" Snippet #%(filea_id)s\n" -" and\n" -" Snippet #%(fileb_id)s\n" -" " -msgstr "" -"\n" -" Diff zwischen\n" -" Snippet #%(filea_id)s\n" -" und\n" -" Snippet #%(fileb_id)s\n" -" " - -#: templates/dpaste/snippet_form.html:10 -msgid "Guess lexer" -msgstr "Syntax erraten" - -#: templates/dpaste/snippet_form.html:15 -msgid "Paste it" -msgstr "Paste es" - -#: templates/dpaste/snippet_list.html:6 -#, python-format -msgid "Your latest %(snippets_max)s snippets" -msgstr "Deine neuesten %(snippets_max)s Snippets" - -#: templates/dpaste/snippet_list.html:19 -msgid "No snippets available." -msgstr "Keine Snippets verfügbar" - -#: templates/dpaste/snippet_list.html:24 templates/dpaste/userprefs.html:25 -msgid "DATA_STORED_IN_A_COOKIE_HINT" -msgstr "" -"

Hinweis: Deine Daten werden in einem Cookie gespeichert." - -#: templates/dpaste/snippet_new.html:4 templates/dpaste/snippet_new.html:8 -msgid "New snippet" -msgstr "Neues Snippet" - -#: templates/dpaste/snippet_new.html:5 -msgid "Paste a new snippet" -msgstr "Schreibe ein neues Snippet" - -#: templates/dpaste/snippet_new.html:14 -msgid "DPASTE_HOMEPAGE_TITLE" -msgstr "dpaste" - -#: templates/dpaste/snippet_new.html:15 -msgid "DPASTE_HOMEPAGE_DESCRIPTION" -msgstr "" -"dpaste.de ist ein Codespeicher inspiriert von dpaste.com. Die Vorteile und den Quellcode dieser Seite findest du " -"bei Google Code." - -#: templates/dpaste/userprefs.html:5 templates/dpaste/userprefs.html.py:15 -msgid "User Settings" -msgstr "Benutzereinstellungen" - -#: templates/dpaste/userprefs.html:11 -msgid "USER_PREFS_SAVED_SUCCESSFULLY" -msgstr "Deine Einstellungen wurden erfolgreich gespeichert." - -#: templates/dpaste/userprefs.html:20 -msgid "Save settings" -msgstr "Einstellungen speichern" - -#~ msgid "WHAT_IS_THIS_TITLE" -#~ msgstr "Was ist das hier?" - -#~ msgid "Youre displaying the whole bunch of lexers!" -#~ msgstr "Du siehst derzeit das ganze Bündel an Lexern!" diff --git a/pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.mo b/pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 93d5f4b4c9f4863284254f50359ed22ab8eb17c2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1175 zcma)5-Hy{n6rR#8v`e`FsZ!MzX~YepXdGuN)Wu{YvWa(z$e&_oC9a~0ebzB`W~`aX zcJmay>RYt0(nmmW%`>#(vp0|;ZW!s)H|NZE=A1J=esyQ>Plojk@Dq>%w}8KZYP|+3 z{~O>(;6LCy;D;|5yAAfiH^Il?ufQX40FJ?T!GC~{fWLub*l({f_7B+mlCkUHf5G2_ z_x2e37JL_6`F{pK0XM-9z$-AWV35~&s(Nn#Ujvo?{etYnLMq03owzfP;_)=>&HJNy zXWku;pZCN0v;HV%y-6pEu^$h^N#``2_rj<Zw#>*cmA7JaeU8%kSvZYQ_WqPgZJZd|EKkMp zIWr_a6)Yk??=z&4b|Jmxn$)5Q-^X2 zYLso3mgt%)1+FGuTMMYP$+KKxCN_w%WnKj@HoPVI($M+Qy`^(y&}dwRdx>5(?zMMD zt0CJSKgm^E4~k4Lq;hyC4AItAt`|j~aElrfs#9zA$?cWj%e2l4s#BDW^d(+gi@Ho? zJgv`o7rHv-ww;e=+HR2glCPk#+tI#qv8X;_pFiAJasQw0`i)Dx2pLid`uiOl{1^%L O_IzDEpOqJsdh8wGyG#TC diff --git a/pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.po b/pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index c02770f..0000000 --- a/pastebin/apps/dpaste/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,226 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-05-07 12:23+0200\n" -"PO-Revision-Date: 2008-08-10 01:19+0100\n" -"Last-Translator: Martin Mahner \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:13 -msgid "In one hour" -msgstr "" - -#: forms.py:14 -msgid "In one week" -msgstr "" - -#: forms.py:15 -msgid "In one month" -msgstr "" - -#: forms.py:16 -msgid "Save forever" -msgstr "" - -#: forms.py:26 models.py:20 -msgid "Lexer" -msgstr "Syntax" - -#: forms.py:32 models.py:22 -msgid "Expires" -msgstr "" - -#: forms.py:87 forms.py:96 -msgid "Default" -msgstr "" - -#: forms.py:100 -msgid "Default Name" -msgstr "" - -#: forms.py:102 -msgid "Display all lexer" -msgstr "Display all syntax modes" - -#: forms.py:105 -msgid "This also enables the super secret 'guess lexer' function." -msgstr "This also enables the super secret 'guess syntax' function." - -#: forms.py:107 -msgid "Font Family" -msgstr "" - -#: forms.py:108 -msgid "Font Size" -msgstr "" - -#: forms.py:109 -msgid "Line Height" -msgstr "" - -#: models.py:15 -msgid "Secret ID" -msgstr "" - -#: models.py:16 -msgid "Title" -msgstr "" - -#: models.py:17 -msgid "Author" -msgstr "" - -#: models.py:18 -msgid "Content" -msgstr "" - -#: models.py:19 -msgid "Highlighted Content" -msgstr "" - -#: models.py:21 -msgid "Published" -msgstr "" - -#: views.py:145 -msgid "No changes were made between this two files." -msgstr "" - -#: templates/dpaste/snippet_details.html:18 -#: templates/dpaste/snippet_details.html:21 -#: templates/dpaste/snippet_details.html:44 -#: templates/dpaste/snippet_details.html:81 -#: templates/dpaste/snippet_details.html:83 -#: templates/dpaste/snippet_list.html:4 templates/dpaste/snippet_list.html:13 -msgid "Snippet" -msgstr "" - -#: templates/dpaste/snippet_details.html:23 -#, python-format -msgid "(Copy of snippet #%(parent_id)s)" -msgstr "" - -#: templates/dpaste/snippet_details.html:25 -#: templates/dpaste/snippet_list.html:14 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/dpaste/snippet_details.html:25 -msgid "UTC" -msgstr "" - -#: templates/dpaste/snippet_details.html:35 -msgid "Time to life" -msgstr "" - -#: templates/dpaste/snippet_details.html:38 -msgid "Really delete this snippet?" -msgstr "" - -#: templates/dpaste/snippet_details.html:41 -msgid "Wordwrap" -msgstr "" - -#: templates/dpaste/snippet_details.html:45 -#, python-format -msgid "by %(author)s" -msgstr "" - -#: templates/dpaste/snippet_details.html:59 -msgid "Write an answer" -msgstr "" - -#: templates/dpaste/snippet_details.html:69 -msgid "History" -msgstr "" - -#: templates/dpaste/snippet_details.html:89 -msgid "Compare" -msgstr "" - -#: templates/dpaste/snippet_details.html:94 -msgid "Options" -msgstr "" - -#: templates/dpaste/snippet_details.html:95 -msgid "View raw" -msgstr "" - -#: templates/dpaste/snippet_diff.html:4 -msgid "Close" -msgstr "" - -#: templates/dpaste/snippet_diff.html:5 -#, python-format -msgid "" -"\n" -" Diff between\n" -" Snippet #%(filea_id)s\n" -" and\n" -" Snippet #%(fileb_id)s\n" -" " -msgstr "" - -#: templates/dpaste/snippet_form.html:10 -msgid "Guess lexer" -msgstr "Guess syntax" - -#: templates/dpaste/snippet_form.html:15 -msgid "Paste it" -msgstr "" - -#: templates/dpaste/snippet_list.html:6 -#, python-format -msgid "Your latest %(snippets_max)s snippets" -msgstr "" - -#: templates/dpaste/snippet_list.html:19 -msgid "No snippets available." -msgstr "" - -#: templates/dpaste/snippet_list.html:24 templates/dpaste/userprefs.html:25 -msgid "DATA_STORED_IN_A_COOKIE_HINT" -msgstr "

Remember: Your data is stored in a cookie.

" - -#: templates/dpaste/snippet_new.html:4 templates/dpaste/snippet_new.html:8 -msgid "New snippet" -msgstr "" - -#: templates/dpaste/snippet_new.html:5 -msgid "Paste a new snippet" -msgstr "" - -#: templates/dpaste/snippet_new.html:14 -msgid "DPASTE_HOMEPAGE_TITLE" -msgstr "dpaste" - -#: templates/dpaste/snippet_new.html:15 -msgid "DPASTE_HOMEPAGE_DESCRIPTION" -msgstr "" -"dpaste is code pastebin originally inspired by dpaste.com. Find the advantages and the public sourcecode on Google Code." - -#: templates/dpaste/userprefs.html:5 templates/dpaste/userprefs.html.py:15 -msgid "User Settings" -msgstr "" - -#: templates/dpaste/userprefs.html:11 -msgid "USER_PREFS_SAVED_SUCCESSFULLY" -msgstr "Your preferences were successfully saved." - -#: templates/dpaste/userprefs.html:20 -msgid "Save settings" -msgstr "" - -#~ msgid "WHAT_IS_THIS_TITLE" -#~ msgstr "What is this?" diff --git a/pastebin/apps/dpaste/migrations/__init__.py b/pastebin/apps/dpaste/migrations/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pastebin/conf/__init__.py b/pastebin/conf/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pastebin/locale/en/LC_MESSAGES/django.mo b/pastebin/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 27ff4481c01888404788692227eb28407e643640..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 748 zcmZva!H&}~5QYORLR6fPI3R&E+(5`BDMDJZ6cN&NiD=p=aaZ&dnP!>|BzEOEg?$5f z04_WL55N_!9JulTTzL&9tx!4aNS}Ut{M$2j^85P1CyU}Taf=ucSBQ$};sep;KN2^H zFT^$CJ8_%%NqoIvS${}@_nCDH?;3rg=|!EDB=pILLU&CxOMw8o?;2$`xAkG)S^I3C3xbdM9*9 zI`{n`O~>=eWMRcxy}_knVa`raH>Hv;?OEX+OVi8%A7rKi-vLKLNA_i=4%v& zylf;4x-hUEhuM$VLmQldJLtx?O-7dBrtHo<$M=|g_icxK6RO6z7P6^?QQCz_Xj4j( zQ;8a$)Z6K^dOPhaT|A{NvS>wtjH9SsKzXh!3Zr0uE2nSwd?gJ^s&=-fwhg{F57w0^ zKLc=X}f#_r9*H6>1j9rOHcLxN!KoG`+ZLwW!!w>AG=2uD8=>I5>jcaCle3 zogp~)daqclFfR@J*Rl)8sB0njE52%_(Py*}B#}2=>{n9N>LvQS)?8@Kih8pal!aUv v0c8UXy%^>|&m~}~)Y}sK*6#cDbNuf|*x+s--I3n5Xy6@cghp&I?^}NXfWXmz diff --git a/pastebin/locale/en/LC_MESSAGES/django.po b/pastebin/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index 11855b5..0000000 --- a/pastebin/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,246 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: dpaste\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-30 12:21-0500\n" -"PO-Revision-Date: 2011-05-30 19:21+0100\n" -"Last-Translator: Martin Mahner \n" -"Language-Team: en \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" -"X-Poedit-Language: German\n" -"X-Poedit-Country: GERMANY\n" -"X-Poedit-SourceCharset: utf-8\n" - -#: apps/dpaste/forms.py:13 -msgid "In one hour" -msgstr "" - -#: apps/dpaste/forms.py:14 -msgid "In one week" -msgstr "" - -#: apps/dpaste/forms.py:15 -msgid "In one month" -msgstr "" - -#: apps/dpaste/forms.py:16 -msgid "Save forever" -msgstr "" - -#: apps/dpaste/forms.py:26 -#: apps/dpaste/models.py:20 -msgid "Lexer" -msgstr "" - -#: apps/dpaste/forms.py:32 -#: apps/dpaste/models.py:22 -msgid "Expires" -msgstr "" - -#: apps/dpaste/forms.py:87 -#: apps/dpaste/forms.py:96 -msgid "Default" -msgstr "" - -#: apps/dpaste/forms.py:100 -msgid "Default Name" -msgstr "" - -#: apps/dpaste/forms.py:102 -msgid "Display all lexer" -msgstr "" - -#: apps/dpaste/forms.py:105 -msgid "This also enables the super secret 'guess lexer' function." -msgstr "" - -#: apps/dpaste/forms.py:107 -msgid "Font Family" -msgstr "" - -#: apps/dpaste/forms.py:108 -msgid "Font Size" -msgstr "" - -#: apps/dpaste/forms.py:109 -msgid "Line Height" -msgstr "" - -#: apps/dpaste/models.py:15 -msgid "Secret ID" -msgstr "" - -#: apps/dpaste/models.py:16 -msgid "Title" -msgstr "" - -#: apps/dpaste/models.py:17 -msgid "Author" -msgstr "" - -#: apps/dpaste/models.py:18 -msgid "Content" -msgstr "" - -#: apps/dpaste/models.py:19 -msgid "Highlighted Content" -msgstr "" - -#: apps/dpaste/models.py:21 -msgid "Published" -msgstr "" - -#: apps/dpaste/views.py:148 -msgid "No changes were made between this two files." -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:18 -#: apps/dpaste/templates/dpaste/snippet_details.html:21 -#: apps/dpaste/templates/dpaste/snippet_details.html:44 -#: apps/dpaste/templates/dpaste/snippet_details.html:82 -#: apps/dpaste/templates/dpaste/snippet_details.html:84 -#: apps/dpaste/templates/dpaste/snippet_list.html:4 -#: apps/dpaste/templates/dpaste/snippet_list.html:13 -msgid "Snippet" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:23 -#, python-format -msgid "(Copy of snippet #%(parent_id)s)" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:25 -#: apps/dpaste/templates/dpaste/snippet_list.html:14 -msgid "DATETIME_FORMAT" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:25 -msgid "UTC" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:35 -msgid "Time to life" -msgstr "Time to live" - -#: apps/dpaste/templates/dpaste/snippet_details.html:38 -msgid "Really delete this snippet?" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:41 -msgid "Wordwrap" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:45 -#, python-format -msgid "by %(author)s" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:59 -msgid "Write an answer" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:69 -msgid "History" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:90 -msgid "Compare" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:95 -msgid "Options" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_details.html:96 -msgid "View raw" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_diff.html:4 -msgid "Close" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_diff.html:5 -#, python-format -msgid "" -"\n" -" Diff between\n" -" Snippet #%(filea_id)s\n" -" and\n" -" Snippet #%(fileb_id)s\n" -" " -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_form.html:12 -msgid "Guess lexer" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_form.html:17 -msgid "Paste it" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_list.html:6 -#, python-format -msgid "Your latest %(snippets_max)s snippets" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_list.html:19 -msgid "No snippets available." -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_list.html:24 -#: apps/dpaste/templates/dpaste/userprefs.html:26 -msgid "DATA_STORED_IN_A_COOKIE_HINT" -msgstr "Your data is stored in a cookie." - -#: apps/dpaste/templates/dpaste/snippet_new.html:4 -#: apps/dpaste/templates/dpaste/snippet_new.html:8 -#: templates/base.html:9 -#: templates/base.html.py:16 -msgid "New snippet" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_new.html:5 -msgid "Paste a new snippet" -msgstr "" - -#: apps/dpaste/templates/dpaste/snippet_new.html:14 -msgid "DPASTE_HOMEPAGE_TITLE" -msgstr "dpaste.de" - -#: apps/dpaste/templates/dpaste/snippet_new.html:15 -msgid "DPASTE_HOMEPAGE_DESCRIPTION" -msgstr "" - -#: apps/dpaste/templates/dpaste/userprefs.html:5 -#: apps/dpaste/templates/dpaste/userprefs.html:15 -msgid "User Settings" -msgstr "" - -#: apps/dpaste/templates/dpaste/userprefs.html:11 -msgid "USER_PREFS_SAVED_SUCCESSFULLY" -msgstr "Your settings were saved." - -#: apps/dpaste/templates/dpaste/userprefs.html:21 -msgid "Save settings" -msgstr "" - -#: templates/base.html:41 -msgid "Recent snippets" -msgstr "" - -#: templates/base.html:42 -msgid "Settings" -msgstr "" - -#: templates/base.html:43 -msgid "About" -msgstr "" - diff --git a/setup.py b/setup.py index 8825d0a..909057c 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ #!/usr/bin/env python from setuptools import setup, find_packages -setup(name='pastebin', +setup(name='dpaste', version='0.1', packages=find_packages(), - package_data={'pastebin': ['bin/*.*', 'static/*.*', 'templates/*.*']}, - exclude_package_data={'pastebin': ['bin/*.pyc']}, - scripts=['pastebin/bin/manage.py']) + package_data={'dpaste': ['bin/*.*', 'static/*.*', 'templates/*.*']}, + exclude_package_data={'dpaste': ['bin/*.pyc']}, + scripts=['dpaste/bin/manage.py'])