Skip to contentSkip to conversation

po: add missing translations in de, fr, it, zh

PATCH In review Stefan Hajnoczi 7 participants 12 messages Dec 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 po: add missing translations in de, fr, it, zh

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

---
 po/de_DE.po | 2 +-
 po/fr_FR.po | 2 +-
 po/it.po    | 4 ++--
 po/zh_CN.po | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
po/de_DE.po +1 -1
index 7dcd0dc..de27fcf 100644
@@ -46,7 +46,7 @@ msgstr "_Vollbild"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Kopieren"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/fr_FR.po +1 -1
index 358532b..94f4a94 100644
@@ -47,7 +47,7 @@ msgstr "Mode _plein écran"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copier"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/it.po +2 -2
index 8eadf2f..bfae84e 100644
@@ -42,11 +42,11 @@ msgstr "_Esci"
 
 #: ui/gtk.c:2029
 msgid "_Fullscreen"
-msgstr ""
+msgstr "A t_utto schermo"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copia"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/zh_CN.po +1 -1
index 9523cfb..3491bf2 100644
@@ -47,7 +47,7 @@ msgstr "全屏(_F)"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "复制 (_C)"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
Signature · 1 line
2.9.3
#1 lore raw
Quoted 71 lines · Stefan Hajnoczi

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

---
 po/de_DE.po | 2 +-
 po/fr_FR.po | 2 +-
 po/it.po    | 4 ++--
 po/zh_CN.po | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
po/de_DE.po +1 -1
index 7dcd0dc..de27fcf 100644
@@ -46,7 +46,7 @@ msgstr "_Vollbild"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Kopieren"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/fr_FR.po +1 -1
index 358532b..94f4a94 100644
@@ -47,7 +47,7 @@ msgstr "Mode _plein écran"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copier"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/it.po +2 -2
index 8eadf2f..bfae84e 100644
@@ -42,11 +42,11 @@ msgstr "_Esci"
 
 #: ui/gtk.c:2029
 msgid "_Fullscreen"
-msgstr ""
+msgstr "A t_utto schermo"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copia"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/zh_CN.po +0 -0
index 9523cfb..3491bf2 100644

po/zh_CN.po msgstr "全屏(_F)" · line 50

Quoted 5 lines
po/zh_CN.po +1 -1
@@ -47,7 +47,7 @@ msgstr "全屏(_F)"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "复制 (_C)"

Other entries don't have the space before the open parenthesis, could you drop it when applying?

Fam

Quoted 6 lines
po/zh_CN.po +0 -0
 #: ui/gtk.c:2048
 msgid "Zoom _In"
Signature · 1 line
2.9.3
#2 lore raw
Quoted 73 lines · Fam Zheng
Quoted 72 lines · Stefan Hajnoczi

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

---
 po/de_DE.po | 2 +-
 po/fr_FR.po | 2 +-
 po/it.po    | 4 ++--
 po/zh_CN.po | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
po/de_DE.po +1 -1
index 7dcd0dc..de27fcf 100644
@@ -46,7 +46,7 @@ msgstr "_Vollbild"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Kopieren"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/fr_FR.po +1 -1
index 358532b..94f4a94 100644
@@ -47,7 +47,7 @@ msgstr "Mode _plein écran"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copier"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/it.po +2 -2
index 8eadf2f..bfae84e 100644
@@ -42,11 +42,11 @@ msgstr "_Esci"
 
 #: ui/gtk.c:2029
 msgid "_Fullscreen"
-msgstr ""
+msgstr "A t_utto schermo"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copia"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"
po/zh_CN.po +0 -0
index 9523cfb..3491bf2 100644
@@ -47,7 +47,7 @@ msgstr "全屏(_F)"
 
Quoted 7 lines

po/zh_CN.po msgstr "全屏(_F)" · line 50

Quoted 4 lines
po/zh_CN.po +1 -1
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "复制 (_C)"

Other entries don't have the space before the open parenthesis, could you drop it when applying?

Yes, I'll fix it, thanks!

Stefan

#3 lore raw
In reply to Stefan Hajnoczi
Quoted 25 lines · On Wednesday, 14 December 2016 14:47:13 CET Stefan Hajnoczi wrote:

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

---
[...]

po/it.po +0 -0
index 8eadf2f..bfae84e 100644
@@ -42,11 +42,11 @@ msgstr "_Esci"
 
 #: ui/gtk.c:2029
 msgid "_Fullscreen"

po/it.po msgstr "_Esci" · line 52

Quoted 10 lines
po/it.po +2 -2
-msgstr ""
+msgstr "A t_utto schermo"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copia"
 
 #: ui/gtk.c:2048
 msgid "Zoom _In"

ACK.

Should PO-Revision-Date be updated as well?

Thanks,

Signature · 1 line
Pino Toscano
#5 lore raw
In reply to Stefan Hajnoczi
Quoted 10 lines · Stefan Hajnoczi

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 5 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

Laurent

#6 lore raw
Quoted 11 lines · Laurent Vivier
Quoted 10 lines · Stefan Hajnoczi

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 8 lines
Quoted 5 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

It could be an email encoding issue. On disk I see the proper UTF-8 characters.

You could try my git branch to avoid email issues:
https://github.com/stefanha/qemu/tree/missing-translations-2.8

Stefan

#7 lore raw

Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben:

Quoted 18 lines · Laurent Vivier
Quoted 17 lines · Stefan Hajnoczi
Quoted 15 lines

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 7 lines
Quoted 2 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

It could be an email encoding issue. On disk I see the proper UTF-8 characters.

You could try my git branch to avoid email issues:
https://github.com/stefanha/qemu/tree/missing-translations-2.8

