# HG changeset patch # User veltr # Date 1354643947 -3600 # Node ID 1b84c7b2aeee3476920bb70ef5573841778b1a31 # Parent 213e81430f7a66b295cf38f154e97274f8dbb912 Added Translations diff -r 213e81430f7a -r 1b84c7b2aeee integration/edition.html --- a/integration/edition.html Tue Dec 04 13:31:01 2012 +0100 +++ b/integration/edition.html Tue Dec 04 18:59:07 2012 +0100 @@ -346,6 +346,7 @@ + + + + + + + + {% endblock %} {% block wrap_header %}
@@ -15,17 +43,17 @@ {% include 'partial/hashcut_logo.html' %}

- Média + {% trans "Video" %} » {{content.title}}

- {% include 'partial/hashcut_social.html' %} +
@@ -36,7 +64,6 @@
-

Lire le Média

@@ -49,26 +76,20 @@
-
+
-
-
-
-
-
-
-
00:00
+
00:00
/
-
00:00
+
00:00
-
+
-
+
@@ -79,68 +100,35 @@
-

Plus d’informations

+

{% trans 'More informations' %}

- + - + - + - +
Titre :{% trans 'Title:' %} {{content.title}}
Durée :{% trans 'Duration:' %}
Description : {% trans 'Description:' %}
Tags : {% trans 'Tags:' %}
-

Hashcuts utilisant le média

+

{% trans 'Hashcuts using this video' %}

{% endblock %} - -{% block js_import %} - - - - - - - -{% endblock %} diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/mashup_edit.html --- a/src/hashcut/templates/mashup_edit.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/mashup_edit.html Tue Dec 04 18:59:07 2012 +0100 @@ -3,12 +3,46 @@ {% load i18n %} {% load analytics %} {% load thumbnail %} - {% block title %}Création de Hashcut{% endblock %} + {% block title %}{% trans "Hashcut editor" %}{% endblock %} {% block css_page %} {% endblock %} + {% block js_import %} + {{ block.super }} + + + + + + {% endblock %} + {% block wrap_header %}
@@ -19,11 +53,11 @@

- - + +

- +

@@ -35,14 +69,14 @@

- Hashcut sans titre + {% trans "Untitled Hashcut" %}

-

Durée: 00:00

+

{% trans "Duration:" %} 00:00

@@ -54,8 +88,8 @@
-

Sélectionner les vidéos

- +

{% trans "Select videos" %}

