Opened 10 years ago

Closed 10 years ago

#2888 closed defect (fixed)

Broken Calculate ps.po file with some unnecessary /n in

Reported by: garycmartin Owned by: RafaelOrtiz
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: localization Version: Unspecified
Severity: Unspecified Keywords:
Cc: cjl Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

To get the Calculate-37 release out I needed to manually edit the po/ps.po file and remove two /n from around line 340 that were causing the below error:

[garycmartin@localhost Calculate.activity]$ ./setup.py build
/home/garycmartin/Activities/Calculate.activity/po/ps.po:340: `msgid' and
`msgstr' entries do not both end with '\n'
msgfmt: found 1 fatal error
ERROR - msgfmt failed with return code 1.

Change History (6)

comment:1 Changed 10 years ago by RafaelOrtiz

  • Cc cjl added

This is a translator typo, some strings have /n ending, in this case could be a duplication of that /n submitted to the VCS.

Maybe cjl can have a look ?.

comment:2 Changed 10 years ago by cjl

Looking into it, can you fix #1722 in the meantime?

comment:3 Changed 10 years ago by cjl

The variable substitutions are incomprehensibly mangled, only made more complicated by the RTL direction of the text in Pashto. We need a Pashto speaker to review these or the printf errors will make a hash of the UI anyway. I'll try to reach out to OLPC Afghanistan.

comment:4 Changed 10 years ago by RafaelOrtiz

Thanks, I also looked to it but I don't know anything about the pashto language.

comment:5 Changed 10 years ago by cjl

I've reached out to Mike Dawson and OLPC Afghanistan about getting work done on Pashto PO files.

comment:6 Changed 10 years ago by cjl

  • Resolution set to fixed
  • Status changed from new to closed

errors fixed or made "fuzzy"

Note: See TracTickets for help on using tickets.