[BlueOnyx:23904] Re: Updated locale/ja_JP/*.po files

Michael Stauber mstauber at blueonyx.it
Wed May 27 02:54:06 -05 2020


Hi Tomohiro,

> In providing to the customer, it was fixed unsightly translation.
> ( My English is terrible, but the Japanese is okay. )

Your written English is pretty good - no worries. Yeah, our Japanese
translation of the GUI is straight out of Google Translate. So it must
be quite aweful.

In recent times I switched to Deepl.com for the translation of the GUI,
as it provides much better results. Sadly they didn't support Japanese
and Danish last time I checked. But I just checked again and they seem
to have added Japanese support recently.

> % svn status
> M       platform/alpine.mod/locale/ja_JP/alpine.po
> M       platform/alpine.mod/locale/ja_JP/product.po
> M       platform/base-apache.mod/locale/ja_JP/apache.po
> M       platform/base-java.mod/locale/ja_JP/java.po
> M       ui/base-api.mod/locale/ja_JP/api.po
> M       ui/base-console.mod/locale/ja_JP/console.po
> M       ui/base-dns.mod/locale/ja_JP/dns.po
> M       ui/base-docker.mod/locale/ja_JP/docker.po
> M       ui/base-documentation.mod/locale/ja_JP/documentation.po
> M       ui/base-email.mod/locale/ja_JP/email.po
> M       ui/base-mailman.mod/locale/ja_JP/mailman.po
> M       ui/base-mysql.mod/locale/ja_JP/mysql.po
> M       ui/base-power.mod/locale/ja_JP/power.po
> M       ui/base-remote.mod/locale/ja_JP/remote.po
> M       ui/base-ssh.mod/locale/ja_JP/ssh.po
> M       ui/base-ssl.mod/locale/ja_JP/ssl.po
> M       ui/base-subdomains.mod/locale/ja_JP/subdomains.po
> M       ui/base-support.mod/locale/ja_JP/support.po
> M       ui/base-swupdate.mod/locale/ja_JP/shop.po
> M       ui/base-swupdate.mod/locale/ja_JP/swupdate.po
> M       ui/base-swupdate.mod/locale/ja_JP/yum.po
> M       ui/base-vsite.mod/locale/ja_JP/vsite.po
> 
> I attached the `svn diff` file.
> 
> If other patch formats are more convenient, please let me know.

Patch files are fine. Patching with that diff did cause a few rejects,
though:

mstauber at beast-smd-net:~/bxdevel.svn/BlueOnyx/trunk/BlueOnyx/5209R$
patch -p 0 < japanese_po.diff
patching file platform/alpine.mod/locale/ja_JP/alpine.po
patching file platform/alpine.mod/locale/ja_JP/product.po
patching file platform/base-apache.mod/locale/ja_JP/apache.po
patching file platform/base-java.mod/locale/ja_JP/java.po
patching file ui/base-api.mod/locale/ja_JP/api.po
patching file ui/base-console.mod/locale/ja_JP/console.po
patching file ui/base-dns.mod/locale/ja_JP/dns.po
patching file ui/base-docker.mod/locale/ja_JP/docker.po
patching file ui/base-documentation.mod/locale/ja_JP/documentation.po
patching file ui/base-email.mod/locale/ja_JP/email.po
Hunk #1 FAILED at 533 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file
ui/base-email.mod/locale/ja_JP/email.po.rej
patching file ui/base-mailman.mod/locale/ja_JP/mailman.po
patching file ui/base-mysql.mod/locale/ja_JP/mysql.po
patching file ui/base-power.mod/locale/ja_JP/power.po
patching file ui/base-remote.mod/locale/ja_JP/remote.po
Hunk #1 FAILED at 18 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file
ui/base-remote.mod/locale/ja_JP/remote.po.rej
patching file ui/base-ssh.mod/locale/ja_JP/ssh.po
patching file ui/base-ssl.mod/locale/ja_JP/ssl.po
patching file ui/base-subdomains.mod/locale/ja_JP/subdomains.po
patching file ui/base-support.mod/locale/ja_JP/support.po
patching file ui/base-swupdate.mod/locale/ja_JP/shop.po
patching file ui/base-swupdate.mod/locale/ja_JP/swupdate.po
Hunk #1 FAILED at 277 (different line endings).
Hunk #2 FAILED at 666 (different line endings).
Hunk #3 FAILED at 788 (different line endings).
Hunk #4 FAILED at 803 (different line endings).
Hunk #5 FAILED at 826 (different line endings).
5 out of 5 hunks FAILED -- saving rejects to file
ui/base-swupdate.mod/locale/ja_JP/swupdate.po.rej
patching file ui/base-swupdate.mod/locale/ja_JP/yum.po
patching file ui/base-vsite.mod/locale/ja_JP/vsite.po

But I was able to edit those rejects in manually. I also applied the
patch (where applicable) to the 5210R code tree.

I'll have to manually bump the version numbers and edit the changelogs
in about 40 modules before I can build and release this as YUM updates.
But I'll get it released sometime later today.

Many thanks Tomohiro! I appreciate it!

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list