Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest NLS translations #20222

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pshipton
Copy link
Member

No description provided.

@keithc-ca
Copy link
Contributor

Jenkins compile amac jdk17

@keithc-ca
Copy link
Contributor

[2024-09-24T20:19:15.281Z] * Failure occured during the process *
[2024-09-24T20:19:15.281Z] Error: J9NLS_CC_OSPAGE_SIZE_MISMATCH_V1 Message "??????????%zu????? %d ???????????%zu????" in /Users/jenkins/workspace/Build_JDK17_aarch64_mac_Personal/openj9/runtime/nls/shrc/j9shr_zh_CN.nls is different from "The page size (%zu) of the operating system is different from the page size (%zu) of the system on which layer %d cache is created." in /Users/jenkins/workspace/Build_JDK17_aarch64_mac_Personal/openj9/runtime/nls/shrc/j9shr.nls

@keithc-ca
Copy link
Contributor

It looks like translation permuted the placeholders, but didn't qualify them with indices (e.g. %1$zx).

@keithc-ca
Copy link
Contributor

It appears that the messages must specify argument indices if any language needs to insert the values in another order:

J9NLS_CC_OSPAGE_SIZE_MISMATCH_V1=The page size (%1$zu) of the operating system is different from the page size (%2$zu) of the system on which layer %3$d cache is created.

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member Author

Jenkins compile amac jdk17

@pshipton
Copy link
Member Author

Updated and compiling now.

@@ -6913,3 +6908,36 @@ J9NLS_SHRC_OSCACHE_MMAP_STARTUP_JITSERVER_LAYER_FILE_DELETE_ERROR.explanation=Th
J9NLS_SHRC_OSCACHE_MMAP_STARTUP_JITSERVER_LAYER_FILE_DELETE_ERROR.system_action=The JVM continues.
J9NLS_SHRC_OSCACHE_MMAP_STARTUP_JITSERVER_LAYER_FILE_DELETE_ERROR.user_response=Contact your service representative.
# END NON-TRANSLATABLE

J9NLS_CC_OSPAGE_SIZE_MISMATCH_V1=La mida de p\u00e0gina ( %1$zu ) del sistema operatiu \u00e9s diferent de la mida de p\u00e0gina ( %2$zu ) del sistema en qu\u00e8 es crea la mem\u00f2ria cau de la capa %3$d .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the automation add the spaces inside the parentheses? I don't think we want them. They're not added universally, e.g. they're not added for de, fr or it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the automation added them. We could remove them manually but then would always have to fix this up when doing future translations, which I don't want to do. I suggest we just accept them, they aren't harmful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants