translate agenda hidden filter in js
This commit is contained in:
parent
20ac817d49
commit
ef7deb90c9
@ -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');
|
||||||
|
@ -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):
|
||||||
|
BIN
openslides/locale/de/LC_MESSAGES/djangojs.mo
Normal file
BIN
openslides/locale/de/LC_MESSAGES/djangojs.mo
Normal file
Binary file not shown.
23
openslides/locale/de/LC_MESSAGES/djangojs.po
Normal file
23
openslides/locale/de/LC_MESSAGES/djangojs.po
Normal 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."
|
Loading…
Reference in New Issue
Block a user