translate agenda hidden filter in js

This commit is contained in:
Oskar Hahn 2012-09-13 15:19:10 +02:00
parent 20ac817d49
commit ef7deb90c9
4 changed files with 26 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function hideClosedSlides(hide) {
hideLine($(this)); hideLine($(this));
}); });
hidden = $('#menu-overview tr:hidden').size(); hidden = $('#menu-overview tr:hidden').size();
$('#hiddencount').text(', davon ' + hidden + ' verborgen.'); $('#hiddencount').text(interpolate(gettext(', therefrom %s hidden.'), [hidden]));
} else { } else {
$('#menu-overview tr').show(); $('#menu-overview tr').show();
$('#hidelink').attr('title','hide'); $('#hidelink').attr('title','hide');

View File

@ -6,8 +6,10 @@ Instruction to update translation for OpenSlides:
2. Update the German po file (locale/de/LC_MESSAGES/django.po): 2. Update the German po file (locale/de/LC_MESSAGES/django.po):
$ django-admin.py makemessages -l de $ django-admin.py makemessages -l de
$ django-admin.py makemessages -l de -d djangojs
3. Edit the German po file: locale/de/LC_MESSAGES/django.po 3. Edit the German po file: locale/de/LC_MESSAGES/django.po
Don't forget the js-file: locale/de/LC_MESSAGES/djangojs.po
(Search for "fuzzy" and empty msgstr entries.) (Search for "fuzzy" and empty msgstr entries.)
4. Update the German mo file (locale/de/LC_MESSAGES/django.mo): 4. Update the German mo file (locale/de/LC_MESSAGES/django.mo):

Binary file not shown.

View File

@ -0,0 +1,23 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: OpenSlides 1.x\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-08-13 19:14+0200\n"
"PO-Revision-Date: 2012-07-28 11:07+0200\n"
"Last-Translator: Oskar Hahn <mail@oshahn.de>\n"
"Language: de\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"
#: agenda/static/javascript/agenda.js:27
#, c-format
msgid ", therefrom %s hidden."
msgstr ", davon %s verborgen."