Menu

shouldn't the % symbol escaped or not?

2020-07-07
2020-07-11
  • Marco Ciampa

    Marco Ciampa - 2020-07-07

    In this string:

    : /home/gunter/src/wxmaxima/examples/examples_gettext.h:1559

    , c-format

    msgid ""
    "Let's assume that R_1 is a 100Ω with 10% tolerance. R_2 is a 1000Ω resistor "
    "with 1% tolerance instead:\n"

    shouldn't the % symbol escaped?

    If not, it is impossible to translate it without firing errors reported from gettext ...

    --

    Saluton,
    Marco Ciampa

     
  • Gunter Königsmann

    I have no idea. But II would not get angry if we try and the first trial fails ;-)

     
    • Marco Ciampa

      Marco Ciampa - 2020-07-11

      On Tue, Jul 07, 2020 at 11:31:12AM -0000, "Gunter Königsmann" wrote:

      I have no idea. But II would not get angry if we try and the first trial fails ;-)

      You are right, compilation doesn't go wrong. It's my emacs po-mode that
      sees a problem. That is due to the "c format" flag in the .po file definition

      : examples/examples_gettext.h:1559

      , c-format

      and

      : /home/gunter/src/wxmaxima/examples/examples_gettext.h:1573

      , c-format

      that shouldn't be there and confuse the po-mode (and probably other
      translation tool checks)...

      --

      Saluton,
      Marco Ciampa

       
MongoDB Logo MongoDB