1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[dist] Update locales and dist

This commit is contained in:
zhengxie
2015-07-07 14:08:43 +08:00
parent 506749b4c7
commit 6a5290866a
174 changed files with 19370 additions and 1050 deletions

View File

@@ -5,7 +5,14 @@
var django = globals.django || (globals.django = {});
django.pluralidx = function (count) { return (count == 1) ? 0 : 1; };
django.pluralidx = function (n) {
var v=(n != 1);
if (typeof(v) == 'boolean') {
return v ? 1 : 0;
} else {
return v;
}
};