diff --git a/django/bin/make-messages.py b/django/bin/make-messages.py index 557cb5eeec..34fb68dcfe 100755 --- a/django/bin/make-messages.py +++ b/django/bin/make-messages.py @@ -81,7 +81,7 @@ def make_messages(): src = pythonize_re.sub('\n#', src) open(os.path.join(dirpath, '%s.py' % file), "wb").write(src) thefile = '%s.py' % file - cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy -o - "%s"' % ( + cmd = 'xgettext %s -d %s -L Perl --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy --from-code UTF-8 -o - "%s"' % ( os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile)) (stdin, stdout, stderr) = os.popen3(cmd, 'b') msgs = stdout.read() @@ -103,7 +103,7 @@ def make_messages(): open(os.path.join(dirpath, '%s.py' % file), "wb").write(templatize(src)) thefile = '%s.py' % file if verbose: sys.stdout.write('processing file %s in %s\n' % (file, dirpath)) - cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy -o - "%s"' % ( + cmd = 'xgettext %s -d %s -L Python --keyword=gettext_noop --keyword=gettext_lazy --keyword=ngettext_lazy --from-code UTF-8 -o - "%s"' % ( os.path.exists(potfile) and '--omit-header' or '', domain, os.path.join(dirpath, thefile)) (stdin, stdout, stderr) = os.popen3(cmd, 'b') msgs = stdout.read() diff --git a/django/conf/locale/cy/LC_MESSAGES/django.po b/django/conf/locale/cy/LC_MESSAGES/django.po index a0561e9dbf..91d18e33ce 100644 --- a/django/conf/locale/cy/LC_MESSAGES/django.po +++ b/django/conf/locale/cy/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-05-16 10:12+0200\n" +"POT-Creation-Date: 2007-03-12 19:29+1100\n" "PO-Revision-Date: 2005-11-05 HO:MI+ZONE\n" "Last-Translator: Jason Davies \n" "Language-Team: Cymraeg \n" @@ -16,1292 +16,273 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: contrib/comments/models.py:67 contrib/comments/models.py:166 -msgid "object ID" -msgstr "ID gwrthrych" - -#: contrib/comments/models.py:68 -msgid "headline" -msgstr "pennawd" - -#: contrib/comments/models.py:69 contrib/comments/models.py:90 -#: contrib/comments/models.py:167 -msgid "comment" -msgstr "sylw" - -#: contrib/comments/models.py:70 -msgid "rating #1" -msgstr "cyfraddiad #1" - -#: contrib/comments/models.py:71 -msgid "rating #2" -msgstr "cyfraddiad #2" - -#: contrib/comments/models.py:72 -msgid "rating #3" -msgstr "cyfraddiad #3" - -#: contrib/comments/models.py:73 -msgid "rating #4" -msgstr "cyfraddiad #4" - -#: contrib/comments/models.py:74 -msgid "rating #5" -msgstr "cyfraddiad #5" - -#: contrib/comments/models.py:75 -msgid "rating #6" -msgstr "cyfraddiad #6" - -#: contrib/comments/models.py:76 -msgid "rating #7" -msgstr "cyfraddiad #7" - -#: contrib/comments/models.py:77 -msgid "rating #8" -msgstr "cyfraddiad #8" - -#: contrib/comments/models.py:82 -msgid "is valid rating" -msgstr "yn gyfraddiad dilys" - -#: contrib/comments/models.py:83 contrib/comments/models.py:169 -msgid "date/time submitted" -msgstr "dyddiad/amser wedi ymostwng" - -#: contrib/comments/models.py:84 contrib/comments/models.py:170 -msgid "is public" -msgstr "yn gyhoeddus" - -#: contrib/comments/models.py:85 contrib/admin/views/doc.py:289 -msgid "IP address" -msgstr "cyfeiriad IP" - -#: contrib/comments/models.py:86 -msgid "is removed" -msgstr "wedi diddymu" - -#: contrib/comments/models.py:86 -msgid "" -"Check this box if the comment is inappropriate. A \"This comment has been " -"removed\" message will be displayed instead." -msgstr "" - -#: contrib/comments/models.py:91 -#, fuzzy -msgid "comments" -msgstr "sylw" - -#: contrib/comments/models.py:131 contrib/comments/models.py:207 -msgid "Content object" -msgstr "Gwrthrych cynnwys" - -#: contrib/comments/models.py:159 +#: db/models/manipulators.py:307 #, python-format -msgid "" -"Posted by %(user)s at %(date)s\n" -"\n" -"%(comment)s\n" -"\n" -"http://%(domain)s%(url)s" -msgstr "" -"Postiwyd gan %(user)s ar %(date)s\n" -"\n" -"%(comment)s\n" -"\n" -"http://%(domain)s%(url)s" - -#: contrib/comments/models.py:168 -msgid "person's name" -msgstr "enw'r person" - -#: contrib/comments/models.py:171 -msgid "ip address" -msgstr "cyfeiriad ip" - -#: contrib/comments/models.py:173 -msgid "approved by staff" +msgid "%(object)s with this %(type)s already exists for the given %(field)s." msgstr "" -#: contrib/comments/models.py:176 -#, fuzzy -msgid "free comment" -msgstr "Sylw rhydd" - -#: contrib/comments/models.py:177 -#, fuzzy -msgid "free comments" -msgstr "Sylwadau rhydd" - -#: contrib/comments/models.py:233 -msgid "score" -msgstr "sgôr" - -#: contrib/comments/models.py:234 -msgid "score date" -msgstr "dyddiad sgôr" - -#: contrib/comments/models.py:237 -#, fuzzy -msgid "karma score" -msgstr "Sgôr Carma" - -#: contrib/comments/models.py:238 -#, fuzzy -msgid "karma scores" -msgstr "Sgorau Carma" - -#: contrib/comments/models.py:242 -#, python-format -msgid "%(score)d rating by %(user)s" -msgstr "%(score)d" - -#: contrib/comments/models.py:258 -#, python-format -msgid "" -"This comment was flagged by %(user)s:\n" -"\n" -"%(text)s" -msgstr "" - -#: contrib/comments/models.py:265 -msgid "flag date" -msgstr "fflagio dyddiad" - -#: contrib/comments/models.py:268 -#, fuzzy -msgid "user flag" -msgstr "Fflag defnyddiwr" - -#: contrib/comments/models.py:269 -#, fuzzy -msgid "user flags" -msgstr "Fflagiau defnyddwyr" - -#: contrib/comments/models.py:273 -#, python-format -msgid "Flag by %r" -msgstr "Fflagio hefo %r" - -#: contrib/comments/models.py:278 -msgid "deletion date" -msgstr "dyddiad dilead" - -#: contrib/comments/models.py:280 -#, fuzzy -msgid "moderator deletion" -msgstr "Dilead cymedrolwr" - -#: contrib/comments/models.py:281 -#, fuzzy -msgid "moderator deletions" -msgstr "Dileadau cymedrolwr" - -#: contrib/comments/models.py:285 -#, python-format -msgid "Moderator deletion by %r" -msgstr "Dilead cymedrolwr gan %r" - -#: contrib/comments/views/karma.py:19 -msgid "Anonymous users cannot vote" -msgstr "Ni gellir defnyddwyr dienw pleidleisio" - -#: contrib/comments/views/karma.py:23 -msgid "Invalid comment ID" -msgstr "ID sylw annilys" - -#: contrib/comments/views/karma.py:25 -msgid "No voting for yourself" -msgstr "Dim pleidleisio ar gyfer eich hun" - -#: contrib/comments/views/comments.py:28 -msgid "" -"This rating is required because you've entered at least one other rating." -msgstr "" - -#: contrib/comments/views/comments.py:112 -#, python-format -msgid "" -"This comment was posted by a user who has posted fewer than %(count)s " -"comment:\n" -"\n" -"%(text)s" -msgid_plural "" -"This comment was posted by a user who has posted fewer than %(count)s " -"comments:\n" -"\n" -"%(text)s" -msgstr[0] "" -msgstr[1] "" - -#: contrib/comments/views/comments.py:117 -#, python-format -msgid "" -"This comment was posted by a sketchy user:\n" -"\n" -"%(text)s" -msgstr "" - -#: contrib/comments/views/comments.py:189 -#: contrib/comments/views/comments.py:280 -msgid "Only POSTs are allowed" -msgstr "Caniateir POSTiau yn unig" - -#: contrib/comments/views/comments.py:193 -#: contrib/comments/views/comments.py:284 -msgid "One or more of the required fields wasn't submitted" -msgstr "" - -#: contrib/comments/views/comments.py:197 -#: contrib/comments/views/comments.py:286 -msgid "Somebody tampered with the comment form (security violation)" -msgstr "" - -#: contrib/comments/views/comments.py:207 -#: contrib/comments/views/comments.py:292 -msgid "" -"The comment form had an invalid 'target' parameter -- the object ID was " -"invalid" -msgstr "" - -#: contrib/comments/views/comments.py:257 -#: contrib/comments/views/comments.py:321 -msgid "The comment form didn't provide either 'preview' or 'post'" -msgstr "" - -#: contrib/comments/templates/comments/form.html:6 -#: contrib/comments/templates/comments/form.html:8 -#: contrib/admin/templates/admin/login.html:17 -msgid "Username:" -msgstr "Enw defnyddiwr:" - -#: contrib/comments/templates/comments/form.html:6 -#: contrib/admin/templates/admin/login.html:20 -msgid "Password:" -msgstr "Cyfrinair:" - -#: contrib/comments/templates/comments/form.html:6 -#, fuzzy -msgid "Forgotten your password?" -msgstr "Newidio fy nghyfrinair" - -#: contrib/comments/templates/comments/form.html:8 -#: contrib/admin/templates/admin/object_history.html:3 -#: contrib/admin/templates/admin/change_list.html:5 -#: contrib/admin/templates/admin/base.html:23 -#: contrib/admin/templates/admin/delete_confirmation.html:3 -#: contrib/admin/templates/admin/change_form.html:10 -#: contrib/admin/templates/registration/password_change_done.html:3 -#: contrib/admin/templates/registration/password_change_form.html:3 -#: contrib/admin/templates/admin_doc/bookmarklets.html:4 -#: contrib/admin/templates/admin_doc/view_detail.html:4 -#: contrib/admin/templates/admin_doc/template_tag_index.html:5 -#: contrib/admin/templates/admin_doc/template_detail.html:4 -#: contrib/admin/templates/admin_doc/template_filter_index.html:5 -#: contrib/admin/templates/admin_doc/missing_docutils.html:4 -#: contrib/admin/templates/admin_doc/view_index.html:5 -#: contrib/admin/templates/admin_doc/model_detail.html:3 -#: contrib/admin/templates/admin_doc/index.html:4 -#: contrib/admin/templates/admin_doc/model_index.html:5 -msgid "Log out" -msgstr "Allgofnodi" - -#: contrib/comments/templates/comments/form.html:12 -#, fuzzy -msgid "Ratings" -msgstr "cyfraddiad #1" - -#: contrib/comments/templates/comments/form.html:12 -#: contrib/comments/templates/comments/form.html:23 -msgid "Required" -msgstr "" - -#: contrib/comments/templates/comments/form.html:12 -#: contrib/comments/templates/comments/form.html:23 -msgid "Optional" -msgstr "" - -#: contrib/comments/templates/comments/form.html:23 -msgid "Post a photo" -msgstr "" - -#: contrib/comments/templates/comments/form.html:27 -#: contrib/comments/templates/comments/freeform.html:5 -#, fuzzy -msgid "Comment:" -msgstr "Sylw" - -#: contrib/comments/templates/comments/form.html:32 -#: contrib/comments/templates/comments/freeform.html:9 -#, fuzzy -msgid "Preview comment" -msgstr "Sylw rhydd" - -#: contrib/comments/templates/comments/freeform.html:4 -#, fuzzy -msgid "Your name:" -msgstr "enw defnyddiwr" - -#: contrib/admin/filterspecs.py:40 -#, python-format -msgid "" -"

By %s:

\n" -"