Skip to contentSkip to conversation

gettext order

DISCUSSION Carles Pina i Estany 3 participants 5 messages Nov 23, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

Tomorrow Monday I will probably gettextize the help of the all grub_register_command.

Is it all right?

In general, I would translate mainly all grub_printf that has user messages. I will do it in a different patch set than the grub_register_command.

From the utilities, something that would be good to priorize?

Signature · 2 lines
Carles Pina i Estany
	http://pinux.info
#1 lore raw
Quoted 12 lines · Carles Pina i Estany

Hello,

Tomorrow Monday I will probably gettextize the help of the all grub_register_command.

Is it all right?

In general, I would translate mainly all grub_printf that has user messages. I will do it in a different patch set than the grub_register_command.

If you see a good spot where all messages should be translated avoid adding _ to it. Function calls are expensive. Rather than that add gettext call in callee and register a new gettext keyword for .pot generation.

Quoted 3 lines
Quoted 1 line

From the utilities, something that would be good to priorize?

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#2 lore raw
Quoted 8 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 7 lines · Carles Pina i Estany

Hello,

Tomorrow Monday I will probably gettextize the help of the all grub_register_command.

Is it all right?

Quoted 7 lines
Quoted 5 lines

In general, I would translate mainly all grub_printf that has user messages. I will do it in a different patch set than the grub_register_command.

If you see a good spot where all messages should be translated avoid adding _ to it. Function calls are expensive.

Uhm I agree, but I'm not sure if grub_register_command() would be such spot. Are we sure we want to translate _all_ of its messages?

--
Robert Millan

The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."

#4 lore raw
In reply to Carles Pina i Estany
Quoted 1 line · Carles Pina i Estany
Quoted 1 line

From the utilities, something that would be good to priorize?

I think that, barring the obvious strings we'd like to translate (which you already spotted), utilities should be the top priority. The other non-util strings need to be considered carefully, there's no hurry about them.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
#3 lore raw
In reply to Robert Millan
Quoted 17 lines · Robert Millan
Quoted 15 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 13 lines · Carles Pina i Estany

Hello,

Tomorrow Monday I will probably gettextize the help of the all grub_register_command.

Is it all right?

In general, I would translate mainly all grub_printf that has user messages. I will do it in a different patch set than the grub_register_command.

Quoted 8 lines
Quoted 3 lines

If you see a good spot where all messages should be translated avoid adding _ to it. Function calls are expensive.

Uhm I agree, but I'm not sure if grub_register_command() would be such spot. Are we sure we want to translate _all_ of its messages?

We don't have to translate all of arguments. All depends on how we declare gettext keywords

Quoted 14 lines

--
Robert Millan

The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko