# HG changeset patch # User cavaliet # Date 1378391339 -7200 # Node ID 65912194e0474e2280516e21ccb89a142b10b54e # Parent 829d9d4111da77bb9aaca5e7a9f6a2712f144084 delete subject and update lang diff -r 829d9d4111da -r 65912194e047 src/p4l/locale/fr/LC_MESSAGES/django.mo Binary file src/p4l/locale/fr/LC_MESSAGES/django.mo has changed diff -r 829d9d4111da -r 65912194e047 src/p4l/locale/fr/LC_MESSAGES/django.po --- a/src/p4l/locale/fr/LC_MESSAGES/django.po Thu Sep 05 15:47:30 2013 +0200 +++ b/src/p4l/locale/fr/LC_MESSAGES/django.po Thu Sep 05 16:28:59 2013 +0200 @@ -276,3 +276,19 @@ #: templates/registration/login.html:20 templates/registration/login.html:22 msgid "Password" msgstr "Mot de passe" + +#: templates/p4l/record_update_form.html:0 +msgid "Add" +msgstr "Ajouter" + +#: templates/p4l/record_update_form.html:0 +msgid "or" +msgstr "ou" + +#: templates/p4l/record_update_form.html:0 +msgid "Browse" +msgstr "Parcourir" + +#: templates/p4l/record_update_form.html:0 +msgid "Add a new subject" +msgstr "Ajouter un nouveau sujet" \ No newline at end of file diff -r 829d9d4111da -r 65912194e047 src/p4l/static/p4l/js/p4l.js --- a/src/p4l/static/p4l/js/p4l.js Thu Sep 05 15:47:30 2013 +0200 +++ b/src/p4l/static/p4l/js/p4l.js Thu Sep 05 16:28:59 2013 +0200 @@ -20,6 +20,12 @@ $scope.uriLabels[k] = v; }; + $scope.removeSubject = function(uri) { + i = $scope.record.subjects.indexOf(uri); + if(i>=0){ + $scope.record.subjects.splice(i, 1); + } + }; }); app.config(['$routeProvider', function($routeProvider) { diff -r 829d9d4111da -r 65912194e047 src/p4l/templates/p4l/record_update_form.html --- a/src/p4l/templates/p4l/record_update_form.html Thu Sep 05 15:47:30 2013 +0200 +++ b/src/p4l/templates/p4l/record_update_form.html Thu Sep 05 16:28:59 2013 +0200 @@ -61,26 +61,26 @@ {{'subjects' | translate}}
- - ou + + {{'or' | translate}} - Browse + {{'Browse' | translate}}
- +
{{'notes' | translate}} - +