IIRC, it's actually a known problem with not consistently using a UTF-8 locale, and we avoid changing some locale categories because that would break things like floating point representation in JSON (because printf might end up using comma as the decimal separator).

Kevin

#8 lore raw
Quoted 24 lines · Kevin Wolf

Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben:

Quoted 23 lines · Laurent Vivier
Quoted 11 lines · Stefan Hajnoczi
Quoted 10 lines

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 8 lines
Quoted 5 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

It could be an email encoding issue. On disk I see the proper UTF-8 characters.

Quoted 7 lines
Quoted 2 lines

You could try my git branch to avoid email issues:
https://github.com/stefanha/qemu/tree/missing-translations-2.8

IIRC, it's actually a known problem with not consistently using a UTF-8 locale, and we avoid changing some locale categories because that would break things like floating point representation in JSON (because printf might end up using comma as the decimal separator).

So the translation like the Chinese one is totally unusable?

Laurent

#4 lore raw
In reply to Pino Toscano
Quoted 34 lines · Pino Toscano
Quoted 33 lines · On Wednesday, 14 December 2016 14:47:13 CET Stefan Hajnoczi wrote:

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

---
[...]

po/it.po +2 -2
index 8eadf2f..bfae84e 100644
@@ -42,11 +42,11 @@ msgstr "_Esci"
 
 #: ui/gtk.c:2029
 msgid "_Fullscreen"
-msgstr ""
+msgstr "A t_utto schermo"
 
 #: ui/gtk.c:2032
 msgid "_Copy"
-msgstr ""
+msgstr "_Copia"
 
Quoted 6 lines

po/it.po msgstr "_Esci" · line 52

Quoted 2 lines
po/it.po +0 -0
 #: ui/gtk.c:2048
 msgid "Zoom _In"

ACK.

Should PO-Revision-Date be updated as well?

No, I will ignore the po metadata as some of the previous commits have done.

I've looked through the commit history: sometimes we update them, sometimes we don't. The creation date field keeps getting changed although the revision date doesn't (i.e. creation is newer than revision date!). The QEMU version in the Project-Id is ridiculously out of date. These fields may make sense in some translation workflows, especially without a version control system, but for the QEMU project they are useless.

If allowed by the file format we should remove them completely since git already contains this information.

Stefan

#9 lore raw
In reply to Laurent Vivier

Am 14.12.2016 um 17:17 hat Laurent Vivier geschrieben:

Quoted 28 lines · Kevin Wolf
Quoted 27 lines

Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben:

Quoted 25 lines · Laurent Vivier
Quoted 11 lines · Stefan Hajnoczi
Quoted 10 lines

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 8 lines
Quoted 5 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

It could be an email encoding issue. On disk I see the proper UTF-8 characters.

You could try my git branch to avoid email issues:
https://github.com/stefanha/qemu/tree/missing-translations-2.8

Quoted 6 lines
Quoted 4 lines

IIRC, it's actually a known problem with not consistently using a UTF-8 locale, and we avoid changing some locale categories because that would break things like floating point representation in JSON (because printf might end up using comma as the decimal separator).

So the translation like the Chinese one is totally unusable?

I just tried it:

$ LANG=zh_CN x86_64-softmmu/qemu-system-x86_64

And yes, lots of question marks there...

Kevin

#10 lore raw
Quoted 34 lines · Kevin Wolf

Am 14.12.2016 um 17:17 hat Laurent Vivier geschrieben:

Quoted 33 lines · Kevin Wolf
Quoted 31 lines

Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben:

Quoted 18 lines · Laurent Vivier
Quoted 17 lines · Stefan Hajnoczi
Quoted 15 lines

There are missing translations for the new "Copy" menu item.

The following people provided them to me on IRC just in time for the QEMU 2.8 release:

* de_DE - Stefan Hajnoczi <[email protected]>
* fr_FR - Laurent Vivier <[email protected]>
* it - Pino Toscano <[email protected]>
* zh_CN - Fam Zheng <[email protected]>

Quoted 7 lines
Quoted 2 lines

"Copier" is OK now, but it seems we have some problems with the accents. I don't know why.

It could be an email encoding issue. On disk I see the proper UTF-8 characters.

You could try my git branch to avoid email issues:
https://github.com/stefanha/qemu/tree/missing-translations-2.8

IIRC, it's actually a known problem with not consistently using a UTF-8 locale, and we avoid changing some locale categories because that would break things like floating point representation in JSON (because printf might end up using comma as the decimal separator).

Quoted 7 lines
Quoted 1 line

So the translation like the Chinese one is totally unusable?

I just tried it:

$ LANG=zh_CN x86_64-softmmu/qemu-system-x86_64

And yes, lots of question marks there...

Berto pointed at
https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg03368.html

I've confirmed that removing gtk_disable_setlocale() fixes non-ASCII character rendering. But we don't it breaks other things in QEMU so the solution isn't that simple...

Stefan

#11 lore raw
In reply to Kevin Wolf

Am 14.12.2016 um 17:31 schrieb Kevin Wolf:

Quoted 10 lines

Am 14.12.2016 um 17:17 hat Laurent Vivier geschrieben:

Quoted 8 lines · Kevin Wolf
Quoted 5 lines

Am 14.12.2016 um 16:58 hat Stefan Hajnoczi geschrieben:
IIRC, it's actually a known problem with not consistently using a UTF-8 locale, and we avoid changing some locale categories because that would break things like floating point representation in JSON (because printf might end up using comma as the decimal separator).

So the translation like the Chinese one is totally unusable?

Quoted 7 lines

I just tried it:

$ LANG=zh_CN x86_64-softmmu/qemu-system-x86_64

And yes, lots of question marks there...

Kevin

It's good to know that there remains some work to be done after 2.8. :-) This is not a regression, so IMHO the status quo is good enough for now.

Stefan