1,007
edits
| Line 90: | Line 90: | ||
=== Making sure your command is localizable === | === Making sure your command is localizable === | ||
Ubiquity now supports multiple languages. That means that hopefully someday someone will be translating your commands to the other languages that Ubiquity supports. Making your command localizable is easy, and a good habit to get into! You just have to | Ubiquity now supports multiple languages. That means that hopefully someday someone will be translating your commands to the other languages that Ubiquity supports. Making your command localizable is easy, and a good habit to get into! You just have to locate all strings that appear in your <code>preview()</code> and <code>execute()</code> methods, that are intended for display to humans, and wrap them with: | ||
_() | _() | ||
edits