Updated localization information and files. No version bump.
This commit is contained in:
parent
b5e2442165
commit
80550d6779
|
@ -116,13 +116,13 @@ accomplished with our `poconvert.rb` tool.
|
|||
If you've not already cloned the HTML Tidy source code repository that will be
|
||||
your first step.
|
||||
|
||||
In the `localize\translations\` directory you can find existing languages, e.g.,
|
||||
In the `localize/translations/` directory you can find existing languages, e.g.,
|
||||
|
||||
- `tidy.pot` (Tidy's POT template for translations).
|
||||
- `language_en_gb.po` (British English variants for the built in language)
|
||||
- …and perhaps more.
|
||||
|
||||
In the `src\` directory you can find the master files for existing languages,
|
||||
In the `src/` directory you can find the master files for existing languages,
|
||||
e.g.,
|
||||
|
||||
- `language_en.h` (Tidy's native, built-in language, mostly U.S. English)
|
||||
|
@ -215,9 +215,9 @@ translation, or to save one of the developer team a few extra steps.
|
|||
- The tool should generate a file named `language_ll_cc.h` in the working
|
||||
directory, where `ll_cc` will be replaced with the language/region of your
|
||||
translation.
|
||||
- Copy this `.h` file into `src\`.
|
||||
- Copy this `.h` file into `src/`.
|
||||
- Modify Tidy's source:
|
||||
- Edit the file `src\language.c` to ensure that the new `.h` file you added
|
||||
- Edit the file `src/language.c` to ensure that the new `.h` file you added
|
||||
is in the `#include` section.
|
||||
- Look for the `static tidyLanguagesType tidyLanguages` structure starting
|
||||
near line 40, and look for the comment `These languages are installed.`.
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* `poconvert.rb msgunfmt language_<%= po_content.language %>.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-<%= Time.new.year %> HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
|
|
|
@ -30,7 +30,7 @@ module PoConvertModule
|
|||
###########################################################
|
||||
@@default_en = File.expand_path(File.join('..', 'src', 'language_en.h' ))
|
||||
@@header_template = File.expand_path(File.join('.', 'language_ll_cc.h.erb'))
|
||||
@@header_digest = '9e5c3bf0b02c20e6fe2068a8edc09de1bb091a14144b211f4c36b0f9d1ec5f97'
|
||||
@@header_digest = 'd7a262793e5c0b03514343d68286201b9a72ca1280f41b90dcbfef6a60a62493'
|
||||
|
||||
|
||||
###########################################################
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:51\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2021-07-21 17:08:52\n"
|
||||
"PO-Revision-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ msgstr ""
|
|||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: HTML Tidy poconvert.rb\n"
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2021-07-21 17:08:59\n"
|
||||
"POT-Creation-Date: 2021-07-30 10:35:03\n"
|
||||
"Last-Translator: jderry\n"
|
||||
"Language-Team: \n"
|
||||
|
||||
|
|
2309
src/language_de.h
2309
src/language_de.h
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_en_gb_h
|
||||
#ifndef language_en_gb_h
|
||||
#define language_en_gb_h
|
||||
/*
|
||||
* language_en_gb.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_en_gb.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-03 12:44:37
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -180,4 +180,3 @@ static languageDefinition language_en_gb = { whichPluralForm_en_gb, {
|
|||
|
||||
|
||||
#endif /* language_en_gb_h */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_es_h
|
||||
#ifndef language_es_h
|
||||
#define language_es_h
|
||||
/*
|
||||
* language_es.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_es.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-03 12:44:37
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -131,4 +131,3 @@ static languageDefinition language_es = { whichPluralForm_es, {
|
|||
|
||||
|
||||
#endif /* language_es_h */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_es_mx_h
|
||||
#ifndef language_es_mx_h
|
||||
#define language_es_mx_h
|
||||
/*
|
||||
* language_es_mx.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_es_mx.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-03 12:44:37
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -76,4 +76,3 @@ static languageDefinition language_es_mx = { whichPluralForm_es_mx, {
|
|||
|
||||
|
||||
#endif /* language_es_mx_h */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_fr_h
|
||||
#ifndef language_fr_h
|
||||
#define language_fr_h
|
||||
/*
|
||||
* language_fr.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_fr.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-05 15:13:40
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -1171,4 +1171,3 @@ static languageDefinition language_fr = { whichPluralForm_fr, {
|
|||
|
||||
|
||||
#endif /* language_fr_h */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_pt_br_h
|
||||
#ifndef language_pt_br_h
|
||||
#define language_pt_br_h
|
||||
/*
|
||||
* language_pt_br.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_pt_br.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-05 15:13:40
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -1289,4 +1289,3 @@ static languageDefinition language_pt_br = { whichPluralForm_pt_br, {
|
|||
|
||||
|
||||
#endif /* language_pt_br_h */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef language_zh_cn_h
|
||||
#ifndef language_zh_cn_h
|
||||
#define language_zh_cn_h
|
||||
/*
|
||||
* language_zh_cn.h
|
||||
|
@ -21,14 +21,14 @@
|
|||
* `poconvert.rb msgunfmt language_zh_cn.h` (our own
|
||||
* conversion tool) to generate a fresh PO from this file first!
|
||||
*
|
||||
* (c) 2015-2017 HTACG
|
||||
* (c) 2015-2021 HTACG
|
||||
* See tidy.h and access.h for the copyright notice.
|
||||
*
|
||||
* Template Created by Jim Derry on 01/14/2016.
|
||||
*
|
||||
* Originating PO file metadata:
|
||||
* PO_LAST_TRANSLATOR=jderry
|
||||
* PO_REVISION_DATE=2017-10-03 12:44:37
|
||||
* PO_REVISION_DATE=2021-07-30 10:35:03
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -78,4 +78,3 @@ static languageDefinition language_zh_cn = { whichPluralForm_zh_cn, {
|
|||
|
||||
|
||||
#endif /* language_zh_cn_h */
|
||||
|
||||
|
|
Loading…
Reference in a new issue