RSS/Atom feed Twitter
Site is read-only, email is disabled

what are the strings with the | character ?

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

what are the strings with the | character ? Cristian Secar? 23 May 11:46
  what are the strings with the | character ? Alexandre Prokoudine 23 May 12:15
   what are the strings with the | character ? Cristian Secar? 23 May 13:06
    what are the strings with the | character ? Alexandre Prokoudine 23 May 13:32
    what are the strings with the | character ? Sven Neumann 23 May 19:05
Cristian Secar?
2008-05-23 11:46:44 UTC (over 16 years ago)

what are the strings with the | character ?

There are some string containing the | character (example: tool|_Zoom) that, when translating (example for me: unealt?|_Zoom), they appear as is in my translated menu (like "unealt?|Zoom" with Z underlined). However, in English only the Zoom part is shown. What is this / how should I treat it ?

Cristi

Alexandre Prokoudine
2008-05-23 12:15:17 UTC (over 16 years ago)

what are the strings with the | character ?

On Fri, May 23, 2008 at 1:46 PM, Cristian Secar? wrote:

There are some string containing the | character (example: tool|_Zoom) that, when translating (example for me: unealt?|_Zoom), they appear as is in my translated menu (like "unealt?|Zoom" with Z underlined). However, in English only the Zoom part is shown. What is this / how should I treat it ?

This is a contextual help.

E.g. you can have same word in two different dialogs which should be translated differently depending on context. This matters for some languages and doesn't matter for others. So you just read the part before | and make up your mind how to translate the part after | character. Then you just put to translation the part after |, dropping the part before | character and | character itself.

Does it makes sense? :)

Alexandre

Cristian Secar?
2008-05-23 13:06:02 UTC (over 16 years ago)

what are the strings with the | character ?

On Fri, 23 May 2008 14:15:17 +0400, Alexandre Prokoudine wrote:

This is a contextual help.
[...]
Does it makes sense? :)

Yes, but I would have never figured out by myself :) So physically it's a template-only thing if I understand correctly.

Ok, thank you :)

Cristi

Alexandre Prokoudine
2008-05-23 13:32:11 UTC (over 16 years ago)

what are the strings with the | character ?

On Fri, May 23, 2008 at 3:06 PM, Cristian Secar? wrote:

Yes, but I would have never figured out by myself :)

GIMP translation is always coordinated by local GNOME translation communities. If they do not provide basic information about such things, they should fix it ASAP. Please let them know.

So physically it's a template-only thing if I understand correctly.

Kind of :)

Alexandre

Sven Neumann
2008-05-23 19:05:26 UTC (over 16 years ago)

what are the strings with the | character ?

Hi,

On Fri, 2008-05-23 at 14:06 +0300, Cristian Secar? wrote:

Yes, but I would have never figured out by myself :)

You are not supposed to figure such things out by yourself. You are supposed to have read the guidelines for translators in the GNOME translation project. Doesn't it include this information?

By the way, I have just done a change to trunk that converts most (unfortunately not all, due to technical reasons) places where a translation context was used to the new scheme using msgctxt. This makes it easier for translators. Instead of

#: ../app/core/gimpchannel-select.c:58 msgid "command|Rectangle Select"

we now have the less error-prone:

#: ../app/core/gimpchannel-select.c:60 msgctxt "command"
msgid "Rectangle Select"

Please use the msgctxt when translating. If someone wants to add more translation contexts to the code, please send patches...

Sven