Proektsoftbg/Calcpad

questions on reference format in resource file for Chinese

Opened this issue · 4 comments

During the translation, I found many reference token in mesaage resource file.However the formats of them are inconsistent, i.e., some are like {0}, some are quatoed in '' like '{1}', while others are like "{1}".So, which is right is what I can not figure out.

Hi!

{0}, {1}, etc. are placeholders for additional text that should be inserted into the string. Leave them unchanged. They are quoted or not, depending on the context. For example:
Cannot evaluate "{0}" as {1}. will eventually become something like:
Cannot evaluate "2 + * 3" as mathematical expression. or
Cannot evaluate "ssin(x)" as function.
Sometimes single quotes are used if there is a single character inside, but this is actually not so important.

I do not know how quotes are handled in Chinese. If you have something similar, replace them accordingly of just delete them without affecting the placeholders.

Hi!

If placeholders are damaged, this will fail in runtime, not in compile time. So it will be difficult to catch.
Since you best know what you did, can you please go over the strings again and if you wiped some placeholders, can you please recover them. I have no one here currently available for this task.

Hi!

If placeholders are damaged, this will fail in runtime, not in compile time. So it will be difficult to catch. Since you best know what you did, can you please go over the strings again and if you wiped some placeholders, can you please recover them. I have no one here currently available for this task.

Ok, I will check and correct them back before pulling a request again.