> [: Vladimír Slávik :]
> [...] as a result, you can see several "no interpolation" warnings for
> deliberately missing variable. Poor solution, but simple, too :-)

When you are certain you know what you are doing, you can explicitly cancel
no-interpolation warning for a certain variable by adding a translator
comment ignore-interpolations: followed by variable name. Example from
po/wesnoth/ru.po:

  # ignore-interpolations: $enemies
  #: src/actions.cpp:2770
  msgid "Enemy unit sighted!"
  msgid_plural "$enemies enemy units sighted!"
  msgstr[0] "Вижу врага!"
  msgstr[1] "Вижу $enemies врагов!"
  msgstr[2] "Вижу $enemies врагов!"

-- 
Chusslove Illich (Часлав Илић)

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Wesnoth-i18n mailing list
Wesnoth-i18n@gna.org
https://mail.gna.org/listinfo/wesnoth-i18n

Reply via email to