[Gimp-developer] 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 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] 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 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] 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 -- Cristian Secară http://www.secarica.ro/ ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] 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 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] 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 ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer