Debian Codegraph @

src/java/org/astrogrid/samp/web/AuthResourceBundle_en.java

raw
1 package org.astrogrid.samp.web;
2
3 /**
4 * AuthResourceBundle with English text.
5 *
6 * @author Mark Taylor
7 * @since 15 Jul 2011
8 */
9 public class AuthResourceBundle_en extends AuthResourceBundle {
10
11 /**
12 * Constructor.
13 */
14 public AuthResourceBundle_en() {
15 super( new EnglishContent() );
16 }
17
18 /**
19 * Content implementation for English.
20 */
21 static class EnglishContent implements Content {
22 public String windowTitle() {
23 return "SAMP Hub Security";
24 }
25 public String appIntroductionLines() {
26 return "The following application, probably running in a browser,\n"
27 + "is requesting SAMP Hub registration:";
28 }
29 public String nameWord() {
30 return "Name";
31 }
32 public String originWord() {
33 return "Origin";
34 }
35 public String undeclaredWord() {
36 return "undeclared";
37 }
38 public String privilegeWarningLines() {
39 return "If you permit this, it may be able to access local files\n"
40 + "and other resources on your computer.";
41 }
42 public String adviceLines() {
43 return "You should only accept if you have just performed\n"
44 + "some action in the browser, on a web site you trust,\n"
45 + "that you expect to have caused this.";
46 }
47 public String questionLine() {
48 return "Do you authorize connection?";
49 }
50 public String yesWord() {
51 return "Yes";
52 }
53 public String noWord() {
54 return "No";
55 }
56 }
57 }