+
    @@ -65,18 +99,18 @@
    -

    Créer un Hashcut, c’est facile !

    +

    {% trans "Creating a hashcut is easy!" %}

      -
    1. Commencez par choisir une vidéo dans le volet de gauche
    2. -
    3. Créez un segment dans la vidéo et profitez-en pour annoter votre segment
    4. -
    5. Ajoutez votre segment à la liste, réorganisez les segments entre eux
    6. -
    7. Rajoutez quelques commentaires à votre Hashcut. Vous êtes prêts à publier !
    8. +
    9. {% trans "Start by selecting a video in the left hand column." %}
    10. +
    11. {% trans "Create a segment in your video and annotate it." %}
    12. +
    13. {% trans "Append your segment to the hashcut and reorder the segments" %}
    14. +
    15. {% trans "Add a few comments to your hashcut. You are ready to publish!" %}
    @@ -91,26 +125,26 @@
    -
    +
    -
    +
    -
    +
    -
    00:00
    +
    00:00
    /
    -
    00:00
    +
    00:00
    -
    +
    -
    +
    @@ -128,45 +162,45 @@

    - Créer un nouveau segment - de + {% trans 'Create a new segment' %} + {% trans 'from' %} - à + {% trans 'to' %} - (durée: + ({% trans 'duration:' %} )

    - +

    - +

      - +

      - +
      -

      Mes segments sur ce média :

      +

      {% trans 'My segments on this media:' %}

      -

      Segments existants sur ce média :

      +

      {% trans 'Existing segments on this media:' %}

      @@ -203,15 +237,15 @@ - + - + - + @@ -227,9 +261,9 @@
      -

      Liste des segments

      +

      {% trans 'Segment list' %}

      -

      Aucun segment

      +

      {% trans 'No segment' %}

      @@ -251,38 +285,4 @@
      {% endblock %} - -{% block js_import %} -{{ block.super }} - - - - - -{% endblock %} diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/mashup_hashcut.html --- a/src/hashcut/templates/mashup_hashcut.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/mashup_hashcut.html Tue Dec 04 18:59:07 2012 +0100 @@ -3,11 +3,39 @@ {% load i18n %} {% load analytics %} {% load thumbnail %} - {% block title %}Lecture du Hashcut '{{proj.title}}'{% endblock %} + {% block title %}{% blocktrans with title=proj.title %}Playing hashcut {{title}}{% endblocktrans %}{% endblock %} {% block css_page %} {% endblock %} + {% block js_import %} + {{ block.super }} + + + + + {% endblock %} + {% block wrap_header %}
      @@ -15,12 +43,12 @@ {% include 'partial/hashcut_logo.html' %}

      - Hashcut + {% trans 'Hashcut' %} » {{proj.title}}

      - {% include 'partial/hashcut_social.html' %} +
      • Accueil
      • @@ -35,7 +63,6 @@ {% block content %}
        -

        Lire le Hashcut

        @@ -48,26 +75,20 @@
        -
        +
        -
        -
        -
        -
        -
        -
        -
        00:00
        +
        00:00
        /
        -
        00:00
        +
        00:00
        -
        +
        -
        +
        @@ -94,15 +115,15 @@
      Extrait de :{% trans 'Excerpt from:' %} ( - )
      Description :{% trans 'Description:' %}
      Tags :{% trans 'Tags:' %}
      - + - + - + @@ -113,65 +134,34 @@
      -

      Plus d’informations

      +

      {% trans 'More information' %}

      Extrait de :{% trans 'Excerpt from:' %} ( - )
      Description :{% trans 'Description:' %}
      Tags :{% trans 'Tags:' %}
      - + - + - + - +
      Titre :{% trans 'Title:' %} {{proj.title}}
      Durée :{% trans 'Duration:' %}
      Auteur : {% trans 'Author:' %} {{proj.created_by}}
      Description : {% trans 'Description:' %}
    -

    Médias utilisés dans le Hashcut

    +

    {% trans 'Videos used in this Hashcut' %}

    {% endblock %} - -{% block js_import %} -{{ block.super }} - - - - -{% endblock %} diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/mashup_home.html --- a/src/hashcut/templates/mashup_home.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/mashup_home.html Tue Dec 04 18:59:07 2012 +0100 @@ -12,7 +12,7 @@ - Hashcut {{branding}} » {% block title %}Accueil{% endblock %} + {% trans "Hashcut" %} {{branding}} » {% block title %}{% trans "Home" %}{% endblock %} {% block css_declaration %} {% endblock %} @@ -25,8 +25,27 @@ {% endblock %} - {% block js_declaration %} + {% block js_import %} + + + + + + {% if not user.is_authenticated %} + + + {% endif %} {% endblock %} + {% endblock %} @@ -39,11 +58,11 @@ {% include 'partial/mashup_popin_user.html' %} {% include 'partial/hashcut_logo.html' %}
    @@ -56,59 +75,59 @@ {% block content %}
    -

    Hashcuts ?

    +

    {% trans "What's a Hashcut?" %}

    Un Hashcut est à la fois une Hypervidéo (vidéo cliquable) et un Mashup (mélange de médias, de l’anglais mash, «purée»).

    Un Hashcut est un assemblage de citations de vidéos, mises bout à bout, sans altération des médias d’origine, et permet à chacun de proposer un nouveau regard, une porte d’entrée éditorialisée sur ces médias.

    -

    Comment faire ?

    +

    {% trans "How to?" %}

    @@ -118,13 +137,9 @@ {% endblock %} {% block footer %} @@ -132,26 +147,6 @@
    {% endblock %} - -{% block js_import %} - - - - - -{% if not user.is_authenticated %} - -{% endif %} -{% endblock %} {% endblock %} {% analytics %} diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/mashup_profile.html --- a/src/hashcut/templates/mashup_profile.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/mashup_profile.html Tue Dec 04 18:59:07 2012 +0100 @@ -3,7 +3,8 @@ {% load i18n %} {% load analytics %} {% load thumbnail %} - {% block title %}Profil de '{{username}}'{% endblock %} + + {% block title %}{% blocktrans %}{{username}}'s profile{% endblocktrans %}{% endblock %} {% block css_page %} {% endblock %} @@ -15,17 +16,17 @@ {% include 'partial/hashcut_logo.html' %}

    - Profil + {% trans "Profile" %} » {{username}}

    - {% include 'partial/hashcut_social.html' %} +
    @@ -54,14 +55,4 @@
    {% endblock %} -{% block js_import %} -{{block.super}} - -{% endblock %} diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/partial/hashcut_social.html --- a/src/hashcut/templates/partial/hashcut_social.html Tue Dec 04 13:31:01 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -
    -
    - - - -
    Copier
    -
    -
    - - - - -
    \ No newline at end of file diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/partial/iri_top_header.html --- a/src/hashcut/templates/partial/iri_top_header.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/partial/iri_top_header.html Tue Dec 04 18:59:07 2012 +0100 @@ -0,0 +1,9 @@ +{% load static %} + + diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/templates/partial/mashup_popin_user.html --- a/src/hashcut/templates/partial/mashup_popin_user.html Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/templates/partial/mashup_popin_user.html Tue Dec 04 18:59:07 2012 +0100 @@ -1,3 +1,4 @@ +{% load i18n %}
    @@ -7,54 +8,54 @@

    {{user.username}}

    {{user.email}}

    - {{nb_mashup_creator}} Hashcuts + {% blocktrans count counter=nb_mashup_creator %}{{nb_mashup_creator}} Hashcut{% plural %}{{nb_mashup_creator}} Hashcuts{% endblocktrans %}

    - +

    {% endif %}
    -

    Créer un compte :

    +

    {% trans 'Create account:' %}

    -

    Connexion :

    +

    {% trans 'Log In:' %}

    diff -r 213e81430f7a -r 1b84c7b2aeee src/hashcut/urls.py --- a/src/hashcut/urls.py Tue Dec 04 13:31:01 2012 +0100 +++ b/src/hashcut/urls.py Tue Dec 04 18:59:07 2012 +0100 @@ -3,6 +3,7 @@ MashupCreateUser, MashupIdenticateUser urlpatterns = patterns('', + url(r'^jsi18n/(?P\S+?)/$', 'django.views.i18n.javascript_catalog', name='jsi18n'), url(r'^(?P.*)/edit/$', MashupEdit.as_view(), name="mashup_edit"), url(r'^(?P.*)/save/$', 'hashcut.views.save_mashup', name="mashup_save"), url(r'^(?P.*)/hashcut/(?P.*)/$', MashupHashcut.as_view(), name="mashup_hashcut"),