Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nuages
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etch
nuages
Commits
12067fa3
Commit
12067fa3
authored
Jun 23, 2010
by
chris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make calendar use locales
parent
3623d525
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
8 deletions
+22
-8
locale/fr/LC_MESSAGES/django.mo
locale/fr/LC_MESSAGES/django.mo
+0
-0
locale/fr/LC_MESSAGES/django.po
locale/fr/LC_MESSAGES/django.po
+16
-4
nuage.sqlite
nuage.sqlite
+0
-0
sondage/views.py
sondage/views.py
+2
-1
templates/sondage/choice_form.html
templates/sondage/choice_form.html
+4
-3
No files found.
locale/fr/LC_MESSAGES/django.mo
View file @
12067fa3
No preview for this file type
locale/fr/LC_MESSAGES/django.po
View file @
12067fa3
...
@@ -8,7 +8,7 @@ msgid ""
...
@@ -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: 2010-06-2
2 00:58
+0200\n"
"POT-Creation-Date: 2010-06-2
3 19:07
+0200\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"
...
@@ -68,9 +68,9 @@ msgid ""
...
@@ -68,9 +68,9 @@ msgid ""
"easier when its cloudy."
"easier when its cloudy."
msgstr ""
msgstr ""
"Un système de vote collaboratif, similaire à doodle ou rdvz. Écrit en "
"Un système de vote collaboratif, similaire à doodle ou rdvz. Écrit en "
"python, il utilise le framework django et quelques javascripts. Baptisé
Nuages
"
"python, il utilise le framework django et quelques javascripts. Baptisé "
"
d'après la célèbre chanson de Django et parce que travailler sur ordinate
ur "
"
Nuages d'après la célèbre chanson de Django et parce que travailler s
ur "
"est plus aisé quand il fait gris."
"
ordinateur
est plus aisé quand il fait gris."
#: templates/nuages.html:10
#: templates/nuages.html:10
msgid "Feedback and collaboration are welcome at"
msgid "Feedback and collaboration are welcome at"
...
@@ -84,6 +84,18 @@ msgstr "Nous avons une page de projet à"
...
@@ -84,6 +84,18 @@ msgstr "Nous avons une page de projet à"
msgid "Sources are freely available under"
msgid "Sources are freely available under"
msgstr "Les sources sont libre sous"
msgstr "Les sources sont libre sous"
#: templates/sondage/choice_form.html:74
msgid "Step 2 : Manage choices"
msgstr "Etape 2: réponses proposées"
#: templates/sondage/choice_form.html:75
msgid ""
"Provide possible dates for your meeting. You may add details as meeting "
"hours, places, or else."
msgstr ""
"Proposez quelques dates pour votre rendez-vous. Vous pouvez ajouter "
"l'heure, le lieu ou autre dans le champ \"détails\"."
#: templates/sondage/poll_detail.html:9
#: templates/sondage/poll_detail.html:9
msgid "Posted by"
msgid "Posted by"
msgstr "Posté par"
msgstr "Posté par"
...
...
nuage.sqlite
View file @
12067fa3
No preview for this file type
sondage/views.py
View file @
12067fa3
...
@@ -55,6 +55,7 @@ def get_ordereditem_formset(form, formset=BaseInlineFormSet, **kwargs):
...
@@ -55,6 +55,7 @@ def get_ordereditem_formset(form, formset=BaseInlineFormSet, **kwargs):
def
editchoices
(
request
,
poll_id
):
def
editchoices
(
request
,
poll_id
):
poll
=
get_object_or_404
(
Poll
.
objects
.
all
(),
id
=
poll_id
)
poll
=
get_object_or_404
(
Poll
.
objects
.
all
(),
id
=
poll_id
)
language_code
=
request
.
LANGUAGE_CODE
if
poll
.
author
==
'AnonymousUser'
:
# Anonymous wants to edit his new poll
if
poll
.
author
==
'AnonymousUser'
:
# Anonymous wants to edit his new poll
key
=
'is_'
+
poll_id
+
'_author'
key
=
'is_'
+
poll_id
+
'_author'
...
@@ -118,7 +119,7 @@ def editchoices(request, poll_id):
...
@@ -118,7 +119,7 @@ def editchoices(request, poll_id):
vforms
=
OrderedItemFormset
()
vforms
=
OrderedItemFormset
()
else
:
else
:
vforms
=
OrderedItemFormset
(
instance
=
poll
)
vforms
=
OrderedItemFormset
(
instance
=
poll
)
return
render_to_response
(
'sondage/choice_form.html'
,
{
'object'
:
poll
,
'vforms'
:
vforms
,},
context_instance
=
RequestContext
(
request
))
return
render_to_response
(
'sondage/choice_form.html'
,
{
'object'
:
poll
,
'vforms'
:
vforms
,
'language_code'
:
language_code
,
},
context_instance
=
RequestContext
(
request
))
...
...
templates/sondage/choice_form.html
View file @
12067fa3
{% extends "base.html" %}
{% extends "base.html" %}
{% load i18n %}
{% block title %}nuage - {{object}}{% endblock %}
{% block title %}nuage - {{object}}{% endblock %}
...
@@ -7,8 +8,8 @@
...
@@ -7,8 +8,8 @@
<script
type=
"text/javascript"
src=
"/static/js/jquery-1.4.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery-1.4.2.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery.formset.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery.formset.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery-ui-1.8.1.custom.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery-ui-1.8.1.custom.min.js"
></script>
<script
type=
"text/javascript"
src=
"/static/js/jquery.ui.datepicker-{{ language_code }}.js"
></script>
<link
type=
"text/css"
href=
"/static/css/smoothness/jquery-ui-1.8.1.custom.css"
rel=
"stylesheet"
/>
<link
type=
"text/css"
href=
"/static/css/smoothness/jquery-ui-1.8.1.custom.css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
...
@@ -70,8 +71,8 @@
...
@@ -70,8 +71,8 @@
{% block chapeau %}
{% block chapeau %}
<h3>
Step 2 : Manage choices
</h3>
<h3>
{% trans "Step 2 : Manage choices" %}
</h3>
<p
class=
"info"
>
Provide possible dates for your meeting. You may add details as meeting hours, places, or else.
</p>
<p
class=
"info"
>
{% trans "Provide possible dates for your meeting. You may add details as meeting hours, places, or else." %}
</p>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment