Module: website
Branch: master
Commit: 5a0649317a24823912dc474caf8912548975d099
URL: http://source.winehq.org/git/website.git/?a=commit;h=5a0649317a24823912dc47…
Author: Jeremy Newman <jnewman(a)codeweavers.com>
Date: Tue Jan 19 12:36:19 2016 -0600
clean up irc page
---
templates/en/irc.template | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/templates/en/irc.template b/templates/en/irc.template
index 1d96c47..401c6ab 100644
--- a/templates/en/irc.template
+++ b/templates/en/irc.template
@@ -35,7 +35,7 @@ a chat by clicking on:</p>
to research your question some before asking about it on the IRC. The
<a href="http://wiki.winehq.org/FAQ">Wine FAQ</a>,
<a href="//appdb.winehq.org">AppDB</a>, and
-<a href="//www.winehq.org/site/download">download page</a> are all good
+<a href="//www.winehq.org/download">download page</a> are all good
resources to check first.</p>
<h2>IRC Rules and Penalties</h2>
@@ -54,33 +54,36 @@ want to contest a ban, go to <b>#winehq-social</b> (or the
been banned from <b>#winehq-social</b>), and explain why you believe you were
banned in the first place and why the ban should be lifted.</p>
-<table border="0" cellpadding="5" cellspacing="1" bgcolor="#EFEFEF">
- <tr align="center" bgcolor="black">
- <th><b><font color="white" class="small">Rule</font></b></th>
- <th><b><font color="white" class="small">Clarification</font></b></th>
- <th><b><font color="white" class="small">Warnings</font></b></th>
- <th><b><font color="white" class="small">Kicks</font></b></th>
+<table class="table">
+<thead>
+ <tr class="black inverse small">
+ <th>Rule</th>
+ <th>Clarification</th>
+ <th>Warnings</th>
+ <th>Kicks</th>
</tr>
- <tr bgcolor="#ffffff">
+</thead>
+<tbody>
+ <tr>
<td>Do not spam.</td>
<td></td>
<td>1</td>
<td>2</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Use a pastebin for pasting more than 1 or 2 lines.</td>
<td><a href="http://winehq.pastebin.com">winehq.pastebin.com</a> and
<a href="http://pastebin.ca">pastebin.ca</a> both work well.</td>
<td>0</td>
<td>5</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Talk in the appropriate channel.</td>
<td>If unsure, ask in <b>#winehq</b> which channel to join.</td>
<td>2</td>
<td>3</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Only Wine and Crossover are supported in their respective
channels.</td>
<td>Sidenet, WineDoors, Cedega, IEs4Linux, etc. are <b>not</b>
@@ -88,7 +91,7 @@ banned in the first place and why the ban should be lifted.</p>
<td>2</td>
<td>1</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Before asking for help in <b>#winehq</b>, be sure you're running
the latest version of Wine.</td>
<td>If unsure, run <tt>wine --version</tt> in the command line to
@@ -96,16 +99,17 @@ banned in the first place and why the ban should be lifted.</p>
<td>3</td>
<td>1</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Please wait your turn for help.</td>
<td></td>
<td>3</td>
<td>1</td>
</tr>
- <tr bgcolor="#ffffff">
+ <tr>
<td>Do <b>not</b> discuss pirated software.</td>
<td></td>
<td>1</td>
<td>1</td>
</tr>
+</tbody>
</table>
Module: website
Branch: master
Commit: 095c1f0055ea48b604b16758e6a53991f50aa1b7
URL: http://source.winehq.org/git/website.git/?a=commit;h=095c1f0055ea48b604b167…
Author: Jeremy Newman <jnewman(a)codeweavers.com>
Date: Tue Jan 19 11:40:48 2016 -0600
update README for new translation instructions and requirements
---
README | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 6cb89bb..6e8761f 100644
--- a/README
+++ b/README
@@ -1,12 +1,12 @@
WineHQ (lostwages) Website Template Engine
-ver 3.0
+ver 4.0
by Jeremy Newman <jnewman(a)codeweavers.com>
-----------------------------------------------------------------------
Installation Requirements:
* Apache 2.0 or higher
* mod_rewrite enabled in Apache config
- * PHP 5.3 or higher
+ * PHP 5.4 or higher
Setting Up:
-----------------------------------------------------------------------
@@ -38,6 +38,16 @@ The following varables can be used in templates.
You can also add global vars to include/globals.conf and they will be availbe as
{$config_[key]} where [key] is the name you defined in globals.conf
+Translating:
+-----------------------------------------------------------------------
+1. Edit include/winehq.conf and add your language code to @languages.
+2. Create language subdir in templates.
+4. Add your language strings to templates/en/global/xml/trans/lang.xml
+5. Copy and edit path templates/en/global/xml/trans/global.xml to your
+ langs subdir.
+6. Copy individual templates/en/*.template to your langs subdir as you
+ translate them. Only copy the files you plan on translating.
+7. News item translations are in news/<lang>.
Notes:
-----------------------------------------------------------------------