/
localization.php3
106 lines (96 loc) · 2.7 KB
/
localization.php3
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?
function print_lang( $p_language, $p_version, $p_state ) {
$t_file_name = "mantis/strings_".strtolower( $p_language ).".txt";
PRINT "<tr bgcolor=#ffffff>";
PRINT "<td>";
echo $p_language;
PRINT "</td>";
PRINT "<td>";
echo $p_version;
PRINT "</td>";
PRINT "<td>";
if ( file_exists( $t_file_name ) ) {
echo date( "M d, Y", filemtime( $t_file_name ) );
}
PRINT "</td>";
PRINT "<td>";
if (( file_exists( $t_file_name ) )&&( $p_state=="active" )) {
PRINT "<a href=\"$t_file_name\">download</a>";
} else if ( $p_state=="active" ) {
PRINT "in progress";
} else {
PRINT" ";
}
PRINT "</td>";
PRINT "</tr>";
}
?>
<html>
<head>
<style>
body { background-color:#ffffff; font-family:Verdana, Arial; font-size=10pt }
td { font-family:Verdana, Arial; font-size=10pt }
p { font-family:Verdana, Arial; font-size=10pt }
</style>
<title>Mantis</title>
</head>
<body>
<p>
<div align=center>
<h2>Mantis</h2>
</div>
<p>
<div align=center>
<table width=100%>
<tr valign=top>
<? include("side_menu.php3") ?>
<td>
<p>
<b><font size=+1>Localization</font></b>
<p>
Here you can see the latest localization files. Some of them are included with a release (as indicated). Others tend to lag slightly behind the newest releases so if your language isn't supported check back a few days after a big release.
<p>
<div align=center>
<table width=100% cellpadding=5 cellspacing=1 bgcolor=#ffffff>
<tr bgcolor=#ffffff>
<td>
<b>Language</b>
</td>
<td>
<b>Version</b>
</td>
<td>
<b>Date Updated</b>
</td>
<td>
</td>
</tr>
<?
print_lang( "English", "0.14.7", "active" );
print_lang( "Dutch", "0.14.7", "active" );
print_lang( "French", "0.14.7", "active" );
print_lang( "German", "0.14.7", "active" );
print_lang( "Italian", "0.14.7", "active" );
print_lang( "Norwegian", "0.14.7", "active" );
print_lang( "Spanish", "0.14.7", "active" );
print_lang( "Portuguese", "0.14.7", "active" );
print_lang( "Turkish", "", "active" );
?>
</table>
</div>
<p>
<b><font size=+1>Translating</font></b>
<p>
Don't see your language? Translate one of the files! It's really quite simple. Just take the strings file and convert away. Then submit it back to me. Also, you can update them when new strings make it in. The file won't change drastically so it shouldn't be too much work to keep the files updated.
<p>
Currently some strings are hard-coded into the database tables or the code. This will be fixed soon.
</td>
</tr>
</table>
<p>
<div align=right>
<A href="http://sourceforge.net"> <IMG src="http://sourceforge.net/sflogo.php?group_id=14963" width="88" height="31" border="0" alt="SourceForge Logo"></A>
</div>
</body>
</html>