Skip to content

{ Tag Archives } Mozilla

Maintaining localization between Python and PHP (it’s not fun)

I reached my hand into the barrel of problems our migration to Python is going to cause and came up with Localization. It figures.
First out of the chute was the .po files. It turns out the actual formatting is different between the two languages. PHP uses %1$s for its substitutions, but python [...]

Also tagged , , , ,

AMO Development Changes in 2010

The AMO team met in Mountain View last week to develop a 2010 plan. We’ve been wanting to change some key areas of our development flow for a while but we needed to make sure time was budgeted in the overall AMO and Mozilla goals. As usual, the timeline will be tight, but [...]

Also tagged , , , , , , , , , ,

Add-on Localization Completeness Script is on AMO

The add-on verification suite launched a few months ago and has been refined with each subsequent milestone. We’ve changed what it searches for based on feedback and our own findings and earlier this month we made it available to anyone on AMO, not just a hosted add-on’s authors.
The framework was written in an extensible [...]

Also tagged , ,

Using substitution strings in .po files

A couple years ago I recommended using fake msgid’s in .po files and was, predictably, met with some argument. I suggested using this hack because there wasn’t a standard way to store context in a .po file yet.[1]
Since that time msgctxt has become a standard part of gettext and makes my substitution string [...]

Also tagged , ,

Top 50 searches on addons.mozilla.org

The flight from Portland to San Jose is just about the right length to write some scripts to analyze a bunch of data, make a pretty graph, and then write a blog post drawing fairly obvious conclusions. Someone on IRC said they were interested in the top search terms being used on addons.mozilla.org so [...]

Also tagged , ,

addons.mozilla.org Celebrates 1000 (passing) Unit Tests

We started writing unit tests for AMO a few years ago with the best of intentions. As the tests grew we started running into memory/timeout problems that prevented us from running the tests. Other priorities took over and since we couldn’t run the tests we quit writing them. The tests got put [...]

Also tagged ,

The Tagging Plan for AMO

Firstly, thanks for all the great feedback. Something as seemingly simple as tagging gets complex quickly when thought out and the varied perspectives of the community are always great to have.
Allowing full Unicode would let anyone use meaningful tags in their own character sets but would prevent us from offering similar matches and common [...]

Also tagged ,

Some considerations when adding Tags to AMO

Tags broke into the limelight around the time “Web 2.0″ was becoming popularized. They provided a simple but effective way to categorize objects and many sites are using them now. Despite their proliferation, I haven’t found any documentation on the internet regarding standards for implementing tags.
A tag library exists for CakePHP [...]

Also tagged , ,

Differentiate Bugzilla emails?

Bugzilla is an awesome bug tracker that is used by hundreds of companies. I’ve got accounts on several projects’ trackers and I’m sure many others do also.
When I get mail from Bugzilla it’s not obvious which project it’s from. My email client (GMail) only shows the “from name” so all I see for [...]

Also tagged

How addons.mozilla.org defends against XSS attacks

One of the things that gets a lot of news time these days is XSS. There are a lot of places that explain what it is and how to prevent it but most are oversimplified or don’t provide real world examples. I thought I’d explain a couple of the ways AMO attempts to [...]

Also tagged , , ,