{"thread":{"id":"25719","subject":"'gettext -- \"--cached cannot be used with --files\"' does not work","startedAt":"2010-11-11T23:10:37Z","lastAt":"2010-11-12T00:06:08Z","messageCount":2,"participants":["Michał Kiedrowicz","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"155745","messageId":"20101112001037.6e0fef15@ivo.pl","threadId":"25719","inReplyTo":null,"subject":"'gettext -- \"--cached cannot be used with --files\"' does not work","fromName":"Michał Kiedrowicz","fromEmail":"mkiedrowicz@ivo.pl","sentAt":"2010-11-11T23:10:37Z","receivedAt":"2010-11-11T23:10:37Z","isPatch":false,"sender":{"key":"mkiedrowicz@ivo.pl","avatar":null},"body":"Hi,\n\nI just noticed that\n\n\t'gettext -- \"--cached cannot be used with --files\"' \n\nin git-submodule.sh generates\n\n\t#: git-submodule.sh:588\n\tmsgid \"--\"\n\tmsgstr \"\"\n\nin *.po files. You can this e.g. in po/de.po.\n\nThis is not what commit message says :)\n\n    gettextize: git-submodule \"cached cannot be used\" message\n    \n    Gettextize the \"--cached cannot be used with --files\" message. Since\n    this message starts with \"--\" we have to pass \"--\" as the first\n    argument. This works with both GNU gettext 0.18.1 (as expected), and\n    the gettext(1) on Solaris 10.\n\n$ gettext --version\ngettext (GNU gettext-runtime) 0.18.1\n\n-- \nregards,\nMichał Kiedrowicz\n"},{"id":"155747","messageId":"AANLkTike11Hm2s6un37-jgT8rOyf=7k-Vw7M5vEs+9Vp@mail.gmail.com","threadId":"25719","inReplyTo":"20101112001037.6e0fef15@ivo.pl","subject":"Re: 'gettext -- \"--cached cannot be used with --files\"' does not work","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-11-12T00:06:08Z","receivedAt":"2010-11-12T00:06:08Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"2010/11/12 Michał Kiedrowicz <mkiedrowicz@ivo.pl>:\n\n> I just noticed that\n>\n>        'gettext -- \"--cached cannot be used with --files\"'\n>\n> in git-submodule.sh generates\n>\n>        #: git-submodule.sh:588\n>        msgid \"--\"\n>        msgstr \"\"\n>\n> in *.po files. You can this e.g. in po/de.po.\n>\n> This is not what commit message says :)\n>\n>    gettextize: git-submodule \"cached cannot be used\" message\n>\n>    Gettextize the \"--cached cannot be used with --files\" message. Since\n>    this message starts with \"--\" we have to pass \"--\" as the first\n>    argument. This works with both GNU gettext 0.18.1 (as expected), and\n>    the gettext(1) on Solaris 10.\n\nThanks for the report. I spotted this a while ago, meant to raise it\nand put it on my TODO list.\n\nThen I forgot about it :)\n\nAnyway, the issue is with xgettext(1), not gettext itself. I.e. the\nshellscript parser is broken.\n"}]}