Fork me on GitHub
Subscribe 0

Ticket #39 (fixed bug)

[Patch] Remove unused translations

  • Created: 2010-06-02 18:15:47
  • Reported by: Pierre
  • Assigned to: Reines
  • Milestone: 1.4.0
  • Component: localization
  • Priority: normal

This is a patch to remove unused translation keys from lang/English (not my patch; I am just redirecting)

From ec685738afe8e9dbf3cf6b1d88fd6aa9f4930c68 Mon Sep 17 00:00:00 2001
From: Peter Hofmann <scm@uninformativ.de>
Date: Wed, 2 Jun 2010 13:46:05 +0200
Subject: [PATCH 2/2] Removed unused keys in english lang resources.

---
 lang/English/admin_bans.php |    2 --
 lang/English/search.php     |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/lang/English/admin_bans.php b/lang/English/admin_bans.php
index b2c7631..72f16db 100644
--- a/lang/English/admin_bans.php
+++ b/lang/English/admin_bans.php
@@ -43,8 +43,6 @@ $lang_admin_bans = array(
 'IP label'                                     =>      'IP address/IP-ranges',
 'IP help'                                      =>      'The IP address or IP-ranges you wish to ban (e.g. 150.11.110.1 or 150.11.110). Separate addresses with spaces. If an IP is entered already it is the last known IP of this user in the database.',
 'IP help link'                         =>      'Click %s to see IP statistics for this user.',
-'Reason label'                         =>      'Reason',
-'Banned by label'                      =>      'Banned by',
 'Ban advanced head'                    =>      'Ban advanced settings',
 'Ban advanced subhead'         =>      'Supplement ban with IP and email',
 'Ban message label'                    =>      'Ban message',
diff --git a/lang/English/search.php b/lang/English/search.php
index d6a5081..e58e855 100644
--- a/lang/English/search.php
+++ b/lang/English/search.php
@@ -4,7 +4,6 @@
 $lang_search = array(
 
 // The search form
-'User search'                          =>      'User search',
 'No search permission'         =>      'You do not have permission to use the search feature.',
 'Search flood'                         =>      'At least %s seconds have to pass between searches. Please wait a while and try searching again.',
 'Search'                                       =>      'Search',
-- 
1.7.1

History

Reines 2010-06-08 17:20:45

  • Milestone set to 1.4.0.

Reines 2010-06-08 22:51:49

  • Status changed from open to fixed.

Cheers, sorted admin_bans.php in 496c1efc. The entry in search.php isn't used but should be so I'm not removing that.

Reines 2010-06-13 17:40:53

  • Owner set to Reines.