From e1bbc7572cb0fa89b724dfa46a622b0af364fa14 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Sun, 26 Oct 2014 16:57:41 -0500
Subject: [PATCH] i18n: Remove double download of language pack for build

---
 include/staff/dynamic-list.inc.php | 2 +-
 setup/cli/modules/i18n.php         | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/staff/dynamic-list.inc.php b/include/staff/dynamic-list.inc.php
index f42abef7c..0b4ed8099 100644
--- a/include/staff/dynamic-list.inc.php
+++ b/include/staff/dynamic-list.inc.php
@@ -8,7 +8,7 @@ if ($list) {
     $info = $list->getInfo();
     $newcount=2;
 } else {
-    $title = __('Add new custom list');
+    $title = __('Add New Custom List');
     $action = 'add';
     $submit_text = __('Add List');
     $newcount=4;
diff --git a/setup/cli/modules/i18n.php b/setup/cli/modules/i18n.php
index 57a8bd0ab..fca97e411 100644
--- a/setup/cli/modules/i18n.php
+++ b/setup/cli/modules/i18n.php
@@ -253,8 +253,6 @@ class i18n_Compiler extends Module {
             );
         }
 
-        list($code, $zip) = $this->_request("download/$lang.zip");
-
         // Include a manifest
         include_once INCLUDE_DIR . 'class.mailfetch.php';
 
-- 
GitLab