Permalink
Browse files

[GI#6] Add i18n to command, prerendered tpls.

- Apply translations for strings in command.
- Apply translations when rendering user-facing templates.
- See Github Issue #6: "Support i18n", at
  #6
  • Loading branch information...
1 parent 195698c commit 5054dc34ee51937b18ee65d4a8f4a6a82b273101 @modocache committed Aug 13, 2012
Binary file not shown.
@@ -0,0 +1,332 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-08-12 23:28-0400\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+
+#: management/commands/generatescaffold.py:38
+msgid ""
+"Do not actually do anything, but print what would have happened to the "
+"console."
+msgstr ""
+
+#: management/commands/generatescaffold.py:43
+msgid "An existing model to generate views/templates for."
+msgstr ""
+
+#: management/commands/generatescaffold.py:47
+msgid ""
+"The name of the field used as a timestamp for date-based views. This option "
+"may only be used when passing a model via the `--model` option."
+msgstr ""
+
+#: management/commands/generatescaffold.py:55
+msgid ""
+"Do not automatically append created_at and updated_at DateTimeFields to "
+"generated models."
+msgstr ""
+
+#: management/commands/generatescaffold.py:80
+msgid "The --timestamp-field option can only be used if --model is specified."
+msgstr ""
+
+#: management/commands/generatescaffold.py:90
+msgid ""
+"You must add {0} to your INSTALLED_APPS in order for {1} to generate "
+"templates."
+msgstr ""
+
+#: management/commands/generatescaffold.py:98
+msgid "Could not import app with name: {0}"
+msgstr ""
+
+#: management/commands/generatescaffold.py:107
+msgid "You must provide a model_name."
+msgstr ""
+
+#: management/commands/generatescaffold.py:119
+msgid "{0} already exists."
+msgstr ""
+
+#: management/commands/generatescaffold.py:131
+msgid "Cannot generate model with no fields."
+msgstr ""
+
+#: management/commands/generatescaffold.py:135
+msgid "No field type specified for model field: {0}"
+msgstr ""
+
+#: management/commands/generatescaffold.py:145
+msgid ""
+"Could not generate model.\n"
+"{0}"
+msgstr ""
+
+#: management/commands/generatescaffold.py:150
+msgid ""
+"It appears you don't have a valid URLconf in your {app_name} app. Please "
+"create a valid urls.py file and try again.\n"
+"Alternatively, you can try again without appending --dry-run to this "
+"command, in which case {cmd_name} will make a valid URLconf for you."
+msgstr ""
+
+#: management/commands/generatescaffold.py:199
+msgid "Something when wrong when generating model {0}"
+msgstr ""
+
+#: management/commands/generatescaffold.py:210
+msgid ""
+"Could not create file: {0}\n"
+"Please remove the directory at that location and try again."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive.html:17
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:17
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_year.html:15
+#: templates/generate_scaffold/tpls/base.html:704
+msgid "Archive Index"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive.html:24
+#, python-format
+msgid "%(class_name)s Archive Index"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive.html:28
+msgid "A top-level index page showing the latest objects, by date."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive.html:44
+#, python-format
+msgid "Recent %(class_name)ss"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:11
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:48
+#, python-format
+msgid "%(class_name)s Day Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:25
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_month.html:22
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_year.html:23
+msgid "Year Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:33
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_month.html:30
+msgid "Month Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:41
+msgid "Day Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:52
+msgid "A day archive page showing all objects in a given day."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_day.html:57
+#, python-format
+msgid "%(class_name)ss created on "
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_month.html:37
+#, python-format
+msgid "%(class_name)s Month Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_month.html:41
+msgid "A monthly archive page showing all objects in a given month."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_month.html:58
+#, python-format
+msgid "%(class_name)ss created in the month of "
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_week.html:12
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_week.html:16
+#, python-format
+msgid "%(class_name)s Week Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_week.html:20
+msgid "A weekly archive page showing all objects in a given week."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_week.html:26
+#, python-format
+msgid "%(class_name)ss created during the week beginning on "
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_year.html:31
+#, python-format
+msgid "%(class_name)s Year Archive"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_year.html:35
+msgid "A yearly archive page showing all available months in a given year."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_archive_year.html:52
+#, python-format
+msgid "%(class_name)ss created in the year "
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_confirm_delete.html:12
+#: templates/generate_scaffold/tpls/MODEL_NAME_confirm_delete.html:17
+#, python-format
+msgid "%(class_name)s Confirm Delete"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_confirm_delete.html:22
+msgid ""
+"A view that displays a confirmation page (on GET) and deletes an existing "
+"object (on POST)."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_confirm_delete.html:27
+#, python-format
+msgid "Delete this %(class_name)s?"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_confirm_delete.html:36
+#: templates/generate_scaffold/tpls/MODEL_NAME_detail.html:79
+msgid "Delete"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_detail.html:12
+#: templates/generate_scaffold/tpls/MODEL_NAME_detail.html:61
+#, python-format
+msgid "%(class_name)s Detail"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_detail.html:66
+msgid "A page representing an individual object."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:13
+#, python-format
+msgid "Update %(class_name)s"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:15
+#, python-format
+msgid "Create a New %(class_name)s"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:22
+#, python-format
+msgid "%(class_name)s Update"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:26
+#, python-format
+msgid "%(class_name)s Create"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:33
+msgid "A view that displays a form for editing an existing object."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:35
+msgid "A view that displays a form for creating an object."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:47
+msgid "Update"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_form.html:49
+msgid "Create"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_list.html:13
+#, python-format
+msgid "%(class_name)s List"
+msgstr "%(class_name)s一覧"
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_list.html:18
+msgid "A page representing a list of objects."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/MODEL_NAME_list.html:23
+#, python-format
+msgid "%(class_name)ss"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:9
+msgid "Django Scaffold"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:669
+msgid "Views"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:673
+msgid "List View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:678
+msgid "Create View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:684
+msgid "Detail View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:689
+msgid "Update View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:694
+msgid "Delete View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:700
+msgid "Date-based Views"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:709
+msgid "Date Detail View"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:741
+msgid ""
+"Presented to you by <a href='http://github.com/modocache/django-generate-"
+"scaffold'>django-generate-scaffold</a>."
+msgstr ""
+
+#: templates/generate_scaffold/tpls/base.html:743
+msgid "Edit this template file in:"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/object_table_detail.html:9
+msgid "Field"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/object_table_detail.html:12
+msgid "Value"
+msgstr ""
+
+#: templates/generate_scaffold/tpls/object_table_list.html:6
+#, python-format
+msgid ""
+"Click on the primary key value to access the individual %(class_name)s's "
+"page."
+msgstr ""
Oops, something went wrong.

0 comments on commit 5054dc3

Please sign in to comment.