#7 Quotes not translatable
Closed: Fixed None Opened 13 years ago by goeran.

In src/getcert.c there is this code:

printf(_("\tkey pair storage: %s%s%s%s%s%s%s%s%s%s%s%s%s%s\n"),
       strcmp(s1, "NONE") ? _("type=") : "", s1 ? s1 : "",
       s2 ? _(",location='") : "", s2 ? s2 : "", s2 ? "'" : "",
       s3 ? _(",nickname=") : "", s3 ? s3 : "",
       s4 ? _(",token='") : "", s4 ? s4 : "", s4 ? "'" : "",
       s5 ? _(",pin=") : "", s5 ? s5 : "",
       s6 ? _(",pinfile=") : "", s6 ? s6 : "");

The opening quote for the value of "location" and "token" is part of what is possible to translate. But the closing quotes are not. This could obviously lead to strange output like for example:

   ...location=«xyz',nickname=...

(But with "location" and "nickname" translated, of course.)


Thansk for pointing that out! I'll have it fixed in git soon.

Okay, I think this is sorted now -- each of those additional bits of information we provide is now formatted with its own translatable string. If it's still not right, please let me know. Thanks!

It looks good to me. And is a bit easier to read in addition.

It will definitely work for Swedish. I'll update the translation shortly.

Metadata Update from @nalin:
- Issue assigned to nalin
- Issue set to the milestone: 0.41

7 years ago

Login to comment on this ticket.

Metadata