From 8cd196667a7a3a2682af5b9a840d3c7308b4bb12 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Sun, 23 Feb 2014 17:19:26 +0000 Subject: [PATCH] Updated readmes. --- README.md | 3 ++- docs/BOSS Metadata Syntax.html | 17 +++++++++-------- docs/BOSS Readme.html | 7 ++++--- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a5a09d9c..56e0f83b 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +* 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. diff --git a/docs/BOSS Metadata Syntax.html b/docs/BOSS Metadata Syntax.html index 862bbf65..f321c83a 100644 --- a/docs/BOSS Metadata Syntax.html +++ b/docs/BOSS Metadata Syntax.html @@ -214,7 +214,7 @@ display: 'OBSE v18+' Key NameRequiredNotes str✓The actual message content string. Double-quoted URLs will be hyperlinked in the BOSS report. See URL Hyperlinking for details. - lang✓The language that str is written in, given as an ISO 639-3 language code. The languages BOSS supports are given in Language Codes. + lang✓The language that str is written in, given as a POSIX language code. The languages BOSS supports are given in Language Codes.

BOSS handles messages and languages as follows: @@ -433,14 +433,15 @@ both get displayed as

Language Codes

BOSS supports the following languages and language codes: - -
LanguageISO 639-3 Code +
LanguagePOSIX Code
Englisheng -
Spanishspa -
Russianrus -
Frenchfra -
Chinesezho -
Polishpol +
Chinesezh_CN +
Englishen +
Frenchfr +
Polishpl +
Brazilian Portuguesept_BR +
Russianru +
Spanishes

License

diff --git a/docs/BOSS Readme.html b/docs/BOSS Readme.html index b414daaa..2200484e 100644 --- a/docs/BOSS Readme.html +++ b/docs/BOSS Readme.html @@ -338,11 +338,12 @@ To translate the BOSS application:
  • Download BOSS's translation template file.
  • If you are updating an existing translation, download the relevant translation file for the language you're interested in:
  • Open Poedit and select File->Preferences, then in the Editor tab ensure that the checkbox for the Automatically compile .mo file on save setting is checked. Click OK to close the preferences window.
  • If you are starting a new translation, select File->New catalogue from POT file... and choose the template file you downloaded. In the Catalog properties dialog, just click OK without changing anything.