%'.0f bytes ->Translation?

Asked by Stephan Woidowski on 2017-04-14


my question is, as these chars are upcoming a lot of times, how can these be translated without getting any msg-error given by launchpad?

I hope this is the right way to ask this here. :)



Question information

English Edit question
Ubuntu e17 Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:

When do you see them?
Which release of Ubuntu are you using?
Is it fully updated?
Does the system work OK despite the message?

Stephan Woidowski (swoidowski) said : #2

It's here on this page. I'm working with the team on the new translation of Ubuntu e17 package and this term should be translated into german language. Unfortunately i can't do this because the translated term gives me the error message above. So i think it has to do something with launchpad.

That's the reason i didn't create a bug report and tried it here

Manfred Hampl (m-hampl) said : #3

Please provide a link to an example where that string is shown.

Stephan Woidowski (swoidowski) said : #5

If you're trying to translate it'll give zu an error like the one i described above. Hope we'll find an resolution for it :) or you can provide me a tip :))

Best Manfred Hampl (m-hampl) said : #6

The reference to the source http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/e17/vivid/view/head:/src/bin/e_utils.c#L859

shows that the original text is

if (dsize < 1024) snprintf(buf, sizeof(buf), _("%'.0f KiB"), dsize);

and similar.

So I assume that the only needed translation is for the part KiB (if that needs translation at all - like octets instead of bytes in French).
Maybe you have to reverse the transcription of &#x27; back into '

Stephan Woidowski (swoidowski) said : #7

Thanks Manfred Hampl, that solved my question.