try again with transifex

This commit is contained in:
Grahame Grieve 2024-05-28 12:01:52 +10:00
parent f1eeb9640b
commit f982255aaa
7 changed files with 19777 additions and 3 deletions

View File

@ -89,12 +89,14 @@ public class POGenerator {
private void execute(String core, String igpub, String pascal) throws IOException {
String source = Utilities.path(core, "/org.hl7.fhir.utilities/src/main/resources");
if (checkState(source, core, igpub, pascal)) {
generate(source, "rendering-phrases.properties", "rendering-phrases.po", null, 2);
generate(source, "rendering-phrases.properties", "rendering-phrases-de.po", "rendering-phrases_de.properties", 2);
generate(source, "rendering-phrases.properties", "rendering-phrases-es.po", "rendering-phrases_es.properties", 3);
generate(source, "rendering-phrases.properties", "rendering-phrases-ja.po", "rendering-phrases_ja.properties", 2);
generate(source, "rendering-phrases.properties", "rendering-phrases-nl.po", "rendering-phrases_nl.properties", 2);
generate(source, "rendering-phrases.properties", "rendering-phrases-pt-BR.po", "rendering-phrases_pt-BR.properties", 2);
generate(source, "Messages.properties", "validator-messages.po", null, 2);
generate(source, "Messages.properties", "validator-messages-de.po", "Messages_de.properties", 2);
generate(source, "Messages.properties", "validator-messages-es.po", "Messages_es.properties", 3);
generate(source, "Messages.properties", "validator-messages-ja.po", "Messages_ja.properties", 2);
@ -346,7 +348,9 @@ public class POGenerator {
}
savePOFile(Utilities.path(source, "source", dest), objects, count, false);
savePOFile(Utilities.path(source, "source", "transifex", dest), objects, count, true);
savePropFile(Utilities.path(source, tgt), objects);
if (tgt != null) {
savePropFile(Utilities.path(source, tgt), objects);
}
}
private Set<String> listIds(List<POObject> objects, String msgid) {

View File

@ -1,6 +1,6 @@
# Rendering = one,many,other
BUNDLE_DOCUMENT_CONTENT = Contenido adicional del documento
BUNDLE_ETAG = ETag = {0E_LAST_MOD = LastModified = {0}
BUNDLE_ETAG = ETag = {0}
BUNDLE_HEADER_DOC_ENTRY_RD = {0}. {2}/{3}
BUNDLE_HEADER_DOC_ENTRY_U = {0}. {1}
BUNDLE_HEADER_DOC_ENTRY_URD = {0}. {1} ({2}/{3})

File diff suppressed because it is too large Load Diff

View File

@ -133,7 +133,7 @@ msgstr "Contenido adicional del documento"
#: BUNDLE_ETAG
# BUNDLE_ETAG
msgid "ETag = {0}"
msgstr "ETag = {0E_LAST_MOD = LastModified = {0}"
msgstr "ETag = {0}"
#: BUNDLE_HEADER_DOC_ENTRY_RD
# BUNDLE_HEADER_DOC_ENTRY_RD

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff