/
ProjectInformation.js
64 lines (63 loc) · 1.81 KB
/
ProjectInformation.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/**
* IMPORTANT: Remember to update session/top_panel/BuildLabel.xml in sync with this.
*/
var g_ProjectInformation = {
"organizationName": {
"caption": translate("WILDFIRE GAMES")
},
"organizationLogo": {
"sprite": "WildfireGamesLogo"
},
"productLogo": {
"sprite": "0ADLogo"
},
"productBuild": {
"caption": getBuildString()
},
"productDescription": {
"caption": setStringTags(translate("Alpha XXV: Y——"), { "font": "sans-bold-16" }) + "\n\n" +
translate("Notice: This game is under development and many features have not been added yet.")
}
};
var g_CommunityButtons = [
{
"caption": translate("Website"),
"tooltip": translate("Click to open play0ad.com in your web browser."),
"size": "8 100%-144 50%-4 100%-116",
"onPress": () => {
openURL("https://play0ad.com/");
}
},
{
"caption": translate("Chat"),
"tooltip": translate("Click to open the 0 A.D. IRC chat in your browser. (#0ad on webchat.quakenet.org)"),
"size": "50%+4 100%-144 100%-8 100%-116",
"onPress": () => {
openURL("https://webchat.quakenet.org/?channels=0ad");
}
},
{
"caption": translate("Report a Bug"),
"tooltip": translate("Click to visit 0 A.D. Trac to report a bug, crash, or error."),
"size": "8 100%-108 100%-8 100%-80",
"onPress": () => {
openURL("https://trac.wildfiregames.com/wiki/ReportingErrors/");
}
},
{
"caption": translate("Translate the Game"),
"tooltip": translate("Click to open the 0 A.D. translate page in your browser."),
"size": "8 100%-72 100%-8 100%-44",
"onPress": () => {
openURL("https://trac.wildfiregames.com/wiki/Localization");
}
},
{
"caption": translate("Donate"),
"tooltip": translate("Help with the project expenses by donating."),
"size": "8 100%-36 100%-8 100%-8",
"onPress": () => {
openURL("https://play0ad.com/community/donate/");
}
}
];