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

what means %s& (translation related)

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.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

what means %s& (translation related) Cristian Secară 16 Jun 00:39
  what means %s& (translation related) Emil Brink 16 Jun 07:59
Cristian Secară
2017-06-16 00:39:23 UTC (over 7 years ago)

what means %s& (translation related)

I have this string (GIMP 2.9.x):

#: ../app/actions/view-actions.c:1145 msgid "_Flip %s& Rotate (%d°)"

What should replace %s here ? If this one appears in View menu, then there the string displays as "Flip & Rotate (0°)", i.e. nothing displayed before the &.

Or is this some kind of escape character ? I need to translate the & as literal "and", so I need to know what to place before my translated word.

Cristi

Cristian Secară
http://www.secărică.ro
Emil Brink
2017-06-16 07:59:22 UTC (over 7 years ago)

what means %s& (translation related)

Hi!

By doing a quick Google, it looks like the %s here is replaced by:

- "(H+V) " when doing a horizontal and vertical flip, - "(H) " when doing horizontal-only, and - "(V) " when doing vertical-only.

Note the trailing spaces in all of the above, which make sure the "&" in the format string is not right next to the ")".

These three strings are also marked for translation a few lines earlier in the same file, so you should be seeing them, too.

Regards,

/Emil

On Fri, Jun 16, 2017 at 2:39 AM, Cristian Secară wrote:

I have this string (GIMP 2.9.x):

#: ../app/actions/view-actions.c:1145 msgid "_Flip %s& Rotate (%d°)"

What should replace %s here ? If this one appears in View menu, then there the string displays as "Flip & Rotate (0°)", i.e. nothing displayed before the &.

Or is this some kind of escape character ? I need to translate the & as literal "and", so I need to know what to place before my translated word.

Cristi

--
Cristian Secară
http://www.secărică.ro
_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp- developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list