diff --git a/CHANGELOG.md b/CHANGELOG.md
index 900d50162..25b963075 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -17,7 +17,7 @@
- Demo mode: Allow registering torrents by default [\#1440](https://github.com/torrentpier/torrentpier/pull/1440) ([belomaxorka](https://github.com/belomaxorka))
- Temp: Removed showing forum description in `viewforum.php` [\#1465](https://github.com/torrentpier/torrentpier/pull/1465) ([belomaxorka](https://github.com/belomaxorka))
- Code refactoring [\#1441](https://github.com/torrentpier/torrentpier/pull/1441) ([belomaxorka](https://github.com/belomaxorka))
-- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446), [\#1450](https://github.com/torrentpier/torrentpier/pull/1450), [\#1452](https://github.com/torrentpier/torrentpier/pull/1452), [\#1458](https://github.com/torrentpier/torrentpier/pull/1458), [\#1461](https://github.com/torrentpier/torrentpier/pull/1461), [\#1462](https://github.com/torrentpier/torrentpier/pull/1462) ([belomaxorka](https://github.com/belomaxorka))
+- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446), [\#1450](https://github.com/torrentpier/torrentpier/pull/1450), [\#1452](https://github.com/torrentpier/torrentpier/pull/1452), [\#1458](https://github.com/torrentpier/torrentpier/pull/1458), [\#1461](https://github.com/torrentpier/torrentpier/pull/1461), [\#1462](https://github.com/torrentpier/torrentpier/pull/1462), [\#1467](https://github.com/torrentpier/torrentpier/pull/1467) ([belomaxorka](https://github.com/belomaxorka))
- Updated deps [\#1454](https://github.com/torrentpier/torrentpier/pull/1454), [\#1455](https://github.com/torrentpier/torrentpier/pull/1455), [\#1459](https://github.com/torrentpier/torrentpier/pull/1459), [\#1460](https://github.com/torrentpier/torrentpier/pull/1460) ([belomaxorka](https://github.com/belomaxorka))
- New Crowdin updates [\#1444](https://github.com/torrentpier/torrentpier/pull/1444), [\#1447](https://github.com/torrentpier/torrentpier/pull/1447), [\#1453](https://github.com/torrentpier/torrentpier/pull/1453) ([Exileum](https://github.com/Exileum))
diff --git a/admin/admin_forums.php b/admin/admin_forums.php
index a657f9a97..85b14adaf 100644
--- a/admin/admin_forums.php
+++ b/admin/admin_forums.php
@@ -322,7 +322,7 @@ if ($mode) {
// Create a category in the DB
//
if (!$new_cat_title = trim($_POST['categoryname'])) {
- bb_die('Category name is empty');
+ bb_die($lang['CATEGORY_NAME_EMPTY']);
}
check_name_dup('cat', $new_cat_title);
@@ -370,7 +370,7 @@ if ($mode) {
// Modify a category in the DB
//
if (!$new_cat_title = trim($_POST['cat_title'])) {
- bb_die('Category name is empty');
+ bb_die($lang['CATEGORY_NAME_EMPTY']);
}
$cat_id = (int)$_POST[POST_CAT_URL];
diff --git a/library/ajax/change_user_rank.php b/library/ajax/change_user_rank.php
index cde38f1a6..69b755a34 100644
--- a/library/ajax/change_user_rank.php
+++ b/library/ajax/change_user_rank.php
@@ -32,7 +32,7 @@ DB()->query("UPDATE " . BB_USERS . " SET user_rank = $rank_id WHERE user_id = $u
\TorrentPier\Sessions::cache_rm_user_sessions($user_id);
-$user_rank = ($rank_id) ? '' . $ranks[$rank_id]['rank_title'] . '' : '';
+$user_rank = $rank_id ? '' . $ranks[$rank_id]['rank_title'] . '' : '';
-$this->response['html'] = ($rank_id) ? $lang['AWARDED_RANK'] . " $user_rank " : $lang['SHOT_RANK'];
-$this->response['rank_name'] = ($rank_id) ? $user_rank : $lang['USER'];
+$this->response['html'] = $rank_id ? $lang['AWARDED_RANK'] . " $user_rank " : $lang['SHOT_RANK'];
+$this->response['rank_name'] = $rank_id ? $user_rank : $lang['USER'];
diff --git a/library/language/source/main.php b/library/language/source/main.php
index a19c9f43b..8a50f70fe 100644
--- a/library/language/source/main.php
+++ b/library/language/source/main.php
@@ -2095,6 +2095,7 @@ $lang['MOVE_CONTENTS'] = 'Move all contents';
$lang['FORUM_DELETE'] = 'Delete Forum';
$lang['FORUM_DELETE_EXPLAIN'] = 'The form below will allow you to delete a forum (or category) and decide where you want to put all topics (or forums) it contained.';
$lang['CATEGORY_DELETE'] = 'Delete Category';
+$lang['CATEGORY_NAME_EMPTY'] = 'Category name not specified';
$lang['STATUS_LOCKED'] = 'Locked';
$lang['STATUS_UNLOCKED'] = 'Unlocked';