bugPODIFF - Bugs: bug #562, Syntax error on multiline msgctxt

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #562: Syntax error on multiline msgctxt

Submitted by:  Anders Jonsson <haaninjo>
Submitted on:  Thu May 19 09:57:26 2022  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Sergey Poznyakoff <gray>
Open/Closed: Closed

Thu Oct 20 20:10:42 2022, comment #3:

Sure. The new version is available for download: https://download.gnu.org.ua/pub/release/podiff/podiff-1.4.tar.gz

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Wed Oct 19 15:26:10 2022, comment #2:

Thank you for the fix! I wanted to report this as well and found this report.

Can you, please, push this fix into a release?

As the latest release is from year 2020 currently and does not include this fix.

Janis Elmeris <janis>
Sun May 22 08:06:36 2022, comment #1:

Thanks for reporting. Here goes the fix: https://git.gnu.org.ua/podiff.git/commit/?id=50b2894bc193a521a001481b9858e2c4e3ca381e

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
Thu May 19 09:57:26 2022, original submission:

Podiff complains of syntax error when running it on a po file where there is a msgctxt that is so long that it spans several lines, where the first will be "".

The attached po file is a tiny test case, from the phosh translation. Running podiff on it produces the following error:

phosh-podifftest.sv.po:26: syntax error

Anders Jonsson <haaninjo>

 

Attached Files
file #511:  phosh-podifftest.sv.po added by haaninjo (934B - text/x-gettext-translation - Po file with multiline msgctxt)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by janis (Posted a comment)
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by haaninjo (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    4 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Oct 20 20:11:16 2022grayOpen/ClosedOpen=>Closed
    Sun May 22 08:06:36 2022grayStatusNone=>Fixed
      Assigned toNone=>gray
    Thu May 19 09:57:26 2022haaninjoAttached File-=>Added phosh-podifftest.sv.po, #511
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray