Opened 11 years ago

Closed 11 years ago

#4366 closed defect (fixed)

i18n error

Reported by: cjl Owned by: danielfrancis
Priority: Normal Milestone: Unspecified
Component: GraphPlotter Version: Git as of bugdate
Severity: Major Keywords: i18n
Cc: Distribution/OS: Unspecified
Bug Status: Resolved


Out POT refresh scripts are throwing this error for GraphPlotter.

####### Checking POT for Graph Plotter (master) ######

Already up-to-date.
xgettext: Non-ASCII string at gtk3modules/

Please specify the source encoding through --from-code.

ERROR - xgettext failed with return code 1.

Change History (5)

comment:1 Changed 11 years ago by danielfrancis

  • Bug Status changed from Unconfirmed to New
  • Keywords i18n added
  • Milestone changed from Unspecified by Release Team to not applicable
  • Priority changed from Unspecified by Maintainer to Normal
  • Severity changed from Unspecified to Major
  • Status changed from new to assigned
  • Version changed from Unspecified to Git as of bugdate

Sugar activities encode strings in UTF-8 by default. I removed the unnecessary coding header from and I see that xgettext doesn't like it.

The non-ascii character is the Pi letter used in the radian scale.
But it isn't a message to be translated and I didn't use a _()

The error says that you can specify the source encoding modifying the pootle helper. If you think that the pootle helper can't assume the encoding, I have no problem adding again the coding header to the file.

comment:2 Changed 11 years ago by danielfrancis

  • Bug Status changed from New to Assigned

I commited a fix[1] and added a section about this to the wiki i18n tips article[2].

Chris, please close the ticket if the pootle helper works now with my activity.



comment:3 Changed 11 years ago by cjl

daniel, thanks for the patch, I will review the error logs of the pootle pot-generator cron job tonight and close the ticket if it is all clear for graphplotter.

comment:4 Changed 11 years ago by dnarvaez

  • Milestone not applicable deleted

Milestone not applicable deleted

comment:5 Changed 11 years ago by ignacio

  • Bug Status changed from Assigned to Resolved
  • Milestone set to Unspecified
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.