mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Updated readmes.
This commit is contained in:
@@ -83,4 +83,5 @@ If a translation for a new language is provided, here's what needs changing in t
|
||||
* In `helpers.h`, update `Language::Names()`.
|
||||
* In `main.cpp`, update `BossGUI::OnInit` to set the correct `wxLANGUAGE_`.
|
||||
* In `archive.py`, add the language folder to the inline list on line 68.
|
||||
* In `installer.nsi`, add entries for the language folder to the install and uninstall sections. If there's an installer translation, also add its string definitions beside all the other language string definitions, and insert its macro beside all the other language macros.
|
||||
* In `installer.nsi`, add entries for the language folder to the install and uninstall sections. If there's an installer translation, also add its string definitions beside all the other language string definitions, and insert its macro beside all the other language macros.
|
||||
* The readmes should be updated with a link to the translation in the repository in the main readme, and the language's code in the metadata syntax readme.
|
||||
|
||||
@@ -214,7 +214,7 @@ display: 'OBSE v18+'
|
||||
<thead><tr><th>Key Name<th>Required<th>Notes
|
||||
<tbody>
|
||||
<tr><td><code>str</code><td>✓<td>The actual message content string. Double-quoted URLs will be hyperlinked in the BOSS report. See <a href="#links">URL Hyperlinking</a> for details.
|
||||
<tr><td><code>lang</code><td>✓<td>The language that <code>str</code> is written in, given as an ISO 639-3 language code. The languages BOSS supports are given in <a href="#lang">Language Codes</a>.
|
||||
<tr><td><code>lang</code><td>✓<td>The language that <code>str</code> is written in, given as a POSIX language code. The languages BOSS supports are given in <a href="#lang">Language Codes</a>.
|
||||
</table>
|
||||
|
||||
<p>BOSS handles messages and languages as follows:
|
||||
@@ -433,14 +433,15 @@ both get displayed as
|
||||
<h2 id="lang">Language Codes</h2>
|
||||
<p>BOSS supports the following languages and language codes:
|
||||
<table>
|
||||
<thead><tr><th>Language<th>ISO 639-3 Code
|
||||
<thead><tr><th>Language<th>POSIX Code
|
||||
<tbody>
|
||||
<tr><td>English<td>eng
|
||||
<tr><td>Spanish<td>spa
|
||||
<tr><td>Russian<td>rus
|
||||
<tr><td>French<td>fra
|
||||
<tr><td>Chinese<td>zho
|
||||
<tr><td>Polish<td>pol
|
||||
<tr><td>Chinese<td>zh_CN
|
||||
<tr><td>English<td>en
|
||||
<tr><td>French<td>fr
|
||||
<tr><td>Polish<td>pl
|
||||
<tr><td>Brazilian Portuguese<td>pt_BR
|
||||
<tr><td>Russian<td>ru
|
||||
<tr><td>Spanish<td>es
|
||||
</table>
|
||||
|
||||
<h2 id="license">License</h2>
|
||||
|
||||
@@ -338,11 +338,12 @@ To translate the BOSS application:
|
||||
<li>Download <a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/template.pot">BOSS's translation template file</a>.
|
||||
<li>If you are updating an existing translation, download the relevant translation file for the language you're interested in:
|
||||
<ul>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/ru/LC_MESSAGES/boss.po">Russian</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/es/LC_MESSAGES/boss.po">Spanish</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/zh/LC_MESSAGES/boss.po">Simplified Chinese</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/zh_CN/LC_MESSAGES/boss.po">Chinese</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/fr/LC_MESSAGES/boss.po">French</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/pl/LC_MESSAGES/boss.po">Polish</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/pt_BR/LC_MESSAGES/boss.po">Brazilian Portuguese</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/ru/LC_MESSAGES/boss.po">Russian</a>
|
||||
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/es/LC_MESSAGES/boss.po">Spanish</a>
|
||||
</ul>
|
||||
<li>Open Poedit and select <q>File->Preferences</q>, then in the <q>Editor</q> tab ensure that the checkbox for the <q>Automatically compile .mo file on save</q> setting is checked. Click <q>OK</q> to close the preferences window.
|
||||
<li>If you are starting a new translation, select <q>File->New catalogue from POT file...</q> and choose the template file you downloaded. In the <q>Catalog properties</q> dialog, just click <q>OK</q> without changing anything.
|
||||
|
||||
Reference in New Issue
Block a user