12 |
|
|
13 |
include 'lib.php'; |
include 'lib.php'; |
14 |
|
|
15 |
|
if ($s == '../_nav/langs/en.lang') { |
16 |
|
$file = substr(_lang_file_switch($s, $l), 14); |
17 |
|
$note = '<span style="color: red; font-weight: bold"> NOTE: THIS IS TRANSLATION OF NAVIGATION SO LOCATION FOR COMMIT IS DIFFERENT!</span>'; |
18 |
|
$commit = '<a href="http://svnweb.mageia.org/web/www/trunk/_nav/langs/">web/www/trunk/_nav/langs/</a>' . $file . ' and for now to the <a href="http://svnweb.mageia.org/web/nav/langs/">web/nav/langs/</a>' . $file . ' too'; |
19 |
|
$iframe = 'http://www.mageia.org/_nav/langs/en.lang'; |
20 |
|
} else { |
21 |
|
$file = _lang_file_switch($s, $l); |
22 |
|
$note = ''; |
23 |
|
$commit = '<a href="http://svnweb.mageia.org/web/www/trunk/langs/">web/www/trunk/langs</a>/' . $file; |
24 |
|
$iframe = 'http://www.mageia.org/langs/'.$s; |
25 |
|
} |
26 |
|
|
27 |
?><!DOCTYPE html> |
?><!DOCTYPE html> |
28 |
<html lang="en"> |
<html lang="en"> |
34 |
|
|
35 |
<p><a href="report.php">« back to the report page</a></p> |
<p><a href="report.php">« back to the report page</a></p> |
36 |
|
|
37 |
<p>So, <code><?php echo $s ?></code> language file is missing in <?php echo $langs[$l], ' (<code>', $l, '</code>)' ?>. What can you do to help us?</p> |
<p>So, <code><?php echo $file ?></code> language file is missing in <?php echo $langs[$l], ' (<code>', $l, '</code>)' ?>. What can you do to help us?</p> |
38 |
|
|
39 |
<ol> |
<ol> |
40 |
<li>Copy the source file from the frame below in a text editor and rename it <code><?php echo _lang_file_switch($s, $l)?></code>.</li> |
<li>Copy the source file from the frame below in a text editor and rename it <code><?php echo $file?></code>.<?php echo $note ?></li> |
41 |
<li>Replace and translate the strings that are just after the lines starting with a ";". Be careful to always keep your translated text on a single line.</li> |
<li>Replace and translate the strings that are just after the lines starting with a ";". Be careful to always keep your translated text on a single line.</li> |
42 |
<li>Then: |
<li>Then: |
43 |
<ul> |
<ul> |
44 |
<li>if you have a SVN account, you may commit it directly in <code><?php echo '<a href="http://svnweb.mageia.org/web/www/trunk/langs/">web/www/trunk/langs</a>/' . _lang_file_switch($s, $l)?></code>;</li> |
<li>if you have a SVN account, you may commit it directly in <code><?php echo $commit ?></code>;</li> |
45 |
<li>or attach it to a mail to Mageia i18n team (<code>mageia-i18n</code>, <a href="irc://irc.freenode.net/#mageia-i18n">#mageia-i18n</a> on Freenode).</li> |
<li>or attach it to a mail to Mageia i18n team (<code>mageia-i18n</code>, <a href="irc://irc.freenode.net/#mageia-i18n">#mageia-i18n</a> on Freenode).</li> |
46 |
</ul> |
</ul> |
47 |
</li> |
</li> |
49 |
</ol> |
</ol> |
50 |
|
|
51 |
<p>Thanks!</p> |
<p>Thanks!</p> |
52 |
<iframe src="http://www.mageia.org/langs/<?php echo $s ?>" style="width: 60em; height: 30em;"></iframe> |
<iframe src="<?php echo $iframe ?>" style="width: 60em; height: 30em;"></iframe> |
53 |
<hr> |
<hr> |
54 |
</body> |
</body> |
|
</html> |
|
55 |
|
</html> |