Просмотр исходного кода

updating translators in credits

El RIDO 8 лет назад
Родитель
Сommit
6225a8ef16
7 измененных файлов с 11 добавлено и 6 удалено
  1. 4 1
      .gitattributes
  2. 1 1
      CHANGELOG.md
  3. 2 0
      CREDITS.md
  4. 1 1
      js/privatebin.js
  5. 1 1
      lib/I18n.php
  6. 1 1
      tpl/bootstrap.php
  7. 1 1
      tpl/page.php

+ 4 - 1
.gitattributes

@@ -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

+ 1 - 1
CHANGELOG.md

@@ -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)

+ 2 - 0
CREDITS.md

@@ -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

+ 1 - 1
js/privatebin.js

@@ -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;
             }

+ 1 - 1
lib/I18n.php

@@ -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;
         }

+ 1 - 1
tpl/bootstrap.php

@@ -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]-->

+ 1 - 1
tpl/page.php

@@ -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]-->