-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhelpl10n.html
111 lines (96 loc) · 4.45 KB
/
helpl10n.html
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
107
108
109
110
111
<!DOCTYPE html>
<!-- vim: set sw=2 ts=2 sts=2 et: -->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<script type="text/javascript">
if (location.search) {
var s = location.search;
var l = s.substr(1);
if (l.substr(0, 3) == 'hl=')
l = l.substr(3);
if (l.match(/^es_[A-Z][A-Z]/))
l = 'es';
var l10n = {'zh_CN':'zh_CN', 'zh_SG':'zh_CN', 'zh':'zh_CN', 'zh_TW':'zh_CN', 'zh_HK':'zh_CN',
'zh_MO':'zh_CN', 'ja_JP':'', 'ja':'', 'es':'', 'ta':'ta', }[l] || '';
location = l10n + location.pathname + location.hash;
}
</script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/architectsdaughter.css">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<!--[if lt IE 9]>
<script src="javascripts/html5.js"></script>
<![endif]-->
<style>
ol { margin-left: 10pt; }
</style>
<title>wxMEdit - A Cross-platform Text/Hex Editor</title>
</head>
<body>
<header>
<div class="inner">
<h1>wxMEdit</h1>
<h2>Help Localization</h2>
<a target="_blank" href="https://github.com/hltj" class="button"><small>Follow me on</small>GitHub</a>
</div>
</header>
<div id="content-wrapper">
<div class="inner clearfix">
<aside id="sidebar">
<h2><a href="./">Home</a></h2>
<h2><a href="downloads.html">Downloads</a></h2>
<h2><a href="credits.html">Credits</a></h2>
<h2><a target="_blank" href="https://github.com/wxMEdit/wxMEdit/wiki">Wiki</a></h2>
<h2><a target="_blank" href="https://github.com/wxMEdit/wxMEdit">Code</a></h2>
<h2><a target="_blank" href="https://github.com/wxMEdit/wxMEdit/issues">Support</a></h2>
</aside>
<section id="main-content">
<h2>
<a name="addupdate-translation" class="anchor" href="#addupdate-translation"><span class="octicon octicon-link"></span></a>Add/Update Translation</h2>
<p>If you wish to help translation, please send a e-mail to tell me (JiaYanwei <<a href="mailto:[email protected]">[email protected]</a>>) the target language.
There are two ways to add a new translation OR update an exist translation:</p>
<ol>
<li>
<strong>Without forking:</strong>
<ol>
<li>Translate the .po file:
<ul>
<li>Download <code>https://raw.githubusercontent.com/hltj/wxMEdit/master/po/wxmedit.pot</code>.</li>
<li>Transalte the file to the target language and rename it with <code>ll_CC.po</code> (e.g. <code>zh_CN.po</code>, <code>it_IT.po</code>, <code>ja_JP.po</code>, etc.); OR update the file <code>ll_CC.po</code>.</li>
</ul>
</li>
<li>Translate the wiki files:
<ul>
<li>Clone the wiki repository <code>https://github.com/wxMEdit/wxMEdit.wiki.git</code>.</li>
<li>Translate the markdown wiki files <code>Home.md</code> & <code>Downloads.md</code> to the target language and rename them with <code>Home_ll_CC.md</code> & <code>Downloads_ll_CC.md</code>; OR update the wiki files <code>Home_ll_CC.md</code> & <code>Downloads_ll_CC.md</code>.</li>
</ul>
</li>
<li>Send the translated files to me (JiaYanwei <<a href="mailto:[email protected]">[email protected]</a>>).</li>
</ol>
</li>
<li>
<strong>With forking:</strong>
<ol>
<li>Fork wxMEdit on github.</li>
<li>Add/update the translated .po file and wiki files as above.</li>
<li>Create a pull request.</li>
</ol>
</li>
</ol><p>Thank you for your translation. I will add your name/nick to the <a href="credits.html">credits</a>. And you can also give me your website/blog address, I will add the link to the your translated pages and credits pages in all language.</p>
</section>
</div>
</div>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53914281-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>