diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6682cc01..1f120a29 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
# PrivateBin version history
- * **1.3 (not yet released)**
+ * **1.4 (not yet released)**
+ * ADDED: Translation for Bulgarian (#455)
+ * **1.3 (2019-07-09)**
* ADDED: Translation for Czech (#424)
* ADDED: Threat modeled the application (#177)
* ADDED: Made compression configurable (#38)
diff --git a/CREDITS.md b/CREDITS.md
index 0f1b45f3..03f2a77b 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -41,4 +41,5 @@ Sébastien Sauvage - original idea and main developer
* Tulio Leao - Portuguese
* Michael van Schaik - Dutch
* Péter Tabajdi - Hungarian
-* info-path - Czech
\ No newline at end of file
+* info-path - Czech
+* BigWax - Bulgarian
\ No newline at end of file
diff --git a/js/privatebin.js b/js/privatebin.js
index 17209339..1669d7b0 100644
--- a/js/privatebin.js
+++ b/js/privatebin.js
@@ -420,7 +420,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
* @prop {string[]}
* @readonly
*/
- const supportedLanguages = ['cs', 'de', 'es', 'fr', 'it', 'hu', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'zh'];
+ const supportedLanguages = ['bg', 'cs', 'de', 'es', 'fr', 'it', 'hu', 'no', 'nl', 'pl', 'pt', 'oc', 'ru', 'sl', 'zh'];
/**
* built in language
@@ -583,7 +583,7 @@ jQuery.PrivateBin = (function($, 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, nl, no, pt
+ // bg, de, en, es, hu, it, nl, no, pt
default:
return n !== 1 ? 1 : 0;
}
diff --git a/lib/I18n.php b/lib/I18n.php
index 8346ea5a..29aa6b1a 100644
--- a/lib/I18n.php
+++ b/lib/I18n.php
@@ -306,7 +306,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, hu, it, nl, no, pt
+ // bg, de, en, es, hu, it, nl, no, pt
default:
return $n != 1 ? 1 : 0;
}
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index f19aa612..924b5a35 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -71,7 +71,7 @@ if ($MARKDOWN):
endif;
?>
-
+
diff --git a/tpl/page.php b/tpl/page.php
index 5e889af8..c330720b 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -49,7 +49,7 @@ if ($MARKDOWN):
endif;
?>
-
+