From: Guillaume Pellerin Date: Wed, 30 Sep 2015 13:01:57 +0000 (+0200) Subject: add fr locale, fix styles X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5d4897115096c8df05d862ccb4de07097ba6a65e;p=diggersdigest.git add fr locale, fix styles --- diff --git a/app/locale/fr/LC_MESSAGES/django.mo b/app/locale/fr/LC_MESSAGES/django.mo new file mode 100644 index 0000000..5b60a70 Binary files /dev/null and b/app/locale/fr/LC_MESSAGES/django.mo differ diff --git a/app/locale/fr/LC_MESSAGES/django.po b/app/locale/fr/LC_MESSAGES/django.po new file mode 100644 index 0000000..ddf5b7f --- /dev/null +++ b/app/locale/fr/LC_MESSAGES/django.po @@ -0,0 +1,784 @@ +# 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. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-30 14:55+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \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" + +#: diggersdigest/settings.py:46 +msgid "Top navigation bar" +msgstr "" + +#: diggersdigest/settings.py:251 +msgid "French" +msgstr "" + +#: diggersdigest/settings.py:252 +msgid "English" +msgstr "" + +#: records/admin.py:61 +msgid "Related products" +msgstr "" + +#: records/models.py:211 +msgid "abbreviation" +msgstr "" + +#: records/models.py:212 +msgid "name" +msgstr "" + +#: records/models.py:213 +msgid "description" +msgstr "" + +#: records/models.py:245 +msgid "artist" +msgstr "" + +#: records/models.py:246 +msgid "performers" +msgstr "" + +#: records/models.py:247 +msgid "record status" +msgstr "" + +#: records/models.py:248 +msgid "label" +msgstr "" + +#: records/models.py:249 +msgid "reference" +msgstr "" + +#: records/models.py:250 +msgid "release year" +msgstr "" + +#: records/models.py:251 +msgid "release decade" +msgstr "" + +#: records/models.py:252 +msgid "date text" +msgstr "" + +#: records/models.py:253 +msgid "country" +msgstr "" + +#: records/models.py:254 +msgid "cover condition" +msgstr "" + +#: records/models.py:255 +msgid "vinyl condition" +msgstr "" + +#: records/models.py:256 +msgid "audio file" +msgstr "" + +#: records/models.py:258 +msgid "product" +msgstr "" + +#: records/models.py:291 +msgid "Audio File" +msgstr "" + +#: records/utils.py:78 +msgid "Colissimo shipping" +msgstr "" + +#: records/utils.py:81 +msgid "Colissimo recommande shipping" +msgstr "" + +#: records/utils.py:86 records/utils.py:89 records/utils.py:97 +#: records/utils.py:100 +msgid "SIMPLE REGISTERED PRIORITY PARCEL shipping" +msgstr "" + +#: records/utils.py:92 records/utils.py:103 +msgid "INTERNATIONAL COLISSIMO (INSURED) shipping" +msgstr "" + +#: templates/base.html:66 +msgid "Toggle Navigation" +msgstr "" + +#: templates/base.html:166 +msgid "Coded and hosted by" +msgstr "" + +#: templates/base.html:181 +msgid "View Mobile Site" +msgstr "" + +#: templates/index.html:5 templates/index.html.py:11 +#: templates/search_results.html:13 templates/pages/menus/breadcrumb.html:4 +#: templates/pages/menus/breadcrumb.html:10 +#: templates/pages/menus/dropdown.html:10 +#: templates/pages/menus/footer_tree.html:11 +#: templates/pages/menus/mobile.html:10 templates/pages/menus/primary.html:8 +#: templates/pages/menus/tree.html:9 +msgid "Home" +msgstr "" + +#: templates/index.html:19 +msgid "Featured" +msgstr "" + +#: templates/index.html:46 +msgid "New arrivals" +msgstr "" + +#: templates/index.html:69 templates/blog/includes/filter_panel.html:6 +msgid "Recent Posts" +msgstr "" + +#: templates/index.html:85 +msgid "ago" +msgstr "" + +#: templates/index.html:88 templates/search_results.html:47 +#: templates/blog/blog_post_list.html:132 +msgid "read more" +msgstr "" + +#: templates/search_results.html:5 templates/search_results.html.py:6 +#: templates/search_results.html:15 +msgid "Search Results" +msgstr "" + +#: templates/search_results.html:22 +#, python-format +msgid "" +"\n" +"No results were found in %(search_type)s matching your query: %(query)s\n" +msgstr "" + +#: templates/search_results.html:26 +#, python-format +msgid "" +"\n" +"Showing %(start)s to %(end)s of %(total)s results in %(search_type)s " +"matching your query: %(query)s\n" +msgstr "" + +#: templates/accounts/account_login.html:7 +msgid "" +"You're already logged in. If you'd like to log in as a different user, " +"you'll need to log out first." +msgstr "" + +#: templates/accounts/account_login.html:11 +#, python-format +msgid "" +"If you don't have an account you can sign up for one now." +msgstr "" + +#: templates/accounts/account_login.html:14 +#, python-format +msgid "" +"

