updating translators in credits

This commit is contained in:
El RIDO 2018-05-31 21:04:35 +02:00
parent 2ff5491752
commit 1d87eb01ab
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
7 changed files with 11 additions and 6 deletions

5
.gitattributes vendored
View File

@ -1,7 +1,7 @@
doc/ export-ignore
tst/ export-ignore
js/.istanbul.yml export-ignore
js/test.js export-ignore
js/test/ export-ignore
.codeclimate.yml export-ignore
.csslintrc export-ignore
.dockerignore export-ignore
@ -15,3 +15,6 @@ js/test.js export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
Dockerfile export-ignore
docker-compose.yml export-ignore
docker/ export-ignore
composer.json export-ignore

View File

@ -1,7 +1,7 @@
# PrivateBin version history
* **next (not yet released)**
* ADDED: Translations for Spanish, Occitan, Norwegian and Portuguese
* ADDED: Translations for Spanish, Occitan, Norwegian, Portuguese, Dutch and Hungarian
* ADDED: Option in configuration to change the default "PrivateBin" title of the site
* CHANGED: Minimum required PHP version is 5.4 (#186)
* CHANGED: Shipped .htaccess files were updated for Apache 2.4 (#192)

View File

@ -36,3 +36,5 @@ Sébastien Sauvage - original idea and main developer
* Quent-in - Occitan
* idarlund - Norwegian
* Tulio Leao - Portuguese
* Michael van Schaik - Dutch
* Péter Tabajdi - Hungarian

View File

@ -455,7 +455,7 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
return n % 10 === 1 && n % 100 !== 11 ? 0 : (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);
case 'sl':
return n % 100 === 1 ? 1 : (n % 100 === 2 ? 2 : (n % 100 === 3 || n % 100 === 4 ? 3 : 0));
// de, en, es, hu, it, no, pt
// de, en, es, hu, it, nl, no, pt
default:
return n !== 1 ? 1 : 0;
}

View File

@ -305,7 +305,7 @@ class I18n
return $n % 10 == 1 && $n % 100 != 11 ? 0 : ($n % 10 >= 2 && $n % 10 <= 4 && ($n % 100 < 10 || $n % 100 >= 20) ? 1 : 2);
case 'sl':
return $n % 100 == 1 ? 1 : ($n % 100 == 2 ? 2 : ($n % 100 == 3 || $n % 100 == 4 ? 3 : 0));
// de, en, es, it, no, pt
// de, en, es, hu, it, nl, no, pt
default:
return $n != 1 ? 1 : 0;
}

View File

@ -75,7 +75,7 @@ if ($MARKDOWN):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-iuiwvfPl32vcb+QcSZUChn1jMmfn7zVdysB3rw09cZ5ycHSLf+QKDkgaLS9J0MrCUD7i1dxMOfGaUNLRNfgdEQ==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-E4Xn2eiRBcK8st0QGS3FY51htChZd4CrDLv+7LY67RrINHIGYLzRDrKCPCp4unUno5Wp3cSp7RL8aSUMmOWcBw==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->

View File

@ -54,7 +54,7 @@ if ($QRCODE):
<?php
endif;
?>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-iuiwvfPl32vcb+QcSZUChn1jMmfn7zVdysB3rw09cZ5ycHSLf+QKDkgaLS9J0MrCUD7i1dxMOfGaUNLRNfgdEQ==" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-E4Xn2eiRBcK8st0QGS3FY51htChZd4CrDLv+7LY67RrINHIGYLzRDrKCPCp4unUno5Wp3cSp7RL8aSUMmOWcBw==" crossorigin="anonymous"></script>
<!--[if lt IE 10]>
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
<![endif]-->