Initial checkin of directory structure and source code of the java Activity
[privoxy.git] / src / java / org / privoxy / activityconsole / ActivityConsoleResources.java
1 /*********************************************************************
2  *
3  * File        :  $Source$
4  *
5  * Purpose     :  Default English text for all translatable strings.
6  *
7  * Copyright   :  Written by and Copyright (C) 2003 the SourceForge
8  *                Privoxy team. http://www.privoxy.org/
9  *
10  *                Based on the Internet Junkbuster originally written
11  *                by and Copyright (C) 1997 Anonymous Coders and
12  *                Junkbusters Corporation.  http://www.junkbusters.com
13  *
14  *                This program is free software; you can redistribute it
15  *                and/or modify it under the terms of the GNU General
16  *                Public License as published by the Free Software
17  *                Foundation; either version 2 of the License, or (at
18  *                your option) any later version.
19  *
20  *                This program is distributed in the hope that it will
21  *                be useful, but WITHOUT ANY WARRANTY; without even the
22  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
23  *                PARTICULAR PURPOSE.  See the GNU General Public
24  *                License for more details.
25  *
26  *                The GNU General Public License should be included with
27  *                this file.  If not, you can view it at
28  *                http://www.gnu.org/copyleft/gpl.html
29  *                or write to the Free Software Foundation, Inc., 59
30  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
31  *
32  * Revisions   :
33  *    $Log$
34  *********************************************************************/
35
36 package org.privoxy.activityconsole;
37
38 import java.io.Serializable;
39
40 /**
41  * The default (English) language resources file for the Activity Console.
42  * @author Last Modified By: $Author$
43  * @version $Rev$-$Date$$State$
44  */
45 public class ActivityConsoleResources extends java.util.ListResourceBundle implements Serializable
46 {
47   private static final String
48     COPYRIGHT = org.privoxy.activityconsole.Copyright.COPYRIGHT;
49
50   static final Object[][] contents =
51   {
52     {"guiTitle", "Activity Console - serving port %1"},
53     {"menuFile", "File"}, 
54     {"menuFileQuit", "Quit"}, 
55     {"menuEdit", "Edit"},
56     {"menuEditDelete", "Delete selected row"},
57     {"menuEditConfig", "Set port"},
58     {"guiNewPortTitle", "New port"},
59     {"guiNewPortPrompt", "Currently serving port %1.\n\nPlease enter the new port to serve:"},
60     {"guiNewPortErrorTitle", "Alert"},
61     {"guiNewPortErrorPrompt", "New port must be positive."},
62     {"guiDeleteConfirmTitle","Are you sure?"},
63     {"guiDeleteConfirmPrompt","Are you sure you want to delete stats from host %1?"},
64
65     /* Headers and descriptions for statistics columns */
66     {"guiDefaultColumn0","Host:Port"},
67     {"guiDefaultColumn0Description","The host and port that statistics are coming from"},
68     {"guiDefaultColumn1","Request"},
69     {"guiDefaultColumn1Description","The number of requests that flow through the proxy"},
70     {"guiDefaultColumn2","Filter"},
71     {"guiDefaultColumn2Description","The number of filters that have been applied"},
72     {"guiDefaultColumn3","Image"},
73     {"guiDefaultColumn3Description","The number of images that have been blocked"},
74     {"guiDefaultColumn4","De-anim"},
75     {"guiDefaultColumn4Description","The number of GIF images that have been de-animated"},
76     {"guiDefaultColumn5","Cookie"},
77     {"guiDefaultColumn5Description","The number of cookies that have been blocked"},
78     {"guiDefaultColumn6","Referer"},
79     {"guiDefaultColumn6Description","The number of referers blocked"},
80     {"guiDefaultColumn7","ACL"},
81     {"guiDefaultColumn7Description","The number of blocks due to ACL restrictions"},
82     {"guiDefaultColumn8","UA"},
83     {"guiDefaultColumn8Description","The number of times user-agent header was removed"},
84     {"guiDefaultColumn9","FROM"},
85     {"guiDefaultColumn9Description","The number of times the from: header was removed"},
86     {"guiDefaultColumn10","FORWARD"},
87     {"guiDefaultColumn10Description","The number of times the forward header was removed"},
88   };
89
90   /** Returns the contents of this ListBundleResources class.
91    * @see java.util.ListBundleResource
92    * @return Object an Object array containing this classes resources.
93    */
94   protected Object[][] getContents()
95   {
96     return contents;
97   }
98
99   /** Returns the name of the language this class represents.
100    * @return String the name of the language this class represents.
101    */
102
103   public String toString()
104   {
105     return "English";
106   }
107 }