You can also reset your password if you've forgotten it.

" +msgstr "" + +#: templates/accounts/account_password_reset.html:6 +msgid "" +"Enter your username or email address and you'll receive an email with a link " +"you need to click, in order to log in and change your password." +msgstr "" + +#: templates/accounts/account_profile.html:18 +#: templates/accounts/includes/user_panel.html:11 +msgid "Update profile" +msgstr "" + +#: templates/accounts/account_signup.html:7 +msgid "" +"You're already logged in. If you'd like to create a new account, you'll need " +"to log out first." +msgstr "" + +#: templates/accounts/account_signup.html:11 +msgid "" +"After signing up, your account will be reviewed for approval. You'll receive " +"an email when your account is activated." +msgstr "" + +#: templates/accounts/account_signup.html:13 +msgid "" +"After signing up, you'll receive an email with a link you need to click, in " +"order to activate your account." +msgstr "" + +#: templates/accounts/includes/user_panel.html:5 +msgid "Logged in as: " +msgstr "" + +#: templates/accounts/includes/user_panel.html:17 +#: templates/accounts/includes/user_panel_nav.html:11 +#: templates/includes/editable_toolbar.html:9 +msgid "Log out" +msgstr "" + +#: templates/accounts/includes/user_panel.html:20 +#: templates/accounts/includes/user_panel_nav.html:14 +msgid "Log in" +msgstr "" + +#: templates/accounts/includes/user_panel.html:21 +msgid "or" +msgstr "" + +#: templates/accounts/includes/user_panel.html:23 +#: templates/accounts/includes/user_panel_nav.html:16 +msgid "Sign up" +msgstr "" + +#: templates/blog/blog_post_detail.html:29 +#: templates/blog/blog_post_list.html:85 +msgid "Posted by" +msgstr "" + +#: templates/blog/blog_post_detail.html:33 +#: templates/blog/blog_post_list.html:97 +#, python-format +msgid "%(sometime)s ago" +msgstr "" + +#: templates/blog/blog_post_detail.html:43 +#: templates/blog/blog_post_list.html:138 +msgid "Comments" +msgstr "" + +#: templates/blog/blog_post_detail.html:46 +#: templates/blog/blog_post_list.html:142 +#, python-format +msgid "%(comments_count)s comment" +msgid_plural "%(comments_count)s comments" +msgstr[0] "" +msgstr[1] "" + +#: templates/blog/blog_post_detail.html:74 +#: templates/blog/blog_post_list.html:123 +#: templates/blog/includes/filter_panel.html:56 +msgid "Tags" +msgstr "" + +#: templates/blog/blog_post_detail.html:96 +msgid "Share on Twitter" +msgstr "" + +#: templates/blog/blog_post_detail.html:97 +msgid "Share on Facebook" +msgstr "" + +#: templates/blog/blog_post_detail.html:122 +msgid "Related posts" +msgstr "" + +#: templates/blog/blog_post_list.html:4 templates/blog/blog_post_list.html:22 +msgid "Blog" +msgstr "" + +#: templates/blog/blog_post_list.html:31 +msgid "Tag:" +msgstr "" + +#: templates/blog/blog_post_list.html:33 +msgid "Category:" +msgstr "" + +#: templates/blog/blog_post_list.html:37 +msgid "Author:" +msgstr "" + +#: templates/blog/blog_post_list.html:50 +msgid "Viewing posts tagged" +msgstr "" + +#: templates/blog/blog_post_list.html:52 +msgid "Viewing posts for the category" +msgstr "" + +#: templates/blog/blog_post_list.html:54 +msgid "Viewing posts from" +msgstr "" + +#: templates/blog/blog_post_list.html:57 +msgid "Viewing posts by" +msgstr "" + +#: templates/blog/blog_post_list.html:91 +msgid "in" +msgstr "" + +#: templates/blog/includes/filter_panel.html:27 +msgid "Archive" +msgstr "" + +#: templates/blog/includes/filter_panel.html:43 +msgid "Categories" +msgstr "" + +#: templates/blog/includes/filter_panel.html:72 +msgid "Authors" +msgstr "" + +#: templates/blog/includes/filter_panel.html:84 +msgid "Feeds" +msgstr "" + +#: templates/blog/includes/filter_panel.html:86 +#: templates/blog/includes/filter_panel.html:90 +#: templates/blog/includes/filter_panel.html:94 +#: templates/blog/includes/filter_panel.html:98 +msgid "RSS" +msgstr "" + +#: templates/blog/includes/filter_panel.html:87 +#: templates/blog/includes/filter_panel.html:91 +#: templates/blog/includes/filter_panel.html:95 +#: templates/blog/includes/filter_panel.html:99 +msgid "Atom" +msgstr "" + +#: templates/email/order_receipt.txt:5 templates/email/receipt.html:3 +#: templates/email/receipt_rtl.html:3 +msgid "Dear" +msgstr "" + +#: templates/email/order_receipt.txt:7 templates/email/receipt.html:4 +#: templates/email/receipt_rtl.html:4 +msgid "Your order has been successful, details are below." +msgstr "" + +#: templates/email/order_receipt.txt:9 +#: templates/shop/includes/order_details.html:7 +#: templates/shop/includes/order_details_rtl.html:8 +msgid "Order ID:" +msgstr "" + +#: templates/email/order_receipt.txt:11 +msgid "Billing Details:" +msgstr "" + +#: templates/email/order_receipt.txt:16 +msgid "Shipping Details:" +msgstr "" + +#: templates/email/order_receipt.txt:21 +msgid "Items Ordered:" +msgstr "" + +#: templates/email/order_receipt.txt:23 +msgid "each" +msgstr "" + +#: templates/errors/404.html:6 templates/errors/404.html.py:10 +#: templates/errors/404.html:15 +msgid "Page not found" +msgstr "" + +#: templates/errors/404.html:16 +msgid "The page you requested does not exist." +msgstr "" + +#: templates/errors/500.html:6 templates/errors/500.html.py:10 +#: templates/errors/500.html:15 +msgid "Error" +msgstr "" + +#: templates/errors/500.html:16 +msgid "Sorry, an error occurred." +msgstr "" + +#: templates/includes/editable_form.html:16 +msgid "Save" +msgstr "" + +#: templates/includes/editable_form.html:17 +msgid "Cancel" +msgstr "" + +#: templates/includes/editable_form.html:25 +msgid "Edit" +msgstr "" + +#: templates/includes/editable_toolbar.html:8 +msgid "Admin" +msgstr "" + +#: templates/includes/form_errors.html:8 +msgid "Please correct the errors below." +msgstr "" + +#: templates/includes/language_selector.html:19 +msgid "Change" +msgstr "" + +#: templates/includes/pagination.html:7 +msgid "Page" +msgstr "" + +#: templates/includes/pagination.html:7 templates/shop/checkout.html:5 +msgid "of" +msgstr "" + +#: templates/includes/search_form.html:5 +msgid "Search" +msgstr "" + +#: templates/includes/search_form.html:14 +msgid "Everything" +msgstr "" + +#: templates/includes/search_form.html:26 +msgid "Go" +msgstr "" + +#: templates/pages/category.html:47 +msgid "Sort by" +msgstr "" + +#: templates/pages/menus/admin.html:31 +msgid "Add" +msgstr "" + +#: templates/shop/billing_shipping.html:17 +#, python-format +msgid "" +"\n" +"If you have an existing account or would like to create one, please\n" +"log in or\n" +"sign up.\n" +msgstr "" + +#: templates/shop/billing_shipping.html:30 templates/shop/confirmation.html:10 +#: templates/shop/includes/order_details.html:15 +#: templates/shop/includes/order_details_rtl.html:15 +msgid "Billing Details" +msgstr "" + +#: templates/shop/billing_shipping.html:35 +msgid "Delivery Details" +msgstr "" + +#: templates/shop/cart.html:4 templates/shop/cart.html.py:5 +#: templates/shop/cart.html:10 +msgid "Your Cart" +msgstr "" + +#: templates/shop/cart.html:26 templates/shop/includes/order_details.html:39 +#: templates/shop/includes/order_details_rtl.html:45 +msgid "Item" +msgstr "" + +#: templates/shop/cart.html:27 templates/shop/includes/order_details.html:40 +#: templates/shop/includes/order_details_rtl.html:44 +msgid "Unit Price" +msgstr "" + +#: templates/shop/cart.html:28 templates/shop/order_history.html:20 +#: templates/shop/includes/order_details.html:41 +#: templates/shop/includes/order_details_rtl.html:43 +msgid "Qty" +msgstr "" + +#: templates/shop/cart.html:29 templates/shop/includes/order_details.html:42 +#: templates/shop/includes/order_details_rtl.html:42 +#: templates/shop/includes/price.html:10 templates/shop/includes/price.html:12 +#: templates/shop/includes/price.html:14 +msgid "Price" +msgstr "" + +#: templates/shop/cart.html:30 +msgid "Remove?" +msgstr "" + +#: templates/shop/cart.html:64 templates/shop/includes/user_panel.html:10 +#: templates/shop/includes/user_panel_header.html:5 +msgid "Return to Checkout" +msgstr "" + +#: templates/shop/cart.html:64 templates/shop/includes/user_panel.html:10 +#: templates/shop/includes/user_panel_header.html:5 +msgid "Go to Checkout" +msgstr "" + +#: templates/shop/cart.html:66 +msgid "Update Cart" +msgstr "" + +#: templates/shop/cart.html:73 +msgid "Apply" +msgstr "" + +#: templates/shop/cart.html:80 +msgid "You may also like:" +msgstr "" + +#: templates/shop/cart.html:94 templates/shop/product.html:201 +msgid "On sale:" +msgstr "" + +#: templates/shop/cart.html:98 templates/shop/product.html:205 +msgid "Coming soon" +msgstr "" + +#: templates/shop/cart.html:111 +msgid "Your Cart is empty." +msgstr "" + +#: templates/shop/checkout.html:4 templates/shop/checkout.html.py:5 +msgid "Checkout" +msgstr "" + +#: templates/shop/checkout.html:5 +msgid "Step" +msgstr "" + +#: templates/shop/checkout.html:25 templates/shop/complete.html:69 +msgid "Complete" +msgstr "" + +#: templates/shop/checkout.html:40 templates/shop/payment.html:44 +msgid "Next" +msgstr "" + +#: templates/shop/checkout.html:42 templates/shop/payment.html:47 +msgid "Back" +msgstr "" + +#: templates/shop/checkout.html:46 +msgid "Your cart is empty." +msgstr "" + +#: templates/shop/checkout.html:47 +msgid "" +"This may be due to your session timing out after a period of inactivity." +msgstr "" + +#: templates/shop/checkout.html:48 +msgid "We apologize for the inconvenience." +msgstr "" + +#: templates/shop/checkout.html:50 templates/shop/wishlist.html:44 +msgid "Continue Shopping" +msgstr "" + +#: templates/shop/checkout.html:75 +msgid "Edit Cart" +msgstr "" + +#: templates/shop/complete.html:6 templates/shop/complete.html.py:63 +msgid "Order Complete" +msgstr "" + +#: templates/shop/complete.html:74 +msgid "Thank you for shopping with us, your order is complete." +msgstr "" + +#: templates/shop/complete.html:75 +msgid "We've sent you a receipt via email." +msgstr "" + +#: templates/shop/complete.html:76 +msgid "You can also view your invoice using one of the links below." +msgstr "" + +#: templates/shop/complete.html:81 +msgid "Download PDF invoice" +msgstr "" + +#: templates/shop/complete.html:83 +msgid "View invoice in your browser" +msgstr "" + +#: templates/shop/complete.html:84 templates/shop/order_history.html:38 +msgid "Re-send order email" +msgstr "" + +#: templates/shop/confirmation.html:25 +#: templates/shop/includes/order_details.html:16 +#: templates/shop/includes/order_details_rtl.html:16 +msgid "Shipping Details" +msgstr "" + +#: templates/shop/order_history.html:4 templates/shop/order_history.html:5 +#: templates/shop/order_history.html:9 +msgid "Order History" +msgstr "" + +#: templates/shop/order_history.html:19 +msgid "Date" +msgstr "" + +#: templates/shop/order_history.html:21 +msgid "Paid" +msgstr "" + +#: templates/shop/order_history.html:35 +msgid "Download PDF" +msgstr "" + +#: templates/shop/order_history.html:37 +msgid "View invoice" +msgstr "" + +#: templates/shop/order_history.html:48 +msgid "You have not ordered anything from us yet." +msgstr "" + +#: templates/shop/product.html:116 +msgid "Label:" +msgstr "" + +#: templates/shop/product.html:121 +msgid "Reference" +msgstr "Référance" + +#: templates/shop/product.html:126 +msgid "Country" +msgstr "" + +#: templates/shop/product.html:131 +msgid "Release year" +msgstr "Année de publication" + +#: templates/shop/product.html:136 +msgid "Release decade" +msgstr "Décennie de publication" + +#: templates/shop/product.html:140 +msgid "Cover state" +msgstr "Etat de la couverture" + +#: templates/shop/product.html:148 +msgid " Vinyl state" +msgstr "Etat du vinyl" + +#: templates/shop/product.html:172 +msgid "Add to cart" +msgstr "Ajouter au panier" + +#: templates/shop/product.html:174 +msgid "Save for later" +msgstr "" + +#: templates/shop/product.html:187 +msgid "Related Products" +msgstr "" + +#: templates/shop/wishlist.html:4 templates/shop/wishlist.html.py:5 +#: templates/shop/wishlist.html:9 +msgid "Your Wishlist" +msgstr "" + +#: templates/shop/wishlist.html:34 +msgid "Buy" +msgstr "" + +#: templates/shop/wishlist.html:35 +msgid "Remove" +msgstr "" + +#: templates/shop/wishlist.html:42 +msgid "Your wishlist is empty." +msgstr "" + +#: templates/shop/includes/order_details.html:12 +#: templates/shop/includes/order_details_rtl.html:12 +msgid "Your Details" +msgstr "" + +#: templates/shop/includes/order_details.html:36 +#: templates/shop/includes/order_details_rtl.html:36 +msgid "Items Ordered" +msgstr "" + +#: templates/shop/includes/order_totals.html:4 +#: templates/shop/includes/order_totals.txt:2 +msgid "Sub total" +msgstr "" + +#: templates/shop/includes/order_totals.html:12 +#: templates/shop/includes/order_totals.txt:4 +msgid "Discount" +msgstr "Promotion" + +#: templates/shop/includes/order_totals.html:23 +#: templates/shop/includes/order_totals.txt:6 +msgid "Shipping" +msgstr "Livraison" + +#: templates/shop/includes/order_totals.html:34 +#: templates/shop/includes/order_totals.txt:8 +msgid "Tax" +msgstr "" + +#: templates/shop/includes/order_totals.html:39 +#: templates/shop/includes/order_totals.txt:9 +msgid "Total" +msgstr "" + +#: templates/shop/includes/payment_fields.html:5 +msgid "Payment Details" +msgstr "" + +#: templates/shop/includes/payment_fields.html:10 +msgid "Card Expiry" +msgstr "" + +#: templates/shop/includes/price.html:10 templates/shop/includes/price.html:12 +msgid "Make an offer" +msgstr "Faire une offre" + +#: templates/shop/includes/price.html:20 +msgid "The selected options are currently unavailable." +msgstr "" + +#: templates/shop/includes/price.html:25 +msgid "Currently unavailable" +msgstr "Actuellement indisponible" + +#: templates/shop/includes/user_panel.html:5 +#: templates/shop/includes/user_panel_header.html:10 +#, python-format +msgid "1 item" +msgid_plural "%(cart_quantity)s items" +msgstr[0] "" +msgstr[1] "" + +#: templates/shop/includes/user_panel.html:6 +#: templates/shop/includes/user_panel_header.html:11 +msgid "in cart" +msgstr "" + +#: templates/shop/includes/user_panel.html:16 +#: templates/shop/includes/user_panel_header.html:16 +#, python-format +msgid "Wishlist contains 1 item" +msgid_plural " Wishlist contains %(wishlist_count)s items" +msgstr[0] "" +msgstr[1] "" diff --git a/app/records/models.py b/app/records/models.py index 3081159..dfedc0c 100644 --- a/app/records/models.py +++ b/app/records/models.py @@ -286,6 +286,7 @@ class Record(models.Model): #TODO: TS routine return '' + class Podcast(BlogPost): audio = FileField(verbose_name=_("Audio File"), max_length=200, format="Audio", upload_to=upload_to("records.Podcast.audio", "audio/mixes")) @@ -301,7 +302,7 @@ class Podcast(BlogPost): # Signals - + def payment_complete(sender, **kwargs): """Performs the same logic as the code in cartridge.shop.models.Order.complete(), but fetches the session, diff --git a/app/records/static/css/dig2.css b/app/records/static/css/dig2.css index 90720b1..6cbc695 100644 --- a/app/records/static/css/dig2.css +++ b/app/records/static/css/dig2.css @@ -36,7 +36,13 @@ hr { .bg-white { background-color: white; - padding: 5px; + padding: 0px 5px 0px 5px; +} + +.bg-white-marged { + background-color: white; + padding: 0px 5px 0px 5px; + margin-bottom: 1em; } .description { diff --git a/app/templates/base.html b/app/templates/base.html index a72f975..b4f814c 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -80,7 +80,6 @@ {% ifinstalled cartridge.shop %}{% endifinstalled %} {% include "accounts/includes/user_panel_nav.html" %} {% endifinstalled %} -